docbook_0.xml 166 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902390339043905390639073908390939103911391239133914391539163917391839193920392139223923392439253926392739283929393039313932393339343935393639373938393939403941394239433944394539463947394839493950395139523953395439553956395739583959396039613962396339643965396639673968396939703971397239733974397539763977397839793980398139823983398439853986398739883989399039913992399339943995399639973998399940004001400240034004400540064007400840094010401140124013401440154016401740184019402040214022402340244025402640274028402940304031403240334034403540364037403840394040404140424043404440454046404740484049405040514052405340544055405640574058405940604061406240634064406540664067406840694070407140724073407440754076407740784079408040814082408340844085408640874088408940904091409240934094409540964097409840994100410141024103410441054106410741084109411041114112411341144115411641174118411941204121412241234124412541264127412841294130413141324133413441354136413741384139414041414142414341444145414641474148414941504151415241534154415541564157415841594160416141624163416441654166416741684169417041714172417341744175417641774178417941804181418241834184418541864187418841894190419141924193419441954196419741984199420042014202420342044205420642074208420942104211421242134214421542164217421842194220422142224223422442254226422742284229423042314232423342344235423642374238423942404241424242434244424542464247424842494250425142524253425442554256425742584259426042614262426342644265426642674268426942704271427242734274427542764277427842794280428142824283428442854286428742884289429042914292429342944295429642974298429943004301430243034304430543064307430843094310431143124313431443154316431743184319432043214322432343244325432643274328432943304331433243334334433543364337433843394340434143424343434443454346434743484349435043514352435343544355435643574358435943604361436243634364436543664367436843694370437143724373437443754376437743784379438043814382438343844385438643874388438943904391439243934394439543964397439843994400440144024403440444054406440744084409441044114412441344144415441644174418441944204421442244234424442544264427442844294430443144324433443444354436443744384439444044414442444344444445444644474448
  1. <?xml version="1.0"?>
  2. <!DOCTYPE article [
  3. <!ENTITY version "1.0.53">
  4. <!ENTITY mdash "--">
  5. <!ENTITY hellip "...">
  6. <!ENTITY copy "&#x00A9;"> <!-- COPYRIGHT SIGN -->
  7. <!-- replace version above with actual application version number-->
  8. <!-- Template Version: 1.0.1 (do not remove this line) -->
  9. <!ENTITY APPLET-TEMPLATE-1x-SHELL SYSTEM
  10. "templates/applet_template_1-applet.sgml.cdata">
  11. <!ENTITY APPLET-TEMPLATE-1x SYSTEM
  12. "templates/applet_template_1.sgml.cdata">
  13. ]>
  14. <!-- Version: 1.0.1 -->
  15. <article id="index">
  16. <articleinfo>
  17. <authorgroup>
  18. <author>
  19. <firstname>David</firstname>
  20. <surname>Mason</surname>
  21. <affiliation>
  22. <orgname>Red Hat, Inc.</orgname>
  23. <address>
  24. <email>dcm@redhat.com</email>
  25. </address>
  26. </affiliation>
  27. </author>
  28. <author>
  29. <firstname>Daniel</firstname>
  30. <surname>Mueth</surname>
  31. <affiliation>
  32. <address>
  33. <email>d-mueth@uchicago.edu</email>
  34. </address>
  35. </affiliation>
  36. </author>
  37. <author>
  38. <firstname>Alexander</firstname>
  39. <surname>Kirillov</surname>
  40. <affiliation>
  41. <address>
  42. <email>kirillov@math.sunysb.edu</email>
  43. </address>
  44. </affiliation>
  45. </author>
  46. </authorgroup>
  47. <releaseinfo>
  48. This is a pre-release!
  49. </releaseinfo>
  50. <revhistory>
  51. <revision>
  52. <revnumber>
  53. 0.99
  54. </revnumber>
  55. <date>
  56. 04.10.2000
  57. </date>
  58. </revision>
  59. </revhistory>
  60. <copyright>
  61. <year>2000</year>
  62. <holder>Red Hat, Inc., Daniel Mueth, and Alexander Kirillov</holder>
  63. </copyright>
  64. <legalnotice>
  65. <para>
  66. Permission is granted to copy, distribute and/or modify this
  67. document under the terms of the <citetitle>GNU Free Documentation
  68. License</citetitle>, Version 1.1 or any later version published
  69. by the Free Software Foundation with no Invariant Sections, no
  70. Front-Cover Texts, and no Back-Cover Texts. You may obtain a copy
  71. of the <citetitle>GNU Free Documentation License</citetitle> from
  72. the Free Software Foundation by visiting <ulink type="http"
  73. url="http://www.fsf.org">their Web site</ulink> or by writing to:
  74. Free Software Foundation, Inc., 59 Temple Place - Suite 330,
  75. Boston, MA 02111-1307, USA.
  76. </para>
  77. <para>
  78. Many of the names used by companies to distinguish their products and
  79. services are claimed as trademarks. Where those names appear in any
  80. GNOME documentation, and those trademarks are made aware to the members
  81. of the GNOME Documentation Project, the names have been printed in caps
  82. or initial caps.
  83. </para>
  84. </legalnotice>
  85. <title>The GNOME Handbook of Writing Software Documentation</title>
  86. </articleinfo>
  87. <!-- ################# Introduction ############### -->
  88. <sect1 id="intro">
  89. <title>Introduction</title>
  90. <!-- ####### Introduction | The GNOME Documentation Project ####### -->
  91. <sect2 id="gdp">
  92. <title>The GNOME Documentation Project</title>
  93. <sect3 id="goals">
  94. <title>Goals</title>
  95. <para>
  96. The GNOME Documentation Project (GDP) aims to provide GNOME
  97. and GNOME applications with a complete, intuitive, and clear
  98. documentation system. At the center of the GDP is the
  99. <application>GNOME Help Browser</application>, which
  100. presents a unified interface to GNOME-specific documentation
  101. as well as other Linux documentation such as man pages and
  102. texinfo documents. The GNOME Help System provides a
  103. comprehensive view of documentation on a machine by
  104. dynamically assembling the documentation of GNOME
  105. applications and components which are installed. The GDP is
  106. responsible for writing numerous GNOME-related documents,
  107. both for developers and for users. Developer documentation
  108. includes <ulink url="http://developer.gnome.org/doc/API/"
  109. type="http">APIs for the GNOME libraries</ulink>, <ulink
  110. url="http://developer.gnome.org/doc/whitepapers/"
  111. type="http"><citetitle>GNOME White
  112. Papers</citetitle></ulink>, GNOME developer <ulink
  113. url="http://developer.gnome.org/doc/tutorials/"
  114. type="http">tutorials</ulink>, the <ulink
  115. url="http://developer.gnome.org/doc/FAQ/"
  116. type="http"><citetitle>GNOME Developer
  117. FAQ</citetitle></ulink>, the <ulink
  118. url="http://developer.gnome.org" type="http">GNOME
  119. Developer's Website</ulink>, and <citetitle>GNOME
  120. Handbook</citetitle>'s, such as the one you are reading.
  121. User documentation include the <ulink
  122. url="http://www.gnome.org/learn/"
  123. type="http"><citetitle>GNOME User's
  124. Guide</citetitle></ulink>, the <ulink
  125. url="http://www.gnome.org/learn/"
  126. type="http"><citetitle>GNOME FAQ</citetitle></ulink>, and
  127. GNOME application documentation. Most GNOME applications
  128. have their own manual in addition to context sensitive help.
  129. </para>
  130. </sect3>
  131. <sect3 id="joining">
  132. <title>Joining the GDP</title>
  133. <para>
  134. Documenting GNOME and all the numerous GNOME applications is
  135. a very large project. The GDP is always looking for people
  136. to help write, update, and edit documentation. If you are
  137. interested in joining the GDP team, you should join the
  138. <ulink url="http://mail.gnome.org/mailman/listinfo/gnome-doc-list/">
  139. <citetitle>gnome-doc-list mailing list</citetitle> </ulink>.
  140. Read <xref linkend="gettingstarted" />, for help selecting a
  141. project to work on. Feel free to introduce yourself on the
  142. gnome-doc-list mailing list and indicate which project you
  143. intend to work on, or else ask for suggestions of important
  144. documents which need work done. You may also want to join the
  145. #docs IRC channel on irc.gnome.org to meet other GDP members
  146. and discuss any questions you may have. For a list of GDP
  147. projects and members, see the
  148. <ulink url="http://developer.gnome.org/projects/gdp">
  149. <citetitle>GDP Website</citetitle></ulink>.
  150. </para>
  151. </sect3>
  152. <sect3 id="collaborating">
  153. <title>Collaborating with the GDP</title>
  154. <para>
  155. GNOME developers, packagers, and translators may not be
  156. writing GNOME documentation but will want to understand how
  157. the GNOME documentation system works and will need to
  158. collaborate with GDP members. This document should help to
  159. outline the structure of how the GNOME documentation system
  160. works. Developers who do not write the documentation for
  161. their applications are encouraged to find a GDP member to
  162. write the documentation. This is best done by sending an
  163. email to the <ulink
  164. url="http://mail.gnome.org/mailman/listinfo/gnome-doc-list/">
  165. <citetitle>gnome-doc-list mailing list</citetitle> </ulink>
  166. describing the application, where it can be downloaded from,
  167. and that the developer(s) would like a GDP member to write
  168. documentation for the application. The #docs IRC channel on
  169. irc.gnome.org is another option for contacting GDP members.
  170. </para>
  171. </sect3>
  172. </sect2>
  173. <!-- ####### Introduction | Notation and Conventions ####### -->
  174. <sect2 id="notation">
  175. <title>Notation and Conventions</title>
  176. <para>
  177. This Handbook uses the following notation:
  178. <informaltable frame="none">
  179. <tgroup cols="2">
  180. <tbody>
  181. <row>
  182. <entry>
  183. <filename class="directory">/usr/bin</filename>
  184. </entry>
  185. <entry>
  186. Directory
  187. </entry>
  188. </row>
  189. <row>
  190. <entry>
  191. <filename>foo.sgml</filename>
  192. </entry>
  193. <entry>
  194. Filename
  195. </entry>
  196. </row>
  197. <row>
  198. <entry>
  199. <command>command</command>
  200. </entry>
  201. <entry>
  202. Command or text that would be typed.
  203. </entry>
  204. </row>
  205. <row>
  206. <entry>
  207. <command><replaceable>replaceable</replaceable></command>
  208. </entry>
  209. <entry>
  210. "Variable" text that can be replaced.
  211. </entry>
  212. </row>
  213. <row>
  214. <entry>
  215. <literal>Program or Doc Code</literal>
  216. </entry>
  217. <entry>Program or document code</entry>
  218. </row>
  219. </tbody>
  220. </tgroup>
  221. </informaltable>
  222. </para>
  223. </sect2>
  224. <!-- ####### Introduction | About This Handbook ####### -->
  225. <sect2 id="about">
  226. <title>About This Handbook</title>
  227. <para>
  228. This Handbook is a guide for both writing documentation for
  229. GNOME components and applications and for properly binding and
  230. packaging documentation into GNOME applications.
  231. </para>
  232. <para>
  233. This Handbook, like all GNOME documentation, was written in
  234. DocBook(SGML) and is available in several formats including
  235. SGML, HTML, PostScript, and PDF. For the latest version, see
  236. <ulink
  237. url="http://developer.gnome.org/projects/gdp/handbook.html">
  238. <citetitle>Getting The GNOME Handbook of Writing Software
  239. Documentation</citetitle> </ulink>. Alternately, one may
  240. download it anonymously from GNOME CVS under <filename
  241. class="directory">gnome-docu/gdp</filename>.
  242. </para>
  243. </sect2>
  244. </sect1>
  245. <!-- ################# Getting Started ############### -->
  246. <sect1 id="gettingstarted">
  247. <title>Getting Started Writing GNOME Documentation</title>
  248. <!--####### Getting Started | Selecting A Document ####### -->
  249. <sect2 id="selecting">
  250. <title>Selecting A Document</title>
  251. <sect3 id="know">
  252. <title>Document Something You Know</title>
  253. <para>
  254. The most frequently asked question of new contributors who
  255. join the GDP is "which document should I start
  256. with?". Because most people involved are volunteers, we do
  257. not <emphasis>assign</emphasis> projects and applications to
  258. write documents for. The first step is all yours - you must
  259. decide what about GNOME interests you most and find out if
  260. it has complete documents or not.
  261. </para>
  262. <para>
  263. It is also important to spend some time with GNOME to make
  264. sure you are familiar enough with it to be
  265. <emphasis>authoritative</emphasis> in your writing. The
  266. best way to do this is to just sit down and play with GNOME
  267. as much as possible before starting to write.
  268. </para>
  269. <para>
  270. The easiest way to get started is to improve existing
  271. documentation. If you notice some inaccuracies or omissions
  272. in the documentation, or you think that you can explain the
  273. material more clearly, just send your suggestions to the
  274. author of the original documentation or to the GNOME
  275. documentation project at <email>docs@gnome.org</email>.
  276. </para>
  277. </sect3>
  278. <sect3 id="doctable">
  279. <title>The GNOME Documentation Status Table</title>
  280. <para>
  281. The <citetitle>GDP Documentation Status Table</citetitle>
  282. (<citetitle>DocTable</citetitle>) (<ulink
  283. url="http://www.gnome.org/gdp/doctable/"
  284. type="http">http://www.gnome.org/gdp/doctable/</ulink>) is a
  285. web page which tracks the status of all the various
  286. documentation components of GNOME. These components include
  287. application documentation, internal GNOME component
  288. documentation, user documentation, and developer
  289. documentation. For each documentation item, it tracks the
  290. current status of the documentation, who is working on the
  291. particular document, where the documentation can be found,
  292. and provides a forum for the discussion of each item.
  293. </para>
  294. <para>
  295. You should use the <citetitle>DocTable</citetitle> to help
  296. you select a documentation item which needs work done. Once
  297. you have selected an item to work on, please register
  298. yourself as an author so that other authors do not duplicate
  299. your work and may contact you to help or offer suggestions.
  300. Also be sure to keep the status icons up-to-date so that
  301. the GDP team can easily identify which items need additional
  302. help. The <citetitle>DocTable</citetitle> also allows
  303. people to make announcements and suggestions and to discuss
  304. issues in the comments section.
  305. </para>
  306. <note>
  307. <title>Note</title>
  308. <para>
  309. Note that the information in the
  310. <citetitle>DocTable</citetitle> may not always be up-to-date
  311. or accurate. When you assign yourself to documenting an
  312. application, make sure you find out the latest status of
  313. documentation by contacting the application author.
  314. </para>
  315. </note>
  316. </sect3>
  317. </sect2>
  318. <!-- ####### Getting Started | Installing And Using DocBook ####### -->
  319. <sect2 id="docbook">
  320. <title>Installing and Using DocBook</title>
  321. <para>
  322. All documentation for the GNOME project is written in SGML
  323. using the DocBook DTD. There are many advantages to using
  324. this for documentation, not least of which is the single
  325. source nature of SGML. To contribute to the GDP you should
  326. learn to use DocBook.
  327. </para>
  328. <note>
  329. <title>NOTE</title>
  330. <para>
  331. To get started writing for the GDP you do not need to rush
  332. out and learn DocBook - if you feel it is too much to handle
  333. for now, you can submit plain ASCII text to the <ulink
  334. url="http://mail.gnome.org/mailman/listinfo/gnome-doc-list/">
  335. <citetitle>gnome-doc-list mailing list</citetitle>
  336. </ulink>and a volunteer will mark it up for you. Seeing your
  337. document marked up will also be a great way for you to start
  338. learning DocBook.
  339. </para>
  340. </note>
  341. <sect3 id="installingdocbook">
  342. <title>Installing DocBook</title>
  343. <para>
  344. Download and install the following <ulink
  345. url="ftp://sourceware.cygnus.com:/pub/docbook-tools/"
  346. type="ftp">DocBook Tools packages</ulink>: jade, docbook,
  347. jadetex, sgml-common, and stylesheets. (RPM users should note
  348. that jade is platform dependent (eg. i386), while the other packages
  349. are in the <filename class="directory">noarch</filename>
  350. directory.) You can find more
  351. information on DocBook Tools <ulink url="
  352. http://sourceware.cygnus.com/docbook-tools/"
  353. type="http">here</ulink>.
  354. </para>
  355. <para>
  356. If you are an <application>Emacs</application> user you may
  357. want to grab the psgml package as well. This is a major mode
  358. for editing sgml files in <application>Emacs</application>.
  359. </para>
  360. </sect3>
  361. <sect3 id="gdpstylesheets">
  362. <title>GDP Stylesheets</title>
  363. <para>
  364. The GDP uses its own DocBook stylesheets. To use the GDP
  365. stylesheets, you should download the file
  366. <filename>gdp-both.dsl</filename> from the <filename
  367. class="directory">gnome-docu/gdp/dsssl</filename> module in
  368. CVS (or from <ulink
  369. url="http://developer.gnome.org/projects/gdp/stylesheets.html">
  370. GDP Custom DSSSL Stylesheet</ulink>)and copy it
  371. <!-- into <filename
  372. class="directory">/usr/lib/sgml/stylesheets</filename>. You
  373. will need to point DocBook Tools to this stylesheet with the
  374. <command><option>-d</option></command> option:
  375. <command>db2html -d /usr/lib/sgml/stylesheets/gdp-both.dsl
  376. <replaceable>foo.sgml</replaceable></command>. (Creating an
  377. alias to include this option and path is convenient.)
  378. Alternately, you could overwrite
  379. <filename>/usr/lib/sgml/stylesheets/cygnus-both.dsl</filename>
  380. with <filename>gdp-both.dsl</filename>.
  381. -->
  382. over the file
  383. <filename>/usr/lib/sgml/stylesheets/cygnus-both.dsl</filename>.
  384. Alternately, you can download and install the
  385. <ulink url="http://people.redhat.com/dcm/software.html"
  386. type="http">gnome-doc-tools package</ulink> which will set
  387. up the stylesheets as well as the DTD discussed below.
  388. </para>
  389. <!-- <note>
  390. <para>
  391. The current version of the DocBook Tools command
  392. <command>db2ps</command> does not have a
  393. <command><option>-d</option></command> option. In order to
  394. create PostScript output, you must overwrite
  395. <filename>/usr/lib/sgml/stylesheets/cygnus-both.dsl</filename>
  396. with <filename>gdp-both.dsl</filename>.
  397. </para>
  398. </note>
  399. -->
  400. </sect3>
  401. <sect3 id="gdpdtd">
  402. <title>GDP DTD (PNG Image Support)</title>
  403. <para>
  404. Due to some license issues involved with the creation of
  405. gifs, the GNOME Documentation Project has decided to use the
  406. PNG image format for all images in GNOME documentation. You
  407. can read more about the issues involved with gifs at <ulink
  408. url="http://www.gnu.org/philosophy/gif.html"
  409. type="http">http://www.gnu.org/philosophy/gif.html</ulink>.
  410. </para>
  411. <para>
  412. The current DocBook DTD(3.1) does not include support for
  413. embedding PNG images in your documents. Since the GDP uses
  414. many screenshots in its documentation, we use our own
  415. variation on the DocBook DTD which has PNG image support.
  416. We encourage everybody to use this DTD instead of the
  417. default DocBook DTD since your source document header and
  418. your output document appearance subtly vary between the two
  419. DTD's. To install the GDP custom DTD with PNG image support
  420. by hand:
  421. </para>
  422. <itemizedlist mark="opencircle">
  423. <listitem>
  424. <para>
  425. Download <ulink
  426. url="http://www.labs.redhat.com/png/png-support.html">the
  427. GDP DocBook DTD for PNG support</ulink> and install it
  428. where you keep your DTD's. (On Red Hat use <filename
  429. class="directory">/usr/lib/sgml/</filename>.) Note that
  430. the 3.0 DTD is missing support for the
  431. <sgmltag>&lt;legalnotice></sgmltag> tag, so it is
  432. recommended that you use version 3.1
  433. </para>
  434. </listitem>
  435. <listitem override="bullet">
  436. <para>
  437. Add the new DTD to your SGML CATALOG file. The location
  438. of your SGML CATALOG file may vary depending upon your
  439. distribution. (On Red Hat it is usually in
  440. /usr/lib/sgml/CATALOG.) Add the following line to this
  441. file:
  442. <programlisting>
  443. PUBLIC "-//GNOME//DTD DocBook PNG Variant V1.0//EN" "png-support-3.0.dtd"
  444. </programlisting>
  445. If you are using the 3.1 DTD, use:
  446. <programlisting>
  447. PUBLIC "-//GNOME//DTD DocBook PNG Variant V1.1//EN" "png-support-3.1.dtd"
  448. </programlisting>
  449. </para>
  450. </listitem>
  451. </itemizedlist>
  452. <para>
  453. Alternately, you can download and install the
  454. <ulink url="http://people.redhat.com/dcm/software.html"
  455. type="http">gnome-doc-tools package</ulink> which will set
  456. up the custom stylesheets and DTD for you.
  457. </para>
  458. <para>
  459. To include PNG files in your documents, you will need to
  460. indicate that you are using this special DTD. To do
  461. this, use the following headers:
  462. </para>
  463. <para>
  464. Articles:
  465. <programlisting>
  466. <![CDATA[<!DOCTYPE Article PUBLIC "-//GNOME//DTD DocBook PNG Variant
  467. V1.1//EN"[]>]]>
  468. </programlisting>
  469. </para>
  470. <para>
  471. Books:
  472. <programlisting>
  473. <![CDATA[<!DOCTYPE Book PUBLIC "-//GNOME//DTD DocBook PNG Variant
  474. V1.1//EN"[]>]]>
  475. </programlisting>
  476. </para>
  477. </sect3>
  478. <sect3 id="editors">
  479. <title>Editors</title>
  480. <para>
  481. There are many editors on Linux and UNIX systems available
  482. to you. Which editor you use to work on the sgml documents
  483. is completely up to you, as long as the editor is able to
  484. preserve sgml and produce the source in a format that is
  485. readable by everyone.
  486. </para>
  487. <para>
  488. Probably the two most popular editors available are
  489. <application>Emacs</application> and
  490. <application>vi</application>. These and other editors are
  491. used regularly by members of the GDP. Emacs has a major
  492. mode, psgml, for editing sgml files which can save you time
  493. and effort in adding and closing tags. You will find the
  494. psgml package in DocBook Tools, which is the standard set of
  495. tools for the GDP. You may find out more about DocBook Tools
  496. in <xref linkend="installingdocbook" />.
  497. </para>
  498. </sect3>
  499. <sect3 id="make-output">
  500. <title>Creating Something Useful with your Docs</title>
  501. <para>
  502. The tools available in DocBook Tools allow you to convert
  503. your sgml document to many different formats including html
  504. and Postscript. The primary tool used to do the conversion
  505. is an application called <application>Jade</application>. In
  506. most cases you will not have to work directly with
  507. <application>Jade</application>; Instead, you will use the
  508. scripts provided by DocBook Tools.
  509. </para>
  510. <para>
  511. To preview your DocBook document, it is easiest to convert
  512. it to <filename>html</filename>. If you have installed the
  513. DocBook tools described above, all you have to do is to run
  514. the command <prompt>$</prompt><command>db2html
  515. mydocument.sgml</command>. If there are no sgml syntax
  516. errors, this will create a directory <filename
  517. class="directory">mydocument</filename> and place the
  518. resulting html files in it. The title page of the document
  519. will typically be
  520. <filename>mydocument/index.html</filename>. If you have
  521. screenshots in your document, you will have to copy these
  522. files into the <filename
  523. class="directory">mydocument</filename> directory by
  524. hand. You can use any web browser to view your document.
  525. Note that every time you run <command>db2html</command>, it
  526. creates the <filename
  527. class="directory">mydocument</filename> directory over, so
  528. you will have to copy the screenshots over each time.
  529. </para>
  530. <para>
  531. You can also convert your document to PostScript by running
  532. the command <prompt>$</prompt><command>db2ps
  533. mydocument.sgml</command>, after which you can print out or
  534. view the resulting .ps file.
  535. </para>
  536. <note>
  537. <title>NOTE</title>
  538. <para>
  539. The html files you get will not look quite the same as the
  540. documentation distributed with GNOME unless you have the
  541. custom stylesheets installed on your machine. DocBook
  542. Tools' default stylesheets will produce a different look
  543. to your docs. You can read more about the GDP stylesheets
  544. in <xref linkend="gdpstylesheets" />.
  545. </para>
  546. </note>
  547. </sect3>
  548. <sect3 id="jadeimages">
  549. <title>Images in DocBook Tools</title>
  550. <para>
  551. If your document uses images you will need to take note of a
  552. few things that should take place in order for you to make
  553. use of those images in your output.
  554. </para>
  555. <para>
  556. The DocBook Tools scripts and applications are smart enough
  557. to know that when you are creating html you will be using
  558. PNG files and when you are creating Postscript you will be
  559. using EPS files (you must use EPS with Postscript).
  560. </para>
  561. <para>
  562. Thus, you should never explicitly
  563. include the extension of the image file, since DocBook
  564. Tools will automatically insert it for you. For example:
  565. </para>
  566. <programlisting>
  567. <![CDATA[
  568. <figure>
  569. <title>My Image</title>
  570. <screenshot>
  571. <screeninfo>Sample GNOME Display</screeninfo>
  572. <graphic format="png" fileref="myfile" srccredit="me">
  573. </graphic>
  574. </screenshot>
  575. </figure>
  576. ]]> </programlisting>
  577. <para>
  578. You will notice in this example that the file
  579. <filename>myfile.png</filename> was referred to as simply
  580. <filename>myfile</filename>. Now when you run
  581. <command>db2html</command> to create an html file, it will
  582. automatically look for <filename>myfile.png</filename> in
  583. the directory.
  584. </para>
  585. <para>
  586. If you want to create PostScript ouput, you will need to create an
  587. EPS version of your image file to be displayed in the
  588. PostScript file. There is a simple script available which
  589. allows you to change a PNG image into an EPS file
  590. easily. You can download this file - img2eps - from <ulink
  591. url="http://people.redhat.com/dcm/sgml.html"
  592. type="html">http://people.redhat.com/dcm/sgml.html</ulink>
  593. (look for the img2eps section). Note that this script is
  594. included in the gnome-doc-tools package, so if you are using
  595. this package, you should already have
  596. <command>img2eps</command> on you system.
  597. </para>
  598. </sect3>
  599. <sect3 id="moredocbookinfo">
  600. <title>Learning DocBook</title>
  601. <para>
  602. There are many resources available to help you learn DocBook.
  603. The following resources on the web are useful for learning
  604. DocBook:
  605. </para>
  606. <itemizedlist mark="bullet">
  607. <listitem>
  608. <para>
  609. <ulink url="http://www.docbook.org"
  610. type="http">http://www.docbook.org</ulink> - Norman
  611. Walsh's <citetitle>DocBook: The Definitive
  612. Guide</citetitle>. Online O'Reilly book on using
  613. DocBook. Contains an excellent element reference. May be
  614. too formal for a beginner.
  615. </para>
  616. </listitem>
  617. <listitem>
  618. <para>
  619. <ulink
  620. url="http://www.oswg.org/oswg-nightly/oswg/en_US.ISO_8859-1/articles/DocBook-Intro/docbook-intro/index.html"
  621. type="http">A Practical Introduction to DocBook</ulink>
  622. - The Open Source Writers Group's introduction to using
  623. DocBook. This is an excellent HOW-TO type article on
  624. getting started.
  625. </para>
  626. </listitem>
  627. <listitem>
  628. <para>
  629. <ulink
  630. url="http://nis-www.lanl.gov/~rosalia/mydocs/docbook-intro/docbook-intro.html"
  631. type="http">Getting Going with DocBook: Notes for
  632. Hackers</ulink> - Mark Galassi's introduction to DocBook
  633. for hackers. This has to be one of the first
  634. introductions to DocBook ever - still as good as it ever
  635. was.
  636. </para>
  637. </listitem>
  638. <listitem>
  639. <para>
  640. <ulink type="http" url="http://www.freebsd.org/tutorials/docproj-primer/">
  641. FreeBSD Documentation Project Primer for New
  642. Contributors</ulink> - FreeBSD documentation project
  643. primer. Chapter 4.2 provides a very good introduction to
  644. writing documentation using DocBook. Note that it also
  645. describes some custom extensions of DocBook;
  646. fortunately, they are clearly marked as such.
  647. </para>
  648. </listitem>
  649. </itemizedlist>
  650. <para>
  651. Norman Walsh's book is also available in print.
  652. </para>
  653. <para>
  654. The following sections of this document are designed to help
  655. documentation authors write correct and consistent DocBook:
  656. </para>
  657. <itemizedlist mark="bullet">
  658. <listitem>
  659. <para>
  660. <xref linkend="docbookbasics" /> - Descriptions of
  661. commonly used DocBook tags.
  662. </para>
  663. </listitem>
  664. </itemizedlist>
  665. <para>
  666. You may also discuss specific DocBook questions with GDP
  667. members on the #docs IRC channel at irc.gnome.org and on the
  668. gnome-doc-list mailing list.
  669. </para>
  670. </sect3>
  671. </sect2>
  672. <!-- ####### Getting Started | GDP Document Examples ####### -->
  673. <!--
  674. <sect2 id="examples">
  675. <title>GDP Document Examples</title>
  676. <para>
  677. Examples of various types of GNOME documents are found in
  678. <xref linkend="examples" />. There is also an example GNOME
  679. application with documentation called
  680. <application>gnome-hello</application> in GNOME cvs.
  681. </para>
  682. </sect2>
  683. -->
  684. <!-- ####### Getting Started | GDP Document Templates ####### -->
  685. <sect2 id="gdptemplates">
  686. <title>GDP Document Templates</title>
  687. <para>
  688. Templates for various types of GNOME documents are found in
  689. <xref linkend="templates" />. They are kept in CVS in
  690. gnome-docu/gdp/templates. The easiest source to get them from
  691. is probably the <ulink
  692. url="http://developer.gnome.org/projects/gdp/templates.html"
  693. type="http">GDP
  694. Document Templates</ulink> web page, which is typically kept
  695. completely up-to-date with CVS and has a basic description of
  696. each file from CVS.
  697. </para>
  698. </sect2>
  699. <!-- ####### Getting Started | Screenshots ####### -->
  700. <sect2 id="screenshots">
  701. <title>Screenshots</title>
  702. <para>
  703. Most GNOME documents will have screenshots of the particular
  704. applet, application, GNOME component, or widget being
  705. discussed. As discussed above in <xref linkend="gdpdtd"/> you
  706. will need to install the special GDP DocBook DTD which
  707. supports PNG images, the format used for all images in GNOME
  708. documentation. For the basic DocBook structure used to insert
  709. images in a document, see <xref linkend="jadeimages"/> above.
  710. </para>
  711. <sect3 id="screenshotappearance">
  712. <title>Screenshot Appearance</title>
  713. <para>
  714. For all screenshots of windows that typically have border
  715. decorations (e.g. applications and dialogs, but not applets
  716. in a <interface>panel</interface>), GDP standards dictate
  717. the appearance of the window. (This is to minimize possible
  718. confusion to the reader, improve the appearance of GNOME
  719. documents, and guarantee the screenshot is readable when
  720. printed.) All screenshots should be taken with the SawFish
  721. (formerly known as Sawmill) window manager using the
  722. MicroGui theme and Helvetica 12pt font. (A different window
  723. manager can be used provided the MicroGui theme is available
  724. for this window manager and the appearance is identical to
  725. that when using the SawFish window manager.) The default
  726. GTK+ theme(gtk) and font (Helvetica 12 pt) should be used
  727. for all screenshots. If you are unable to provide
  728. screenshots in this form, you should create screenshots as
  729. you wish them to appear and send them to the
  730. <ulink url="http://mail.gnome.org/mailman/listinfo/gnome-doc-list/">
  731. <citetitle>gnome-doc-list mailing list</citetitle> </ulink>
  732. requesting a GDP member reproduce these screenshots in the
  733. correct format and email them to you.
  734. </para>
  735. </sect3>
  736. <sect3 id="screenshottools">
  737. <title>Screenshot Tools</title>
  738. <para>
  739. There are many tools for taking screenshots in
  740. GNOME/Linux. Perhaps the most convenient is the
  741. <application>Screen-Shooter Applet</application>. Just click
  742. on the window icon in the applet and then on the window you
  743. would like to take a screenshot of. (Note that
  744. at the time of this writing, PNG images taken by
  745. screenshooter do not appear properly in
  746. <application>Netscape</application> or the
  747. <application>GNOME Help Browser</application>. You
  748. should save your screenshot as a GIF and
  749. then use <command>convert filename.gif
  750. filename.png</command>.) For applets
  751. in a <interface>Panel</interface>,
  752. <application>xv</application> can be used to crop the
  753. screenshot to only include the relevant portion of the
  754. <interface>Panel</interface>. Note that
  755. <application>xv</application> and
  756. <application>gimp</application> can both be used for taking
  757. screenshots, cropping screenshots, and converting image
  758. formats.
  759. </para>
  760. </sect3>
  761. <sect3 id="screenshotfiles">
  762. <title>Screenshot Files</title>
  763. <para>
  764. Screenshots should be kept in the main documentation
  765. directory with your SGML file for applets, or should be
  766. kept in a directory called "figs" for application and other
  767. documentation. After you use <command>db2html</command> to
  768. convert your SGML file to HTML (see <xref
  769. linkend="make-output"/>), you will need to copy your
  770. screenshots (either the individual PNG files for applet
  771. documentation, or the whole "figs" directory for other
  772. documentation) into the newly created HTML directory. Note
  773. that every time you use <command>db2html</command> the HTML
  774. directory is erased and rewritten, so do not store your only
  775. copy of the screenshots in that directory. If you wish to
  776. create PostScript or PDF output, you will need to manually
  777. convert the PNG images to EPS as described in <xref
  778. linkend="jadeimages"/>, but will not need to copy these
  779. images from their default location, as they are included
  780. directly into the output(PostScript of PDF) file.
  781. </para>
  782. </sect3>
  783. </sect2>
  784. <!-- ####### Getting Started | Application Bugs ####### -->
  785. <sect2 id="applicationbugs">
  786. <title>Application Bugs</title>
  787. <para>
  788. Documentation authors tend to investigate and test applets and
  789. applications more thoroughly than most
  790. users. Often documentation authors will discover one or
  791. more bugs in the software. These bugs vary from small ones,
  792. such as mis-spelled words or missing
  793. <interface>About</interface> dialogs in the menu, to large
  794. ones which cause the applet to crash. As all users, you
  795. should be sure to report these bugs so that application
  796. developers know of them and can fix them. The easiest way to
  797. submit a bug report is by using the <application>Bug
  798. Buddy</application> applet which is part of the gnome-applets
  799. package.
  800. </para>
  801. </sect2>
  802. <!-- ####### Getting Started | Using CVS ####### -->
  803. <sect2 id="cvs">
  804. <title>Using CVS</title>
  805. <para>
  806. CVS (Concurrent Versions System) is a tool that allows
  807. multiple developers to concurrently work on a set of
  808. documents, keeping track of the modifications made by each
  809. person. The files are stored on a server and each developer
  810. checks files out, modifies them, and then checks in their
  811. modified version of the files. Many GNOME programs and
  812. documents are stored in CVS. The GNOME CVS server allows
  813. users to anonymously check out CVS files. Most GDP members
  814. will need to use anonymous CVS to download the most up-to-date
  815. version of documentation or programs. Modified documents will
  816. typically be emailed to the the application developer. Core
  817. GDP members may also be granted login CVS privileges so they
  818. may commit modified files directly to CVS.
  819. </para>
  820. <sect3 id="anonymouscvs">
  821. <title>Anonymous CVS</title>
  822. <para>
  823. To anonymously check out documents from CVS, you must first
  824. log in. From the bash shell, you should set your CVSROOT
  825. shell variable with <command> export
  826. CVSROOT=':pserver:anonymous@anoncvs.gnome.org:/cvs/gnome'</command>
  827. and then login with <command>cvs login</command>(there is no
  828. password, just hit return). As an example, we will use the
  829. "gnome-docu/gdp" module which contains this and several
  830. other documents. To check these documents out for the first
  831. time, type <command>cvs -z3 checkout
  832. gnome-docu/gdp</command>. After you have this document
  833. checked out and you would like to download any updates on
  834. the CVS server, use <command>cvs -z3 update -Pd</command>.
  835. </para>
  836. </sect3>
  837. <sect3 id="logincvs">
  838. <title>Login CVS</title> <para> If you have been given a
  839. login for the GNOME CVS server, you may commit your file
  840. modifications to CVS. Be sure to read the following section
  841. on CVS etiquette before making any commits to CVS. To log in
  842. to the CVS server as user
  843. <command><replaceable>username</replaceable></command> with a
  844. password, you must first set your CVSROOT shell variable with
  845. <command> export
  846. CVSROOT=':pserver:<replaceable>username</replaceable>@cvs.gnome.org:/cvs/gnome'</command>.
  847. Log in with <command>cvs login</command> and enter your
  848. password. You may check out and update modules as described
  849. above for anonymous CVS access. As a login CVS user, you may
  850. also check modified versions of a file into the CVS server.
  851. To check
  852. <command><replaceable>filename</replaceable></command> into
  853. the CVS server, type <command>cvs -z3 commit
  854. <replaceable>filename</replaceable></command>. You will be
  855. given a vi editor window to type in a brief log entry,
  856. summarizing your changes. The default editor can be changed
  857. using the <varname>EDITOR</varname> environment variable or
  858. with the <command><option>-e</option></command> option. You
  859. may also check in any modifications to files in the working
  860. directory and subdirectories using <command>cvs -z3
  861. commit</command>. To
  862. add a new file to the CVS server, use <command>cvs -z3 add
  863. <replaceable>filename</replaceable></command>, followed by the
  864. commit command.
  865. </para>
  866. </sect3>
  867. <sect3 id="cvsetiquette">
  868. <title>CVS Etiquette</title>
  869. <para>
  870. Because files in CVS are typically used and modified by
  871. multiple developers and documentation authors, users should
  872. exercise a few simple practices out of courtesy towards the
  873. other CVS users and the project leader. First, you should
  874. not make CVS commits to a package without first discussing
  875. your plans with the project leader. This way, the project
  876. leader knows who is modifying the files and generally, what
  877. sort of changes/development is being done. Also, whenever a
  878. CVS user commits a file to CVS, they should make an entry in
  879. the CVS log and in the <filename>ChangeLog</filename> so
  880. that other users know who is making modifications and what
  881. is being modified. When modifying files created by others,
  882. you should follow the indentation scheme used by the initial
  883. author.
  884. </para>
  885. </sect3>
  886. </sect2>
  887. </sect1>
  888. <!-- ################# The GNOME Documentation System###############
  889. -->
  890. <sect1 id="gnomedocsystem">
  891. <title>The GNOME Documentation System</title>
  892. <!-- ####### The GNOME Documentation System | The GNOME Help Browser
  893. ####### -->
  894. <sect2 id="gnomehelpbrowser">
  895. <title>The GNOME Help Browser</title>
  896. <para>
  897. At the core of the GNOME help system is the <application>GNOME
  898. Help Browser</application>. The <application>Help
  899. Browser</application> provides a unified interface to several
  900. distinct documentation systems on Linux/Unix systems: man
  901. pages, texinfo pages, Linux Documentation Project(LDP)
  902. documents, GNOME application documentation, and other GNOME
  903. documents.
  904. </para>
  905. <para>
  906. The <application>GNOME Help Browser</application> works by
  907. searching standard directories for documents which are to be
  908. presented. Thus, the documentation that appears in the GHB is
  909. specific to each computer and will typically only represent
  910. software that is installed on the computer.
  911. </para>
  912. </sect2>
  913. <!-- ####### The GNOME Documentation System | The GNOME Help Browser
  914. ####### -->
  915. <sect2 id="gnomehelpbrowser2">
  916. <title>The GNOME Help Browser (GNOME-2.0)</title> <para> In
  917. GNOME 2.0, the <application>GNOME Help Browser</application>
  918. will be replaced by <application>Nautilus</application>.
  919. Nautilus will be the file manager/graphical shell for GNOME 2.0
  920. and will also implement a more sophisticated help system than
  921. that used by the <application>GNOME Help Browser</application>
  922. used in GNOME 1.0. It will read and display DocBook files
  923. directly, avoiding the need for duplicating documents in both
  924. DocBook and HTML formats. Its display engine for DocBook will
  925. be much faster than running <application>jade</application> to
  926. convert to HTML for rendering. Because it uses the original
  927. DocBook source for documentation, it will be possible to do more
  928. sophisticated searching using the meta information included in
  929. the documents. And since Nautilus is a virtual file system
  930. layer which is Internet-capable, it will be able to find and
  931. display documents which are on the web as well as those on the
  932. local file system. For more information on
  933. <application>Nautilus</application>, visit the #nautilus IRC
  934. channel on irc.gnome.org. </para>
  935. </sect2>
  936. <!-- ####### The GNOME Documentation System | GNOME On-The-Fly
  937. Documentation Generation ####### -->
  938. <sect2 id="gnomehelponthefly">
  939. <title>Dynamic Document Synthesis(GNOME-2.0)</title>
  940. <para>
  941. GNOME uses the documentation presented by all the various
  942. GNOME components and applications installed on the system to
  943. present a complete and customized documentation environment
  944. describing only components which are currently installed on a
  945. users system. Some of this documentation, such as the manuals
  946. for applets, will be combined in such a way that it appears to
  947. be a single document.
  948. </para>
  949. <para>
  950. By using such a system, you can be sure that any GNOME app you
  951. install that has documentation will show up in the index,
  952. table of contents, any search you do in the help browser.
  953. </para>
  954. </sect2>
  955. <!-- ####### The GNOME Documentation System | The GNOME Documentation
  956. Components ####### -->
  957. <sect2 id="gnomehelpcomponents">
  958. <title>The GNOME Documentation Components</title>
  959. <sect3 id="applicationmanualsintro">
  960. <title>Application Manuals</title>
  961. <para>
  962. Every GNOME application should have an application manual.
  963. An application manual is a document specific to the
  964. particular application which explains the various windows
  965. and features of the application. Application Manuals
  966. typically use screenshots (PNG format) for clarity. Writing
  967. application manuals is discussed in more detail in <xref
  968. linkend="writingapplicationmanuals" /> below.
  969. </para>
  970. </sect3>
  971. <sect3 id="applicationhelpintro">
  972. <title>Application Help</title>
  973. <para>
  974. Applications should have a <guibutton>Help</guibutton>
  975. button on screens on which users may need help. These
  976. <guibutton>Help</guibutton> buttons should pull up the
  977. default help browser, determined by the
  978. <varname>ghelp</varname> URL Handler (configured using the
  979. <application>Control Center</application>), typically the
  980. <application>GNOME Help Browser</application>. The help
  981. browser should show either the first page of the application
  982. manual, or else the relevant page thereof. Application help
  983. is described in more detail in <xref
  984. linkend="applicationhelpbuttons" /> below.
  985. </para>
  986. </sect3>
  987. <sect3 id="contextsensitivehelpintro">
  988. <title>Application Context Sensitive Help (coming in
  989. GNOME-2.0)</title>
  990. <para>
  991. Context sensitive help is a system which will allow the user
  992. to query any part (button, widget, etc.) of an application
  993. window. This is done by either entering a CS Help mode by
  994. clicking on an icon or by right clicking on the application
  995. part and selecting "What's This" or whatever is decided on
  996. at the time. Context sensitive help is described in more
  997. detail in <xref linkend="writingcontextsensitivehelp" />
  998. below.
  999. </para>
  1000. </sect3>
  1001. <sect3 id="userguide">
  1002. <title>The GNOME User Guide</title>
  1003. <para>
  1004. The <citetitle>GNOME User Guide</citetitle> describes the
  1005. GNOME desktop environment and core components of GNOME such
  1006. as the <application>panel</application> and
  1007. <application>control center</application>. In GNOME 1.x this
  1008. was the main and only source of documentation. In GNOME 2.0
  1009. this will become a document for the web and for printing
  1010. that is derived from various parts chosen in the system that
  1011. are necessary for the new user to understand.
  1012. </para>
  1013. </sect3>
  1014. <sect3 id="userdocs">
  1015. <title>User Documents</title>
  1016. <para>
  1017. Aside from the <citetitle>GNOME User Guide</citetitle>,
  1018. there are several other documents to help GNOME users learn
  1019. GNOME, including the <citetitle>GNOME FAQ</citetitle>,
  1020. <citetitle>GNOME Installation and Configuration
  1021. Guide</citetitle>, and the <citetitle>GNOME Administrators
  1022. Guide</citetitle>.
  1023. </para>
  1024. </sect3>
  1025. <sect3 id="developerdocs">
  1026. <title>Developer Documents</title>
  1027. <para>
  1028. There are many White Papers, Tutorials, HOWTO's and FAQ's to
  1029. make programming GNOME and GNOME applications as easy as
  1030. possible.
  1031. </para>
  1032. <para>
  1033. API documentation is also available for the GNOME libraries. This is
  1034. detailed documentation of the code that is used to build GNOME
  1035. apps. You can keep up with the GNOME API docs on the <ulink
  1036. url="http://developer.gnome.org/doc/API/" type="http">GNOME API
  1037. Reference</ulink> page.
  1038. </para>
  1039. </sect3>
  1040. <sect3 id="projectdocs">
  1041. <title>Project Documents</title>
  1042. <para>
  1043. Some GNOME projects have documentation to maintain
  1044. consistency in their product and to help new contributors
  1045. get up to speed quickly. Among these are the GDP documents,
  1046. such as the one you are reading now.
  1047. </para>
  1048. </sect3>
  1049. </sect2>
  1050. </sect1>
  1051. <!-- ################# DocBook Basics ############### -->
  1052. <sect1 id="docbookbasics">
  1053. <title>DocBook Basics </title>
  1054. <!-- ####### DocBook Basics | Introduction to DocBook ####### -->
  1055. <sect2 id="introtodocbook">
  1056. <title>Introduction to DocBook</title>
  1057. <para>
  1058. To understand DocBook, a basic understanding of SGML is
  1059. helpful. SGML stands for Standard General Markup Language and
  1060. is one of the first markup languages every created. HTML is
  1061. actually derived from SGML and XML is a subset of SGML. SGML
  1062. uses what is called a Document Type Definition to specify
  1063. <emphasis>elements</emphasis> which are contained between
  1064. brackets, &lt; and >. Text is marked by both beginning and
  1065. ending elements, for example in the DocBook DTD, one denotes a
  1066. title with <sgmltag>&lt;title></sgmltag>The
  1067. Title<sgmltag>&lt;/title></sgmltag>.
  1068. </para>
  1069. <para>
  1070. The DTD (in the case of the GDP, DocBook) defines rules for how the
  1071. elements can be used. For example, if one element can only be used when
  1072. embedded within another, this is defined in the DTD.
  1073. </para>
  1074. <para>
  1075. An SGML file is just a plain ASCII file containing the text
  1076. with the markup specified above. To convert it to some easily
  1077. readable format, you need special tools. The GDP uses <emphasis>DocBook
  1078. Tools</emphasis>, a free package of utilities for working with DocBook
  1079. which includes <emphasis>Jade</emphasis>, which does the SGML/DSSL
  1080. parsing. You can read more about DocBook Tools in <xref
  1081. linkend="installingdocbook" />.
  1082. </para>
  1083. <para>
  1084. The final appearance of the output (e.g. PostScript or HTML)
  1085. is determined by a
  1086. <emphasis>stylesheet</emphasis>. Stylesheets are files,
  1087. written in a special language (DSSSL &mdash; Document Style
  1088. Semantics and Specification Language), which specify the
  1089. appearance of various DocBook elements, for example,
  1090. what fonts to use for titles and various inline elements, page
  1091. numbering style, and much more. DocBook tools come with a
  1092. collection of stylesheets (Norman Walsh's modular
  1093. stylesheets); GNOME Document Project uses some customized
  1094. version of this stylesheets &mdash; see <xref
  1095. linkend="gdpstylesheets"/>.
  1096. </para>
  1097. <para>
  1098. The advantage of specifying the <emphasis>structure</emphasis>
  1099. of a document with SGML instead of specifying the
  1100. <emphasis>appearance</emphasis> of the document with a typical
  1101. word processor, or with html, is that the resulting document
  1102. can be processed in a variety of ways using the structural
  1103. information. Whereas formatting a document for appearance
  1104. assumes a medium (typically written text on a standard-sized
  1105. piece of paper), SGML can be processed to produce output for a
  1106. large variety of media such as text, postscript, HTML,
  1107. Braille, audio, and potentially many other formats.
  1108. </para>
  1109. <para>
  1110. Using 'content' as the elements to define the text of a document also
  1111. allows for search engines to make use of the actual elements to make a
  1112. "smarter search". For example, if you are searching for all documents
  1113. written by the author "Susie" your search engine could be made smart
  1114. enough to only search &lt;author> elements, making for a faster and more
  1115. accurate search.
  1116. </para>
  1117. <para>
  1118. Since the overall appearance of the output is determined not by the DTD
  1119. or the SGML document, but rather by a stylesheet, the appearance of a
  1120. document can be easily changed just by changing the stylesheet. This
  1121. allows everyone in the project to create documents that all look the
  1122. same.
  1123. </para>
  1124. <para>
  1125. As stated before, the GDP uses the DocBook DTD. For a list of
  1126. introductory and reference resources on DocBook, see <xref
  1127. linkend="resources" />. The following sections also provide
  1128. convenient instructions on which markup tags to use in various
  1129. circumstances. Be sure to read <xref linkend="conventions" />
  1130. for GDP documentation-specific guidelines.
  1131. </para>
  1132. </sect2>
  1133. <!-- ###### DocBook Basics | XML and SGML ########-->
  1134. <sect2 id="xml">
  1135. <title>XML and SGML</title>
  1136. <para> In not so distant future (probably before GNOME 2.0),
  1137. DocBook itself and GNOME Documentation project will migrate from
  1138. SGML to XML. This transition should be relatively painless:
  1139. (almost) all DocBook tags will remain the same. However, XML has
  1140. stricter syntax rules than SGML; thus, some constructions which
  1141. are valid in SGML will not be valid in XML. Therefore, to be
  1142. ready for this transistion, it is <emphasis>strongly
  1143. advised</emphasis> that the documentation writers conform to XML
  1144. syntax rules. Here are most important differences:
  1145. </para>
  1146. <variablelist>
  1147. <varlistentry>
  1148. <term> <emphasis>Minimization</emphasis></term>
  1149. <listitem>
  1150. <para>
  1151. It is possible with some implementations of SGML to use
  1152. minimizations to close elements in a document by using
  1153. &lt;/>, for example:
  1154. <literal><sgmltag>&lt;title></sgmltag>The
  1155. Title<sgmltag>&lt;/></sgmltag></literal>. This is not
  1156. allowed in XML. You can use <command>sgmlnorm</command> command,
  1157. included in DocBook Tools package, to expand minimized tags;
  1158. if you are using <application>Emacs</application> with psgml
  1159. mode, you can also use menu command
  1160. <menuchoice>
  1161. <guimenu>Modify</guimenu>
  1162. <guimenuitem>Normalize</guimenuitem>
  1163. </menuchoice>.
  1164. </para>
  1165. </listitem>
  1166. </varlistentry>
  1167. <varlistentry>
  1168. <term> <emphasis>Self-closing tags</emphasis></term>
  1169. <listitem>
  1170. <para>
  1171. Also, in SGML some tags are allowed not to have closing
  1172. tags. For example, it is legal for
  1173. <sgmltag>&lt;xref></sgmltag> not to have a closing tag:
  1174. <literal><sgmltag>&lt;xref
  1175. linkend="someid"></sgmltag></literal>. In
  1176. XML, it is illegal; instead, you should use
  1177. <literal><sgmltag>&lt;xref
  1178. linkend="someid"/></sgmltag></literal> (note the
  1179. slash!).
  1180. </para>
  1181. </listitem>
  1182. </varlistentry>
  1183. <varlistentry>
  1184. <term> <emphasis>Case sensitive tags</emphasis></term>
  1185. <listitem>
  1186. <para>
  1187. In XML, unlike SGML, tags are case-senstive
  1188. <sgmltag>&lt;title></sgmltag> and
  1189. <sgmltag>&lt;TITLE></sgmltag> are different tags!
  1190. Therefore, please always use lowercase tags (except for
  1191. things like <literal>DOCTYPE, CDATA</literal> and
  1192. <literal>ENTITY</literal>, which are not DocBook tags).
  1193. </para>
  1194. </listitem>
  1195. </varlistentry>
  1196. </variablelist>
  1197. </sect2>
  1198. <!-- ####### DocBook Basics | Structure Elements ####### -->
  1199. <sect2 id="structure"> <title> Structure Elements</title>
  1200. <sect3 id="section">
  1201. <title>Sections and paragraphs</title>
  1202. <para>
  1203. Top-level element of a book body must be
  1204. <sgmltag>&lt;chapter></sgmltag>; it may contain one or more
  1205. <sgmltag>&lt;sect1></sgmltag>, each of them may contain
  1206. <sgmltag>&lt;sect2></sgmltag> and so on up to
  1207. <sgmltag>&lt;sect5></sgmltag>. The top-level element of an
  1208. article body is always
  1209. <sgmltag>&lt;sect1></sgmltag>. Regardless of which elements
  1210. you use, give each structural element a unique id, so that
  1211. you can link to it. For usage example, see the template.
  1212. </para>
  1213. <para> Please try to avoid using deeply nested sections; for
  1214. most situations, <sgmltag>&lt;sect1></sgmltag> and
  1215. <sgmltag>&lt;sect2></sgmltag> should be sufficient. If not,
  1216. you probably should split your <sgmltag>&lt;sect1></sgmltag>
  1217. into several smaller ones.
  1218. </para>
  1219. <para> Use the tag <sgmltag>&lt;para></sgmltag> for
  1220. paragraphs, even if there is only one paragraph in a
  1221. section&mdash;see template for examples.
  1222. </para>
  1223. </sect3>
  1224. <sect3 id="notes">
  1225. <title>Notes, Warnings, And Tips</title>
  1226. <para>
  1227. For notes, tips, warnings, and important information, which
  1228. should be set apart from the main text (usually as a
  1229. paragraph with some warning sign on the margin), use tags
  1230. <sgmltag>&lt;note></sgmltag>, <sgmltag>&lt;tip></sgmltag>,
  1231. <sgmltag>&lt;warning></sgmltag>,
  1232. <sgmltag>&lt;important></sgmltag> respectively. For example:
  1233. <programlisting>
  1234. <![CDATA[
  1235. <tip>
  1236. <title>TIP</title>
  1237. <para>
  1238. To speed up program compilation, use <application>gcc</application>
  1239. compiler with Pentium optimization.
  1240. </para>
  1241. </tip>]]> </programlisting> produces
  1242. </para>
  1243. <tip id="extip">
  1244. <title>TIP</title>
  1245. <para>
  1246. To speed up program compilation, use
  1247. <application>gcc</application> compiler with Pentium
  1248. optimization. </para>
  1249. </tip>
  1250. <para>
  1251. Note that this should not be inside a
  1252. <sgmltag>&lt;para></sgmltag> but between paragraphs.
  1253. </para>
  1254. </sect3>
  1255. <sect3 id="figures">
  1256. <title> Screenshots and other figures</title>
  1257. <para>
  1258. To include screenshots and other figures, use the following
  1259. tags:
  1260. <programlisting>
  1261. <![CDATA[
  1262. <figure id="shot1">
  1263. <title>Screenshot</title>
  1264. <screenshot>
  1265. <screeninfo>Screenshot of a program</screeninfo>
  1266. <graphic format="PNG" fileref="figures/example_screenshot" srccredit="ME">
  1267. </graphic>
  1268. </screenshot>
  1269. </figure>]]>
  1270. </programlisting>
  1271. replacing <filename>example_screenshot</filename> with the
  1272. actual file name (without extension). The result will look like this:
  1273. <figure id="shot1">
  1274. <title>Screenshot</title>
  1275. <screenshot>
  1276. <screeninfo>Screenshot of a program</screeninfo>
  1277. <graphic format="PNG"
  1278. fileref="figures/example_screenshot" srccredit="ME"/>
  1279. </screenshot>
  1280. </figure>
  1281. </para>
  1282. <note>
  1283. <title>NOTE</title>
  1284. <para>
  1285. Notice in this example that the screenshot file name does
  1286. not include the file type extension &mdash; to find out
  1287. why, please read <xref linkend="jadeimages" />.
  1288. </para>
  1289. </note>
  1290. </sect3>
  1291. <sect3 id="listing">
  1292. <title>Program listings and terminal session</title> <para>
  1293. To show a file fragment&mdash;for example, program
  1294. listing&mdash;use <sgmltag>&lt;programlisting></sgmltag> tag:
  1295. <programlisting>
  1296. <![CDATA[
  1297. <programlisting>
  1298. [Desktop Entry]
  1299. Name=Gnumeric spreadsheet
  1300. Exec=gnumeric
  1301. Icon=gnome-gnumeric.png
  1302. Terminal=0
  1303. Type=Application
  1304. </programlisting>]]>
  1305. </programlisting>
  1306. which produces
  1307. <programlisting>
  1308. [Desktop Entry]
  1309. Name=Gnumeric spreadsheet
  1310. Exec=gnumeric
  1311. Icon=gnome-gnumeric.png
  1312. Terminal=0
  1313. Type=Application
  1314. </programlisting>
  1315. As a matter of fact, all examples in this document were
  1316. produced using <sgmltag>&lt;programlisting></sgmltag>.
  1317. </para>
  1318. <para>
  1319. To show a record of terminal session&mdash;i.e., sequence of
  1320. commands entered at the command line&mdash;use
  1321. <sgmltag>&lt;screen></sgmltag> tag:
  1322. <programlisting>
  1323. <![CDATA[
  1324. <screen>
  1325. <prompt>bash$</prompt><userinput>make love</userinput>
  1326. make: *** No rule to make target `love'. Stop.
  1327. </screen>]]>
  1328. </programlisting>
  1329. which produces
  1330. <screen>
  1331. <prompt>bash$</prompt><userinput>make love</userinput>
  1332. make: *** No rule to make target `love'. Stop.
  1333. </screen>
  1334. Note the use of tags <sgmltag>&lt;prompt></sgmltag> and
  1335. <sgmltag>&lt;userinput></sgmltag> for marking system prompt
  1336. and commands entered by user.
  1337. <note>
  1338. <title>NOTE</title>
  1339. <para>
  1340. Note that both <sgmltag>&lt;programlisting></sgmltag>
  1341. and <sgmltag>&lt;screen></sgmltag> preserve linebreaks,
  1342. but interpret SGML tags (unlike LaTeX
  1343. <markup>verbatim</markup> environment). Take a look at
  1344. the source of this document to see how you can have SGML
  1345. tags literally shown but not interpreted,
  1346. </para>
  1347. </note>
  1348. </para>
  1349. </sect3>
  1350. <sect3 id="lists">
  1351. <title> Lists</title>
  1352. <para>
  1353. The most common list types in DocBook are
  1354. <sgmltag>&lt;itemizedlist></sgmltag>,
  1355. <sgmltag>&lt;orderedlist></sgmltag>, and
  1356. <sgmltag>&lt;variablelist></sgmltag>.
  1357. </para>
  1358. <variablelist>
  1359. <varlistentry>
  1360. <term> <sgmltag>&lt;itemizedlist></sgmltag></term>
  1361. <listitem><para>
  1362. This is the simplest unnumbered list, parallel to
  1363. <sgmltag>&lt;ul></sgmltag> in HTML. Here is an example:
  1364. <programlisting>
  1365. <![CDATA[
  1366. <itemizedlist>
  1367. <listitem>
  1368. <para>
  1369. <guilabel>Show backup files</guilabel> &mdash; This will
  1370. show any backup file that might be on your system.
  1371. </para>
  1372. </listitem>
  1373. <listitem>
  1374. <para>
  1375. <guilabel>Show hidden files</guilabel> &mdash; This will
  1376. show all "dot files" or files that begin with a dot. This
  1377. files typically include configuration files and directories.
  1378. </para>
  1379. </listitem>
  1380. <listitem>
  1381. <para>
  1382. <guilabel>Mix files and directories</guilabel> &mdash; This
  1383. option will display files and directories in the order you
  1384. sort them instead of
  1385. always having directories shown above files.
  1386. </para>
  1387. </listitem>
  1388. </itemizedlist>
  1389. ]]>
  1390. </programlisting>
  1391. and output:
  1392. </para>
  1393. <itemizedlist>
  1394. <listitem>
  1395. <para>
  1396. <guilabel>Show backup files</guilabel> &mdash;
  1397. This will show any backup file that might be on
  1398. your system.
  1399. </para>
  1400. </listitem>
  1401. <listitem>
  1402. <para>
  1403. <guilabel>Show hidden files</guilabel> &mdash;
  1404. This will show all "dot files" or files that
  1405. begin with a dot. This files typically include
  1406. configuration files and directories.
  1407. </para>
  1408. </listitem>
  1409. <listitem>
  1410. <para>
  1411. <guilabel>Mix files and directories</guilabel>
  1412. &mdash; This option will display files and
  1413. directories in the order you sort them instead
  1414. of always having directories shown above files.
  1415. </para>
  1416. </listitem>
  1417. </itemizedlist>
  1418. <para> Note the use of <sgmltag>&amp;mdash;</sgmltag>
  1419. for long dash (see <xref linkend="specsymb" />). Also,
  1420. please note that the result looks much nicer because the
  1421. terms being explained (<guilabel>Show backup
  1422. files</guilabel>, etc.) are set in a different font. In
  1423. this case, it was achieved by using <link
  1424. linkend="gui"><sgmltag>&lt;guilabel></sgmltag></link>
  1425. tag. In other cases, use appropriate tags such as
  1426. <link linkend="gui"><sgmltag>&lt;guimenuitem></sgmltag></link>,
  1427. <link
  1428. linkend="filenames"><sgmltag>&lt;command></sgmltag></link>,
  1429. or &mdash; if none of
  1430. this applies &mdash; use
  1431. <link linkend="gui"><sgmltag>&lt;emphasis></sgmltag></link>.
  1432. </para>
  1433. </listitem>
  1434. </varlistentry>
  1435. <varlistentry>
  1436. <term> <sgmltag>&lt;orderedlist></sgmltag></term>
  1437. <listitem><para>
  1438. This list is completely analogous to
  1439. <sgmltag>&lt;itemizedlist></sgmltag> and has the same
  1440. syntax, but it produces numbered list. By default,
  1441. this list uses Arabic numerals for numbering entries;
  1442. you can override this using <sgmltag>numeration</sgmltag>,
  1443. for example <sgmltag>&lt;orderedlist
  1444. numeration="lowerroman"></sgmltag>. Possible values of
  1445. these attribute are <sgmltag>arabic</sgmltag>,
  1446. <sgmltag>upperalpha</sgmltag>,
  1447. <sgmltag>loweralpha</sgmltag>,
  1448. <sgmltag>upperroman</sgmltag>,
  1449. <sgmltag>lowerroman</sgmltag>.
  1450. </para></listitem>
  1451. </varlistentry>
  1452. <varlistentry>
  1453. <term> <sgmltag>&lt;variablelist></sgmltag></term>
  1454. <listitem><para> This list is used when each entry is
  1455. rather long, so it should be formatted as a block of text
  1456. with some subtitle, like a small subsection. The
  1457. <sgmltag>&lt;variablelist></sgmltag> is more complicated
  1458. than itemizedlists, but for larger blocks of text, or when
  1459. you're explaining or defining something, it's best to use
  1460. them. Their greatest advantage is that it's easier for a
  1461. computer to search. The lines you are reading now were
  1462. produced by <sgmltag>&lt;variablelist></sgmltag>. The
  1463. source looked liked this:
  1464. <programlisting>
  1465. <![CDATA[
  1466. <variablelist>
  1467. <varlistentry>
  1468. <term> <sgmltag>&lt;itemizedlist></sgmltag></term>
  1469. <listitem><para>
  1470. This is the simplest unnumbered list, parallel to
  1471. <sgmltag>&lt;ul></sgmltag> in HTML. Here is an example:...
  1472. </para></listitem>
  1473. </varlistentry>
  1474. <varlistentry>
  1475. <term> <sgmltag>&lt;orderedlist></sgmltag></term>
  1476. <listitem><para>
  1477. This list is completely analogous to
  1478. <sgmltag>&lt;itemizedlist></sgmltag>
  1479. </para></listitem>
  1480. </varlistentry>
  1481. <varlistentry>
  1482. <term> <sgmltag>&lt;variablelist></sgmltag></term>
  1483. <listitem><para>
  1484. This list is used when each entry is rather long,...
  1485. </para></listitem>
  1486. </varlistentry>
  1487. </variablelist>
  1488. ]]>
  1489. </programlisting>
  1490. </para>
  1491. </listitem>
  1492. </varlistentry>
  1493. </variablelist>
  1494. <para>
  1495. Lists can be nested; in this case, the stylesheets
  1496. are smart enough to change the numeration (for
  1497. <sgmltag>&lt;orderedlist></sgmltag>) or marks of each entry
  1498. (in <sgmltag>&lt;itemizedlist></sgmltag>) for sub-lists
  1499. </para>
  1500. </sect3>
  1501. </sect2>
  1502. <!-- ####### DocBook Basics | Inline Elements ####### -->
  1503. <sect2 id="inline">
  1504. <title>Inline Elements</title>
  1505. <sect3 id="gui">
  1506. <title>GUI elements</title>
  1507. <itemizedlist>
  1508. <listitem>
  1509. <para>
  1510. <sgmltag>&lt;guibutton></sgmltag> &mdash; used for
  1511. buttons, including checkbuttons and radio buttons
  1512. </para>
  1513. </listitem>
  1514. <listitem>
  1515. <para>
  1516. <sgmltag>&lt;guimenu></sgmltag>,
  1517. <sgmltag>&lt;guisubmenu></sgmltag> &mdash;used for
  1518. top-level menus and submenus
  1519. respectively, for example <literal><![CDATA[
  1520. <guisubmenu>Utilities</guisubmenu> submenu of the
  1521. <guimenu>Main Menu</guimenu>]]></literal>
  1522. </para>
  1523. </listitem>
  1524. <listitem>
  1525. <para>
  1526. <sgmltag>&lt;guimenuitem></sgmltag>&mdash;an entry in a
  1527. menu
  1528. </para>
  1529. </listitem>
  1530. <listitem>
  1531. <para>
  1532. <sgmltag>&lt;guiicon></sgmltag>&mdash;an icon
  1533. </para>
  1534. </listitem>
  1535. <listitem>
  1536. <para>
  1537. <sgmltag>&lt;guilabel></sgmltag>&mdash;for items which have
  1538. labels, like tabs, or bounding boxes.
  1539. </para>
  1540. </listitem>
  1541. <listitem>
  1542. <para>
  1543. <sgmltag>&lt;interface></sgmltag>&mdash; for most everything
  1544. else... a window, a dialog box, the Panel, etc.
  1545. </para>
  1546. </listitem>
  1547. </itemizedlist>
  1548. <para>
  1549. If you need to refer to a sequence of menu choices, such as
  1550. <menuchoice>
  1551. <guimenu>Main Menu</guimenu>
  1552. <guisubmenu>Utilities</guisubmenu> <guimenuitem>GNOME
  1553. terminal</guimenuitem>
  1554. </menuchoice>
  1555. there is a special construction for this, too:
  1556. <programlisting>
  1557. <![CDATA[
  1558. <menuchoice>
  1559. <guimenu>Main Menu</guimenu> <guisubmenu>Utilities</guisubmenu>
  1560. <guimenuitem>GNOME terminal</guimenuitem> </menuchoice>]]>
  1561. </programlisting>
  1562. </para>
  1563. </sect3>
  1564. <sect3 id="links">
  1565. <title>Links and references</title>
  1566. <para>
  1567. To refer to another place in the same document, you can use
  1568. tags <sgmltag>&lt;xref></sgmltag> and
  1569. <sgmltag>&lt;link></sgmltag>. The first of them
  1570. automatically inserts the full name of the element you refer
  1571. to (section, figure, etc.), while the second just creates a
  1572. link (in HTML output). Here is an example:
  1573. <programlisting>
  1574. <![CDATA[An example of a <link linkend="extip">tip</link> was given in
  1575. <xref linkend="notes" />. ]]>
  1576. </programlisting>
  1577. which produces: An example of a <link
  1578. linkend="extip">tip</link> was given in <xref
  1579. linkend="notes" />.
  1580. </para>
  1581. <para>
  1582. Here <sgmltag>notes</sgmltag> and <sgmltag>extip</sgmltag>
  1583. are the id attributes of <xref linkend="notes" /> and of the
  1584. example of a tip in it.
  1585. </para>
  1586. <para> To produce a link to an external source, such as a
  1587. Web page or a local file, use <sgmltag>&lt;ulink></sgmltag>
  1588. tag, for example:
  1589. <programlisting>
  1590. <![CDATA[ To find more about GNOME, please visit <ulink type="http"
  1591. url="http://www.gnome.org">GNOME Web page</ulink> ]]>
  1592. </programlisting>
  1593. which produces: To find more about GNOME, please visit
  1594. <ulink type="http" url="http://www.gnome.org">The GNOME Web
  1595. Site</ulink> You can use any of the standard URL types, such
  1596. as <literal>http, ftp, file, telnet, mailto</literal> (in
  1597. most cases, however, use of <literal>mailto</literal> is
  1598. unnecessary&mdash;see discussion of
  1599. <sgmltag>&lt;email></sgmltag> tag).
  1600. </para>
  1601. </sect3>
  1602. <sect3 id="filenames"> <title>Filenames, commands, and other
  1603. computer-related things</title>
  1604. <para>
  1605. Here are some tags used to describe operating system-related
  1606. things:
  1607. </para>
  1608. <itemizedlist>
  1609. <listitem>
  1610. <para> <sgmltag>&lt;filename></sgmltag> &mdash; used
  1611. for filenames,
  1612. e.g.<sgmltag>&lt;filename></sgmltag>
  1613. foo.sgml
  1614. <sgmltag>&lt;/filename></sgmltag>
  1615. produces: <filename>foo.sgml</filename>.
  1616. </para>
  1617. </listitem>
  1618. <listitem>
  1619. <para> <sgmltag>&lt;filename
  1620. class="directory"></sgmltag> &mdash; used for
  1621. directories, e.g.<sgmltag>&lt;filename
  1622. class="directory"></sgmltag>/usr/bin
  1623. <sgmltag>&lt;/filename></sgmltag>
  1624. produces: <filename
  1625. class="directory">/usr/bin</filename>.
  1626. </para>
  1627. </listitem>
  1628. <listitem>
  1629. <para>
  1630. <sgmltag>&lt;application></sgmltag> &mdash; used for
  1631. application names,
  1632. e.g. <sgmltag>&lt;application></sgmltag>Gnumeric
  1633. <sgmltag>&lt;/application></sgmltag> produces:
  1634. <application>Gnumeric</application>.
  1635. </para>
  1636. </listitem>
  1637. <listitem>
  1638. <para>
  1639. <sgmltag>&lt;envar></sgmltag> &mdash; used for
  1640. environment variables, e.g.
  1641. <sgmltag>&lt;envar></sgmltag>PATH<sgmltag>&lt;/envar></sgmltag>.
  1642. </para>
  1643. </listitem>
  1644. <listitem>
  1645. <para>
  1646. <sgmltag>&lt;command></sgmltag> &mdash; used for
  1647. commands entered on command line, e.g.
  1648. <sgmltag>&lt;command></sgmltag>make install
  1649. <sgmltag>&lt;/command></sgmltag> produces:
  1650. <command>make install</command>.
  1651. </para>
  1652. </listitem>
  1653. <listitem>
  1654. <para>
  1655. <sgmltag>&lt;replaceable></sgmltag> &mdash; used for
  1656. replaceable text, e.g.
  1657. <sgmltag>&lt;command></sgmltag>db2html<sgmltag>&lt;replaceable></sgmltag>
  1658. foo.sgml
  1659. <sgmltag>&lt;/replaceable></sgmltag><sgmltag>&lt;/command></sgmltag>
  1660. produces: <command>db2html
  1661. <replaceable>foo.sgml</replaceable></command>.
  1662. </para>
  1663. </listitem>
  1664. </itemizedlist>
  1665. </sect3>
  1666. <sect3 id="keys">
  1667. <title>Keyboard input</title>
  1668. <para> To mark up text input by the user, use
  1669. <sgmltag>&lt;userinput></sgmltag>.
  1670. </para>
  1671. <para> To mark keystrokes such as shortcuts and other
  1672. commands, use <sgmltag>&lt;keycap></sgmltag>.
  1673. This is used for marking up what is printed on the top
  1674. of the physical key on the keyboard. There are a couple of
  1675. other tags for keys, too: <sgmltag>&lt;keysym&gt;</sgmltag>
  1676. and <sgmltag>&lt;keycode&gt;</sgmltag>. However you are
  1677. unlikely to need these for most documentation. For reference,
  1678. <sgmltag>&lt;keysym&gt;</sgmltag> is for the <quote>symbolic
  1679. name</quote> of a key. <sgmltag>&lt;keycode&gt;</sgmltag> is
  1680. for the <quote>scan code</quote> of a key. These are not
  1681. terms commonly required in <acronym>GNOME</acronym> documentation,
  1682. although <sgmltag>&lt;keysym&gt;</sgmltag> is useful for marking
  1683. up control codes.
  1684. </para>
  1685. <para>
  1686. To mark up a combination of keystrokes, use the
  1687. <sgmltag>&lt;keycombo></sgmltag> wrapper:
  1688. <programlisting>
  1689. <![CDATA[
  1690. <keycombo>
  1691. <keycap>Ctrl</keycap>
  1692. <keycap>Alt</keycap>
  1693. <keycap>F1</keycap>
  1694. </keycombo>]]>
  1695. </programlisting>
  1696. </para>
  1697. <para>
  1698. Finally, if you want to show a shortcut for some menu
  1699. command, here are the appropriate tags (rather long):
  1700. <programlisting>
  1701. <![CDATA[
  1702. <menuchoice>
  1703. <shortcut>
  1704. <keycombo><keycap>Ctrl</keycap><keycap>q</keycap></keycombo>
  1705. </shortcut>
  1706. <guimenuitem> Quit</guimenuitem>
  1707. </menuchoice>]]>
  1708. </programlisting>
  1709. which produces simply
  1710. <menuchoice>
  1711. <shortcut> <keysym>Ctrl-q</keysym> </shortcut>
  1712. <guimenuitem> Quit</guimenuitem>
  1713. </menuchoice>
  1714. </para>
  1715. </sect3>
  1716. <sect3 id="email">
  1717. <title>E-mail addresses</title> <para> To mark up e-mail
  1718. address, use <sgmltag>&lt;email></sgmltag>:
  1719. <programlisting>
  1720. <![CDATA[ The easiest way to get in touch with me is by e-mail
  1721. (<email>me@mydomain.com</email>)]]>
  1722. </programlisting>
  1723. which produces: The easiest way to get in touch with me is
  1724. by e-mail (<email>me@mydomain.com</email>) Note that
  1725. <sgmltag>&lt;email></sgmltag> automatically produces a link
  1726. in html version.
  1727. </para>
  1728. </sect3>
  1729. <sect3 id="specsymb">
  1730. <title> Special symbols </title>
  1731. <para>
  1732. DocBook also provides special means for entering
  1733. typographic symbols which can not be entered directly
  1734. form the keyboard (such as copyright sign). This is done using
  1735. <emphasis>entities</emphasis>, which is SGML analogue of
  1736. macros, or commands, of LaTeX. They generally have the form
  1737. <sgmltag>&amp;entityname;</sgmltag>. Note that the semicolon
  1738. is required.
  1739. </para>
  1740. <para>
  1741. here is partial list of most commonly used enitites:
  1742. </para>
  1743. <itemizedlist>
  1744. <listitem><para>
  1745. <sgmltag>&amp;amp;</sgmltag> &mdash; ampersend (&amp;)
  1746. </para></listitem>
  1747. <listitem><para>
  1748. <sgmltag>&amp;lt;</sgmltag> &mdash; left angle bracket (&lt;)
  1749. </para></listitem>
  1750. <listitem><para>
  1751. <sgmltag>&amp;copy;</sgmltag> &mdash; copyright sign (&copy;)
  1752. </para></listitem>
  1753. <listitem><para>
  1754. <sgmltag>&amp;mdash;</sgmltag> &mdash; long dash (&mdash;)
  1755. </para></listitem>
  1756. <listitem><para>
  1757. <sgmltag>&amp;hellip;</sgmltag> &mdash; ellipsis (&hellip;)
  1758. </para></listitem>
  1759. </itemizedlist>
  1760. <para>
  1761. Note that the actual look of the resulting symbols depends
  1762. on the fonts used by your browser; for example, it might
  1763. happen that long dash (<sgmltag>&amp;mdash;</sgmltag>) looks
  1764. exactly like the usual dash (-). However, in the PostScript
  1765. (and thus, in print) the output will look markedly better if
  1766. you use appropriate tags.
  1767. </para>
  1768. </sect3>
  1769. </sect2>
  1770. </sect1>
  1771. <!-- ################# GDP Documentation Conventions ############### -->
  1772. <sect1 id="conventions">
  1773. <title>GDP Documentation Conventions </title>
  1774. <!-- ####### GDP Documentation Conventions | All Documentation ####### -->
  1775. <sect2 id="conventionsalldocs">
  1776. <title>Conventions for All GDP Documentation</title>
  1777. <sect3 id="xmlcomp">
  1778. <title> XML compatibility </title>
  1779. <para>
  1780. All GNOME documentation should conform to XML syntax
  1781. requirements, which are stricter than SGML ones &mdash; see
  1782. <xref linkend="xml" /> for more informaion.
  1783. </para>
  1784. </sect3>
  1785. <sect3 id="authorsnames">
  1786. <title> Authors' names</title>
  1787. <para>
  1788. All GNOME documentation should contain the names of both the
  1789. application authors and documentation authors, as well as a
  1790. link to the application web page (if it exists) and
  1791. information for bug submission &mdash; see templates for an
  1792. example.
  1793. </para>
  1794. </sect3>
  1795. </sect2>
  1796. <!-- ####### GDP Documentation Conventions | All Documentation ####### -->
  1797. <sect2 id="conventionsappdocs">
  1798. <title>Conventions for Application Documentation</title>
  1799. <sect3 id="applicationversionid">
  1800. <title>Application Version Identification</title>
  1801. <para>
  1802. Application documentation should identify the version of the
  1803. application for which the documentation is written:
  1804. <programlisting>
  1805. <![CDATA[
  1806. <sect1 id="intro">
  1807. <title>Introduction</title>
  1808. <para>
  1809. blah-blah-blah This document describes version 1.0.53 of gfoo.
  1810. </para>
  1811. </sect1>]]>
  1812. </programlisting>
  1813. </para>
  1814. </sect3>
  1815. <sect3 id="license">
  1816. <title> Copyright information </title>
  1817. <para> Application
  1818. documentation should contain a copyright notice, stating the
  1819. licensing terms. It is suggested that you use the GNU Free
  1820. Documentation License. You could also use some other license
  1821. allowing free redistribution, such as GPL or Open Content
  1822. license. If documentation uses some trademarks (such as UNIX,
  1823. Linux, Windows, etc.), proper legal junk should also be
  1824. included (see templates).
  1825. </para>
  1826. </sect3>
  1827. <sect3 id="license2">
  1828. <title>Software license</title>
  1829. <para>
  1830. All GNOME applications must contain information about the
  1831. license (for software, not for documentation), either in the
  1832. "About" box or in the manual.
  1833. </para>
  1834. </sect3>
  1835. <sect3 id="bugtraq">
  1836. <title> Bug reporting</title>
  1837. <para>
  1838. Application documentation should give an address for
  1839. reporting bugs and for submitting comments about the
  1840. documentaion (see templates for an example).
  1841. </para>
  1842. </sect3>
  1843. </sect2>
  1844. </sect1>
  1845. <!-- ################# Writing Application Manuals ###############-->
  1846. <sect1 id="writingapplicationmanuals">
  1847. <title>Writing Application and Applet Manuals</title>
  1848. <para>
  1849. Every GNOME application or applet should have a manual specific
  1850. to that particular application. This manual should be a complete
  1851. and authoritative guide. The manual should describe what the
  1852. program does and how to use it. Manuals will typically describe
  1853. each window or panel presented to the user using screenshots (in
  1854. PNG format only) when appropriate. They should also describe
  1855. each feature and preference option available.
  1856. </para>
  1857. <note>
  1858. <title>Documentation Availability</title>
  1859. <para>
  1860. Applications and applets should not rely on documentation
  1861. which is only available on the internet. All manuals and
  1862. other documentation should be packaged with the application or
  1863. applet and be made available to the user through the standard
  1864. GNOME help system methods described below.
  1865. </para>
  1866. </note>
  1867. <para> Application manuals should be based on the template in
  1868. <xref linkend="template1" />. Applet manuals should be based on
  1869. the templates in <xref linkend="template2-1x" /> for GNOME
  1870. versions 1.x and the templates in <xref linkend="template2-2x" />
  1871. for GNOME versions 2.x.
  1872. </para>
  1873. <note>
  1874. <title>Manuals For Large Applications</title>
  1875. <para>
  1876. Manuals for very large applications, such as GNOME Workshop
  1877. components should be a <sgmltag>&lt;book></sgmltag> (and thus
  1878. use <sgmltag>&lt;chapter></sgmltag> for each primary section)
  1879. , instead of <sgmltag>&lt;article></sgmltag> which most
  1880. applications use(with each primary section being a
  1881. <sgmltag>&lt;sect1></sgmltag>).
  1882. </para>
  1883. </note>
  1884. <note>
  1885. <title>Applet Manuals in GNOME 2.0</title>
  1886. <para>
  1887. Note that applet manuals in GNOME 2.0 are treated in a special
  1888. way. The manuals for all applets are merged into a single
  1889. virtual document by Nautilus. For this reason, the header
  1890. information for applet manuals is omitted and the first
  1891. section of each applet is
  1892. <sgmltag>&lt;sect1></sgmltag>. Applet manuals will typically
  1893. have several sections, each of which is
  1894. <sgmltag>&lt;sect2></sgmltag>.
  1895. </para>
  1896. </note>
  1897. <para>
  1898. Application manuals should be made available by having a
  1899. "Manual" entry in the <guimenu>Help</guimenu> pull-down menu
  1900. at the top of the
  1901. application, as described in <xref linkend="listingdocsinhelpmenu" />.
  1902. Applets should make their manuals available by
  1903. right-clicking on the applet.
  1904. </para>
  1905. </sect1>
  1906. <!-- ############### Listing Documents in the Help Menu ############# -->
  1907. <sect1 id="listingdocsinhelpmenu">
  1908. <title>Listing Documents in the Help Menu</title>
  1909. <note>
  1910. <title>Developer Information</title>
  1911. <para>
  1912. This section is for developers. Documentation authors
  1913. generally do not need to know this material.
  1914. </para>
  1915. </note>
  1916. <para>
  1917. Typically the application manual and possibly additional help
  1918. documents will be made available to the user under the
  1919. <guimenu>Help</guimenu> menu at the top right of the
  1920. application. To do this, you must first write a
  1921. <filename>topic.dat</filename> file. The format for this file is:
  1922. <programlisting>
  1923. One line for each 'topic'.
  1924. Two columns, as defined by perl -e 'split(/\s+/,$aline,2)'
  1925. First column is the HTML file (and optional section) for the topic,
  1926. relative to the app's help file dir.
  1927. Second column is the user-visible topic name.
  1928. </programlisting>
  1929. For example, <application>Gnumeric</application>'s
  1930. <filename>topic.dat</filename> file is:
  1931. <programlisting>
  1932. gnumeric.html Gnumeric manual
  1933. function-reference.html Gnumeric function reference
  1934. </programlisting>
  1935. When the application is installed, the
  1936. <filename>topic.dat</filename> file should be placed in the
  1937. <filename
  1938. class="directory">$prefix/share/gnome/help/<replaceable>appname</replaceable>/C/</filename> directory
  1939. where <replaceable>appname</replaceable> is replaced by the
  1940. application's name. The application documentation (converted
  1941. from SGML into HTML with <command>db2html</command>) should be
  1942. placed in this directory too.
  1943. </para>
  1944. <note>
  1945. <para>
  1946. If the help files are not present in the correct directory, the
  1947. menu items will NOT appear when the program is run.
  1948. </para>
  1949. </note>
  1950. <para>
  1951. The <filename>topic.dat</filename> file is used by the GNOME
  1952. menu building code to generate the <guimenu>Help</guimenu>
  1953. menu. When you define your menu:
  1954. <programlisting>
  1955. GnomeUIInfo helpmenu[] = {
  1956. {GNOME_APP_UI_ITEM,
  1957. N_("About"), N_("Info about this program"),
  1958. about_cb, NULL, NULL,
  1959. GNOME_APP_PIXMAP_STOCK, GNOME_STOCK_MENU_ABOUT,
  1960. 0, 0, NULL},
  1961. GNOMEUIINFO_SEPARATOR,
  1962. GNOMEUIINFO_HELP("<emphasis>appname</emphasis>"),
  1963. GNOMEUIINFO_END
  1964. };
  1965. </programlisting>
  1966. the line specifying <varname>GNOMEUIINFO_HELP</varname> causes
  1967. GNOME to create a menu entry which is tied to the documentation
  1968. in the directory mentioned above. Also, all the topics in the
  1969. <filename>topic.dat</filename> file will get menu entries in the
  1970. <guimenu>Help</guimenu> menu. When the user selects any of these
  1971. topics from the <guimenu>Help</guimenu> menu, a help browser
  1972. will be started with the associated HTML documentation.
  1973. </para>
  1974. </sect1>
  1975. <!-- ################# Application Help Buttons ############### -->
  1976. <sect1 id="applicationhelpbuttons">
  1977. <title>Application Help Buttons</title>
  1978. <note>
  1979. <title>Developer Information</title>
  1980. <para>
  1981. This section is for developers. Documentation authors
  1982. generally do not need to know this material.
  1983. </para>
  1984. </note>
  1985. <para>
  1986. Most GNOME applications will have <guibutton>Help</guibutton>
  1987. buttons. These are most often seen in Preference windows. (All
  1988. Preference windows should have <guibutton>Help</guibutton>
  1989. buttons.) Most <guibutton>Help</guibutton> buttons will connect
  1990. to the application manual, although some may connect to special
  1991. documents. Because the <guibutton>Help</guibutton> buttons do
  1992. not generally have their own special documentation, the
  1993. documentation author(s) do not need to do very much. However,
  1994. the application author must be careful to guarantee that the
  1995. application correctly opens the help documentation when the
  1996. <guibutton>Help</guibutton> buttons are pressed.
  1997. </para>
  1998. <para>
  1999. To make the Help buttons call the correct document in the GNOME Help
  2000. Browser the developer should add code based on the following example:
  2001. </para>
  2002. <programlisting>
  2003. gchar *tmp;
  2004. tmp = gnome_help_file_find_file ("module", "page.html");
  2005. if (tmp) {
  2006. gnome_help_goto(0, tmp);
  2007. g_free(tmp);
  2008. }
  2009. </programlisting>
  2010. <note>
  2011. <title>NOTE</title>
  2012. <para>
  2013. The example above is in the C language, please refer to other
  2014. documentation or forums for other GNOME language bindings.
  2015. </para>
  2016. </note>
  2017. </sect1>
  2018. <!-- ################# Packaging Applet Documentation ############### -->
  2019. <sect1 id="packagingappletdocs">
  2020. <title>Packaging Applet Documentation</title>
  2021. <sect2 id="appletfiles">
  2022. <title>Applet Documentation Files</title>
  2023. <para>
  2024. In GNOME 2.0 each applet will have its own documentation
  2025. installed separately, and the GNOME 2.0 help
  2026. browser (<application>Nautilus</application>) will dynamically
  2027. merge the applet documents into a single virtual book
  2028. called <citetitle>GNOME Applets</citetitle>. During the
  2029. transitionary stage between GNOME 1.0 and GNOME 2.0, each
  2030. applet in the gnome-applets package has its own manual(stored
  2031. with the applet in CVS), but they are merged together manually
  2032. to create the <citetitle>GNOME Applets</citetitle> book before
  2033. distribution. Telsa
  2034. <email>hobbit@aloss.ukuu.org.uk</email> is the maintainer of
  2035. this document. Applet documentation should be sent to Telsa
  2036. (or placed in CVS) who will make sure they are correctly
  2037. packaged with the applets. The applet author should be
  2038. contacted to modify the menu items and help buttons to bind to
  2039. the applet documentation if necessary.
  2040. </para>
  2041. <para>
  2042. Images which are part of the applet documentation should be in
  2043. PNG format and should reside in the same directory as the SGML
  2044. document file in CVS(gnome-applets/APPLETNAME/help/C).
  2045. </para>
  2046. <para>
  2047. Applets which are not part of the gnome-applets package must
  2048. package their documentation with the particular applet
  2049. package. They should use the same applet template as other
  2050. applets. However, the <sgmltag>&lt;xref></sgmltag> links to
  2051. the introductory chapter of the <citetitle>GNOME
  2052. Applets</citetitle> book must be removed (as the 1.x
  2053. <application>GNOME Help Browser</application> does not allow
  2054. you to create links between separate documents) and replaced
  2055. with suitable text. Note that since this document is not part
  2056. of the <citetitle>GNOME Applets</citetitle> book, you must
  2057. remember to add <sgmltag>&lt;legalnotice></sgmltag> and
  2058. <sgmltag>&lt;copyright></sgmltag> sections.
  2059. </para>
  2060. </sect2>
  2061. <sect2 id="appletmenu">
  2062. <title>Adding Documentation to an Applet Menu</title>
  2063. <note>
  2064. <title>Developer Information</title>
  2065. <para>
  2066. This section is for developers. Documentation authors
  2067. generally do not need to know this material.
  2068. </para>
  2069. </note>
  2070. <para>
  2071. Applets should have <guimenu>About</guimenu> and
  2072. <guimenu>Manual</guimenu> menu items, typically as the first
  2073. and second top-most items in the menu respectively. This
  2074. section describes how the developer creates these menu items
  2075. and links them to the documentation.
  2076. </para>
  2077. <para>
  2078. To add an applet's manual to its applet menu, use:
  2079. <programlisting>
  2080. /* add an item to the applet menu */
  2081. applet_widget_register_callback(APPLET_WIDGET(applet), "manual",
  2082. _("Manual"), &amp;open_manual, NULL);
  2083. </programlisting>
  2084. Here the second argument is an arbitrary name for the
  2085. callback, the third argument is the label which will appear
  2086. when the user right clicks on the applet, and the fourth
  2087. argument is the callback function.
  2088. </para>
  2089. <para>
  2090. You will need to write a simple callback function to open the
  2091. help browser to the appropriate document. This is done using
  2092. the <function>gnome_help_file_find_file</function> function,
  2093. as described in <xref linkend="applicationhelpbuttons" />.
  2094. </para>
  2095. <para>
  2096. You will also want to add an <guimenu>About</guimenu> menu
  2097. item to the applet's menu. This is a
  2098. stock menu item and is done:
  2099. <programlisting>
  2100. applet_widget_register_stock_callback (APPLET_WIDGET(applet), "about",
  2101. GNOME_STOCK_MENU_ABOUT, _("About"), &amp;my_applet_cb_about,
  2102. NULL);
  2103. </programlisting>
  2104. </para>
  2105. <para>
  2106. More information can be found at <ulink type="http"
  2107. url="http://developer.gnome.org/doc/tutorials/applet/index.html">Writing
  2108. GNOME panel applets using the GTK+/GTK-- widget set</ulink>.
  2109. </para>
  2110. </sect2>
  2111. </sect1>
  2112. <!-- ################# Writing Context Sensitive Help ###############
  2113. -->
  2114. <sect1 id="writingcontextsensitivehelp">
  2115. <title>Writing Context Sensitive Help (coming in GNOME-2.0)</title>
  2116. <para>
  2117. Context sensitive help, also known as "pop-up" help, will allow
  2118. a user to obtain help information about specific buttons or
  2119. parts of an application.
  2120. </para>
  2121. <para>
  2122. Context sensitive help is still under development and not all
  2123. the details are available at this time. However, the basics can
  2124. be shown here so that you can understand how the system will
  2125. work.
  2126. </para>
  2127. <para>
  2128. The Context Sensitive Help system is designed to allow the
  2129. developer to give an id to a particular portion of the User
  2130. Interface, for example, a button. Once the interface is complete
  2131. a Perl script can then be run against the interface code to
  2132. create a "map" file. This map file allows the developer or
  2133. writer to associate particular paragraph sections from an XML
  2134. document to the interface items.
  2135. </para>
  2136. <para>
  2137. The XML used for the document is a small XML DTD that is being
  2138. developed to use the same tags (albeit, much fewer) as DocBook
  2139. so that writers do not have to re-learn a new DTD.
  2140. </para>
  2141. <para>
  2142. Once the document is written and map file is complete, when the
  2143. user launches context sensitive help on the interface (either by
  2144. pressing a button and then clicking on the interface item they
  2145. want information on, or by right mouse clicking on the interface
  2146. item and selecting a pop-up menu item like "What's This") a
  2147. small transient window will appear with brief but detailed
  2148. information on the interface item.
  2149. </para>
  2150. </sect1>
  2151. <!-- ################# Referring to Other GNOME Documentation
  2152. ############# -->
  2153. <sect1 id="referring">
  2154. <title>Referring to Other GNOME Documentation (coming in
  2155. GNOME-2.0)</title>
  2156. <para>
  2157. In the GNOME 2.0 Help System, you will be able to create links
  2158. from one document to another. The exact mechanism for doing
  2159. this is in development.
  2160. </para>
  2161. </sect1>
  2162. <!-- ################# Basics of Documentation Style ############### -->
  2163. <sect1 id="basics">
  2164. <title>Basics of Documentation Style</title>
  2165. <para>
  2166. Most people have never enjoyed reading a software manual, and
  2167. they probably never will. Many times, they'll read the
  2168. documentation only when they run into problems, and they'll be
  2169. frustrated and upset before they even read a word. On the
  2170. other hand, some readers will read the manual all the way
  2171. through, or at least look at the introduction before they
  2172. start. Your document might serve as a reference for an expert
  2173. or a guide to a beginner, and it must have enough depth to
  2174. satisfy the first without overwhelming the second. Ideally, it
  2175. will serve beginners as they <emphasis>become</emphasis>
  2176. experts. Remember, your goal is to produce <emphasis>complete,
  2177. intuitive and clear</emphasis> documentation.
  2178. </para>
  2179. <para>
  2180. In order to write useful documentation, you'll have to know who
  2181. your audience is likely to be. Then, you can look for the
  2182. problems they're likely to run into, and solve them. It will
  2183. also help if you focus on the tasks users will perform, and
  2184. group features accordingly, rather than simply describing
  2185. features at random.
  2186. </para>
  2187. <!-- *********** Basics of Documentation Style: planning -->
  2188. <sect2 id="styleplanning">
  2189. <title>Planning</title>
  2190. <para>
  2191. Begin documenting by learning how to use the application and
  2192. reading over any existing documentation. Pay attention to
  2193. places where your document will differ from the template. It
  2194. may help to develop a document skeleton: a valid XML or SGML
  2195. document that has little or no content. For very large
  2196. applications, you will need to make significant departures
  2197. from the templates, since you'll be using the
  2198. <sgmltag>&lt;book></sgmltag> tag instead of
  2199. <sgmltag>&lt;chapter></sgmltag> or
  2200. <sgmltag>&lt;article></sgmltag>.
  2201. </para>
  2202. </sect2>
  2203. <!-- ####### Basics of Documentation Style | Balance ####### -->
  2204. <sect2 id="balance">
  2205. <title>Achieving a Balanced Style</title>
  2206. <para>
  2207. Just as you need to juggle expert and novice readers,
  2208. you'll have to juggle a number of other extremes as you write:
  2209. <itemizedlist>
  2210. <listitem>
  2211. <para>
  2212. Documents should be complete, yet concise. You should
  2213. describe every feature, but you'll have decide how much
  2214. detail is really necessary. It's not, for example,
  2215. necessary to describe every button and form field in a
  2216. dialog box, but you should make sure that your readers
  2217. know how to bring up the dialog and what it does. If
  2218. you spend fewer words on the obvious, you can spend more
  2219. time clarifying the ambiguous labels and explaining
  2220. items that are more complex.
  2221. </para>
  2222. </listitem>
  2223. <listitem>
  2224. <para>
  2225. Be engaging and friendly, yet professional. Games
  2226. documents may be less formal than productivity
  2227. application documents (people don't
  2228. <emphasis>use</emphasis> games, they
  2229. <emphasis>play</emphasis> them), but all of them should
  2230. maintain a standard of style which holds the reader's
  2231. interest without resorting to jokes and untranslatable
  2232. allusions or puns.
  2233. </para>
  2234. </listitem>
  2235. <listitem>
  2236. <para>
  2237. Examples, tips, notes, and screenshots are useful to
  2238. break up long stretches of text, but too many can get in
  2239. the way, and make your documents too choppy to read.
  2240. It's good to provide a screenshot of any dialog windows
  2241. a user might run into, but if a dialog box has several
  2242. tabs, it's not usually necessary to have one for each.
  2243. </para>
  2244. </listitem>
  2245. <listitem>
  2246. <para>
  2247. The GDP strives to have all of its documentation conform
  2248. to certain standards of style and content, but every
  2249. document (and every writer) is different. You will need
  2250. to use your judgement, and write documents to fit with
  2251. the rest of the project, without compromising the
  2252. individual needs of your subject, or your own
  2253. individuality as a writer.
  2254. </para>
  2255. </listitem>
  2256. </itemizedlist>
  2257. </para>
  2258. </sect2>
  2259. <!-- ####### Basics of Documentation Style | Structure ####### -->
  2260. <sect2 id="stylestructure">
  2261. <title>Structure</title>
  2262. <para>
  2263. In general, you won't have to worry too much about structure,
  2264. because the templates provide you with an excellent example.
  2265. As a general rule, try to follow that structural example.
  2266. That means using links, hierarchical nesting, and, if
  2267. necessary, a glossary or index. You probably won't need to
  2268. use every available structural tag, but take advantage of
  2269. what DocBook provides you.
  2270. </para>
  2271. <para>
  2272. As to linking, there's some disagreement about whether to use
  2273. <sgmltag>&lt;xref></sgmltag> <sgmltag>&lt;link></sgmltag>
  2274. when you make links within your documents. You'll have to
  2275. decide, based on the different ways that they are presented
  2276. in output, which is more appropriate given the context.
  2277. Regardless of which you use, you should not forget to use
  2278. them. Help your readers find information that relevant to
  2279. the issue at hand.
  2280. </para>
  2281. <para>
  2282. The table of contents will be generated automatically, but
  2283. you will probably have to develop your own index if you wish
  2284. to have one. The Nautilus Help Browser will have new, and
  2285. currently unknown, indexing capabilities, so index style and
  2286. structure are still under discussion. The GNOME User's Guide
  2287. will contain a glossary in its next versions; unless you're
  2288. writing a<sgmltag>&lt;book></sgmltag>, it will probably be best to
  2289. contribute to that rather than developing your own.
  2290. </para>
  2291. </sect2>
  2292. <!-- ####### Basics of Documentation Style | Grammar & Spelling ####### -->
  2293. <sect2 id="stylegrammar">
  2294. <title>Grammar and Spelling</title>
  2295. <para>
  2296. Nobody expects you to be perfect; they just expect the
  2297. documentation for their software to be error-free. That means
  2298. that, in the same way that developers look for bugs and accept
  2299. bug reports, writers must check for errors in their documents.
  2300. Poor grammar, bad spelling, and gross technical errors in
  2301. draft documents are fine. However, if those problems show up
  2302. in a "real" release, they can count against the credibility of
  2303. GNOME and Linux. They'll also make you look bad.
  2304. </para>
  2305. <para>
  2306. There is no substitute for a human proofreader; use a
  2307. spell-check program, then read it over yourself, and then find
  2308. someone else to help you. Other GDP members are, of course,
  2309. willing and able to help you, but non-writers are often at
  2310. least as helpful.
  2311. </para>
  2312. <para>
  2313. Proofreading documents is both a also a good way to
  2314. familiarize yourself with documentation, and it certainly
  2315. makes you valuable to the GDP. Help other writers proof their
  2316. documents, and they will help you with yours.
  2317. </para>
  2318. </sect2>
  2319. </sect1>
  2320. <!-- ################# Teamwork ############### -->
  2321. <sect1 id="teamwork">
  2322. <title>Teamwork</title> <!-- ####### Teamwork | Working With The
  2323. GDP Team ####### -->
  2324. <sect2 id="teamworkgdp">
  2325. <title>Working With The GDP Team</title>
  2326. <para>
  2327. The GDP team is a valuable resource for any documentation
  2328. author. GDP members can answer most questions documentation
  2329. authors have during the course of their work. It is also
  2330. important to make sure you are not duplicating work of other
  2331. GDP members by visiting the <citetitle>GDP Documentation
  2332. Status Table</citetitle> (<ulink
  2333. url="http://www.gnome.org/gdp/doctable/"
  2334. type="http">http://www.gnome.org/gdp/doctable/</ulink>) and
  2335. assigning a documentation item to yourself. This table also
  2336. provides a forum for making suggestions and announcements for
  2337. each documentation item. The best way to get in touch with
  2338. GDP members is on the #docs IRC channel at irc.gnome.org or
  2339. else by emailing the <ulink type="http"
  2340. url="http://mail.gnome.org/mailman/listinfo/gnome-doc-list/">
  2341. <citetitle>gnome-doc-list mailing list</citetitle></ulink>.
  2342. </para>
  2343. <para>
  2344. After an author has finished a document (or even a draft
  2345. version of the document), it is a good idea to ask a member of
  2346. the GDP team to read the document, checking it for grammar,
  2347. proper DocBook markup, and clarity. One may typically find
  2348. another author to do this by either asking on the #docs IRC
  2349. channel at irc.gnome.org or by emailing the <ulink type="http"
  2350. url="http://mail.gnome.org/mailman/listinfo/gnome-doc-list/">
  2351. <citetitle>gnome-doc-list mailing list</citetitle></ulink>.
  2352. </para>
  2353. </sect2>
  2354. <!-- ####### Teamwork | Working With Developers ####### -->
  2355. <sect2 id="teamworkdevelopers">
  2356. <title>Working With Developers</title>
  2357. <para>
  2358. Writing documentation typically involves a certain amount of
  2359. interaction with the developers of GNOME or the application
  2360. which is being documented. Often a document author will need
  2361. to ask the developer technical questions during the course of
  2362. writing a document. After the document is finished, it is good
  2363. idea to ask the developer to read the document to make sure it
  2364. is technically correct. The documentation author should also
  2365. make sure that the application author correctly binds and
  2366. packages the documentation with the application.
  2367. </para>
  2368. </sect2>
  2369. <!-- ####### Teamwork | Working With Users #######
  2370. <sect2 id="teamworkusers">
  2371. <title>Working With Users</title>
  2372. <para>
  2373. Some document authors may wish to get feedback on their
  2374. documents directly from users. This may be done by ...
  2375. </para>
  2376. </sect2>-->
  2377. </sect1>
  2378. <!-- ################# Finishing a Document ############### -->
  2379. <sect1 id="finishing">
  2380. <title>Finishing A Document</title>
  2381. <!-- ####### Finishing a Document | Editting the Document ####### -->
  2382. <sect2 id="editting">
  2383. <title>Editing The Document</title>
  2384. <para>
  2385. When the document is finished, the document should be edited
  2386. by another member of the GDP for spelling, clarity, and
  2387. DocBook markup. It should also be read by an application
  2388. author to make sure the document is technically accurate.
  2389. </para>
  2390. </sect2>
  2391. <!-- ####### Finishing a Document | Submitting the Document ####### -->
  2392. <sect2 id="submitting">
  2393. <title>Submitting The Document</title>
  2394. <para>
  2395. After the document has been edited and checked for technical
  2396. accuracy, it is ready to be combined with the application or
  2397. documentation package. This is typically done by passing the
  2398. document to the application or package developer. In some
  2399. cases, the documents can be committed directly into CVS,
  2400. however this should only be done after obtaining permission to
  2401. make CVS commits from the developer. Note that in many cases,
  2402. the application may need to be modified to correctly link to
  2403. the documentation. The packaging system (tarballs and binary
  2404. packages) may also need to be modified to include the
  2405. documentation in the package. Generally, this should be done
  2406. by the developers.
  2407. </para>
  2408. <para>
  2409. The final step is to email the GNOME Translation Team at
  2410. <email>gnome-i18n@nuclecu.unam.mx</email> to notify them that
  2411. there is a new document for them to translate.
  2412. </para>
  2413. </sect2>
  2414. </sect1>
  2415. <!-- ################# Resources ############### -->
  2416. <sect1 id="resources">
  2417. <title>Resources</title>
  2418. <!-- ####### Resources | Resources on the Web ####### -->
  2419. <sect2 id="resourcesweb">
  2420. <title>Resources On The Web</title> <para> The <ulink
  2421. type="http" url="http://developer.gnome.org/projects/gdp/">GNOME
  2422. Documentation Project Web page</ulink> lists current GDP
  2423. projects and members.
  2424. </para>
  2425. <para>
  2426. The <ulink url="http://www.gnome.org/gdp/doctable/"
  2427. type="http">GDP Documentation Status Table</ulink> tracks the
  2428. status of all the various documentation components of GNOME.
  2429. </para>
  2430. <para>
  2431. Norman Walsh's <ulink url="http://www.docbook.org"
  2432. type="http"> <citetitle>DocBook: The Definitive
  2433. Guide</citetitle></ulink> in an excellent book on DocBook,
  2434. available both online and in print.
  2435. </para>
  2436. </sect2>
  2437. <!-- ####### Resources | Books ####### -->
  2438. <sect2 id="resourcesbooks">
  2439. <title>Books</title>
  2440. <para>
  2441. Docbook: The Definitive Guide is available in both printed
  2442. form and on the web at:
  2443. <ulink url="http://www.docbook.org/tdg/index.html">
  2444. <citetitle>Docbook: The Definitive Guide</citetitle>
  2445. </ulink>
  2446. </para>
  2447. </sect2>
  2448. <!-- ####### Resources | Mailing Lists ####### -->
  2449. <sect2 id="mailinglists">
  2450. <title>Mailing Lists</title>
  2451. <para>
  2452. The <emphasis>gnome-docs-list</emphasis> mailing list is the
  2453. main discussion area for all contributors to the GNOME
  2454. Documentation Project. You can find out how to subscribe to
  2455. this list on <ulink
  2456. url="http://www.gnome.org/resources/mailing-lists.html"
  2457. type="http">GNOME Mailing Lists</ulink>. This is a rather
  2458. low-volume list, so you will not be flooded with messages.
  2459. </para>
  2460. </sect2>
  2461. <!-- ####### Resources | IRC ####### -->
  2462. <sect2 id="irc">
  2463. <title>IRC</title>
  2464. <para>
  2465. Internet Relay Chat (IRC) is a fast and easy way to get in
  2466. touch with other GDP members. There are generally at least a
  2467. few members here who can answer questions or discuss
  2468. documentation issues. The IRC channel is #docs at
  2469. irc.gnome.org.
  2470. </para>
  2471. </sect2>
  2472. </sect1>
  2473. <!-- ################# Example Docs ###############
  2474. <appendix id="exampledocs">
  2475. <title>Example Docs</title>
  2476. ####### Example Docs | Example 1: Application Manual #######
  2477. <sect1 id="ex1">
  2478. <title>Example 1: Application Manual</title>
  2479. <programlisting>
  2480. <![CDATA[ (Put sgml here.)]]> </programlisting>
  2481. </sect1>
  2482. ####### Example Docs | Example 2: Applet Manual #######
  2483. <sect1 id="ex2">
  2484. <title>Example 2: Applet Manual</title>
  2485. <programlisting>
  2486. <![CDATA[(Put sgml here.)]]> </programlisting>
  2487. </sect1>
  2488. ##### Example Docs | Example 3: Application Context Sensitive Help ####
  2489. <sect1 id="ex3">
  2490. <title>Example 3: Application Context Sensitive Help</title>
  2491. <programlisting>
  2492. <![CDATA[(Put sgml here.)]]> </programlisting>
  2493. </sect1>
  2494. ####### Example Docs | Example 4: Complete Application: gnome-hello #######
  2495. <sect1 id="ex4">
  2496. <title>Example 4: Complete Application: gnome-hello</title>
  2497. <programlisting>
  2498. <![CDATA[(Put sgml here.)]]> </programlisting>
  2499. </sect1>
  2500. ####### Example Docs | Example 5: Tutorial #######
  2501. <sect1 id="ex5">
  2502. <title>Example 5: Tutorial</title>
  2503. <programlisting>
  2504. <![CDATA[(Put sgml here.)]]> </programlisting>
  2505. </sect1>
  2506. </appendix>-->
  2507. <!-- ################# Document Templates ############### -->
  2508. <appendix id="templates">
  2509. <title>Document Templates</title>
  2510. <!-- ####### Document Templates | Templates 1: Application Manual ####### -->
  2511. <sect1 id="template1">
  2512. <title>Template 1: Application Manual</title>
  2513. <para>
  2514. The following template should be used for all application
  2515. manuals. You can always get the latest copy of this
  2516. template from <ulink type="http"
  2517. url="http://developer.gnome.org/projects/gdp/templates.html">GDP
  2518. Documentation Templates</ulink>.
  2519. <programlisting>
  2520. <![CDATA[
  2521. <!DOCTYPE Article PUBLIC "-//GNOME//DTD DocBook PNG Variant V1.1//EN"[
  2522. <!-- if not using PNG graphic, replace reference above with
  2523. .....PUBLIC "-//OASIS//DTD DocBook V3.1//EN"[
  2524. -->
  2525. <!ENTITY version "1.0.53">
  2526. <!-- replace version above with actual application version number-->
  2527. <!-- Template Version: 1.0.1 (do not remove this line) -->
  2528. ]>
  2529. <!-- This is a GNOME documentation template, designed by the GNOME
  2530. Documentation Project Team. Please use it for writing GNOME
  2531. documentation, making obvious changes. In particular, all the words
  2532. written in UPPERCASE (with the exception of GNOME) should be
  2533. replaced. As for "legalnotice", please leave the reference
  2534. unchanged.
  2535. Remember that this is a guide, rather than a perfect model to follow
  2536. slavishly. Make your manual logical and readable. And don't forget
  2537. to remove these comments in your final documentation! ;-)
  2538. -->
  2539. <!-- =============Document Header ============================= -->
  2540. <article id="index"> <!-- please do not change the id -->
  2541. <artheader>
  2542. <title>MY-GNOME-APP</title>
  2543. <copyright>
  2544. <year>2000</year>
  2545. <holder>ME-THE-AUTHOR</holder>
  2546. </copyright>
  2547. <!-- translators: uncomment this:
  2548. <copyright>
  2549. <year>2000</year>
  2550. <holder>ME-THE-TRANSLATOR (Latin translation)</holder>
  2551. </copyright>
  2552. -->
  2553. <!-- do not put authorname in the header except in copyright - use
  2554. section "authors" below -->
  2555. <legalnotice>
  2556. <para>
  2557. Permission is granted to copy, distribute and/or modify this
  2558. document under the terms of the <citetitle>GNU Free
  2559. Documentation License</citetitle>, Version 1.1 or any later
  2560. version published by the Free Software Foundation with no
  2561. Invariant Sections, no Front-Cover Texts, and no Back-Cover
  2562. Texts. You may obtain a copy of the <citetitle>GNU Free
  2563. Documentation License</citetitle> from the Free Software
  2564. Foundation by visiting <ulink type="http"
  2565. url="http://www.fsf.org">their Web site</ulink> or by writing
  2566. to: Free Software Foundation, Inc., 59 Temple Place - Suite
  2567. 330, Boston, MA 02111-1307, USA.
  2568. </para>
  2569. <para>
  2570. Many of the names used by companies to distinguish their
  2571. products and services are claimed as trademarks. Where those
  2572. names appear in any GNOME documentation, and those trademarks
  2573. are made aware to the members of the GNOME Documentation
  2574. Project, the names have been printed in caps or initial caps.
  2575. </para>
  2576. </legalnotice>
  2577. <!-- this is the version of manual, not application -->
  2578. <releaseinfo>
  2579. This is version 1.0 of MY-GNOME-APP manual.
  2580. </releaseinfo>
  2581. </artheader>
  2582. <!-- ============= Document Body ============================= -->
  2583. <!-- ============= Introduction ============================== -->
  2584. <sect1 id="intro">
  2585. <title>Introduction</title>
  2586. <para>
  2587. <application>MY-GNOME-APP</application> is an application which
  2588. proves mathematical theorems. It has all the basic features
  2589. expected from a mathematical theorem prover, as well as a number
  2590. of advanced ones, such as proof by confusion. In fact, many of
  2591. the proofs produced by <application>MY-GNOME-APP</application>
  2592. are so complex that they are capable of proving almost anything
  2593. with a virtually null likelihood of being disproven. It also has
  2594. the very popular predecessor of proof by confusion, proof by
  2595. dialog, first implemented by Plato.
  2596. </para>
  2597. <para>
  2598. It also allows you to save and print theorem proofs and to add
  2599. comments to the proofs it produces.
  2600. </para>
  2601. <para>
  2602. To run <application>MY-GNOME-APP</application>, select
  2603. <menuchoice>
  2604. <guisubmenu>SUBMENU</guisubmenu>
  2605. <guimenuitem>MY-GNOME-APP</guimenuitem>
  2606. </menuchoice>
  2607. from the <guimenu>Main Menu</guimenu>, or type
  2608. <command>MYGNOMEAPP</command> on the command line.
  2609. </para>
  2610. <para>
  2611. <application>MY-GNOME-APP</application> is included in the
  2612. <filename>GNOME-PACKAGE</filename> package, which is part of the
  2613. GNOME desktop environment. This document describes version
  2614. &version; of <application>MY-GNOME-APP</application>.
  2615. </para>
  2616. </sect1>
  2617. <!-- ================ Usage ================================ -->
  2618. <!-- This section should describe basic usage of the application. -->
  2619. <sect1 id="usage">
  2620. <title>Using MY-GNOME-APP</title>
  2621. <para>
  2622. <application>MY-GNOME-APP</application> can be used to produce a
  2623. perfect proof of <emphasis>any</emphasis> mathematical theorem
  2624. (provided, of course, that this theorem is correct), thus
  2625. providing for new users an easy-to-use graphical interface to
  2626. modern mathematics. This section describes basic usage of
  2627. <application>MY-GNOME-APP</application>.
  2628. </para>
  2629. <!-- ========= Basic Usage =========================== -->
  2630. <sect2 id="mainwin">
  2631. <title>Basic usage</title>
  2632. <para>
  2633. Starting <application>MY-GNOME-APP</application> opens the
  2634. <interface>Main window</interface>, shown in <xref
  2635. linkend="mainwindow-fig">. The window is at first empty.
  2636. <!-- ==== Figure ==== -->
  2637. <figure id="mainwindow-fig">
  2638. <title>MY-GNOME-APP Main Window</title>
  2639. <screenshot>
  2640. <screeninfo>MY-GNOME-APP Main Window</screeninfo>
  2641. <graphic fileref="SCREENSHOT" format="png" srccredit="ME">
  2642. </graphic>
  2643. </screenshot>
  2644. </figure>
  2645. <!-- ==== End of Figure ==== -->
  2646. </para>
  2647. <!-- For this app, one could put "proving" or "edit" (probably even
  2648. both of them) as sect2's seperate from the main window
  2649. section. Since they were both so closely involved with the main
  2650. window, I decided to have them as sect3's isntead. Judgement
  2651. call. -->
  2652. <sect3 id="proving">
  2653. <title>Proving a Theorem</title>
  2654. <para>
  2655. To get a proof of a theorem, select
  2656. <menuchoice>
  2657. <guisubmenu>File</guisubmenu>
  2658. <guimenuitem>New</guimenuitem>
  2659. </menuchoice>,
  2660. which will
  2661. bring up the <interface>New Proof</interface> dialog box.
  2662. Enter the statement of the theorem in the
  2663. <guilabel>Theorem statement</guilabel> field, select your
  2664. desired proof type from the drop-down menu, and and press
  2665. <guibutton>Prove!</guibutton>.
  2666. </para>
  2667. <para>
  2668. If <application>MY-GNOME-APP</application> cannot prove the
  2669. theorem by the method you have chosen, or if you have not
  2670. selected a proof type at all,
  2671. <application>MY-GNOME-APP</application> will attempt to
  2672. choose the one that it thinks is most conclusive. In order,
  2673. it will attempt to prove the theorem with the following techniques:
  2674. <variablelist>
  2675. <varlistentry>
  2676. <term>Deduction</term>
  2677. <listitem>
  2678. <para>
  2679. This is a proof method that is generally accepted
  2680. for full credit by Logic professors.
  2681. </para>
  2682. </listitem>
  2683. </varlistentry>
  2684. <varlistentry>
  2685. <term>Induction</term>
  2686. <listitem>
  2687. <para>
  2688. This logical style will also earn you full credit on
  2689. your homework.
  2690. </para>
  2691. </listitem>
  2692. </varlistentry>
  2693. <varlistentry>
  2694. <term>Dialog</term>
  2695. <listitem>
  2696. <para>
  2697. This logical method is best for Philosophy classes,
  2698. and will probably only merit partial credit on Logic
  2699. or Mathematics homework.
  2700. </para>
  2701. </listitem>
  2702. </varlistentry>
  2703. <varlistentry>
  2704. <term>Confusion</term>
  2705. <listitem>
  2706. <para>
  2707. Suitable only for political debates, battles of wits
  2708. against the unarmed, and Philosophy classes focusing
  2709. on the works of Kant. Use with caution.
  2710. </para>
  2711. </listitem>
  2712. </varlistentry>
  2713. </variablelist>
  2714. </para>
  2715. <!-- You might want to include a note, warning, or tip, e.g. -->
  2716. <warning>
  2717. <title>Proving Incorrect Theorms</title>
  2718. <para>
  2719. <application>MY-GNOME-APP</application> cannot prove
  2720. incorrect theorems. If the theorem you have entered is not
  2721. demonstrably true, you will get a message to that effect
  2722. in the main window. To disprove a theorem, ask
  2723. <application>MY-GNOME-APP</application> to prove its
  2724. logical inverse.
  2725. </para>
  2726. </warning>
  2727. </sect3>
  2728. <sect3 id="editing">
  2729. <title>Editing Proofs</title>
  2730. <para>
  2731. Once you have proven the theorem, it will be displayed in
  2732. the <interface>main window</interface>. There, you can read
  2733. it over, choose text styles for different portions of it,
  2734. and make comments on it. This section will guide you through
  2735. that process.
  2736. </para>
  2737. <para>
  2738. To alter text styles, first select the statement you wish to
  2739. change by clicking on it once. You can select several
  2740. statements by Then, choose the style you want to apply from
  2741. the <guisubmenu>Style</guisubmenu> submenu of the
  2742. <guimenu>Edit</guimenu> menu.
  2743. <application>MY-GNOME-APP</application> will convert the
  2744. text to that style.
  2745. </para>
  2746. <para>
  2747. You can also enter comments on a statement by selecting that
  2748. statement, and then beginning to type. Comments will appear
  2749. after the statement you have selected.
  2750. </para>
  2751. <note>
  2752. <title>Altering The Proofs Themselves</title>
  2753. <para>
  2754. <application>MY-GNOME-APP</application> does not allow you
  2755. to alter a proof it has produced itself. You can, save
  2756. your proof as a plain text file (using the
  2757. <guimenuitem>Save as...</guimenuitem> menu), and alter it
  2758. that way. Be aware, however, that
  2759. <application>MY-GNOME-APP</application> uses its own file
  2760. format for saved proofs, and cannot re-open a file unless
  2761. it is in the .mga format.
  2762. </para>
  2763. </note>
  2764. </sect3>
  2765. <!-- If there are other functions performed from the main window,
  2766. they belong here. -->
  2767. </sect2>
  2768. <!-- =========================================================
  2769. Additional Sect2's should describe additional windows, such as
  2770. larger dialog boxes, or functionality that differs significantly
  2771. from the most immediate functions of the application. Make the
  2772. structure logical.
  2773. ============================================================= -->
  2774. <sect2 id="toolbar">
  2775. <title>Toolbar</title>
  2776. <para>
  2777. The toolbar (shown in <xref linkend="figure-usage-toolbar">)
  2778. provides access to several commonly used routines.
  2779. <figure id="figure-usage-toolbar">
  2780. <title>MY-GNOME-APP Toolbar</title>
  2781. <screenshot>
  2782. <screeninfo>MY-GNOME-APP Toolbar</screeninfo>
  2783. <graphic fileref="usage-toolbar.png" format="png"></graphic>
  2784. </screenshot>
  2785. </figure>
  2786. <variablelist>
  2787. <varlistentry>
  2788. <term>New</term>
  2789. <listitem>
  2790. <para>
  2791. Brings up the <interface>New Theorem</interface>
  2792. dialog.
  2793. </para>
  2794. </listitem>
  2795. </varlistentry>
  2796. <varlistentry>
  2797. <term>Open</term>
  2798. <listitem>
  2799. <para>
  2800. Open an exisiting theorem you want to prove, or a
  2801. completed proof you wish to print or format.
  2802. </para>
  2803. </listitem>
  2804. </varlistentry>
  2805. <varlistentry>
  2806. <term>Save</term>
  2807. <listitem>
  2808. <para>
  2809. Save the current theorem permanently in a
  2810. file.
  2811. </para>
  2812. </listitem>
  2813. </varlistentry>
  2814. </variablelist>
  2815. </para>
  2816. </sect2>
  2817. <!-- ========= Menus =========================== -->
  2818. <sect2 id="menubar">
  2819. <!-- Describing the menubar ensures comprehensive feature
  2820. coverage. Nest itemizedlists inside variablelists so that each
  2821. menu is easily located by indexing software. Proper indentation
  2822. makes it easier! -->
  2823. <title>Menus</title>
  2824. <para>
  2825. The menu bar, located at the top of the <interface>Main
  2826. Window</interface>, contains the following menus:
  2827. </para>
  2828. <variablelist>
  2829. <varlistentry>
  2830. <term><guimenu>File</guimenu></term>
  2831. <listitem>
  2832. <para>
  2833. This menu contains:
  2834. <itemizedlist>
  2835. <listitem>
  2836. <para>
  2837. <menuchoice>
  2838. <shortcut>
  2839. <keycap>F3</keycap>
  2840. </shortcut>
  2841. <guimenuitem>Open</guimenuitem>
  2842. </menuchoice>
  2843. &mdash; This opens a file which is saved on your computer.
  2844. </para>
  2845. </listitem>
  2846. <listitem>
  2847. <para>
  2848. <menuchoice>
  2849. <shortcut>
  2850. <keycombo><keycap>Ctrl</keycap><keycap>S</keycap></keycombo>
  2851. </shortcut>
  2852. <guimenuitem>Save</guimenuitem>
  2853. </menuchoice>
  2854. &mdash; This saves your file.
  2855. </para>
  2856. </listitem>
  2857. <listitem>
  2858. <para>
  2859. <menuchoice>
  2860. <shortcut>
  2861. <keycombo><keycap>Ctrl</keycap><keycap>W</keycap></keycombo>
  2862. </shortcut>
  2863. <guimenuitem>Close</guimenuitem>
  2864. </menuchoice>
  2865. &mdash; This closes your file.
  2866. </para>
  2867. </listitem>
  2868. <listitem>
  2869. <para>
  2870. <menuchoice>
  2871. <shortcut>
  2872. <keycombo><keycap>Ctrl</keycap><keycap>Q</keycap></keycombo>
  2873. </shortcut>
  2874. <guimenuitem>Exit</guimenuitem>
  2875. </menuchoice>
  2876. &mdash; This quits the application.
  2877. </para>
  2878. </listitem>
  2879. </itemizedlist>
  2880. </para>
  2881. </listitem>
  2882. </varlistentry>
  2883. <varlistentry>
  2884. <term><guimenu>Edit</guimenu></term>
  2885. <listitem>
  2886. <para>
  2887. This menu contains:
  2888. <itemizedlist>
  2889. <listitem>
  2890. <para>
  2891. <menuchoice>
  2892. <shortcut>
  2893. <keycombo><keycap>Ctrl</keycap><keycap>X</keycap></keycombo>
  2894. </shortcut>
  2895. <guimenuitem>Cut</guimenuitem>
  2896. </menuchoice>
  2897. &mdash; This removes any text or data which is selected and
  2898. places it in the buffer.
  2899. </para>
  2900. </listitem>
  2901. <listitem>
  2902. <para>
  2903. <menuchoice>
  2904. <shortcut>
  2905. <keycombo><keycap>Ctrl</keycap><keycap>C</keycap></keycombo>
  2906. </shortcut>
  2907. <guimenuitem>Copy</guimenuitem>
  2908. </menuchoice>
  2909. &mdash; This copies any text or data which is selected into
  2910. the buffer.
  2911. </para>
  2912. </listitem>
  2913. <listitem>
  2914. <para>
  2915. <menuchoice>
  2916. <shortcut>
  2917. <keycombo><keycap>Ctrl</keycap><keycap>V</keycap></keycombo>
  2918. </shortcut>
  2919. <guimenuitem>Paste</guimenuitem>
  2920. </menuchoice>
  2921. &mdash; This pastes any text or data which is copied into
  2922. the buffer.
  2923. </para>
  2924. </listitem>
  2925. <listitem>
  2926. <para>
  2927. <guimenuitem>COMMAND1&hellip;</guimenuitem>
  2928. &mdash; This opens the <interface>COMMAND1</interface>
  2929. dialog, which is used to ....
  2930. </para>
  2931. </listitem>
  2932. <listitem>
  2933. <para>
  2934. <guimenuitem>COMMAND2</guimenuitem>
  2935. &mdash; This ....
  2936. </para>
  2937. </listitem>
  2938. </itemizedlist>
  2939. </para>
  2940. </listitem>
  2941. </varlistentry>
  2942. <varlistentry>
  2943. <term><guimenu>Settings</guimenu></term>
  2944. <listitem>
  2945. <para>
  2946. This menu contains:
  2947. <itemizedlist>
  2948. <listitem>
  2949. <para>
  2950. <guimenuitem>Preferences&hellip;</guimenuitem>
  2951. &mdash; This opens the <link
  2952. linkend="prefs"><interface>Preferences
  2953. Dialog</interface></link>, which allows you to configure
  2954. many settings.
  2955. </para>
  2956. </listitem>
  2957. <listitem>
  2958. <para>
  2959. <guimenuitem>COMMAND3</guimenuitem> &mdash;
  2960. This command does something.
  2961. </para>
  2962. </listitem>
  2963. </itemizedlist>
  2964. </para>
  2965. </listitem>
  2966. </varlistentry>
  2967. <varlistentry>
  2968. <term><guimenu>Help</guimenu></term>
  2969. <listitem>
  2970. <para>
  2971. This menu contains:
  2972. <itemizedlist>
  2973. <listitem>
  2974. <para>
  2975. <guimenuitem>Manual</guimenuitem> &mdash; This
  2976. opens the <application>GNOME Help
  2977. Browser</application> and displays this manual.
  2978. </para>
  2979. </listitem>
  2980. <listitem>
  2981. <para>
  2982. <guimenuitem>About</guimenuitem> &mdash; This
  2983. opens the <interface>About</interface> dialog
  2984. which shows basic information about
  2985. <application>MY-GNOME-APP</application>, such as
  2986. the author's name, the application version number,
  2987. and the URL for the application's Web page if one
  2988. exists.
  2989. </para>
  2990. </listitem>
  2991. </itemizedlist>
  2992. </para>
  2993. </listitem>
  2994. </varlistentry>
  2995. </variablelist>
  2996. </sect2>
  2997. </sect1>
  2998. <!-- ============= Customization ============================= -->
  2999. <sect1 id="prefs">
  3000. <title>Customization</title>
  3001. <para>
  3002. To change the application settings, select
  3003. <menuchoice>
  3004. <guimenu>Settings</guimenu>
  3005. <guimenuitem>Preferences...</guimenuitem>
  3006. </menuchoice>. This opens the
  3007. <interface>Preferences</interface> dialog, shown in <xref
  3008. linkend="preferences-fig">.
  3009. </para>
  3010. <figure id="preferences-fig">
  3011. <title>Preferences Dialog</title>
  3012. <screenshot>
  3013. <screeninfo>Preferences Dialog</screeninfo>
  3014. <graphic fileref="SCREENSHOT" format="png"
  3015. srccredit="ME">
  3016. </graphic>
  3017. </screenshot>
  3018. </figure>
  3019. <para>
  3020. The properties in the <guilabel>PREFSTABNAME</guilabel> tab are:
  3021. <!--many people use itemizedlists in cases like this. Variablelists
  3022. are more appropriate -->
  3023. <variablelist>
  3024. <varlistentry>
  3025. <term> <guilabel>Default Text Style</guilabel></term>
  3026. <listitem>
  3027. <para>
  3028. Select the default text style for statements in your
  3029. proof. You can still change the style for individual
  3030. proofs or sections of a proof at a later date.
  3031. </para>
  3032. </listitem>
  3033. </varlistentry>
  3034. <varlistentry>
  3035. <term>(Configuration Item Label)</term>
  3036. <listitem>
  3037. <para>
  3038. (Description of Configuration)
  3039. </para>
  3040. </listitem>
  3041. </varlistentry>
  3042. <varlistentry>
  3043. <term>(Configuration Item Label)</term>
  3044. <listitem>
  3045. <para>
  3046. (Description of Configuration)
  3047. </para>
  3048. </listitem>
  3049. </varlistentry>
  3050. </variablelist>
  3051. </para>
  3052. <para>
  3053. The properties in the <guilabel>SECONDTABNAME</guilabel> tab are:
  3054. <variablelist>
  3055. <varlistentry>
  3056. <term>(Configuration Item Label)</term>
  3057. <listitem>
  3058. <para>
  3059. (Description of Configuration)
  3060. </para>
  3061. </listitem>
  3062. </varlistentry>
  3063. <varlistentry>
  3064. <term>(Configuration Item Label)</term>
  3065. <listitem>
  3066. <para>
  3067. (Description of Configuration)
  3068. </para>
  3069. </listitem>
  3070. </varlistentry>
  3071. </variablelist>
  3072. </para>
  3073. <para>
  3074. After you have made all the changes you want, click on
  3075. <guibutton>OK</guibutton> to apply the changes and close the
  3076. <interface>Properties</interface> dialog. To cancel the changes
  3077. and return to previous values, click the
  3078. <guibutton>Close</guibutton> button.
  3079. </para>
  3080. </sect1>
  3081. <!-- ============= Various Sections ============================= -->
  3082. <!-- Here you should add, if necessary, several more sect1's,
  3083. describing other windows (besides the main one), file formats,
  3084. preferences dialogs, etc. as appropriate. Try not to make any of
  3085. these sections too long. -->
  3086. <!-- ============= Bugs ================================== -->
  3087. <!-- This section should describe known bugs and limitations of
  3088. the program if there are any - please be frank and list all
  3089. problems you know of. -->
  3090. <sect1 id="bugs">
  3091. <title>Known Bugs and Limitations</title>
  3092. <para>
  3093. This application has no known bugs.
  3094. </para>
  3095. </sect1>
  3096. <!-- ============= Authors ================================ -->
  3097. <sect1 id="authors">
  3098. <title>Authors</title>
  3099. <para>
  3100. <application>MY-GNOME-APP</application> was written by GNOME-HACKER
  3101. (<email>hacker@gnome.org</email>). To find more information about
  3102. <application>MY-GNOME-APP</application>, please visit the <ulink
  3103. url="http://www.my-gnome-app.org" type="http">MY-GNOME-APP Web
  3104. page</ulink>. Please send all comments, suggestions, and bug
  3105. reports to the <ulink url="http://bugs.gnome.org" type="http">GNOME
  3106. bug tracking database</ulink>. (Instructions for submitting bug
  3107. reports can be found <ulink
  3108. url="http://bugs.gnome.org/Reporting.html" type="http">
  3109. on-line</ulink>.) You can also use <application>Bug Report
  3110. Tool</application> (<command>bug-buddy</command>), available in the
  3111. <guisubmenu>Utilities</guisubmenu> submenu of <guimenu>Main
  3112. Menu</guimenu>, for submitting bug reports.
  3113. </para>
  3114. <para>
  3115. This manual was written by ME
  3116. (<email>MYNAME@MYADDRESS</email>). Please send all comments and
  3117. suggestions regarding this manual to the <ulink type="http"
  3118. url="http://developer.gnome.org/projects/gdp">GNOME Documentation
  3119. Project</ulink> by sending an email to
  3120. <email>docs@gnome.org</email>. You can also add your comments online
  3121. by using the <ulink type="http"
  3122. url="http://www.gnome.org/gdp/doctable/">GNOME Documentation Status
  3123. Table</ulink>.
  3124. </para>
  3125. <!-- For translations: uncomment this:
  3126. <para>
  3127. Latin translation was done by ME
  3128. (<email>MYNAME@MYADDRESS</email>). Please send all comments and
  3129. suggestions regarding this translation to SOMEWHERE.
  3130. </para>
  3131. -->
  3132. </sect1>
  3133. <!-- ============= Application License ============================= -->
  3134. <sect1 id="license">
  3135. <title>License</title>
  3136. <para>
  3137. This program is free software; you can redistribute it and/or
  3138. modify it under the terms of the <citetitle>GNU General Public
  3139. License</citetitle> as published by the Free Software Foundation;
  3140. either version 2 of the License, or (at your option) any later
  3141. version.
  3142. </para>
  3143. <para>
  3144. This program is distributed in the hope that it will be useful, but
  3145. WITHOUT ANY WARRANTY; without even the implied warranty of
  3146. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  3147. <citetitle>GNU General Public License</citetitle> for more details.
  3148. </para>
  3149. <para>
  3150. A copy of the <citetitle>GNU General Public License</citetitle> is
  3151. included as an appendix to the <citetitle>GNOME Users
  3152. Guide</citetitle>. You may also obtain a copy of the
  3153. <citetitle>GNU General Public License</citetitle> from the Free
  3154. Software Foundation by visiting <ulink type="http"
  3155. url="http://www.fsf.org">their Web site</ulink> or by writing to
  3156. <address>
  3157. Free Software Foundation, Inc.
  3158. <street>59 Temple Place</street> - Suite 330
  3159. <city>Boston</city>, <state>MA</state> <postcode>02111-1307</postcode>
  3160. <country>USA</country>
  3161. </address>
  3162. </para>
  3163. </sect1>
  3164. </article>
  3165. ]]>
  3166. </programlisting>
  3167. </para>
  3168. </sect1>
  3169. <!-- ####### Document Templates | Templates 2-1.x: Applet Manual ####### -->
  3170. <sect1 id="template2-1x">
  3171. <title>Template 2: Applet Manual For GNOME 1.x</title>
  3172. <para>
  3173. The following templates should be used for all applet
  3174. manuals in GNOME 1.x releases. You can always get the latest
  3175. copy of these templates from <ulink type="http"
  3176. url="http://developer.gnome.org/projects/gdp/templates.html">GDP
  3177. Documentation Templates</ulink>. Note that the template
  3178. consists of two files; the first file calls the second as an
  3179. entity. You should name the first file
  3180. <filename><replaceable>appletname</replaceable>-applet.sgml</filename>
  3181. and the second file should be named
  3182. <filename><replaceable>appletname</replaceable>.sgml</filename>,
  3183. where
  3184. <filename><replaceable>appletname</replaceable></filename> is
  3185. the name of the applet.
  3186. <programlisting>
  3187. <![CDATA[
  3188. <!DOCTYPE Article PUBLIC "-//GNOME//DTD DocBook PNG Variant V1.1//EN"[
  3189. <!entity APPLETNAME.sgml SYSTEM "applet_template_1.sgml">
  3190. <!-- Template Version: 1.0.1 (do not remove this line) -->
  3191. ]>
  3192. <!-- This is a GNOME documentation template, designed by the GNOME
  3193. Documentation Project Team. Please use it for writing GNOME
  3194. documentation, making obvious changes. In particular, all the words
  3195. written in UPPERCASE (with the exception of GNOME) should be
  3196. replaced. As for "legalnotice", please leave the reference
  3197. unchanged,make sure to add/remove trademarks to the list as
  3198. appropriate for your document.
  3199. Please don't forget to remove these comments in your final documentation,
  3200. thanks ;-).
  3201. -->
  3202. <article id="index"> <!-- please do not change the id -->
  3203. <!-- ============= Document Header ============================= -->
  3204. <artheader>
  3205. <title>APPLETNAME Applet</title>
  3206. <copyright>
  3207. <year>2000</year>
  3208. <holder>YOURFULLNAME</holder>
  3209. </copyright>
  3210. <!-- translators: uncomment this:
  3211. <copyright>
  3212. <year>2000</year>
  3213. <holder>ME-THE-TRANSLATOR (Latin translation)</holder>
  3214. </copyright>
  3215. -->
  3216. <!-- do not put authorname in the header except in copyright - use
  3217. section "authors" below -->
  3218. <legalnotice>
  3219. <para>
  3220. Permission is granted to copy, distribute and/or modify this
  3221. document under the terms of the <citetitle>GNU Free Documentation
  3222. License</citetitle>, Version 1.1 or any later version published
  3223. by the Free Software Foundation with no Invariant Sections, no
  3224. Front-Cover Texts, and no Back-Cover Texts. You may obtain a copy
  3225. of the <citetitle>GNU Free Documentation License</citetitle> from
  3226. the Free Software Foundation by visiting <ulink type="http"
  3227. url="http://www.fsf.org">their Web site</ulink> or by writing to:
  3228. Free Software Foundation, Inc., 59 Temple Place - Suite 330,
  3229. Boston, MA 02111-1307, USA.
  3230. </para>
  3231. <para>
  3232. Many of the names used by companies to distinguish their products and
  3233. services are claimed as trademarks. Where those names appear in any
  3234. GNOME documentation, and those trademarks are made aware to the members
  3235. of the GNOME Documentation Project, the names have been printed in caps
  3236. or initial caps.
  3237. </para>
  3238. </legalnotice>
  3239. <releaseinfo>
  3240. This is version XXX of the APPLETNAME applet manual.
  3241. </releaseinfo>
  3242. </artheader>
  3243. <!-- ============= Document Body ============================= -->
  3244. &APPLETNAME.sgml;
  3245. </article>
  3246. ]]>
  3247. </programlisting>
  3248. <programlisting>
  3249. <![CDATA[
  3250. <!-- Template Version: 1.0.1 (do not remove this line) -->
  3251. <sect1 id="APPLET">
  3252. <title>APPLET Applet</title>
  3253. <para>
  3254. <application>APPLET</application> applet, shown in <xref
  3255. linkend="APPLETapplet-fig">, allows you to &hellip;. To add this
  3256. applet to a <interface>Panel</interface>,
  3257. right-click on the <interface>Panel</interface> and choose
  3258. <menuchoice>
  3259. <guimenu>Panel</guimenu>
  3260. <guisubmenu>Add to panel</guisubmenu>
  3261. <guisubmenu>Applet</guisubmenu>
  3262. <guisubmenu>SECTION</guisubmenu>
  3263. <guimenuitem>APPLET</guimenuitem>
  3264. </menuchoice>.
  3265. </para>
  3266. <figure id="APPLETapplet-fig">
  3267. <title>APPLET Applet</title>
  3268. <screenshot>
  3269. <screeninfo>APPLET Applet</screeninfo>
  3270. <graphic format="png" fileref="APPLET_applet"
  3271. srccredit="YOURNAME">
  3272. </graphic>
  3273. </screenshot>
  3274. </figure>
  3275. <!-- ============= Usage ================================ -->
  3276. <sect2 id="APPLET-usage">
  3277. <title>Usage</title>
  3278. <para>
  3279. (Place a short description of how to use the applet here.)
  3280. </para>
  3281. <para>
  3282. Right-clicking on the applet brings up a menu containing the
  3283. following items:
  3284. <itemizedlist>
  3285. <listitem>
  3286. <para>
  3287. <guimenuitem>Properties&hellip;</guimenuitem> &mdash;
  3288. opens the <link linkend="APPLET-prefs">
  3289. <guilabel>Properties</guilabel></link> dialog.
  3290. </para>
  3291. </listitem>
  3292. <listitem>
  3293. <para>
  3294. <guimenuitem>Help</guimenuitem> &mdash;
  3295. displays this document.
  3296. </para>
  3297. </listitem>
  3298. <listitem>
  3299. <para>
  3300. <guimenuitem>About&hellip;</guimenuitem> &mdash;
  3301. shows basic information about <application>APPLET
  3302. Applet</application>, including the applet's version and the
  3303. author's name.
  3304. </para>
  3305. </listitem>
  3306. </itemizedlist>
  3307. </para>
  3308. </sect2>
  3309. <!-- ============= Customization ============================= -->
  3310. <sect2 id="APPLET-prefs">
  3311. <title>Customization</title>
  3312. <para>
  3313. You can customize <application>APPLET</application>
  3314. applet by right-clicking on it and choosing
  3315. <guimenuitem>Properties&hellip;</guimenuitem>. This will open the
  3316. <interface>Properties</interface> dialog(shown in <xref
  3317. linkend="APPLET-settings-fig">), which allows you to
  3318. change various settings.
  3319. </para>
  3320. <figure id="APPLET-settings-fig">
  3321. <title>Properties dialog</title>
  3322. <screenshot>
  3323. <screeninfo>Properties dialog</screeninfo>
  3324. <graphic format="png" fileref="APPLET_settings"
  3325. srccredit="YOURNAME">
  3326. </graphic>
  3327. </screenshot>
  3328. </figure>
  3329. <para>
  3330. The properties are:
  3331. <itemizedlist>
  3332. <listitem>
  3333. <para>
  3334. (Configuration Item Label) &mdash; If this button is
  3335. checked&hellip;(description)
  3336. </para>
  3337. </listitem>
  3338. <listitem>
  3339. <para>
  3340. (Configuration Item Label) &mdash; Selecting this
  3341. button&hellip;(description)
  3342. </para>
  3343. </listitem>
  3344. <listitem>
  3345. <para>
  3346. (Configuration Item Label) &mdash; Enter the name of
  3347. &hellip;(description)
  3348. </para>
  3349. </listitem>
  3350. </itemizedlist>
  3351. </para>
  3352. <para>
  3353. After you have made all the changes you want, click on
  3354. <guibutton>OK</guibutton> to apply the changes and close the
  3355. <interface>Properties</interface> dialog. To cancel the changes
  3356. and return to previous values, click the
  3357. <guibutton>Close</guibutton> button.
  3358. </para>
  3359. </sect2>
  3360. <!-- ============= Bugs ================================== -->
  3361. <!-- This section should describe known bugs and limitations of
  3362. the program if there are any - please be frank and list all
  3363. problems you know of -->
  3364. <sect2 id="bugs">
  3365. <title>Known Bugs and Limitations</title>
  3366. <para>
  3367. This applet has no known bugs.
  3368. </para>
  3369. </sect2>
  3370. <!-- ============= Authors ================================ -->
  3371. <sect2 id="authors">
  3372. <title>Authors</title>
  3373. <para>
  3374. <application>APPLET</application> was written by GNOME-HACKER
  3375. (<email>hacker@gnome.org</email>). Please send all comments,
  3376. suggestions, and bug
  3377. reports to the <ulink url="http://bugs.gnome.org" type="http">GNOME
  3378. bug tracking database</ulink>. (Instructions for submitting bug
  3379. reports can be found <ulink
  3380. url="http://bugs.gnome.org/Reporting.html" type="http">
  3381. on-line</ulink>. You can also use <application>Bug Report
  3382. Tool</application> (<command>bug-buddy</command>), available in the
  3383. <guisubmenu>Utilities</guisubmenu> submenu of <guimenu>Main
  3384. Menu</guimenu>, for submitting bug reports.
  3385. </para>
  3386. <para>
  3387. This manual was written by ME
  3388. (<email>MYNAME@MYADDRESS</email>). Please send all comments and
  3389. suggestions regarding this manual to the <ulink type="http"
  3390. url="http://developer.gnome.org/projects/gdp">GNOME Documentation
  3391. Project</ulink> by sending an email to
  3392. <email>docs@gnome.org</email>. You can also submit comments online
  3393. by using the <ulink type="http"
  3394. url="http://www.gnome.org/gdp/doctable/">GNOME Documentation
  3395. Status Table</ulink>.
  3396. </para>
  3397. <!-- For translations: uncomment this:
  3398. <para>
  3399. Latin translation was done by ME
  3400. (<email>MYNAME@MYADDRESS</email>). Please send all comments and
  3401. suggestions regarding this translation to SOMEWHERE.
  3402. </para>
  3403. -->
  3404. </sect2>
  3405. <!-- ============= Application License ============================= -->
  3406. <sect2 id="license">
  3407. <title>License</title>
  3408. <para>
  3409. This program is free software; you can redistribute it and/or
  3410. modify it under the terms of the <citetitle>GNU General Public
  3411. License</citetitle> as published by the Free Software Foundation;
  3412. either version 2 of the License, or (at your option) any later
  3413. version.
  3414. </para>
  3415. <para>
  3416. This program is distributed in the hope that it will be useful, but
  3417. WITHOUT ANY WARRANTY; without even the implied warranty of
  3418. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  3419. <citetitle>GNU General Public License</citetitle> for more details.
  3420. </para>
  3421. <para>
  3422. A copy of the <citetitle>GNU General Public License</citetitle> is
  3423. included as an appendix to the <citetitle>GNOME Users
  3424. Guide</citetitle>. You may also obtain a copy of the
  3425. <citetitle>GNU General Public License</citetitle> from the Free
  3426. Software Foundation by visiting <ulink type="http"
  3427. url="http://www.fsf.org">their Web site</ulink> or by writing to
  3428. <address>
  3429. Free Software Foundation, Inc.
  3430. <street>59 Temple Place</street> - Suite 330
  3431. <city>Boston</city>, <state>MA</state> <postcode>02111-1307</postcode>
  3432. <country>USA</country>
  3433. </address>
  3434. </para>
  3435. </sect2>
  3436. </sect1>
  3437. ]]>
  3438. </programlisting>
  3439. </para>
  3440. </sect1>
  3441. <!-- ####### Document Templates | Templates 2-2.x: Applet Manual ####### -->
  3442. <sect1 id="template2-2x">
  3443. <title>Template 2: Applet Manual For GNOME 2.x</title>
  3444. <para>
  3445. The following templates should be used for all applet
  3446. manuals in GNOME 2.x releases. You can always get the latest
  3447. copy of these templates from <ulink type="http"
  3448. url="http://developer.gnome.org/projects/gdp/templates.html">GDP
  3449. Documentation Templates</ulink>.
  3450. </para>
  3451. <para>
  3452. Note that this template consists of two files. The first file
  3453. is an introductory chapter. You should not modify this
  3454. chapter. The second file is the actual applet document, which
  3455. you should modify to describe the applet you are documenting.
  3456. You can name the first file whatever you like, such as
  3457. <filename>gnome-applets.sgml</filename>. Name the second file
  3458. according to the applet's name:
  3459. <filename><replaceable>appletname</replaceable>-applet.sgml</filename>.
  3460. Make sure you update the entity
  3461. at the top of the shell document to reflect the new name of
  3462. the applet document.
  3463. </para>
  3464. <para>
  3465. <programlisting>
  3466. <![CDATA[
  3467. <!DOCTYPE book PUBLIC "-//GNOME//DTD DocBook PNG Variant V1.1//EN"[
  3468. <!ENTITY TEMPLATE-APPLET SYSTEM "gnome-applet-template.sgml.part">
  3469. ]>
  3470. <book id="gnome-applets">
  3471. <bookinfo>
  3472. <title>GNOME Applets</title>
  3473. <authorgroup>
  3474. <author><firstname>Telsa</firstname><surname>Gwynne</surname></author>
  3475. <author><firstname>John</firstname><surname>Fleck</surname></author>
  3476. <author><firstname>David</firstname><surname>Mason</surname>
  3477. <affiliation><orgname>Red Hat, Inc.</orgname></affiliation>
  3478. </author>
  3479. <author><firstname>Dan</firstname><surname>Mueth</surname></author>
  3480. <author><firstname>Alexander</firstname><surname>Kirillov</surname></author>
  3481. </authorgroup>
  3482. <edition>GNOME Applets version 0.1 for GNOME 1.1.5</edition>
  3483. <pubdate>2000</pubdate>
  3484. <copyright>
  3485. <year>2000</year>
  3486. <holder>Telsa Gwynne, John Fleck, Red Hat Inc., Dan Mueth, and
  3487. Alexander Kirillov</holder>
  3488. </copyright>
  3489. <legalnotice>
  3490. <para>
  3491. Permission is granted to make and distribute verbatim copies of this
  3492. manual provided the copyright notice and this permission notice are
  3493. preserved on all copies.
  3494. </para>
  3495. <para>
  3496. Permission is granted to copy and distribute modified versions of
  3497. this manual under the conditions for verbatim copying, provided that
  3498. the entire resulting derived work is distributed under the terms of a
  3499. permission notice identical to this one.
  3500. </para>
  3501. <para>
  3502. Permission is granted to copy and distribute translations of this
  3503. manual into another language, under the above conditions for modified
  3504. versions, except that this permission notice may be stated in a
  3505. translation approved by the Free Software Foundation.
  3506. </para>
  3507. <para>
  3508. Many of the names used by companies to distinguish their products and
  3509. services are claimed as trademarks. Where those names appear in any
  3510. GNOME documentation, and those trademarks are made aware to the members
  3511. of the GNOME Documentation Project, the names have been printed in caps
  3512. or initial caps.
  3513. </para>
  3514. </legalnotice>
  3515. </bookinfo>
  3516. <!-- #### Introduction ###### -->
  3517. <chapter id="applets-intro">
  3518. <title>Introduction</title>
  3519. <!-- #### Intro | What Are Applets? ###### -->
  3520. <sect1 id="applets-what-are">
  3521. <title>What Are Applets?</title>
  3522. <para>
  3523. Applets are one of the most popular and useful objects you can add
  3524. to your <interface>Panel</interface> to customize your desktop.
  3525. An applet is a small application which runs inside a small area of
  3526. your <interface>Panel</interface>. Applets have been written for
  3527. a wide range of purposes. Some are very powerful interactive
  3528. tools, such as the <application>Tasklist</application> Applet
  3529. which allows you to easily
  3530. control all of your main applications. Others are simple system
  3531. monitors, displaying information such as the amount of power left
  3532. in the battery on your laptop (see <application>Battery Charge
  3533. Monitor</application>) or weather
  3534. information(see <application>GNOME Weather</application>). Some
  3535. are simply for amusement(see <application>Fish</application>).
  3536. </para>
  3537. <para>
  3538. Applets are similar to swallowed applications in that both of them
  3539. reside within the <interface>Panel</interface>. However,
  3540. swallowed applications are generally applications which were
  3541. not designed to run within the <interface>Panel</interface>.
  3542. Typically one will swallow an application which already exists in
  3543. the main <interface>desktop</interface> area, putting it into your
  3544. <interface>Panel</interface>. The application will continue to
  3545. run in the <interface>Panel</interface> until you end the
  3546. application or unswallow it, placing it back onto the main part of
  3547. your desktop when you need to.
  3548. </para>
  3549. <para>
  3550. <figure id="example-applets-fig">
  3551. <title>Example Applets</title>
  3552. <screenshot>
  3553. <screeninfo>Example Applets</screeninfo>
  3554. <graphic fileref="example_applets" format="png"
  3555. srccredit="muet">
  3556. </graphic>
  3557. </screenshot>
  3558. </figure>
  3559. Several example applets are shown in <xref
  3560. linkend="example-applets-fig">. From left to right, they are: (1)
  3561. <application>Mixer Applet</application>, which allows you to turn
  3562. on/off sound and control its volume by clicking on the applet. (2)
  3563. <application>Sound Monitor</application> Applet, which displays
  3564. the current volume of sound being played and allows you to control
  3565. various sound features. (3) <application>GTCD</application>
  3566. Applet, a CD player which has all its controls
  3567. available in the applet and displays the track and time. (4)
  3568. <application>Drive Mount</application> Applet, used to mount and
  3569. unmount drives with a single click of the mouse. (5)
  3570. <application>Desk Guide</application> which allows you to view
  3571. and control multiple virtual screens. (6)
  3572. <application>Tasklist</application> Applet which allows you to
  3573. control your various windows and applications.
  3574. </para>
  3575. <para>
  3576. There are many other applets to choose from. The rest of this
  3577. chapter will explain the basic information to get you started
  3578. adding, moving, and removing applets from your
  3579. <interface>Panels</interface> and using them. The following
  3580. chapters go through each of the standard GNOME applets describing
  3581. them in detail. There are also additional applets which can be
  3582. downloaded off the Web. See <ulink type="http"
  3583. url="http://www.gnome.org/applist/list-martin.phtml">The GNOME
  3584. Software Map</ulink> for lists of additional GNOME applications
  3585. and applets.
  3586. </para>
  3587. <para>
  3588. As you read through the the rest of this chapter, you should try
  3589. adding and removing applets from your <interface>Panel</interface> and
  3590. experiment with them freely.
  3591. </para>
  3592. </sect1>
  3593. <!-- #### Intro | Adding, Moving, and Removing Applets ###### -->
  3594. <sect1 id="applet-add-move-replace">
  3595. <title>Adding, Moving, and Removing Applets</title>
  3596. <sect2 id="adding-applets">
  3597. <title>Adding Applets to a Panel</title>
  3598. <para>
  3599. To add an applet to a <interface>Panel</interface>, right-click
  3600. on the <interface>Panel</interface> and select
  3601. <menuchoice><guimenu>Panel</guimenu><guisubmenu>Add to panel</guisubmenu>
  3602. <guisubmenu>Applet</guisubmenu></menuchoice>. This will show you
  3603. the menu of all the applets on your system, divided into
  3604. categories. Choosing any applet from this menu will add it to the
  3605. <interface>Panel</interface>.
  3606. </para>
  3607. </sect2>
  3608. <sect2 id="moving-applets">
  3609. <title>Moving Applets In or Between Panels</title>
  3610. <para>
  3611. It is easy to move applets in a <interface>Panel</interface> or
  3612. between two <interface>Panels</interface>. If you have a
  3613. three-button mouse, just move the mouse over the applet, depress
  3614. the middle mouse button and drag the applet to its new location,
  3615. releasing the middle mouse button when you are finished. Note
  3616. that you can drag applets within a <interface>Panel</interface>
  3617. or between two <interface>Panels</interface> this way. If you
  3618. don't have a three-button mouse, just
  3619. right-click on the applet and choose
  3620. <guimenuitem>Move</guimenuitem>. The cursor will turn into a
  3621. cross and the applet will move with your mouse until you press
  3622. any mouse button to indicate you are finished moving it.
  3623. If, in the course of this movement, it hits
  3624. other objects, the behavior depends on the global preferences
  3625. you have set for your <interface>Panels</interface> in the
  3626. <application>GNOME Control Center</application>: the applet you are
  3627. moving can switch places with other objects, "push" all objects
  3628. it meets, or "jump" over all other objects without disturbing
  3629. them. You can also override the default behavior by holding
  3630. <keycap>Shift</keycap> button (for "push" mode),
  3631. <keycap>Ctrl</keycap> (for "switched" mode), or
  3632. <keycap>Alt</keycap> (for "free" mode, i.e. jumping other other
  3633. objects without disturbing them) button while dragging.
  3634. </para>
  3635. <para>
  3636. To change the global Panel preferences, right-click on any applet
  3637. or <interface>Panel</interface> and select
  3638. <menuchoice>
  3639. <guimenu>Panel</guimenu>
  3640. <guimenuitem>Global Preferences...</guimenuitem>
  3641. </menuchoice>.
  3642. The <guilabel>Default movement mode</guilabel> is set under the
  3643. <guilabel>Applets</guilabel> tab.
  3644. </para>
  3645. </sect2>
  3646. <sect2 id="removing-applets">
  3647. <title>Removing Applets from a Panel</title>
  3648. <para>
  3649. To remove an applet from a <interface>Panel</interface>,
  3650. right-click on the applet and select <guimenuitem>Remove from
  3651. panel...</guimenuitem>.
  3652. </para>
  3653. </sect2>
  3654. </sect1>
  3655. <!-- #### Intro | The Right-Click Pop-Up Menu ###### -->
  3656. <sect1 id="right-click-pop-up-menu">
  3657. <title>The Right-Click Pop-Up Menu</title>
  3658. <para>
  3659. Clicking the right mouse button on any applet brings up
  3660. a <guimenu>pop-up menu</guimenu>. This
  3661. menu always has certain standard menu items in it and
  3662. often has additional items which vary depending on the particular
  3663. applet.
  3664. </para>
  3665. <sect2 id="standard-right-click-items">
  3666. <title>Standard Pop-Up Items</title>
  3667. <para>
  3668. All applets should have the following items in their right-click
  3669. <guimenu>pop-up menu</guimenu>:
  3670. <variablelist>
  3671. <varlistentry>
  3672. <term>Remove from panel</term>
  3673. <listitem>
  3674. <para>
  3675. The <guimenuitem>Remove from panel</guimenuitem> menu item
  3676. removes the applet from the <interface>Panel</interface>.
  3677. </para>
  3678. </listitem>
  3679. </varlistentry>
  3680. <varlistentry>
  3681. <term>Move</term>
  3682. <listitem>
  3683. <para>
  3684. After selecting <guimenuitem>Move</guimenuitem>, your mouse
  3685. pointer will change appearance (typically to a cross with
  3686. arrows in each direction). As you move your mouse, the applet
  3687. will move with it. When you have finished moving the applet,
  3688. click any mouse button and the applet will anchor in its
  3689. current position. Note that applets can be moved between two
  3690. <interface>Panels</interface> this way.
  3691. </para>
  3692. </listitem>
  3693. </varlistentry>
  3694. <varlistentry>
  3695. <term>Panel</term>
  3696. <listitem>
  3697. <para>
  3698. The <guisubmenu>Panel</guisubmenu> submenu contains various
  3699. items and submenus for adding and removing
  3700. <interface>Panels</interface> and applets and for changing
  3701. the configuration.
  3702. </para>
  3703. </listitem>
  3704. </varlistentry>
  3705. <varlistentry>
  3706. <term>About</term>
  3707. <listitem>
  3708. <para>
  3709. The <guimenuitem>About...</guimenuitem> menu item brings up a
  3710. dialogue box containing various information about the applet,
  3711. typically including the applet's name, version, author,
  3712. copyright, license and desciption.
  3713. </para>
  3714. </listitem>
  3715. </varlistentry>
  3716. <varlistentry>
  3717. <term>Help</term>
  3718. <listitem>
  3719. <para>
  3720. The <guimenuitem>Help</guimenuitem> menu item brings up the help
  3721. manual for the applet.
  3722. </para>
  3723. </listitem>
  3724. </varlistentry>
  3725. </variablelist>
  3726. </para>
  3727. </sect2>
  3728. <sect2 id="applet-properties-dialog">
  3729. <title>The Applet Properties Dialog</title>
  3730. <para>
  3731. Many applets have customizable properties. These applets will
  3732. have a <guimenuitem>Properties...</guimenuitem> menu item in their
  3733. right-click <guimenu>pop-up menu</guimenu> which brings up the
  3734. <interface>Properties</interface> dialog where you can alter the
  3735. appearance or behaviour of the applet.
  3736. <figure id="example-props-dialog-fig">
  3737. <title>An Example Applet Properties Dialog</title>
  3738. <screenshot>
  3739. <screeninfo>An Example Applets Properties Dialog</screeninfo>
  3740. <graphic fileref="applet_props_dialog" format="png"
  3741. srccredit="muet">
  3742. </graphic>
  3743. </screenshot>
  3744. </figure>
  3745. All <interface>Properties</interface> dialogs have the following
  3746. buttons at the bottom of the dialog:
  3747. <itemizedlist>
  3748. <listitem>
  3749. <para>
  3750. <guibutton>OK</guibutton> &mdash;
  3751. Pressing <guibutton>OK</guibutton> will activate any changes
  3752. in the properties you have made and close the
  3753. <interface>Properties</interface> dialog.
  3754. </para>
  3755. </listitem>
  3756. <listitem>
  3757. <para>
  3758. <guibutton>Apply</guibutton> &mdash;
  3759. Pressing <guibutton>Apply</guibutton> at any time will
  3760. make your changes active without closing the
  3761. <interface>Properties</interface> dialog. This is helpful if
  3762. you would like to test the effects of the changes you have
  3763. made but may want to continue changing the properties.
  3764. </para>
  3765. </listitem>
  3766. <listitem>
  3767. <para>
  3768. <guibutton>Close</guibutton> &mdash;
  3769. Pressing <guibutton>Close</guibutton> will close the
  3770. <interface>Properties</interface> dialog. Only changes in the
  3771. configuration which were previously applied with the
  3772. <guibutton>Apply</guibutton> button will persist. Other
  3773. changes will not be made active.
  3774. </para>
  3775. </listitem>
  3776. <listitem>
  3777. <para>
  3778. <guibutton>Help</guibutton> &mdash;
  3779. Pressing <guibutton>Help</guibutton> brings up the manual for
  3780. the application, opening it to the page describing the
  3781. <interface>Properties</interface> dialog.
  3782. </para>
  3783. </listitem>
  3784. </itemizedlist>
  3785. </para>
  3786. </sect2>
  3787. <sect2 id="common-right-click-items">
  3788. <title>Other Common Pop-Up Items</title>
  3789. <para>
  3790. Many applets also have one or more of the following items in their
  3791. right-click pop-up menu:
  3792. <variablelist>
  3793. <varlistentry>
  3794. <term>Run...</term>
  3795. <listitem>
  3796. <para>
  3797. The <guimenuitem>Run...</guimenuitem> menu item generally
  3798. invokes a program which is related to the applet in some way
  3799. but which runs in its own window rather than in the
  3800. panel. For example:
  3801. </para>
  3802. <orderedlist>
  3803. <listitem>
  3804. <para>
  3805. The <application>CPU Load</application> applet, which monitors
  3806. what programs are running, has a <guimenuitem>Run
  3807. gtop...</guimenuitem> menu item. Selecting this menu item
  3808. starts <application>GTop</application>, which allows you to
  3809. view and control programs which are running.
  3810. </para>
  3811. </listitem>
  3812. <listitem>
  3813. <para>
  3814. The <application>CD Player</application> applet has a
  3815. <guimenuitem>Run gtcd...</guimenuitem> menu item which
  3816. starts the GNOME <application>CD Player</application> when
  3817. selected, which has more capabilities than the applet.
  3818. </para>
  3819. </listitem>
  3820. </orderedlist>
  3821. </listitem>
  3822. </varlistentry>
  3823. </variablelist>
  3824. </para>
  3825. </sect2>
  3826. </sect1>
  3827. <sect1 id="feedback">
  3828. <title>Feedback</title>
  3829. <sect2 id="reporting-bugs">
  3830. <title>Reporting Applet Bugs</title>
  3831. <para>
  3832. GNOME users are encouraged to report bugs to <ulink type="http"
  3833. url="http://bugs.gnome.org">The GNOME Bug Tracking
  3834. System</ulink>. The easiest way to submit bugs is to use the
  3835. <application>Bug Report Tool</application> program by selecting
  3836. <menuchoice>
  3837. <guimenu>Main Menu</guimenu> <guisubmenu>Utilities</guisubmenu>
  3838. <guimenuitem>Bug Report Tool</guimenuitem>
  3839. </menuchoice>.
  3840. Be sure to be complete in describing what you did to cause the
  3841. bug to surface and, if possible, describe how the developer can
  3842. reproduce the the scenario.
  3843. </para>
  3844. </sect2>
  3845. <sect2 id="documentation-feedback">
  3846. <title>Providing Feedback</title>
  3847. <para>
  3848. GNOME users are welcome to provide suggestions for how
  3849. applications and documentation can be improved. Suggestions for
  3850. application changes should be submitted using the
  3851. <application>Bug Report Tool</application> discussed above.
  3852. Suggestions for documentation changes can be emailed directly to
  3853. the documentation author (whose email should be included in the
  3854. "Authors" section of the document) or by sending an email to
  3855. <email>docs@gnome.org</email>.
  3856. </para>
  3857. </sect2>
  3858. <sect2 id="joining-gnome">
  3859. <title>Joining GNOME</title>
  3860. <para>
  3861. GNOME is a community project, created by hundreds of programmers,
  3862. documentation writers, icon design artists, web masters, and
  3863. other people, most of whom work on a volunteer basis. New GNOME
  3864. contributors are always welcome. To join the GNOME team, visit
  3865. these web sites: developers &mdash; <ulink type="http"
  3866. url="http://developer.gnome.org">The GNOME Development
  3867. Site</ulink>, documentation writers &mdash; <ulink type="http"
  3868. url="http://developer.gnome.org/projects/gdp">The GNOME Documentation
  3869. Project</ulink>, icon design artists &mdash; <ulink type="http"
  3870. url="http://gnome-icons.sourceforge.net/">Gnome Icon Web</ulink>,
  3871. general &mdash; <ulink type="http"
  3872. url="http://developer.gnome.org/helping/">Helping GNOME</ulink>,
  3873. or just join the gnome-list email list (see <ulink type="http"
  3874. url="http://www.gnome.org/resources/mailing-lists.html">GNOME Mailing
  3875. Lists</ulink>) to discuss what you are interested in doing.
  3876. </para>
  3877. </sect2>
  3878. </sect1>
  3879. </chapter>
  3880. <!-- ############### Template Applets ##################### -->
  3881. <chapter id="template-applets">
  3882. <title>Template Applets</title>
  3883. &TEMPLATE-APPLET
  3884. </chapter>
  3885. </book>
  3886. ]]>
  3887. </programlisting>
  3888. <programlisting>
  3889. <![CDATA[
  3890. <!-- Please replace everywhere below GNOMEAPPLET with the name of -->
  3891. <!-- your applet. Most importantly, all id attributes should start -->
  3892. <!-- with the name of your applet - this is necessary to avoid name -->
  3893. <!-- conflict among different applets -->
  3894. <!-- Please replace YOUR-NAME with your name and YOUR-EMAIL with your email-->
  3895. <!-- Please replace HACKER-NAME with the applet author's name and -->
  3896. <!-- HACKER-EMAIL with the applet author's email -->
  3897. <!-- You should name your file: GNOMEAPPLET-applet.sgml -->
  3898. <!-- Screenshots should be in PNG format and placed in the -->
  3899. <!-- same directory as GNOMEAPPLET-applet.sgml -->
  3900. <!-- Applet docs will be merged into <chapter>'s inside a -->
  3901. <!-- <book>. Thus, the indentation below (2 spaces before the <sect1>) is -->
  3902. <!-- correct.-->
  3903. <!-- Permission is granted to make and distribute verbatim copies of -->
  3904. <!-- this manual provided the copyright notice and this permission -->
  3905. <!-- notice are preserved on all copies. -->
  3906. <!-- -->
  3907. <!-- Permission is granted to copy and distribute modified versions of -->
  3908. <!-- this manual under the conditions for verbatim copying, provided -->
  3909. <!-- that the entire resulting derived work is distributed under the -->
  3910. <!-- terms of a permission notice identical to this one. -->
  3911. <!-- -->
  3912. <!-- Permission is granted to copy and distribute translations of this -->
  3913. <!-- manual into another language, under the above conditions for -->
  3914. <!-- modified versions, except that this permission notice may be -->
  3915. <!-- stated in a translation approved by the Foundation. -->
  3916. <!-- ############### GNOMEAPPLET ############### -->
  3917. <sect1 id="GNOMEAPPLET">
  3918. <title>GNOMEAPPLET Applet</title>
  3919. <para>
  3920. <application>GNOMEAPPLET</application> applet, shown in <xref
  3921. linkend="GNOMEAPPLET-fig">, does this and that. To learn how to
  3922. add this applet to a <interface>Panel</interface>, see <xref
  3923. linkend="adding-applets">.
  3924. </para>
  3925. <figure id="GNOMEAPPLET-fig">
  3926. <title>GNOMEAPPLET</title>
  3927. <screenshot>
  3928. <screeninfo>GNOMEAPPLET</screeninfo>
  3929. <graphic format="png" fileref="GNOMEAPPLET-fig" srccredit="ME">
  3930. </graphic>
  3931. </screenshot>
  3932. </figure>
  3933. <sect2 id="GNOMEAPPLET-usage">
  3934. <title>Usage</title>
  3935. <para>
  3936. This applet does nothing. To use it, just
  3937. left-click on it and it will instantly do nothing.
  3938. </para>
  3939. </sect2>
  3940. <sect2 id="GNOMEAPPLET-right-click">
  3941. <title>Right-Click Pop-Up Menu Items</title>
  3942. <para>
  3943. In addition to the standard menu items (see <xref
  3944. linkend="standard-right-click-items">), the right-click pop-up menu has
  3945. the following items:
  3946. <itemizedlist>
  3947. <listitem>
  3948. <para>
  3949. <guimenuitem>Properties...</guimenuitem> &mdash; This menu
  3950. item opens the <interface>Properties</interface> dialog (see
  3951. <xref linkend="GNOMEAPPLET-properties">) which allows you to
  3952. customize the appearance and behavior of this applet.
  3953. </para>
  3954. </listitem>
  3955. <listitem>
  3956. <para>
  3957. <guimenuitem>Run Hello World...</guimenuitem> &mdash; This
  3958. menu item starts the program <application>Hello
  3959. World</application>, used to say "hello" to the world.
  3960. </para>
  3961. </listitem>
  3962. </itemizedlist>
  3963. </para>
  3964. </sect2>
  3965. <sect2 id="GNOMEAPPLET-properties">
  3966. <title>Properties</title>
  3967. <para>
  3968. You can configure <application>GNOMEAPPLET</application> applet by
  3969. right-clicking on the applet and choosing the
  3970. <guimenuitem>Properties...</guimenuitem> menu item. This will open the
  3971. <interface>Properties</interface> dialog, shown in <xref
  3972. linkend="GNOMEAPPLET-properties-fig">.
  3973. </para>
  3974. <figure id="GNOMEAPPLET-properties-fig">
  3975. <title>Properties Dialog</title>
  3976. <screenshot>
  3977. <screeninfo>Properties Dialog</screeninfo>
  3978. <graphic format="png" fileref="GNOMEAPPLET-properties" srccredit="ME">
  3979. </graphic>
  3980. </screenshot>
  3981. </figure>
  3982. <para>
  3983. To change the color of the applet, click on the
  3984. <guibutton>color</guibutton> button. To change other properties,
  3985. click on other buttons.
  3986. </para>
  3987. <para>
  3988. For more information on the <interface>Properties</interface>
  3989. dialog, including descriptions of the <guibutton>OK</guibutton>,
  3990. <guibutton>Apply</guibutton>, <guibutton>Cancel</guibutton>, and
  3991. <guibutton>Help</guibutton> buttons, see <xref
  3992. linkend="applet-properties-dialog">.
  3993. </para>
  3994. </sect2>
  3995. <sect2 id="GNOMEAPPLET-bugs">
  3996. <title> Known Bugs and Limitations</title>
  3997. <para>
  3998. There are no known bugs in the
  3999. <application>GNOMEAPPLET</application> applet.
  4000. </para>
  4001. </sect2>
  4002. <sect2 id="GNOMEAPPLET-authors">
  4003. <title>Authors</title>
  4004. <para>
  4005. This applet was writen by HACKER-NAME
  4006. <email>HACKER-EMAIL</email>. The documentation for this applet
  4007. which you are reading now was written by
  4008. YOUR-NAME <email>YOUR-EMAIL</email>. For information on submitting
  4009. bug reports and suggestions for improvements, see <xref
  4010. linkend="feedback">.
  4011. </para>
  4012. </sect2>
  4013. </sect1>
  4014. ]]>
  4015. </programlisting>
  4016. </para>
  4017. </sect1>
  4018. <!-- ####### Document Templates | Templates 3: Application Help #######
  4019. <sect1 id="template3">
  4020. <title>Template 2: Application Help</title>
  4021. <programlisting>
  4022. <![CDATA[(Put sgml here.)]]> </programlisting>
  4023. </sect1>
  4024. ####### Document Templates | Templates 4: Application Context Sensitive Help #######
  4025. <sect1 id="template4">
  4026. <title>Template 3: Application Context Sensitive Help</title>
  4027. <para>
  4028. Context sensitive help is still in development.
  4029. </para>
  4030. </sect1>
  4031. ####### Document Templates | Templates 5: Complete Application: gnome-hello #######
  4032. <sect1 id="template5">
  4033. <title>Template 4: Complete Application: gnome-hello</title>
  4034. <programlisting>
  4035. <![CDATA[(Put sgml here.)]]>
  4036. </programlisting>
  4037. </sect1>
  4038. ####### Document Templates | Templates 6: Tutorial #######
  4039. <sect1 id="template6">
  4040. <title>Template 5: Tutorial</title>
  4041. <programlisting>
  4042. <![CDATA[(Put sgml here.)]]>
  4043. </programlisting>
  4044. </sect1>-->
  4045. </appendix>
  4046. </article>