[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#767872: tex4ht: htlatex fails without non-zero exit status



Am 03.11.2014 um 07:19 teilte Johannes Schauer mit:

Hi Johannes,

> steps to reproduce:
> 
>     $ apt-get install tex4ht
>     $ touch test.tex
>     $ tex4ht test.tex
>     [...cannot find latex...]
>     $ echo $?
>     0
> 
> So even though the command just failed, its exit status is zero.
> 
Seems to be solved to me...somehow:

hille@debian-amd64-sid:~/devel/TeXLive/open_bugs/767872$ touch test.tex
hille@debian-amd64-sid:~/devel/TeXLive/open_bugs/767872$ tex4ht test.tex
----------------------------
tex4ht.c (2018-07-03-10:36 kpathsea)
tex4ht test.tex
--- warning --- Can't find/open file `test.dvi'
--- error --- Can't find/open file `test.dvi'
hille@debian-amd64-sid:~/devel/TeXLive/open_bugs/767872$ echo $?
1

I moved the latex binary out of the way. Do you assume your issue to be
solved?

Or did you want instead file a bug report for htlatex , were the issue
is still reproducible (test1 is a valid LaTeX input file):

hille@debian-amd64-sid:~/devel/TeXLive/open_bugs/767872$ htlatex test1
/usr/bin/htlatex: 2: latex: not found
/usr/bin/htlatex: 3: latex: not found
/usr/bin/htlatex: 4: latex: not found
----------------------------
tex4ht.c (2018-07-03-10:36 kpathsea)
tex4ht -f/test1
  -i~/tex4ht.dir/texmf/tex4ht/ht-fonts/
--- warning --- Can't find/open file `test1.dvi'
--- error --- Can't find/open file `test1.dvi'
----------------------------
t4ht.c (2018-07-04-14:25 kpathsea)
t4ht -f/test1
(/usr/share/texlive/texmf-dist/tex4ht/base/unix/tex4ht.env)
--- warning --- Can't find/open file `test1.lg'
hille@debian-amd64-sid:~/devel/TeXLive/open_bugs/767872$ echo $?
0

Hilmar
-- 
sigfault
#206401 http://counter.li.org

Attachment: signature.asc
Description: OpenPGP digital signature


Reply to: