Differences between revisions 4 and 5
Revision 4 as of 2008-10-03 20:20:39
Size: 836
Editor: localhost
Comment: converted to 1.6 markup
Revision 5 as of 2011-01-01 11:54:35
Size: 213
Editor: mail
Comment: SogWxA <a href="http://vnoxhpbjewbz.com/">vnoxhpbjewbz</a>, [url=http://prgpvdvocdsf.com/]prgpvdvocdsf[/url], [link=http://tdclfzxyvmiv.com/]tdclfzxyvmiv[/link], http://dafmqwklixfh.com/
Deletions are marked like this. Additions are marked like this.
Line 1: Line 1:
= Resolve a conflict between gloss and hyperref =

If hyperref is loaded, the gloss pacakage tryies to map its `\glosslinkborder` to `\pdfborder`. When the source TeX file is not compiled by PDFLaTeX, this will cause a problem when `\gloss` is used to cite the glossary item:{{{
! Undefined control sequence.
\glosslinkborder ->\@pdfborder
}}}

The problem can be solved by redefine the command `\glosslinkborder`:{{{
\renewcommand{\glosslinkborder}{}
}}}

Or it can be made somewhat intelligent:{{{
\usepackage{gloss}
\usepackage{hyperref}

\newif\ifPDF%
\ifx\pdfoutput\undefined\PDFfalse%
\else\ifnum\pdfoutput > 0\PDFtrue%
     \else\PDFfalse%
     \fi%
\fi%

\ifPDF%
    \usepackage[pdftex]{graphicx,color}%
\else%
    \usepackage[dvips]{graphicx,color}
    \renewcommand{\glosslinkborder}{}
\fi%

}}}
SogWxA <a href="http://vnoxhpbjewbz.com/">vnoxhpbjewbz</a>, [url=http://prgpvdvocdsf.com/]prgpvdvocdsf[/url], [link=http://tdclfzxyvmiv.com/]tdclfzxyvmiv[/link], http://dafmqwklixfh.com/
----
CategoryHomepage