> Rainer Dorsch wrote:
> 
> >  
> > Hmm...the code shown in 
> > 
> > http://www.lyx.org/help/pdf/pdf.php3#index
> > 
> > results in a compilation error for me. When I run tex2pdf, the compilation 
> > error is not there, but I do not see the desired effect, that the bookmarks 
> > link to the correct place.
> 
> 
> do you have bookstyle?
> 
> 

Yes, I do.

Take as an example the attached lyx file. It throws an error with lyx and it compiles 
with tex2pdf but does not work correctly.

Thanks.

Rainer.



#LyX 1.1 created this file. For more info see http://www.lyx.org/
\lyxformat 218
\textclass book
\language american
\inputencoding auto
\fontscheme default
\graphics default
\paperfontsize default
\spacing single 
\papersize Default
\paperpackage a4
\use_geometry 0
\use_amsmath 0
\paperorientation portrait
\secnumdepth 2
\tocdepth 2
\paragraph_separation indent
\defskip medskip
\quotes_language english
\quotes_times 2
\papercolumns 1
\papersides 2
\paperpagestyle default

\layout Standard


\latex latex 

\backslash 
newpage
\layout Standard

a
\layout Standard


\latex latex 

\backslash 
newpage
\layout Standard

b
\layout Standard


\latex latex 

\backslash 
newpage
\layout Standard

c
\layout Standard


\latex latex 

\backslash 
clearpage 
\layout Standard


\latex latex 

\backslash 
phantomsection 
\layout Standard


\latex latex 

\backslash 
addcontentsline{toc}{chapter}{Index}
\layout Standard

\layout Chapter*

test
\the_end
Rainer Dorsch
Abt. Rechnerarchitektur  e-mail:[EMAIL PROTECTED]
Uni Stuttgart            Tel.: +49-711-7816-215 / Fax: +49-711-7816-288
Breitwiesenstr. 20-22    D-70565 Stuttgart
http://www.ra.informatik.uni-stuttgart.de/~rainer/

Reply via email to