#615596 tex4ht: mk4ht dblatex file.tex fails with xtpipes error

Package:
texlive-plain-generic
Source:
texlive-extra
Submitter:
Martin Dietze
Date:
2021-03-23 08:18:06 UTC
Severity:
minor
Tags:
#615596#5
Date:
2011-02-27 17:05:42 UTC
From:
To:
Calling mk4ht dblatex some_file.tex results in this error:

System call: java -classpath /usr/share/tex4ht/tex4ht.jar xtpipes -i
/usr/share/texmf/tex4ht/xtpipes/ -o some_file.xml some_file.tmp
--- xtpipes error 32 --- Missing 4xt script file name
--- Warning --- System return: 256

This makes it impossible to create docbook files from a LaTeX
source.

#615596#10
Date:
2011-02-28 21:22:55 UTC
From:
To:
The problem originally described in this bug appears only when using
the Komascript document classes. With standard LaTeX-classes it works
OK.

#615596#15
Date:
2011-03-02 15:58:39 UTC
From:
To:
It turned out that the problem only occurs if the Koma class
'scrreprt' is used with the 'docbook.4ht' definitions.
Just like the other '.4ht' files this file contains a 'whitelist' of
classes it supports which does not contain scrreprt (just as
finetuning for this documentclass is missing).

Thus the problem simply seems to be that 'scrreprt' is not supported.

#615596#20
Date:
2017-08-26 22:10:55 UTC
From:
To:
Dear submitter,

as the package tex4ht has just been removed from the Debian archive
unstable we hereby close the associated bug reports.  We are sorry
that we couldn't deal with your issue properly.

For details on the removal, please see https://bugs.debian.org/872386

The version of this package that was in Debian prior to this removal
can still be found using http://snapshot.debian.org/.

This message was generated automatically; if you believe that there is
a problem with it please contact the archive administrators by mailing
ftpmaster@ftp-master.debian.org.

Debian distribution maintenance software
pp.
Scott Kitterman (the ftpmaster behind the curtain)

#615596#33
Date:
2019-07-05 16:01:13 UTC
From:
To:
forwarded 615596 https://puszcza.gnu.org.ua/bugs/index.php?430
stop

On 27.02.11 18:05, Martin Dietze wrote:

Hi Martin
Reported to upstream.

H.

#615596#40
Date:
2019-07-05 18:16:14 UTC
From:
To:
severity 615596 minor
stop

On 27.02.11 18:05, Martin Dietze wrote:

Hi Martin,
Given the fact that just one document class is affected I lower the
severity to minor. Attached is a patch from upstream, which solves the
problem for me. Does it the same for you?

Hilmar

#615596#47
Date:
2019-07-28 16:28:09 UTC
From:
To:
Am 27.02.2011 um 18:05 teilte Martin Dietze mit:

Hi,
The patch from upstream solved the issue for me, tagging as patch available.

Hilmar

#615596#56
Date:
2021-03-20 23:04:25 UTC
From:
To:
Am 28.07.2019 um 18:28 teilte Hilmar Preuße mit:
Nearly two years later: still does not work. The java class is not found:


hille@debian-amd64-sid:~$ mk4ht dblatex a.tex
<snip>

Entering a.tmp
System call: cp a.xml a.tmp
System return: 0
System call: java -classpath /usr/share/texlive/tex4ht/bin/tex4ht.jar
xtpipes -i /usr/share/texlive/tex4ht/xtpipes/ -o a.xml a.tmp
Error: Could not find or load main class xtpipes
Caused by: java.lang.ClassNotFoundException: xtpipes
--- Warning --- System return: 256

Not sure what is going on here. The location of the jar file above is
definitely not correct.

H.

#615596#61
Date:
2021-03-23 08:15:32 UTC
From:
To:
I wrote:

Hi,
According to /usr/share/texlive/texmf-dist/tex4ht/base/unix/tex4ht.env
it should search for the jar file in

<docbk>
.xml cp %%1.xml %%1.tmp
.xml java -classpath %%~/tex4ht/bin/tex4ht.jar xtpipes -i
%%~/tex4ht/xtpipes/ -o %%1.xml %%1.tmp
</docbk>

where %%~ expands to TEXMFDIST.

H.