doc-src/Locales/Locales/document/pdfsetup.sty
changeset 26911 871cc7f11034
parent 26910 aa6357b39212
child 26912 0265353e4def
equal deleted inserted replaced
26910:aa6357b39212 26911:871cc7f11034
     1 %%
       
     2 %% 
       
     3 %%
       
     4 %% smart url or hyperref setup
       
     5 %%
       
     6 
       
     7 \newif\ifpdfoutput
       
     8 \ifx\pdfoutput\undefined
       
     9 \else
       
    10   \ifx\pdfoutput\relax
       
    11   \else
       
    12     \ifcase\pdfoutput
       
    13     \else\pdfoutputtrue\fi
       
    14   \fi
       
    15 \fi
       
    16 
       
    17 \ifpdfoutput
       
    18   \message{PDF output}
       
    19   \usepackage{color}\definecolor{darkblue}{rgb}{0,0,0.5}
       
    20   \usepackage[pdftex,a4paper,colorlinks=true,linkcolor=darkblue,citecolor=darkblue,filecolor=darkblue,pagecolor=darkblue,urlcolor=darkblue]{hyperref}
       
    21   \IfFileExists{thumbpdf.sty}{\usepackage{thumbpdf}}{}
       
    22 \else
       
    23   \message{No PDF output}
       
    24   \usepackage{url}
       
    25 \fi