> The wrong numbering is probably due to that latex is not run enough by > LyX. I think we should try to debug this by exporting to latex and then > running latex from the terminal. > > As for numbering still showing up on the first page of your list of > tables, I don't know why that is happening with your LyX document. I > just ran a test version in pure latex with enough \chapters to generate > a two-page toc, and enough captions to generate a two-page list of > tables. Page numbers appeared only on the second page of the toc and > lot. One reason that toc and lot can be incorrect is that an old > file.toc and file.lot is on your system and you are not running latex > enough times. In order to test my file, I removed test.lot and test.toc > and then ran latex *3* times. I'm not sure how to do this from LyX. > > I think if you export your file to latex and run it 3 times both > mistakes should be fixed. > > How many figures do you have? Could you export the file to latex, save > it as temp.tex, and get rid of the figures, and then run latex 3 times > just to see if we've fixed the list of table and toc problem? If you > have a lot of figures, then you could try this: > > sed -e 's/\\includegraphics{[^}]*}//g' thesis.tex > temp.tex > > This assumes that when you export your document, it is named thesis.tex. > Change the name to whatever it is. The sed stuff just gets rid of all > graphics in your document so that you can run a text. > > However, if your grahics are in child documents, that won't work, since > missing figures will still show up when you run latex. Let me know if > there is any way you can export a latex file and run latex on it. > > Paul
Hi Paul, I used the sed command, and made a temp.tex. But Im still getting an error: ~/Thesis$ latex -output-format=pdf -halt-on-error /home/malespin/Thesis/temp.tex This is pdfeTeX, Version 3.141592-1.21a-2.2 (Web2C 7.5.4) entering extended mode (/home/malespin/Thesis/temp.tex LaTeX2e <2003/12/01> Babel <v3.8d> and hyphenation patterns for american, french, german, ngerman, b ahasa, basque, bulgarian, catalan, croatian, czech, danish, dutch, esperanto, e stonian, finnish, greek, icelandic, irish, italian, latin, magyar, norsk, polis h, portuges, romanian, russian, serbian, slovak, slovene, spanish, swedish, tur kish, ukrainian, nohyphenation, loaded. (/usr/share/texmf-tetex/tex/latex/base/report.cls Document Class: report 2004/02/16 v1.4f Standard LaTeX document class (/usr/share/texmf-tetex/tex/latex/base/size10.clo)) (/usr/share/texmf-tetex/tex/latex/base/fontenc.sty (/usr/share/texmf-tetex/tex/latex/base/t1enc.def)) (/usr/share/texmf-tetex/tex/latex/base/inputenc.sty (/usr/share/texmf-tetex/tex/latex/base/latin1.def)) (/usr/share/texmf-tetex/tex/latex/geometry/geometry.sty (/usr/share/texmf-tetex/tex/latex/graphics/keyval.sty) (/usr/share/texmf-tetex/tex/latex/geometry/geometry.cfg)) (/usr/share/texmf-tetex/tex/latex/tools/array.sty) (/usr/share/texmf-tetex/tex/latex/graphics/graphicx.sty (/usr/share/texmf-tetex/tex/latex/graphics/graphics.sty (/usr/share/texmf-tetex/tex/latex/graphics/trig.sty) (/usr/share/texmf-tetex/tex/latex/graphics/graphics.cfg) (/usr/share/texmf-tetex/tex/latex/graphics/pdftex.def))) (/usr/share/texmf-tetex/tex/latex/setspace/setspace.sty Package: `setspace' 6.7 <2000/12/01> ) (/usr/share/texmf-tetex/tex/latex/cite/cite.sty) (/usr/share/texmf-tetex/tex/latex/tools/indentfirst.sty) (/usr/share/texmf-tetex/tex/generic/babel/babel.sty (/usr/share/texmf-tetex/tex/generic/babel/english.ldf (/usr/share/texmf-tetex/tex/generic/babel/babel.def))) (./temp.aux) Package geometry Warning: The marginal notes would fall off the page. Add 3.73001pt and more to the right margin. -------------------- Geometry parameters paper: letterpaper landscape: -- twocolumn: -- twoside: -- asymmetric: -- h-parts: 90.3375pt, 451.68752pt, 72.26999pt v-parts: 72.26999pt, 650.43001pt, 72.26999pt hmarginratio: -- vmarginratio: -- lines: -- heightrounded: -- bindingoffset: 0.0pt truedimen: -- includehead: -- includefoot: -- includemp: -- driver: pdftex -------------------- Page layout dimensions and switches \paperwidth 614.295pt \paperheight 794.96999pt \textwidth 451.68752pt \textheight 650.43001pt \oddsidemargin 18.0675pt \evensidemargin 18.0675pt \topmargin -37.0pt \headheight 12.0pt \headsep 25.0pt \footskip 30.0pt \marginparwidth 65.0pt \marginparsep 11.0pt \columnsep 10.0pt \skip\footins 9.0pt plus 4.0pt minus 2.0pt \hoffset 0.0pt \voffset 0.0pt \mag 1000 (1in=72.27pt, 1cm=28.45pt) ----------------------- (/usr/share/texmf-tetex/tex/context/base/supp-pdf.tex (/usr/share/texmf-tetex/tex/context/base/supp-mis.tex loading : Context Support Macros / Miscellaneous (2004.10.26) ) loading : Context Support Macros / PDF (2004.03.26) ) [1{/var/lib/texmf/fonts/map/pdftex/updmap/pdftex.map}] (/usr/share/texmf-tetex/tex/latex/base/omscmr.fd) [2] [3] [4] (./temp.toc) [5] (./temp.lot) [6] (./temp.lof) [7] Chapter 1. [1] LaTeX Warning: Citation `key-1' on page 2 undefined on input line 192. LaTeX Warning: Citation `key-2' on page 2 undefined on input line 208. [2] LaTeX Warning: Citation `key-3' on page 3 undefined on input line 249. LaTeX Warning: Citation `key-4' on page 3 undefined on input line 249. LaTeX Warning: Citation `key-5' on page 3 undefined on input line 257. LaTeX Warning: Citation `key-6' on page 3 undefined on input line 293. [3] <ElementTable2.jpg, id=55, 395.4775pt x 390.45876pt> <use ElementTable2.jpg> LaTeX Warning: Citation `key-7' on page 4 undefined on input line 310. <ElementTable.jpg, id=56, 345.29pt x 466.74374pt> <use ElementTable.jpg> [4 <./ElementTable2.jpg>] Error: latex (file "Images/particle size table".jpg): cannot find image file ==> Fatal error occurred, the output PDF file is not finished! *********** Im guessing it is still looking for some images, but cant find them. I have about 40 figures in there right now.. Also, the page numbering is fine on the Tables list, its the figures list that is wrong. So.. I dont know what else to do, seems like this shouldnt be so hard, right? Thank you for your patience, Charles