bugtex4ht - Bugs: bug #329, Package graphics Error: Division...

 
 
Show feedback again

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

bug #329: Package graphics Error: Division by 0. with tex4ht when using [dvipdfmx]{graphicx}

Submitted by:  Nasser M. Abbasi <nma123>
Submitted on:  Mon 11 Jul 2016 04:55:03 PM EEST  
 
Category: NonePriority: 5 - Normal
Severity: 5 - NormalStatus: None
Privacy: PublicAssigned to: None
Open/Closed: Open

Mon 11 Jul 2016 04:55:03 PM EEST, original submission:

Copy of this question posted here

http://tex.stackexchange.com/questions/318895/package-graphics-error-division-by-0-with-tex4ht-when-using-dvipdfmxgraphic

This MWE

\documentclass[11pt]{scrbook}%
\usepackage{graphicx}
\begin{document}
\includegraphics[width=0.95\textwidth]{image.png}
\end{document}

when compiled using

make4ht -e main.mk4 foo.tex

gives error

(/usr/local/texlive/2016/texmf-dist/tex/generic/tex4ht/html4-math.4ht))
(./foo.aux)

! Package graphics Error: Division by 0.

See the graphics package documentation for explanation.
Type H <return> for immediate help.
...

l.4 ...ludegraphics[width=0.95\textwidth]{image.png}
?

WIth TL 2016 under linux.

Attached is the png image and the main.mk4 file.

This happens only of few number of files. It compiles OK with pdflatex and lualatex and the image file can be viewed ok on its own.

Removing the width=... clears the error. Also compiling without main.mk4 removes the error.

Nasser M. Abbasi <nma123>

 

Attached Files
file #252:  image.png added by nma123 (5kB - image/png)
file #253:  main.mk4 added by nma123 (1kB - application/octet-stream)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -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):

     

     

    2 latest changes follow.

    Date Changed By Updated Field Previous Value => Replaced By
    Mon 11 Jul 2016 04:55:03 PM EESTnma123Attached File-=>Added image.png, #252
      Attached File-=>Added main.mk4, #253
    Show feedback again

    Back to the top


    Powered by Savane 3.1-cleanup+gray