bugtex4ht - Bugs: bug #394, Support for oolatex on Debian

Show feedback again

You are not allowed to post comments on this tracker with your current authentification level.

bug #394: Support for oolatex on Debian

Submitted by:  Michal Hoftich <michal_h21>
Submitted on:  Mon May 28 14:40:33 2018  
Category: NonePriority: 5 - Normal
Severity: 5 - NormalStatus: None
Privacy: PublicAssigned to: None
Open/Closed: Closed

Tue Jun 26 01:23:54 2018, comment #5:

meanwhile, it seems there is nothing more to do here, so closing.

Karl Berry <karl>
Project Administrator
Mon Jun 25 23:59:26 2018, comment #4:

Using SELFAUTOPARENT at all will not work on Debian, as things stand. It's easiest to hardwire it to /usr/share/texlive.
Maybe if that directory exists, use it, else use SELFAUTOPARENT.
Alternatively, if SELFAUTOPARENT expands to /, look for /usr/share/texlive or other alternatives.

Or, leave it for the distributors.

Norbert has already fixed the Debian t4ht.c source for his next update.

Karl Berry <karl>
Project Administrator
Mon Jun 25 14:40:24 2018, comment #3:

OK, it was quite easy, so the development version of make4ht now completely bypass t4ht for the ODT output. It can be requested using

make4ht -f odt filename.tex

It also fixes other things, like translation of character XML entities to Unicode.

Michal Hoftich <michal_h21>
Project Member
Mon Jun 25 13:29:07 2018, comment #2:

Thanks Karl. I am working on a new ODT support in make4ht, I've already replaced the code for packing the ODT file. I can also find a correct path using kpse.var_value("SELFAUTOPARENT") from Lua and call xtpipes directly, without need to involve t4ht at all. But that doesn't mean that it shouldn't be fixed, of course.

Michal Hoftich <michal_h21>
Project Member
Mon Jun 25 02:36:44 2018, comment #1:

Michal - Dirk's post indicates that the crazy %%~/ evaluated to // for him (so clearly nothing is going to work).

When I try "mk4ht oolatex hello.tex" on a hello,world latex document and TL 18, it works, and the java -classpath call included /usr/local/texlive/2018/texmf-dist/tex4ht/bin/tex4ht.jar as expected.

Looking at the comments in tex4ht.env, I see that %%~ is supposed to expand to SELFAUTOPARENT, which would explain a result of "/" on Debian, if they did not hack t4ht.c to suit their setup, which does not involve SELFAUTOPARENT.

I guess I will write Norbert.

Karl Berry <karl>
Project Administrator
Mon May 28 14:40:33 2018, original submission:

There seem to be an issue with oolatex on Debian 9, see this blog post for details:


It seems that there are similar issues with Xtpipes as were in Miktex. Can anybody with Debian confirm this issue?

Michal Hoftich <michal_h21>
Project Member


No files currently attached


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -unavailable- added by karl (Posted a comment)
  • -unavailable- added by michal_h21 (Submitted the item)

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.


    Please enter the title of George Orwell's famous dystopian book (it's a date):



    1 latest change follows.

    Date Changed By Updated Field Previous Value => Replaced By
    Tue Jun 26 01:23:54 2018karlOpen/ClosedOpen=>Closed
    Show feedback again

    Back to the top

    Powered by Savane 3.1-cleanup+gray