bugtex4ht - Bugs: bug #392, make4ht crashes, error code 256,...

 
 
Show feedback again

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

bug #392: make4ht crashes, error code 256, when using arev with bold font

Submitted by:  Nasser M. Abbasi <nma123>
Submitted on:  Mon Apr 16 04:58:01 2018  
 
Category: NonePriority: 5 - Normal
Severity: 3 - MinorStatus: None
Privacy: PublicAssigned to: None
Open/Closed: Open

Wed Aug 21 08:29:48 2019, comment #3:

It seems a font that doesn't produce spaces is selected when LuaTeX is used as a backend. It isn't selected in the PDF mode, which is strange. When I select this font manually, the spaces collapse even in PDF.

Michal Hoftich <michal_h21>
Project Member
Mon Aug 19 01:22:51 2019, comment #2:

michal, what do you mean by "spaces aren't recognized by tex4ht"? is there more to do here?

Karl Berry <karl>
Project Administrator
Mon Apr 16 07:36:50 2018, comment #1:

I've posted an answer with at TeX.sx. I've also updated the sources.

There is one huge issue, it seems that spaces aren't recognized by tex4ht, I think this must be an issue with some parameters in the font file.

Michal Hoftich <michal_h21>
Project Member
Mon Apr 16 04:58:01 2018, original submission:

posted also at

https://tex.stackexchange.com/questions/426730/make4ht-crashes-error-code-256-when-using-arev-with-bold-font

TL 2017

This might be known issue, but did not see it googling. I sort of remember seeing this before, but I could be wrong. So thought to post this just in case. If this is known, will close this.

This MWE
----------------------
\documentclass[11pt]{article}%
\usepackage{amsmath}
\usepackage{arev}

\begin{document}
\textbf{test}.
\end{document}
----------------

When compiled using make4ht --lua foo.tex causes

--- error --- Improper file `favb8r.htf'
Make4ht: Fatal error. Command tex4ht returned exit code 256
Using TL 2017 in cygwin:

>ls -l /usr/local/texlive/2017/texmf-dist/tex4ht/ht-fonts/alias/arev/favb8r.h

-rw-r--r-- 1 me None 44 Nov 25 2016 favb8r.htf

>cat /usr/local/texlive/2017/texmf-dist/tex4ht/ht-fonts/alias/arev/favb8r.htf

.favb8r
htfcss: favb8r font-weight: bold;

>


May be the extra empty lines in the file favb8r.htf is the cause?

More complete console ouptput:

.....
Output written on foo2.dvi (1 page, 10520 bytes).
Transcript written on foo2.log.
Make4ht: tex4ht "foo2.dvi"
----------------------------
tex4ht.c (2012-07-25-19:36 kpathsea)
tex4ht foo2.dvi
(/usr/local/texlive/2017/texmf-dist/tex4ht/base/unix/tex4ht.env)
(/usr/local/texlive/2017/texmf-dist/tex4ht/ht-fonts/iso8859/1/charset/unicode.4hf)
(/usr/local/texlive/2017/texmf-dist/fonts/tfm/public/arev/favb8r.tfm)
(/usr/local/texlive/2017/texmf-dist/tex4ht/ht-fonts/alias/arev/favb8r.htf)
--- error --- Improper file `favb8r.htf'
Make4ht: Fatal error. Command tex4ht returned exit code 256

The error do not show up when using make4ht foo.tex. Only when adding --lua does the error show up.

Thanks,
--Nasser

Nasser M. Abbasi <nma123>

 

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 nma123 (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):

     

     

    No Changes Have Been Made to This Item
    Show feedback again

    Back to the top


    Powered by Savane 3.1-cleanup+gray