bugtex4ht - Bugs: bug #375, htlatex fails in Ubuntu Bash on...

Show feedback again

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

bug #375: htlatex fails in Ubuntu Bash on Windows 10

Submitted by:  Vicente Gonz├ílez Ruiz <vruiz>
Submitted on:  Thu 14 Dec 2017 08:27:03 PM EET  
Category: NonePriority: 5 - Normal
Severity: 5 - NormalStatus: None
Privacy: PublicAssigned to: None
Open/Closed: Closed

Tue 30 Jun 2020 02:12:04 PM EEST, comment #3:

I guess this needs to be fixed on the OP's sided.

Michal Hoftich <michal_h21>
Project Member
Sat 16 Dec 2017 01:04:17 AM EET, comment #2:

Thanks for the report. Unfortunately there are many portability and other problems with the shell scripts; this is just one of them. Regenerating them is unfortunately not simple. Maybe one day we will manage to get that done, but for now, just have to use bash or another shell that understands export var=val, or make4ht as Michal mentioned ... --sorry, karl.

Karl Berry <karl>
Project Administrator
Thu 14 Dec 2017 08:48:33 PM EET, comment #1:

Hi Vincent,

do you use TeXLive? Can you try to run make4ht instead of htlatex? It shouldn't have such issues, as it uses Lua instead of shell scripts.

Best, Michal

Michal Hoftich <michal_h21>
Project Member
Thu 14 Dec 2017 08:27:03 PM EET, original submission:


when running, it fails saying:

/usr/share/tex4ht/htlatex: 5: export: (x86)/Intel/iCLS: bad variable name

The problem is that dash fails when exporting the PATH variable. The problem can be solved running bash instead of dash.

Best regards,

Vicente González Ruiz <vruiz>


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 (Posted a comment)
  • -unavailable- added by vruiz (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 30 Jun 2020 02:12:04 PM EESTmichal_h21Open/ClosedOpen=>Closed
    Show feedback again

    Back to the top

    Powered by Savane 3.1-cleanup+gray