[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: problem with texi2dvi from texinfo 6.1
From: |
Vincent Belaïche |
Subject: |
Re: problem with texi2dvi from texinfo 6.1 |
Date: |
Tue, 23 Feb 2016 20:27:31 +0100 |
Hello Kurt,
I think that this ~ thing is a separate problem. That should be
submitted as a tex2dvi bug, I have tried to do that but the bug
submission is closed on savannah for texinfo project (??).
I have just tried your second test1.tex file, and my texi2dvi does make
two runs, here is the log (please note that I am compiling with the
--pdf option, I have also made a trial w/o it, and it also made two
runs):
--8<----8<----8<----8<----8<-- begin -->8---->8---->8---->8---->8----
address@hidden /tmp/efrench
$ texi2dvi --pdf --verbose test1.tex
/bin/texi2dvi: Processing test1.tex ...
/bin/texi2dvi: BIBINPUTS='.:/tmp/efrench:/tmp/efrench/.::'
/bin/texi2dvi: BSTINPUTS='.:/tmp/efrench:/tmp/efrench/.::'
/bin/texi2dvi: DVIPSHEADERS='.:/tmp/efrench:/tmp/efrench/.::'
/bin/texi2dvi: INDEXSTYLE='.:/tmp/efrench:/tmp/efrench/.::'
/bin/texi2dvi: MFINPUTS='.:/tmp/efrench:/tmp/efrench/.::'
/bin/texi2dvi: MPINPUTS='.:/tmp/efrench:/tmp/efrench/.::'
/bin/texi2dvi: TEXINPUTS='.:/tmp/efrench:/tmp/efrench/.::'
/bin/texi2dvi: TFMFONTS='.:/tmp/efrench:/tmp/efrench/.::'
/bin/texi2dvi: Cycle 1 for ./test1.tex
/bin/texi2dvi: /bin/texi2dvi: Running pdflatex '\catcode126=12
\def\normaltilde{~}\catcode126=13 \let~\normaltilde ' '\input' './test1.tex' ...
This is pdfTeX, Version 3.14159265-2.6-1.40.16 (MiKTeX 2.9 64-bit)
entering extended mode
LaTeX2e <2015/10/01> patch level 1
Babel <3.9m> and hyphenation patterns for 69 languages loaded.
(test1.tex ("C:\Programmes\MiKTeX 2.9\tex\latex\base\article.cls"
Document Class: article 2014/09/29 v1.4h Standard LaTeX document class
("C:\Programmes\MiKTeX 2.9\tex\latex\base\size10.clo"))
("C:\Programmes\MiKTeX 2.9\tex\latex\hyperref\hyperref.sty"
("C:\Programmes\MiKTeX 2.9\tex\generic\oberdiek\hobsub-hyperref.sty"
("C:\Programmes\MiKTeX 2.9\tex\generic\oberdiek\hobsub-generic.sty"))
("C:\Programmes\MiKTeX 2.9\tex\latex\graphics\keyval.sty")
("C:\Programmes\MiKTeX 2.9\tex\generic\ifxetex\ifxetex.sty")
("C:\Programmes\MiKTeX 2.9\tex\latex\oberdiek\auxhook.sty")
("C:\Programmes\MiKTeX 2.9\tex\latex\oberdiek\kvoptions.sty")
("C:\Programmes\MiKTeX 2.9\tex\latex\hyperref\pd1enc.def")
("C:\Programmes\MiKTeX 2.9\tex\latex\00miktex\hyperref.cfg")
("C:\Programmes\MiKTeX 2.9\tex\latex\url\url.sty"))
Package hyperref Message: Driver (autodetected): hpdftex.
("C:\Programmes\MiKTeX 2.9\tex\latex\hyperref\hpdftex.def"
("C:\Programmes\MiKTeX 2.9\tex\latex\oberdiek\rerunfilecheck.sty"))
No file test1.aux.
("C:\Programmes\MiKTeX 2.9\tex\latex\hyperref\nameref.sty"
("C:\Programmes\MiKTeX 2.9\tex\generic\oberdiek\gettitlestring.sty")) [1{C:/Use
rs/Vincent/AppData/Local/MiKTeX/2.9/pdftex/config/pdftex.map}]
LaTeX Warning: Reference `sec:A' on page 2 undefined on input line 11.
[2] (test1.aux)
Package rerunfilecheck Warning: File `test1.out' has changed.
(rerunfilecheck) Rerun to get outlines right
(rerunfilecheck) or use package `bookmark'.
LaTeX Warning: There were undefined references.
LaTeX Warning: Label(s) may have changed. Rerun to get cross-references right.
)<C:/Programmes/MiKTeX 2.9/fonts/type1/public/amsfonts/cm/cmbx10.pfb><C:/Progr
ammes/MiKTeX 2.9/fonts/type1/public/amsfonts/cm/cmbx12.pfb><C:/Programmes/MiKTe
X 2.9/fonts/type1/public/amsfonts/cm/cmr10.pfb>
Output written on test1.pdf (2 pages, 32074 bytes).
Transcript written on test1.log.
/bin/texi2dvi: Cycle 2 for ./test1.tex
/bin/texi2dvi: /bin/texi2dvi: Running pdflatex '\catcode126=12
\def\normaltilde{~}\catcode126=13 \let~\normaltilde ' '\input' './test1.tex' ...
This is pdfTeX, Version 3.14159265-2.6-1.40.16 (MiKTeX 2.9 64-bit)
entering extended mode
LaTeX2e <2015/10/01> patch level 1
Babel <3.9m> and hyphenation patterns for 69 languages loaded.
(test1.tex ("C:\Programmes\MiKTeX 2.9\tex\latex\base\article.cls"
Document Class: article 2014/09/29 v1.4h Standard LaTeX document class
("C:\Programmes\MiKTeX 2.9\tex\latex\base\size10.clo"))
("C:\Programmes\MiKTeX 2.9\tex\latex\hyperref\hyperref.sty"
("C:\Programmes\MiKTeX 2.9\tex\generic\oberdiek\hobsub-hyperref.sty"
("C:\Programmes\MiKTeX 2.9\tex\generic\oberdiek\hobsub-generic.sty"))
("C:\Programmes\MiKTeX 2.9\tex\latex\graphics\keyval.sty")
("C:\Programmes\MiKTeX 2.9\tex\generic\ifxetex\ifxetex.sty")
("C:\Programmes\MiKTeX 2.9\tex\latex\oberdiek\auxhook.sty")
("C:\Programmes\MiKTeX 2.9\tex\latex\oberdiek\kvoptions.sty")
("C:\Programmes\MiKTeX 2.9\tex\latex\hyperref\pd1enc.def")
("C:\Programmes\MiKTeX 2.9\tex\latex\00miktex\hyperref.cfg")
("C:\Programmes\MiKTeX 2.9\tex\latex\url\url.sty"))
Package hyperref Message: Driver (autodetected): hpdftex.
("C:\Programmes\MiKTeX 2.9\tex\latex\hyperref\hpdftex.def"
("C:\Programmes\MiKTeX 2.9\tex\latex\oberdiek\rerunfilecheck.sty")) (test1.aux)
("C:\Programmes\MiKTeX 2.9\tex\latex\hyperref\nameref.sty"
("C:\Programmes\MiKTeX 2.9\tex\generic\oberdiek\gettitlestring.sty"))
(test1.out) (test1.out) [1{C:/Users/Vincent/AppData/Local/MiKTeX/2.9/pdftex/con
fig/pdftex.map}] [2] (test1.aux) )<C:/Programmes/MiKTeX 2.9/fonts/type1/public/
amsfonts/cm/cmbx12.pfb><C:/Programmes/MiKTeX 2.9/fonts/type1/public/amsfonts/cm
/cmr10.pfb>
Output written on test1.pdf (2 pages, 23305 bytes).
Transcript written on test1.log.
/bin/texi2dvi: Original xref files =
/bin/texi2dvi: New xref files =
/bin/texi2dvi: Removing /tmp/efrench/test1.t2d
/bin/texi2dvi: done.
/bin/texi2dvi: Removing /tmp/efrench/test1.t2d
--8<----8<----8<----8<----8<-- end -->8---->8---->8---->8---->8----
Now I need to check which texi2dvi I am using (I am not sure whether it
is the latest one on the SVN repo).
VBR,
Vincent
Le 23/02/2016 17:28, Kurt Hornik a écrit :
>>>>>> Vincent Belaïche writes:
>
> Ok, so let's try a version without a tilde then:
>
>
>
>
> It makes no difference for me: running texi2dvi test1.tex ends with
>
> Package rerunfilecheck Warning: File `test1.out' has changed.
> (rerunfilecheck) Rerun to get outlines right
> (rerunfilecheck) or use package `bookmark'.
>
> but does not re-run. Running texi2dvi test1.tex once more succeeds.
>
> This is with
>
> This is pdfTeX, Version 3.14159265-2.6-1.40.16 (TeX Live 2015/Debian)
> (preloaded format=latex)
> restricted \write18 enabled.
> entering extended mode
> LaTeX2e <2016/02/01>
>
> as currently shipped in Debian testing.
>
> If you still cannot reproduce, perhaps we should start by comparing TeX
> and system versions?
>
> Best
> -k
>
>> Hello Kurt,
>> It seems that some \ref is missing before the reference. Well I have
>> added it, and the only problem which I can see is that the ~ is handled
>> like a normal tilde.
>
>> But this is because texi2dvi uses this command:
>
>> Running pdflatex '\catcode126=12 \def\normaltilde{~}\catcode126=13
>> \let~\normaltilde ' '\input' './test1.tex'
>
>> (ie ~ is changed into a normal tilde).
>
>> I think that the intention of this catcode change was to allow ~ in file
>> names, but maybe that should be made only for the input file
>> name. I.e. the command line should be instead like this:
>
>> pdflatex '\begingroup\catcode126=12\def\temp{' './test1.tex'
>> '}\expandafter\endgroup\expandafter\input\expandafter{\temp}'
>
>> Vincent.
>
>
>> Le 23/02/2016 08:14, Kurt Hornik a écrit :
>>>>>>>> Vincent Belaïche writes:
>>>
>>>> Dear Kurt,
>>>> Is the issue that texi2dvi does not make enough runs?
>>>
>>> Yes.
>>>
>>>> Could you send also a minimal example of Rd2.tex, I could then make a
>>>> trial on my machine to see if I can reproduce the issue ....
>>>
>>> Gavin had also asked for a smaller example (the one I had circulated was
>>> from production use).
>>>
>>> So pls try the following:
>>>
>>>
>>>
>>>
>>> For me:
>>>
>>> $ texi2dvi test1.tex
>>> This is pdfTeX, Version 3.14159265-2.6-1.40.16 (TeX Live 2015/Debian)
>>> (preloaded format=latex)
>>> restricted \write18 enabled.
>>> entering extended mode
>>> LaTeX2e <2016/02/01>
>>> Babel <3.9n> and hyphenation patterns for 79 languages loaded.
>>> (./test1.tex (/usr/share/texlive/texmf-dist/tex/latex/base/article.cls
>>> Document Class: article 2014/09/29 v1.4h Standard LaTeX document class
>>> (/usr/share/texlive/texmf-dist/tex/latex/base/size10.clo))
>>> (/usr/share/texlive/texmf-dist/tex/latex/hyperref/hyperref.sty
>>> (/usr/share/texlive/texmf-dist/tex/generic/oberdiek/hobsub-hyperref.sty
>>> (/usr/share/texlive/texmf-dist/tex/generic/oberdiek/hobsub-generic.sty))
>>> (/usr/share/texlive/texmf-dist/tex/latex/graphics/keyval.sty)
>>> (/usr/share/texlive/texmf-dist/tex/generic/ifxetex/ifxetex.sty)
>>> (/usr/share/texlive/texmf-dist/tex/latex/oberdiek/auxhook.sty)
>>> (/usr/share/texlive/texmf-dist/tex/latex/oberdiek/kvoptions.sty)
>>> (/usr/share/texlive/texmf-dist/tex/latex/hyperref/pd1enc.def)
>>> (/usr/share/texlive/texmf-dist/tex/latex/latexconfig/hyperref.cfg)
>>> (/usr/share/texlive/texmf-dist/tex/latex/url/url.sty))
>>>
>>> Package hyperref Message: Driver (default): hdvips.
>>>
>>> (/usr/share/texlive/texmf-dist/tex/latex/hyperref/hdvips.def
>>> (/usr/share/texlive/texmf-dist/tex/latex/hyperref/pdfmark.def
>>> (/usr/share/texlive/texmf-dist/tex/latex/oberdiek/rerunfilecheck.sty)))
>>> No file test1.aux.
>>> (/usr/share/texlive/texmf-dist/tex/latex/hyperref/nameref.sty
>>> (/usr/share/texlive/texmf-dist/tex/generic/oberdiek/gettitlestring.sty))
>>>
>>> Package hyperref Warning: Rerun to get /PageLabels entry.
>>>
>>> [1] [2] (/home/Hornik/tmp/ZZZ/test1.aux)
>>>
>>> Package rerunfilecheck Warning: File `test1.out' has changed.
>>> (rerunfilecheck) Rerun to get outlines right
>>> (rerunfilecheck) or use package `bookmark'.
>>>
>>>
>>> LaTeX Warning: Label(s) may have changed. Rerun to get cross-references
>>> right.
>>>
>>> )
>>> Output written on test1.dvi (2 pages, 2800 bytes).
>>> Transcript written on test1.log.
>>>
>>> and
>>>
>>> $ echo $?
>>> 1
>>>
>>> Best
>>> -k
>>>
>>>
>>>> Vincent.
>>>
>>>> Le 22/02/2016 22:19, Gavin Smith a écrit :
>>>>> The log files you sent help a bit. They contain lines like:
>>>>>
>>>>> Package hyperref Warning: Rerun to get /PageLabels entry.
>>>>>
>>>>> This explains why no "New xref files" messages are being printed by
>>>>> texi2dvi: the function xref_files_changed in texi2dvi sees that text
>>>>> in the log files and doesn't look in the log files. I don't have those
>>>>> lines in my log files (maybe due to different versions of packages),
>>>>> so what happens for me is different.
>>>>>
>>>>> I still don't know where exactly texi2dvi is quitting in your case,
>>>>> alas. Perhaps the output from
>>>>>
>>>>> sh -x ./texi2dvi --verbose Rd2.tex >Rd2.trace
>>>>>
>>>>> could help? I've attached what I got.
>>>>>
>>>>> Also deleting chunks from the file to get a smaller file that gives
>>>>> the same error can only help. (It would make the log files shorter and
>>>>> possibly easier to spot what's wrong.)
>>>>>
>>>>> NB I don't know if the problem is on my end or yours but I have awful
>>>>> trouble reading emails with long logs in the body of the email: could
>>>>> you try sending any long logs or output as attachments instead? That's
>>>>> if you weren't doing that already and my mail reader (GMail web
>>>>> interface) is displaying them inline).
>>>
>
- Re: problem with texi2dvi from texinfo 6.1, (continued)
- Re: problem with texi2dvi from texinfo 6.1, Kurt Hornik, 2016/02/22
- Re: problem with texi2dvi from texinfo 6.1, Gavin Smith, 2016/02/22
- Re: problem with texi2dvi from texinfo 6.1, Kurt Hornik, 2016/02/22
- Re: problem with texi2dvi from texinfo 6.1, Kurt Hornik, 2016/02/22
- Re: problem with texi2dvi from texinfo 6.1, Gavin Smith, 2016/02/22
Re: problem with texi2dvi from texinfo 6.1, Vincent Belaïche, 2016/02/23
Re: problem with texi2dvi from texinfo 6.1, Vincent Belaïche, 2016/02/23
Re: problem with texi2dvi from texinfo 6.1,
Vincent Belaïche <=
Re: problem with texi2dvi from texinfo 6.1, Vincent Belaïche, 2016/02/23
Re: problem with texi2dvi from texinfo 6.1, Vincent Belaïche, 2016/02/23