From philippe.chauvat at laposte.net Thu Jan 12 12:01:37 2017 From: philippe.chauvat at laposte.net (Philippe Chauvat) Date: Thu, 12 Jan 2017 12:01:37 +0100 Subject: [l2h] Non standard class questions Message-ID: Hello there, I am investigating is bit deeper the usage of latex2html and I am facing some issues. So I have some questions 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. 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 From nma at 12000.org Thu Jan 12 18:06:51 2017 From: nma at 12000.org (Nasser M. Abbasi) Date: Thu, 12 Jan 2017 11:06:51 -0600 Subject: [l2h] Non standard class questions In-Reply-To: References: Message-ID: 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 > From jos at ccrma.stanford.edu Thu Jan 12 22:06:18 2017 From: jos at ccrma.stanford.edu (Julius Smith) Date: Thu, 12 Jan 2017 13:06:18 -0800 Subject: [l2h] Non standard class questions In-Reply-To: References: Message-ID: 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 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 Professor of Music and, by courtesy, Electrical Engineering CCRMA, Stanford University http://ccrma.stanford.edu/~jos/ -------------- next part -------------- An HTML attachment was scrubbed... URL: From wbackerman at gmail.com Sat Jan 21 04:30:15 2017 From: wbackerman at gmail.com (wba) Date: Fri, 20 Jan 2017 22:30:15 -0500 Subject: [l2h] I can't get it to work on Ubuntu 16.04; I must be doing something really stupid Message-ID: <3df76f34-2083-85e0-3a19-66c3e2601e88@gmail.com> I have a pdflatex job that has worked for years on Windows and Ubuntu. I just type "pdflatex c3a.tex" and everything works. But when I run "latex2html c3a.tex" I get, after all the usual noise: *********** WARNINGS *********** No implementation found for style `newcent' No implementation found for style `sd' No implementation found for style `sd-pf' No implementation found for style `sd-sf' No implementation found for style `splitphantom' No implementation found for style `triplediamond' No implementation found for style `sd-misc1' No implementation found for style `graphicx' No implementation found for style `hyperref' The file c3a.html is created, but it hasn't processed any of the defined commands, and appears to be little more than a copy of the source file. The four files sd*.sty, along with splitphantom.sty and triplediamond.sty are in the local directory. The other files--newcent, graphcix, and hyperref--are, I assume part of the standard latex distribution, since they work when I run pdflatex. The information in http://tug.org/mailman/listinfo/latex2html indicates that the latex2html manual can be found at http://www-texdev.ics.mq.edu.au/l2h/docs/manual/support_tf.html but that file is listed as "not found" by my browser. Can anyone help with this? From bob at mellowood.ca Sat Jan 21 18:36:48 2017 From: bob at mellowood.ca (Bob van der Poel) Date: Sat, 21 Jan 2017 10:36:48 -0700 Subject: [l2h] I can't get it to work on Ubuntu 16.04; I must be doing something really stupid In-Reply-To: <3df76f34-2083-85e0-3a19-66c3e2601e88@gmail.com> References: <3df76f34-2083-85e0-3a19-66c3e2601e88@gmail.com> Message-ID: Not sure if this helps at all. But, I'm running Ubuntu 16.10 and, after this report, figured that I better give latex2html a go. It's part of a non-trivial project I maintain. It worked just as expected. Just a suggestion in figuring out the problem: You use pdflatex and then latex2html. So, which one is generating the errors? On Fri, Jan 20, 2017 at 8:30 PM, wba wrote: > I have a pdflatex job that has worked for years on Windows and Ubuntu. I > just type "pdflatex c3a.tex" and everything works. But when I run > "latex2html c3a.tex" I get, after all the usual noise: > > *********** WARNINGS *********** > No implementation found for style `newcent' > No implementation found for style `sd' > No implementation found for style `sd-pf' > No implementation found for style `sd-sf' > No implementation found for style `splitphantom' > No implementation found for style `triplediamond' > No implementation found for style `sd-misc1' > No implementation found for style `graphicx' > No implementation found for style `hyperref' > > The file c3a.html is created, but it hasn't processed any of the defined > commands, and appears to be little more than a copy of the source file. > > The four files sd*.sty, along with splitphantom.sty and triplediamond.sty > are in the local directory. The other files--newcent, graphcix, and > hyperref--are, I assume part of the standard latex distribution, since they > work when I run pdflatex. > > The information in http://tug.org/mailman/listinfo/latex2html indicates > that the latex2html manual can be found at > http://www-texdev.ics.mq.edu.au/l2h/docs/manual/support_tf.html > but that file is listed as "not found" by my browser. > > Can anyone help with this? > > _______________________________________________ > latex2html mailing list > latex2html at tug.org > http://tug.org/mailman/listinfo/latex2html > -- **** Listen to my FREE CD at http://www.mellowood.ca/music/cedars **** Bob van der Poel ** Wynndel, British Columbia, CANADA ** EMAIL: bob at mellowood.ca WWW: http://www.mellowood.ca -------------- next part -------------- An HTML attachment was scrubbed... URL: From paulo at berkeley.edu Sun Jan 22 09:32:00 2017 From: paulo at berkeley.edu (Paulo Ney DE SOUZA) Date: Sun, 22 Jan 2017 00:32:00 -0800 Subject: [l2h] Installation conflict Message-ID: Today trying out some installation of the l2h code in the repository I met a rather unusual problem. I was wondering if anyone has experienced this. If you try to install latex2html from the sources at GitHub, with the sequence ./configure make make install and you do NOT have a local (personal) texmf tree -- the installation proceeds fine, and places a bunch of files from latex2htmlmaster/texinputs/ into /usr/local/texlive/texmf-local/tex/latex/html. Note: trying to install LaTeX2HTML style files in TeX directory tree (/usr/local/texlive/texmf-local/tex/latex/html) Info: Installed /usr/local/texlive/texmf-local/tex/latex/html/htmllist.sty Info: Installed /usr/local/texlive/texmf-local/tex/latex/html/html.sty Info: Installed /usr/local/texlive/texmf-local/tex/latex/html/techexplHTML.tex Info: Installed /usr/local/texlive/texmf-local/tex/latex/html/url.sty some of them extremely old (20 years old), but the problem never appears because the new files on /usr/share/texlive/texmf-dist/tex/latex/ take precedence and most stuff continues to work fine. On the other hand though if you HAVE a personal TeXMF tree, then the install script places the files in there: Note: trying to install LaTeX2HTML style files in TeX directory tree (/home/paulo/texmf/tex/latex/html) Info: Installed /home/paulo/texmf/tex/latex/html/frames.sty Info: Installed /home/paulo/texmf/tex/latex/html/verbatimfiles.sty Info: Installed /home/paulo/texmf/tex/latex/html/url.sty and these take precedence over the system files (with kpsewhich) and because of the old files a LOT of things break down with the TeX installation, including biblatex -- because of the old "url.sty". Three files are problematic because they share name space with files in the TeXLive distribution. Repo TeXLive 2016 floatflt.ins 1998/06/05 2008/03/17 url.sty 1999/03/02 2013/09/16 latin9.def 1999 2016 -------------- next part -------------- An HTML attachment was scrubbed... URL: From pauloney at gmail.com Sun Jan 22 09:29:40 2017 From: pauloney at gmail.com (Paulo Ney de Souza) Date: Sun, 22 Jan 2017 00:29:40 -0800 Subject: [l2h] l2h installation conflict Message-ID: Today trying out some installation of the l2h code in the repository I met a rather unusual problem. I was wondering if anyone has experienced this. If you try to install latex2html from the sources at GitHub, with the sequence ./configure make make install and you do NOT have a local (personal) texmf tree -- the installation proceeds fine, and places a bunch of files from latex2htmlmaster/texinputs/ into /usr/local/texlive/texmf-local/tex/latex/html. Note: trying to install LaTeX2HTML style files in TeX directory tree (/usr/local/texlive/texmf-local/tex/latex/html) Info: Installed /usr/local/texlive/texmf-local/tex/latex/html/htmllist.sty Info: Installed /usr/local/texlive/texmf-local/tex/latex/html/html.sty Info: Installed /usr/local/texlive/texmf-local/tex/latex/html/techexplHTML.tex Info: Installed /usr/local/texlive/texmf-local/tex/latex/html/url.sty some of them extremely old (20 years old), but the problem never appears because the new files on /usr/share/texlive/texmf-dist/tex/latex/ take precedence and most stuff continues to work fine. On the other hand though if you HAVE a personal TeXMF tree, then the install script places the files in there: Note: trying to install LaTeX2HTML style files in TeX directory tree (/home/paulo/texmf/tex/latex/html) Info: Installed /home/paulo/texmf/tex/latex/html/frames.sty Info: Installed /home/paulo/texmf/tex/latex/html/verbatimfiles.sty Info: Installed /home/paulo/texmf/tex/latex/html/url.sty and these take precedence over the system files (with kpsewhich) and because of the old files a LOT of things break down with the TeX installation, including biblatex -- because of the old "url.sty". Three files are problematic because they share name space with files in the TeXLive distribution. Repo TeXLive 2016 floatflt.ins 1998/06/05 2008/03/17 url.sty 1999/03/02 2013/09/16 latin9.def 1999 2016 Paulo Ney -------------- next part -------------- An HTML attachment was scrubbed... URL: