Akoloy8oun paradeigmata orismenwn pragmatwn poy 8a xreiasteite ston kwdika. Prwta as kateboume se mia ypoenothta:
Opws leei kai o titlos ths. Prosejte oti einai aparaithto na
xrhsimopoihsete thn entolh p
gia na arxisete to kyriws meros ths
enothtas, meta apo thn entolh sect1
. Akoloy8ei mia an8ypoenothta:
Wraia. Exete sth dia8esh sas 5 epipeda enothtwn. Xrhsimopoihste tis
entoles sect
, sect1
, sect2
, sect3
, kai sect4
gia na ta ekmetalleyteite. Ayto to keimeno xrhsimopoiei to styl
keimenoy article (ar8ro)
, poy einai katallhlo gia HOWTO kai alla
paromoia keimena to styl report (texnikh anafora)
poy perilambanei thn entolh enothtas chapt (kefalaio)
8a prepei
na to xrhsimopoieite gia ta keimena toy Linux Documentation Project.
As ypo8esoyme loipon oti, ka8ws synexizete to gracimo, 8elete na
enswmatwsete sto keimeno sas ton kwdika, thn eisodo, h thn ejodo enos
programmatos. Se tetoies periptwseis xrhsimopoihste ta ``periballonta'' code
h verb
, perikleiontas ta se ena
periballon tscreen
, opws sto paradeigma:
This is an example for environment verb.
Epishs:
This is an example for environment code.
To periballon tscreen
aplws orizei mikrotero mege8os
grammatoseiras kai frontizei gia th swsth stoixish. Den einai
aparaithto gia th xrhsh twn verb
h code
, pantws egw sas to
synistw.
To keimeno Linuxdoc-SGML User's Guide ejhgei poioys eidikous
xarakthres mporeite kai poioys den mporeite na xrhsimopoihsete sta
periballonta verb
and code
.
8elete kai parapompes se alla shmeia toy keimenoy; Ayth h enothta exei
markaristei me thn entolh label
. Xrhsimopoiwntas thn
entolh ref
8a dhmioyrghsete mia parapomph, opws sto paradeigma ``Deite
thn Enothta
dokimastiki-parapompi
gia perissoteres
plhrofories''.
Gia thn wra oi parampompes de doyleuoyn kata th metafrash (me th xrhsh
toy groff
) se aplo ASCII keimeno. Doyleuoyn swsta otan paragete
LaTeX h HTML.
An 8elete grammatoseires, exoyme ki ap' aytes. Fysika de 8a tis blepete
sto aplo keimeno ASCII, alla 8a emfanistoun oles sta diafora format
poy 8a paragagete: boldface (entona), emphasis (gia emfash),
typewriter (grafomhxanhs)
, and italics (``italakia'').
Oi listes einai epishs eukoles. Aplws xrhsimopoihste to stoixeio
itemize
me tis entoles item
opws emfanizontai parakatw:
enum
epishs doyleuoyn.descrip
kai tag
einai epishs dia8esimo, opws fainetai ki
edw. Na ena stoixeio.
Na ki allo ena.
Pame kai gia to trito.
Kalucame sxedon ka8eti poy xreiazeste gia na jekinhsete me to
gracimo keimenwn SGML xrhsimopoiwntas to linuxdoc-sgml
DTD. Sas
parakalw na me eidopoihsete an nomizete oti kati prepei na allajei h
na proste8ei se ayto to keimeno.