On Saturday 25 June 2011 15:47:37 Steve Litt wrote:

> But more than anything else, I just want to understand this
> discrepancy? What is the difference between LyX view->PDF (ps2pdf)
> and an equivalent script. What is the difference between
> File->export-
> 
> >LaTeX and lyx --export pdf? Once I understand what LyX is doing
> >under
> 
> the covers, I can certainly do the job with my script, or your
> idea, or pretty much anything else. I just want to understand the
> discrepancy.

I'm closing in on it. All the intermediate files used in LyX's 
internal, menu driven PDF compilation occur in 
/tmp/lyx_tmpdir.J23191/lyx_tmpbuf0 so they're free to compare and 
copy.

It turns out that using the internal compilation's .tex file, I can 
toggle the "no index entry in toc" symptom by either copying the 
internal .toc or not doing so. Since the .toc file is created by the 
first call to the latex executable, it's obvious that LyX internally 
calls the latex executable with different args or different 
environment variables or different config files or something like 
that. I'm going to continue trying to narrow it down.

Thanks

SteveT

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

Reply via email to