On 5 Aug 00, at 21:35, Steffen Evers wrote:

> > \usepackage{pslatex}
> > \usepackage[ps2pdf,pdftitle={Your Document
> > Title},urlcolor=blue,linktocpage,letterpaper,colorlinks=true]{hyperref}
> > 
> > And then use Export->Postscript and from the shell program ps2pdf
> > <ducument.ps>
> > or print-menu and output to a ps-file and than ps2pdf <ducument.ps>.

> Wow, that's great!
> I didn't know that you are able to produce so good pdf documents with LyX.
> Thanks a lot Herbert!

Hi,

even better result you get by using PDFLaTeX. The only change 
necessary is to use pdftex is to use pdftex as a driver (i.e., instead 
of ps2pdf), export LaTeX instead of PostScript and use (maybe, 
more than once and bibtex) pdflatex instead of regular latex. 
PDFLaTeX should be part of all regular TeX distributions (certainly, it 
is in tetex for Linux as well as in miktex for Win32)

I personally use slightly more complicated construct, see below:

% for use with PDFLaTeX
\newif \ifpdf
    \ifx \pdfoutput \undefined
        \pdffalse
    \else
        \pdftrue
\fi

\ifpdf
    \pdfinfo { /Author (your name and e-mail address)
               /Title  (official title -- i.e., title element)
               /Subject (one line description of the document)
    }
    \pdfcatalog { /PageMode (/UseNone)
              % /OpenAction (fitbh)
    }
    \usepackage[pdftex]{hyperref}
\else
    \usepackage[ps2pdf]{hyperref}
\fi

and whenever I want something which should be only in PDF, I use 
\ifpdf .

                        Happy TeXing

                                                        Matej Cepl

Reply via email to