Changeset 3306
- Timestamp:
- May 8, 2007, 2:22:10 PM (16 years ago)
- Location:
- trunk
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/doc/src/docbook/developerdoc/write_docbook_doc.xml
r3305 r3306 427 427 </example> 428 428 429 <para> 430 You can use <sgmltag>seeother</sgmltag> and <sgmltag>other</sgmltag> 431 to create links between different help texts. The <sgmltag>seeother</sgmltag> 429 <sect3 id="write_docbook_doc.begin.helptext.nohelp"> 430 <title>Skip parts of a help text</title> 431 <para> 432 From time to time, it may happen that you find that 433 some parts of the text inside a <sgmltag class="starttag">helptext</sgmltag> 434 tag doesn't make sense. It may, for example, be a reference to 435 an image or an example, or a link to another chapter or 436 section. Put a <sgmltag class="starttag">nohelp</sgmltag> 437 tag around the problematic part to avoid it from beeing 438 outputted to the help texts. 439 </para> 440 <programlisting> 441 <nohelp>see <xref linkend="chapter11" /></nohelp></programlisting> 442 </sect3> 443 444 <sect3 id="write_docbook_doc.begin.helptext.link"> 445 <title>Link to other help texts</title> 446 447 <para> 448 You can use <sgmltag class="starttag">seeother</sgmltag> and 449 <sgmltag class="starttag">other</sgmltag> 450 to create links between different help texts. The 451 <sgmltag class="starttag">seeother</sgmltag> 432 452 tag doesn't have any attributes and is just a container for one or more 433 <sgmltag >other</sgmltag> tags. Each tag requires a single attribute.453 <sgmltag class="starttag">other</sgmltag> tags. Each tag requires a single attribute. 434 454 </para> 435 455 <variablelist> … … 445 465 </varlistentry> 446 466 </variablelist> 447 467 </sect3> 448 468 469 <sect3 id="write_docbook_doc.begin.helptext.import"> 470 <title>Import help texts into BASE</title> 449 471 <para> 450 472 Import the generated XML-file manually by uploading it from the … … 466 488 ./run.sh TestHelp 467 489 </programlisting> 490 </sect3> 468 491 469 492 </sect2> -
trunk/lib/docbook/preprocess/dweiss-docbook-extensions.dtd
r3305 r3306 36 36 <!ATTLIST helptext webonly (0|1) "0"> 37 37 38 <!ELEMENT nohelp ANY> 39 38 40 <!ELEMENT seeother (other*)> 39 41 <!ELEMENT other (#PCDATA)> -
trunk/lib/docbook/preprocess/webclient_helptext.xsl
r3296 r3306 65 65 </xsl:template> 66 66 67 <!-- skip text marked with <nohelp> tag --> 68 <xsl:template match="nohelp"> 69 </xsl:template> 70 67 71 <xsl:template match="seeother"> 68 72 <h4>See also</h4>
Note: See TracChangeset
for help on using the changeset viewer.