$Id: xref.mod.xsl,v 1.1 2003/04/30 21:39:49 ab Exp $
CasellasRamon
JamesDevenish
2000 2001 2002 2003
Ramon Casellas
Xref, Cross References xref.mod.xsl
Anchor XSL template
The anchor element
The DB2LaTeX processing of the element is quite straightforward :
Map to a \label.
\hypertarget{
}{}
Auxiliary named template
This template returns 1 if there exists somewhere an xref
whose linkend is the target's id.
Auxiliary named template
Called to process an xreflabel...you might use this to make
xreflabels come out in the right font for different targets,
for example.
Xref and Link XSL Template
XRef to nonexistent id:
XrefId[?
?]
Endterm points to nonexistent ID:
[NONEXISTENT ID]
{[
]}
[%p]
Choose hyperlink syntax
Will use hyperref, if it is available. Otherwise, just outputs
unlinked text. If the destination is a citation, a backreference is
emitted (even though it is technically a hyperlink, not a citation).
If the 'text' arises from an @endterm, then the 'optional argument'
syntax of \cite is used.
\docbooktolatexcite
{
}{
}
\hyperlink{
}
{
\docbooktolatexbackcite{
}
}
Insert page number into xrefs
%p
\pageref*{
}
Numbering template
Let LaTeX manage the numbering. Otherwise sty files that
do specify another numberic (e.g I,II) get messed
{\ref*{}}
FIXME
FIXME
%g %n
[Don't know what gentext to create for xref to: "
"]
UNKGENTEXT
[
]
{\em }
A link that addresses its target by means of a URL (Uniform Resource Locator)
Pertinent Variables
\docbookhyphenateurl
\href{
}
{
}
OLink XSL template
{\em }
\url{
}
\href{
}{\texttt{
}}
Escape and hyphenate a string as a teletype URL.
This template typsets teletype text using slash.hyphen if
$latex.hyphenation.tttricks is disabled.
Has two parameters: 'hyphenation' and 'string'.
{
}