bugtex4ht - Bugs: bug #224, package empheq does not work with...

 
 
Show feedback again

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

bug #224: package empheq does not work with tex4ht, ! Missing } inserted

Submitted by:  Nasser M. Abbasi <nma123>
Submitted on:  Thu 31 Jul 2014 12:43:20 PM EEST  
 
Category: NonePriority: 5 - Normal
Severity: 3 - MinorStatus: None
Privacy: PublicAssigned to: None
Open/Closed: Open

Tue 05 Aug 2014 02:28:48 AM EEST, comment #2:

test comment with a backslash: \ (that was it).

Karl Berry <karl>
Project Administrator
Thu 31 Jul 2014 01:14:46 PM EEST, comment #1:

After some trial and error and lots of googling, I found this solution, which puts a box around equations and does work in htlatex and pdflatex. This uses array and fbox. This can be a workaround until empheq works with htlatex

\documentclass[12pt]{article}
\usepackage{amsmath,mathtools}
\begin{document}
\[
\boxed{
\begin{array}{rl}
x &= y \\
2 x &= z
\end{array}
}
\]
\end{document}

Nasser M. Abbasi <nma123>
Thu 31 Jul 2014 12:43:20 PM EEST, original submission:

This MWE compiles ok with pdflatex, but gives an error with tex4ht

\documentclass[12pt]{article}
\usepackage{amsmath,mathtools}
\usepackage{empheq}

\begin{document}
\begin{empheq}{align*}
x & = y \\
2 x & = 2 y
\end{empheq}

\end{document}

(/usr/local/texlive/2014/texmf-dist/tex/latex/graphics/dvips.def)))
Overfull \hbox (8151.60806pt too wide) detected at line 9
[][][][][][][][][][]
! Missing } inserted.
<inserted text>
}
l.9 \end{empheq}

?

Using texlive 2014 on Linux

>pdflatex --version

pdfTeX 3.14159265-2.6-1.40.15 (TeX Live 2014)
kpathsea version 6.2.0
Copyright 2014 Peter Breitenlohner (eTeX)/Han The Thanh (pdfTeX).
There is NO warranty. Redistribution of this software is
covered by the terms of both the pdfTeX copyright and
the Lesser GNU General Public License.
For more information about these matters, see the file
named COPYING and the pdfTeX source.
Primary author of pdfTeX: Peter Breitenlohner (eTeX)/Han The Thanh (pdfTeX).
Compiled with libpng 1.6.10; using libpng 1.6.10
Compiled with zlib 1.2.8; using zlib 1.2.8
Compiled with xpdf version 3.03

>

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 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