Hi all,

The following shellscript compiles my PDF:

=============================
#!/bin/bash

rm -f junk.*
cp -p larry.lyx junk.lyx
lyx --export latex junk.lyx
latex junk.tex
makeindex -c -q junk.idx
latex junk.tex
dvips  junk.dvi
ps2pdf13 junk.ps
acroread junk.pdf
=============================

The preceding fails to produce a table of contents item for the book's 
index, yet when I compile to PDF within the LyX environment, the index 
appears in the table of contents.

The latex files produced are slightly different, but even if I replace 
the script compiled latex file with the one internally compiled (from 
the tmp directory), the symptom still appears.

And, before I put in a special line of text and \clearpage, the script 
compiled version had page numbers not matched to the PDF reader's 
opinion of the page number, whereas the environment compiled version 
had the page numbers on the pdf match those of the pdf reader.

I need to find out what the internal compile is doing that my script 
is not or vice versa.

The following are the definition of the converters in the LyX 
configuration:

DVI->Postscript:  dvips -o $$o $$i

LaTeX (Plain)->DVI: latex

DVI->Postscript: dvips -o $$o $$i

Postscript->PDF (ps2pdf): ps2pdf13 $$i $$o

What the heck is accounting for the discrepancy in these two 
techniques?

Thanks

SteveT

Steve Litt
Recession Relief Package
http://www.recession-relief.US
Twitter: http://www.twitter.com/stevelitt

Reply via email to