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

Bug#554999: tex4ht: oolatex should fails when it encounters errors



reopen 554999
found 554999 2018.20190227-2
stop

On 07.11.09 21:23, Luca Capello wrote:

> I found that in two occasions oolatex exits with error code 0 even if
> the OpenDocument Format file produced is not correct, because previous
> errors occurred:
> 
>   http://bugs.debian.org/554995 (JRE not installed)
>   http://bugs.debian.org/554998 (problems with math mode)
> 
> IMHO this behavior is a bug, since there is no way to know if the
> resulting ODF is OK without opening it.  Instead, oolatex should stop as
> soon as it encounters the first error.
> 
This bug is still valid for mk4ht at least in oolatex mode. Reopening.

hille@amd64-sid:~/devel/TeXLive/open_bugs/571061$ mk4ht oolatex 571061.tex

<snip>

System return: 0
System call: java -classpath
/usr/share/texlive/texmf-dist/tex4ht/bin/tex4ht.jar xtpipes -i
/usr/share/texlive/texmf-dist/tex4ht/xtpipes/ -o 571061.4oo 571061.tmp
sh: 1: java: not found
--- Warning --- System return: 32512

<snip>

System return: 0
System call: mv    sxw-571061.dir/571061.odt .
mv: cannot stat 'sxw-571061.dir/571061.odt': No such file or directory
--- Warning --- System return: 256
hille@amd64-sid:~/devel/TeXLive/open_bugs/571061$ echo $?
0
hille@amd64-sid:~/devel/TeXLive/open_bugs/571061$ dpkg -l
texlive-plain-generic
Desired=Unknown/Install/Remove/Purge/Hold
|
Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name                  Version         Architecture Description
+++-=====================-===============-============-=================================
ii  texlive-plain-generic 2018.20190227-2 all          TeX Live: Plain
(La)TeX packages
hille@amd64-sid:~/devel/TeXLive/open_bugs/571061$

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

Attachment: signature.asc
Description: OpenPGP digital signature


Reply to: