bugtex4ht - Bugs: bug #405, Using adjustbox in tex4ht does not...

 
 
Show feedback again

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

bug #405: Using adjustbox in tex4ht does not work. Is this known limitation?

Submitted by:  Nasser M. Abbasi <nma123>
Submitted on:  Tue Dec 4 02:26:25 2018  
 
Category: NonePriority: 5 - Normal
Severity: 3 - MinorStatus: None
Privacy: PublicAssigned to: None
Open/Closed: Closed

Mon Aug 19 01:20:35 2019, comment #2:

nothing to do re adjustbox package, it seems. closing.

Karl Berry <karl>
Project Administrator
Tue Dec 4 09:28:24 2018, comment #1:

I've posted an answer on TeX.sx. I will copy it here as well:

You are right, small piece of CSS can fix that:

\Preamble{xhtml}

\Css{li img{vertical-align:middle;}}
\begin{document}
\EndPreamble

tex4ht doesn't try to match visual appearance of the PDF version in HTML, so it is necessary to style it according to your needs sometimes.

Michal Hoftich <michal_h21>
Project Member
Tue Dec 4 02:26:25 2018, original submission:

From https://tex.stackexchange.com/questions/463080/using-adjustbox-in-tex4ht-does-not-work-is-this-known-limitation

This MWE

%-----------------------------
\documentclass[12pt]{article}
\usepackage{graphicx}
\usepackage[export]{adjustbox}

\begin{document}

\begin{enumerate}
\item A
\item B
\item C \includegraphics[width=2cm, valign= c]{example-image-a}
\item D
\item E
\end{enumerate}
\end{document}
%-----------------------------

Produces correct alignment in pdf, but not in HTML after doing make4ht foo.tex

Screen shot of HTML and PDF side by side at above link.

Is adjust box supposed to work with tex4ht? If not, is it possible to add support for it if that is not too hard?

TL 2018

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

     

     

    1 latest change follows.

    Date Changed By Updated Field Previous Value => Replaced By
    Mon Aug 19 01:20:35 2019karlOpen/ClosedOpen=>Closed
    Show feedback again

    Back to the top


    Powered by Savane 3.1-cleanup+gray