From: <hp...@fh...> - 2008-10-18 14:50:09
|
Hi François, Quoting Pétiard François <pet...@fr...>: > Le 18/10/2008 01:05, Herve Pages a écrit : >> Hi, >> >> I found an obscure issue with the use of \url from the hyperref >> package that apparently triggers a pdflatex error. >> Don't know if there is a bug in hyperref, or in the pdflatex command >> shipped with MiKTeX, or in both. >> >> The error I get when running the pdflatex command is: >> ! pdfTeX error (ext4): \pdfendlink ended up in different nesting >> level than \pd >> fstartlink. >> \AtBegShi@Output ...ipout \box \AtBeginShipoutBox >> \fi \fi >> l.96 \end{document} >> >> ! ==> Fatal error occurred, no output PDF file produced! >> Transcript written on BSgenomeForge1.log. >> > > I can reproduce your error but it's very strange : if I comment a line, > no error and if I remove the comment, no error! I don't understand! > I've two files which are the same (if I compare the two files with fc, > no difference) but, when I compile each file, one compiles without > error and the other doesn't compile... Very strange! Thanks for trying this! Yes I ran into this too and was puzzled like you. What happens is that you've run pdflatex successfully on a previous version of one of the files and that generated all the side products (.log/.aux/... files). Then later, even if you modify this file to make it identical to the "broken" one, pdflatex will run OK on it because of the presence of the side products in the folder. You need to remove all the side products. > > I've attached the two files in a zip. If someone try them, s/he will get the same thing on the 2 files because s/he'll start with a clean folder (no side products). Cheers H. > > François Pétiard, |