I don't have a \fontscheme in lyx, nor can I see it in the LaTeX log file
(View->LaTeX Logfile).
My debug output definitely doesn't have any "Run #"s
Nor does it have "Scanning aux file: #.aux"
The .aux file does contain citation data.
I am not using BibTeX.
The LaTeX logfile contains Warnings that each citation is undefined.
When I View->DVI a second time, TOC and citations work, the debug output is
the same as for the first run (still no "Run #"s or "Scanning aux file:
#.aux") but, of course, the LaTeX logfile doesn't have any citation warnings.
The problem returns if I close the file (without closing lyx) then reopen it.
Roger
On Thu, 30 Jun 2005 11:26 pm, Todd Denniston wrote:
> It would have helped more if you had sent it to the list, I was suggesting
> it because one of the developers might have been able to see where the
> processing got off track. I am only a lowly user of LyX, but I knew about
> the debug option.
>
> However, when I run mine and compare with your run, it looks like yours
> gets broken right from the start. My bets, from your log, would be on a
> missing/broken font, but you should ask the list.
>
> in your LyX file what does the line that starts with the following have on
> it? (answer back to list please)
> \fontscheme
>
> So you can see what a working run looks like, here is my debug output
> (trimmed down a bit), for a file with a TOC and cross refs. Also note the
> 'Run #'s, I don't see them in your log:
>
> Setting debug level to 128
> Debugging `latex' (LaTeX generation/execution)
> makeLaTeXFile...
> Validating buffer...
> Color enabled. Font: Bold, Smallest, red, Language: English
> Color enabled. Font: Bold, Smallest, red, Underline On, Language: English
> Color enabled. Font: Bold, Smallest, red, Language: English
> LyX needs the following commands when LaTeXing:
> ***** Packages:\usepackage{color}
> \usepackage{graphicx}
>
> ***** Macros:\newcommand{\lyxline}[1]{
> {#1 \vspace{1ex} \hrule width \columnwidth \vspace{1ex}}
> }
> %% Because html converters don't know tabularnewline
> \providecommand{\tabularnewline}{\\}
>
> ***** Textclass stuff:
> ***** done.
> Buffer validation done.
> TeXOnePar... 0x892bcb0
> ...
> ...
> SimpleTeXOnePar... 0x895cdd0
> SimpleTeXOnePar...done 0x895cdd0
> TeXOnePar...done (nil)
> makeLaTeXFile...done
> Scanning aux file: DOCUMENT.aux
> Run #1
> Log file: DOCUMENT.log
> Log line: This is TeX, Version 3.14159 (Web2C 7.3.1) (format=latex
> 2000.4.24) 30 JUN 2005 07:59
> <Log lines about bable, fonts, styles, page setup, i.e. the entire TeX run
> log.>
> Log line: Here is how much of TeX's memory you used:
> Log line: ...
> ...
> Log line:
> Log line: Output written on DOCUMENT.dvi (20 pages, 39008 bytes).
> Log line:
> Scanning aux file: DOCUMENT.aux
> Citation: CITATION-KEY
> BibTeX style: `plain.bst'
> BibTeX database: `my/bibfile/bib.bib`
> ...
> Running BibTeX.
> kpse status = 0
> kpse result = `/usr/share/texmf/bibtex/bst/base/plain.bst'
> This is BibTeX, Version 0.99c (Web2C 7.3.1)
> The top-level auxiliary file: DOCUMENT.aux
> The style file: plain.bst
> Database file #1: my/bibfile/bib.bib
> Run #2
> Log file: DOCUMENT.log
> <Log lines similar to the last set.>
> Log line: Here is how much of TeX's memory you used:
> ...
> Log line: Output written on DOCUMENT.dvi (20 pages, 58684 bytes).
> Log line:
> Run #3
> Log file: DOCUMENT.log
> <Log lines similar to the last set.>
> Log line: Here is how much of TeX's memory you used:
> ...
> Log line: Output written on DOCUMENT.dvi (20 pages, 58796 bytes).
> Log line:
> Done.
> TextCache: BufferView::buffer
>
> Roger McMurtrie wrote:
> > On Thu, 30 Jun 2005 10:28 am, you wrote:
> > > Roger McMurtrie wrote:
> > > > Geoffrey Lloyd wrote:
> > >
> > > <SNIP>
> > >
> > > > > When you view either dvi or pdf lyx runs latex then bibtex then
> > > > > latex twice more so this really shouldn't be the route of the
> > > > > problem.
> > > > >
> > > > > Geoff
> > > >
> > > > This problem has only recently appeared, View->PDF and View->DVI used
> > > > to work fine with one pass.
> > >
> > > would running LyX with "LaTeX generation/execution" debugging turned on
> > > get Roger any further along? That is run LyX with the following
> > > command: `lyx -dbg 128`
> >
> > I tried Geoff's suggestion:
> >
> > $ lyx -dbg 128
> > Setting debug level to 128
> > Debugging `latex' (LaTeX generation/execution)
> >
> > On opening file:
> >
> > xset: bad font path element (#59), possible causes are:
> > Directory does not exist or has wrong permissions
> > Directory missing fonts.dir
> > Incorrect font server address or syntax
> > Unable to add font path.
> >
> > On View->DVI:
> >
> > makeLaTeXFile...
> > Validating buffer...
> > LyX needs the following commands when LaTeXing:
> > ***** Packages:\usepackage{amsmath}
> > \usepackage{setspace}
> > \onehalfspacing
> > \usepackage{amssymb}
> >
> > ***** Macros:
> > ***** Textclass stuff:
> > ***** done.
> > Buffer validation done.
> >
> > then lots of:
> >
> > TeXOnePar... 0x88e5d68
> > SimpleTeXOnePar... 0x88e5d68
> > TeXOnePar... 0x8875c00
> > SimpleTeXOnePar... 0x8875c00
> > SimpleTeXOnePar...done 0x8875c00
> > TeXOnePar...done 0
> >
> > then:
> >
> > TeXEnvironment...done 0
> > makeLaTeXFile...done
> > This is TeX, Version 3.14159 (Web2C 7.4.5)
> > (./test.tex
> > LaTeX2e <2003/12/01>
> > Babel <v3.8c> and hyphenation patterns for american, french, german,
> > ngerman, basque, italian, portuges, russian, spanish, nohyphenation,
> > loaded.
> >
> > My tmp directory shows a toc file has been generated with content:
> >
> > [EMAIL PROTECTED] {english}
> > \contentsline {chapter}{\numberline {1}Introduction}{7}
> >
> > which appears correct in that my lyx test file has only one Chapter
> > called Introduction
> >
> > I can't see anything wrong here, but then, I'm no expert.
> > Perhaps something's missing.
> >
> > Roger