[l2h] Non standard class questions

Julius Smith jos at ccrma.stanford.edu
Thu Jan 12 22:06:18 CET 2017


Another good one is HeVeA.  There is also TtM and LaTeXML.

I still use latex2html, but since perl5 there have been more problems than
I have time to track down and work around.

The biggest problem for me right now is that a comment on its own line is
removed WITH its newline as well, causing loss of any TeX command at end of
previous line due to concatenation with following line.  I think it has to
do with incompatible evolution in perl regarding statements like

        s/((\n$comment_mark\d*)+\n)//gm;

I have been able to repair some instances of this problem but not all.  My
(weak) progress is at

        https://github.com/josmithiii/l2hmj.git

and here are too small failing examples in case anyone is interested:

% l2h bug: comment in eqn comes out as ``< tex2html_comment_mark >''
\beqnopt
y(n) \eqsp \langle x, \shift_n[\flip(h)] \rangle. % \qquad\hbox{($h$ real)}
\eeqnopt

% l2h bug: HTML includes ``<15579>>''
% Rev2: Summarize this somewhere
\nocite{Nikolic02}

To make the 2nd bug go away, introduce a blank line after the comments.

- jos

On Thu, Jan 12, 2017 at 9:06 AM, Nasser M. Abbasi <nma at 12000.org> wrote:
>
> On 1/12/2017 5:01 AM, Philippe Chauvat wrote:
>>
>> Hello there,
>
>
>>
>> a) I would be sure latex2html is still a good idea when it comes to
>> convert LaTeX files to HTML. If not please let me know how you would
>> suggest to proceed.
>>
>
> If you can't get your latex class to work with l2h, you could try
> tex4ht.
>
> --Nasser
>
>
>> b) I am using a non standard class and therefore I tried to figure out
>> how to add it into the latex2html process. So far, my understanding is
>> that I need to define a myclass.perl file (assuming my non standard
>> class is named myclass) and put it into the styles directory. Am I right
?
>>
>> c) Assuming the (b) is yes, I wrote the mylcass.perl file. Into that
>> class, I have some "RequirePackage" lines and I realized the related
>> packages are not loaded? Am I doing something wrong ? How do I need to
>> proceed to have these packages loaded automatically by the latex2html
>> process?
>>
>> d) I should have to begin with this, probably,; is there any
>> "programming manual" for latex2html?
>>
>> Thanks in advance for your help!
>> Philippe
>> _______________________________________________
>> latex2html mailing list
>> latex2html at tug.org
>> http://tug.org/mailman/listinfo/latex2html
>>
>
> _______________________________________________
> latex2html mailing list
> latex2html at tug.org
> http://tug.org/mailman/listinfo/latex2html




--

Julius O. Smith III <jos at ccrma.stanford.edu>
Professor of Music and, by courtesy, Electrical Engineering
CCRMA, Stanford University
http://ccrma.stanford.edu/~jos/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://tug.org/pipermail/latex2html/attachments/20170112/2a0782ba/attachment.html>


More information about the latex2html mailing list