bugtex4ht - Bugs: bug #613, Problem using tex4ht with...

 
 
Show feedback again

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

bug #613: Problem using tex4ht with algpseudocodex package when adding indent guide lines

Submitted by:  Nasser M. Abbasi <nma123>
Submitted on:  Sat Oct 21 10:28:56 2023  
 
Category: NonePriority: 5 - Normal
Severity: 5 - NormalStatus: None
Privacy: PublicAssigned to: None
Open/Closed: Open

Sat Oct 21 10:28:56 2023, original submission:

reference and screen shots at

https://tex.stackexchange.com/questions/699129/problem-using-tex4ht-with-algpseudocodex-package-when-adding-indent-guide-lines

When using https://ctan.org/pkg/algpseudocodex?lang=en with tex4ht and using guide lines, then tex4ht generates image files which are empty or invalid and this result on the web page that looks like this

enter image description here

While the pdf look like this

enter image description here

I am using latest TL 2023 updated now.

Here is the code for the above

---------------------------
\documentclass{article}
\usepackage{amsmath}
\usepackage[noEnd=false, indLines=true ]{algpseudocodex}
\usepackage{algorithm}

\begin{document}
\begin{algorithm}
\caption{Series method for first order ode}\label{seriesMethodFirstOrderOde}
\begin{algorithmic}[0]
\Require First order ode $F(x,y,y')=0$
%
\If{$f(x,y)$ analytic at $x_0$}
\State Apply Taylor series defintion directly to find the series expansion. Let
\Else
\State do something else
\EndIf
\end{algorithmic}
\end{algorithm}
\end{document}
-----------------

Compiled using

make4ht -ulm default -a debug foo.tex "mathjax,htm,nostyle"

The solution is to replace indLines=true with indLines=false when compiling with tex4ht. Now it gives this html

enter image description here

So the guide lines are giving tex4ht hard time. It is generating lots of empty or invalid .svg images for these lines and that why the browser shows these dots on the page.

Is it possible to have the guide line show in html also like in PDF? If not, may be tex4ht can ignore this option?

TL 2023.

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