Source

shlomi-fish-homepage / lib / dbook.wml

shl...@cec68495-… 04daa84 




Shlomi Fish 84f8239 
shl...@cec68495-… 04daa84 

shl...@cec68495-… 7fe1414 
shl...@cec68495-… 04daa84 














<define-tag shlomif_docbook_doc_text>
<preserve doc level dir />
<set-var %attributes />
<if "<get-var level />" "" "<set-var level=2 />" />

# Append a / if the directory's not empty.
<set-var dir="<ifeq "<get-var dir />" "" "" "<get-var dir />/" />" />

<h<get-var level /> id="<get-var doc />-formats">Formats</h<get-var level />>

<ul>
<li><a href="<get-var dir /><get-var doc />/">HTML (read online)</a></li>
<li><a href="<get-var dir /><get-var doc />.pdf">Acrobat Reader (PDF)</a></li>
<li><a href="<get-var dir /><get-var doc />.rtf">MS Word RTF</a></li>
</ul>

<h<get-var level /> id="<get-var doc />-sources">DocBook/XML Sources</h<get-var level />>

<ul>
<li><a href="<get-var dir /><get-var doc />.xml">XML Source</a></li>
</ul>

<restore doc level dir />
</define-tag>