From prabha at strandls.com Wed Feb 1 11:37:35 2012 From: prabha at strandls.com (R. Prabhakar) Date: Wed, 01 Feb 2012 16:07:35 +0530 Subject: [l2h] problem with latex2html figure numbers Message-ID: <4F2915EF.3020807@strandls.com> Hi, I am unable to get an automatically generated hyper-linked figure number for references to figures in the html document. The links and the figure numbers are fine in the pdf document. Thanks for your help Prabhakar From ross.moore at mq.edu.au Wed Feb 1 20:55:14 2012 From: ross.moore at mq.edu.au (Ross Moore) Date: Thu, 2 Feb 2012 06:55:14 +1100 Subject: [l2h] problem with latex2html figure numbers In-Reply-To: <4F2915EF.3020807@strandls.com> References: <4F2915EF.3020807@strandls.com> Message-ID: <78BE2D3F-5EB4-4C32-A6CB-0813FCF0E823@mq.edu.au> Hello Prabhakar, On 01/02/2012, at 9:37 PM, R. Prabhakar wrote: > Hi, > > I am unable to get an automatically generated hyper-linked figure number for references to figures in the html document. The links and the figure numbers are fine in the pdf document. LaTeX2HTML gets the strings to use with figure numbers from the .aux file produced when you run LaTeX (or pdf-LaTeX) on the same job, to produce the PDF file. If your work-flow is such that you remove the .aux file once satisfied that the PDF is complete, then it will no longer be available for LaTeX2HTML to use when making the HTML pages. Or if you have never checked that your document typesets fine, and just process it for HTML, then there will be no .aux file, and hyperlinking of cross-references to Figures just cannot work. If either of these possible causes applies to your situation, perhaps only partially, then hopefully you have your answer. Otherwise, please provide more information about how you work. This should include a web address where the results of your processing can be accessed via the internet. Best is to use -debug as an option to LaTeX2HTML, so that all of the intermediate files are retained and should also be accessible within the same directory tree. > > Thanks for your help > > Prabhakar Hope this helps, Ross ------------------------------------------------------------------------ Ross Moore ross.moore at mq.edu.au Mathematics Department office: E7A-419 Macquarie University tel: +61 (0)2 9850 8955 Sydney, Australia 2109 fax: +61 (0)2 9850 8114 ------------------------------------------------------------------------ From prabha at strandls.com Thu Feb 2 02:39:31 2012 From: prabha at strandls.com (R. Prabhakar) Date: Thu, 02 Feb 2012 07:09:31 +0530 Subject: [l2h] problem with latex2html figure numbers In-Reply-To: <78BE2D3F-5EB4-4C32-A6CB-0813FCF0E823@mq.edu.au> Message-ID: <4779-4f29e980-5-22fd0b80@144717004> Dear Ross, Thank you very much for your response. I have always got support on this list. The issue is that in the pdf document, the figure numbers are present and they are hyperlinked to the figure correctly. In the html document, the the figure numbers are not there, but, there an empty button image (without any number) and this is linked to the figure. If you click on the button, it goes correctly to the figure. We would like the figure number here. Can provide the files to you if needed and the run script. Thanks Prabhakar On Thursday, February 2, 2012 01:25 IST, Ross Moore wrote: > Hello Prabhakar, > > On 01/02/2012, at 9:37 PM, R. Prabhakar wrote: > > > Hi, > > > > I am unable to get an automatically generated hyper-linked figure number for references to figures in the html document. The links and the figure numbers are fine in the pdf document. > > LaTeX2HTML gets the strings to use with figure numbers from the > .aux file produced when you run LaTeX (or pdf-LaTeX) on the > same job, to produce the PDF file. > > If your work-flow is such that you remove the .aux file once > satisfied that the PDF is complete, then it will no longer > be available for LaTeX2HTML to use when making the HTML pages. > > Or if you have never checked that your document typesets fine, > and just process it for HTML, then there will be no .aux file, > and hyperlinking of cross-references to Figures just cannot work. > > > If either of these possible causes applies to your situation, > perhaps only partially, then hopefully you have your answer. > Otherwise, please provide more information about how you work. > This should include a web address where the results of your > processing can be accessed via the internet. > Best is to use -debug as an option to LaTeX2HTML, so that > all of the intermediate files are retained and should also be > accessible within the same directory tree. > > > > > Thanks for your help > > > > Prabhakar > > > Hope this helps, > > Ross > > ------------------------------------------------------------------------ > Ross Moore ross.moore at mq.edu.au > Mathematics Department office: E7A-419 > Macquarie University tel: +61 (0)2 9850 8955 > Sydney, Australia 2109 fax: +61 (0)2 9850 8114 > ------------------------------------------------------------------------ > > > From prabha at strandls.com Thu Feb 2 12:26:49 2012 From: prabha at strandls.com (R. Prabhakar) Date: Thu, 02 Feb 2012 16:56:49 +0530 Subject: [l2h] problem with latex2html figure numbers In-Reply-To: <4779-4f29e980-5-22fd0b80@144717004> References: <4779-4f29e980-5-22fd0b80@144717004> Message-ID: <4F2A72F9.6060308@strandls.com> Dear Ross, Thanks for your help. Got the links as per your advise. Prabhakar On Thursday 02 February 2012 07:09 AM, R. Prabhakar wrote: > Dear Ross, > > Thank you very much for your response. > I have always got support on this list. > > The issue is that in the pdf document, > the figure numbers are present and they > are hyperlinked to the figure correctly. > > In the html document, the the figure numbers > are not there, but, there an empty > button image (without any number) and > this is linked to the figure. If you click on > the button, it goes correctly to the figure. > We would like the figure number here. > > Can provide the files to you if needed and the > run script. > > Thanks > > Prabhakar > > > > > On Thursday, February 2, 2012 01:25 IST, Ross Moore wrote: > >> Hello Prabhakar, >> >> On 01/02/2012, at 9:37 PM, R. Prabhakar wrote: >> >>> Hi, >>> >>> I am unable to get an automatically generated hyper-linked figure number for references to figures in the html document. The links and the figure numbers are fine in the pdf document. >> LaTeX2HTML gets the strings to use with figure numbers from the >> .aux file produced when you run LaTeX (or pdf-LaTeX) on the >> same job, to produce the PDF file. >> >> If your work-flow is such that you remove the .aux file once >> satisfied that the PDF is complete, then it will no longer >> be available for LaTeX2HTML to use when making the HTML pages. >> >> Or if you have never checked that your document typesets fine, >> and just process it for HTML, then there will be no .aux file, >> and hyperlinking of cross-references to Figures just cannot work. >> >> >> If either of these possible causes applies to your situation, >> perhaps only partially, then hopefully you have your answer. >> Otherwise, please provide more information about how you work. >> This should include a web address where the results of your >> processing can be accessed via the internet. >> Best is to use -debug as an option to LaTeX2HTML, so that >> all of the intermediate files are retained and should also be >> accessible within the same directory tree. >> >>> Thanks for your help >>> >>> Prabhakar >> >> Hope this helps, >> >> Ross >> >> ------------------------------------------------------------------------ >> Ross Moore ross.moore at mq.edu.au >> Mathematics Department office: E7A-419 >> Macquarie University tel: +61 (0)2 9850 8955 >> Sydney, Australia 2109 fax: +61 (0)2 9850 8114 >> ------------------------------------------------------------------------ >> >> >> > > > > From nma at 12000.org Wed Feb 8 14:14:54 2012 From: nma at 12000.org (Nasser M. Abbasi) Date: Wed, 08 Feb 2012 07:14:54 -0600 Subject: [l2h] best way to handle \htmladdnormallink with underscore names ? In-Reply-To: References: <4F1D3AD5.8010702@simpack.de> <20120123201742.10F6E60128@mx.nfit.au.dk> <7A274947-9031-4DC1-9A35-A8FA957F9889@mq.edu.au> <4F1EA3F6.7020903@simpack.de>, <016689FC-A4CF-47B3-9880-4202F7E68A4B@mq.edu.au> <423BDDEBF7D80B44B32886CD6FCF545B015CC6A2D84F@exchange> Message-ID: <4F32754E.4030302@12000.org> this is on linux and using l2h : 2008 (1.71) when I write \htmladdnormallink{a_b_c_d_e.m}{a_b_c_d_e.m} I get error about missing $ becuase it think it is math. So I end up writing \htmladdnormallink{a\_b\_c\_d\_e.m}{a_b_c_d_e.m} is there a way to avoid having to do this all the time? I have lots of links with large names with lots of underscore names like this. what is the best way to handle this? thanks --Nasser From nma at 12000.org Thu Feb 9 01:30:39 2012 From: nma at 12000.org (Nasser M. Abbasi) Date: Wed, 08 Feb 2012 18:30:39 -0600 Subject: [l2h] best way to handle \htmladdnormallink with underscore names ? In-Reply-To: <847B7C4E-40BE-4294-9FAD-208B244C2916@mq.edu.au> References: <4F1D3AD5.8010702@simpack.de> <20120123201742.10F6E60128@mx.nfit.au.dk> <7A274947-9031-4DC1-9A35-A8FA957F9889@mq.edu.au> <4F1EA3F6.7020903@simpack.de>, <016689FC-A4CF-47B3-9880-4202F7E68A4B@mq.edu.au> <423BDDEBF7D80B44B32886CD6FCF545B015CC6A2D84F@exchange> <4F32754E.4030302@12000.org> <847B7C4E-40BE-4294-9FAD-208B244C2916@mq.edu.au> Message-ID: <4F3313AF.2070804@12000.org> On 2/8/2012 1:09 PM, Ross Moore wrote: > Hello Nasser, > > On 09/02/2012, at 12:14 AM, Nasser M. Abbasi wrote: > >> this is on linux and using l2h : 2008 (1.71) >> >> when I write >> >> \htmladdnormallink{a_b_c_d_e.m}{a_b_c_d_e.m} >> >> I get error about missing $ becuase it think it is math. > And so it is, in the LaTeX part. > > Why not use \htmlurl or \url ? > These just take a single argument. > Thanks Ross for the answer. Actually this whole url business with l2h is confusing to me, I need to try to find one canonical setup for it and use it. Here is why, If I just do \documentclass[12pt]{article} \usepackage{html} \begin{document} \url{a_b.c} \end{document} I get the same message about missing $. I click 'q' and let it go on, then look at the html output and the links are there OK. If I add hyperref \documentclass[12pt]{article} \usepackage{html} \usepackage{hyperref} \begin{document} \url{a_b.c} \end{document} then I DO not get error about $ but l2h says: *********** WARNINGS *********** No implementation found for style `hyperref' I also know that \href{}{} gave me problems before, I do not know what those were, but in my notes, I said not to use it. So that is why I was using \htmladdnormallink all the time, since at least it was working except for this issue. But I like \url more, so I am just ignoring the error about No implementation found, since it seems to work any way and I do not get the error about the missing $. > You are loading \usepackage{html} as advised for > all LaTeX2HTML jobs? > yes ofocurse, it is the first thing I listed on my l2h setup page: http://12000.org/my_notes/l2hwin/index.htm#SECTION00033000000000000000 regards, --Nasser >> So I end up writing >> >> >> \htmladdnormallink{a\_b\_c\_d\_e.m}{a_b_c_d_e.m} >> >> is there a way to avoid having to do this all the time? I have lots of >> links with large names with lots of underscore names like this. >> >> what is the best way to handle this? >> >> thanks >> --Nasser > > > > Hope this helps, > > Ross > > ------------------------------------------------------------------------ > Ross Moore ross.moore at mq.edu.au > Mathematics Department office: E7A-419 > Macquarie University tel: +61 (0)2 9850 8955 > Sydney, Australia 2109 fax: +61 (0)2 9850 8114 > ------------------------------------------------------------------------ > > > > From nma at 12000.org Thu Feb 9 01:56:48 2012 From: nma at 12000.org (Nasser M. Abbasi) Date: Wed, 08 Feb 2012 18:56:48 -0600 Subject: [l2h] How to generate a table using latex2html without horizontal lines between rows? In-Reply-To: <4F3313AF.2070804@12000.org> References: <4F1D3AD5.8010702@simpack.de> <20120123201742.10F6E60128@mx.nfit.au.dk> <7A274947-9031-4DC1-9A35-A8FA957F9889@mq.edu.au> <4F1EA3F6.7020903@simpack.de>, <016689FC-A4CF-47B3-9880-4202F7E68A4B@mq.edu.au> <423BDDEBF7D80B44B32886CD6FCF545B015CC6A2D84F@exchange> <4F32754E.4030302@12000.org> <847B7C4E-40BE-4294-9FAD-208B244C2916@mq.edu.au> <4F3313AF.2070804@12000.org> Message-ID: <4F3319D0.8090001@12000.org> hello; I'd like to make a table, where I insert my own \hrule between rows when I want to, because I'd like to group some rows together, But l2h seems to generate horizontal rule in the html table between each row even thought in latex this line is missing. Here is an example ---------- foo.tex ------- \documentclass[12pt]{article} \usepackage{html} \begin{document} \begin{tabular}{|l | l|} a&b\\ c&d\\ \end{tabular} \end{document} ---------------- latex2html foo.tex pdf2latex foo.tex I see the pdf has no horizontal lines, but the html does. What is the correct way to do this in l2h? I am using 2008 v 1.71 thanks, --Nasser From nma at 12000.org Thu Feb 9 02:23:55 2012 From: nma at 12000.org (Nasser M. Abbasi) Date: Wed, 08 Feb 2012 19:23:55 -0600 Subject: [l2h] How to generate a table using latex2html without horizontal lines between rows? In-Reply-To: <4F3319D0.8090001@12000.org> References: <4F1D3AD5.8010702@simpack.de> <20120123201742.10F6E60128@mx.nfit.au.dk> <7A274947-9031-4DC1-9A35-A8FA957F9889@mq.edu.au> <4F1EA3F6.7020903@simpack.de>, <016689FC-A4CF-47B3-9880-4202F7E68A4B@mq.edu.au> <423BDDEBF7D80B44B32886CD6FCF545B015CC6A2D84F@exchange> <4F32754E.4030302@12000.org> <847B7C4E-40BE-4294-9FAD-208B244C2916@mq.edu.au> <4F3313AF.2070804@12000.org> <4F3319D0.8090001@12000.org> Message-ID: <4F33202B.3050308@12000.org> On 2/8/2012 6:56 PM, Nasser M. Abbasi wrote: > hello; > > I'd like to make a table, where I insert my own \hrule between > rows when I want to, because I'd like to group some rows together, > But l2h seems to generate horizontal rule in the html table > between each row even thought in latex this line is missing. > > Here is an example > > ---------- foo.tex ------- > \documentclass[12pt]{article} > \usepackage{html} > \begin{document} > > \begin{tabular}{|l | l|} > a&b\\ > c&d\\ > \end{tabular} > > \end{document} > ---------------- > > latex2html foo.tex > pdf2latex foo.tex > > I see the pdf has no horizontal lines, but the html does. > > What is the correct way to do this in l2h? > > I am using 2008 v 1.71 > > thanks, > --Nasser btw, the only trick I know about is to use makeimage, but this means the hyperlinks I have inside the table are lost, since one can not click on them any more. Here is an example: -------------------------------- \documentclass[12pt]{article} \usepackage{html} \usepackage{hyperref} \begin{document} \begin{makeimage} \begin{tabular}{|l | l| } a&b\\ c&d\\ \url{http://12000.org/my_notes/l2hwin/index.htm}&e\\ \end{tabular} \end{makeimage} \end{document} ------------------------------- and now the table does come up ok, with no horizontal lines, but it is an image, and the link is not clickable ofcourse. The whole table is rendered as image. So I am looking for a different solution. thanks, --Nasser From sunil at strandls.com Thu Feb 9 05:45:01 2012 From: sunil at strandls.com (Sunil C. Cherukuri) Date: Thu, 09 Feb 2012 10:15:01 +0530 Subject: [l2h] How to generate a table using latex2html without horizontal lines between rows? In-Reply-To: <4F33202B.3050308@12000.org> References: <4F1D3AD5.8010702@simpack.de> <20120123201742.10F6E60128@mx.nfit.au.dk> <7A274947-9031-4DC1-9A35-A8FA957F9889@mq.edu.au> <4F1EA3F6.7020903@simpack.de>, <016689FC-A4CF-47B3-9880-4202F7E68A4B@mq.edu.au> <423BDDEBF7D80B44B32886CD6FCF545B015CC6A2D84F@exchange> <4F32754E.4030302@12000.org> <847B7C4E-40BE-4294-9FAD-208B244C2916@mq.edu.au> <4F3313AF.2070804@12000.org> <4F3319D0.8090001@12000.org> <4F33202B.3050308@12000.org> Message-ID: <4F334F4D.7020109@strandls.com> Hi Naseer, I too face a similar problem where the PDF output is a s desired from the latex code, whereas, the html has all the horizontal and vertical lines. Looking forward for a solution. Than you and regards, - Sunil On 2/9/2012 6:53 AM, Nasser M. Abbasi wrote: > On 2/8/2012 6:56 PM, Nasser M. Abbasi wrote: >> hello; >> >> I'd like to make a table, where I insert my own \hrule between >> rows when I want to, because I'd like to group some rows together, >> But l2h seems to generate horizontal rule in the html table >> between each row even thought in latex this line is missing. >> >> Here is an example >> >> ---------- foo.tex ------- >> \documentclass[12pt]{article} >> \usepackage{html} >> \begin{document} >> >> \begin{tabular}{|l | l|} >> a&b\\ >> c&d\\ >> \end{tabular} >> >> \end{document} >> ---------------- >> >> latex2html foo.tex >> pdf2latex foo.tex >> >> I see the pdf has no horizontal lines, but the html does. >> >> What is the correct way to do this in l2h? >> >> I am using 2008 v 1.71 >> >> thanks, >> --Nasser > > > btw, the only trick I know about is to use makeimage, but this > means the hyperlinks I have inside the table are lost, since one > can not click on them any more. Here is an example: > > -------------------------------- > \documentclass[12pt]{article} > \usepackage{html} > \usepackage{hyperref} > \begin{document} > > \begin{makeimage} > \begin{tabular}{|l | l| } > a&b\\ > c&d\\ > \url{http://12000.org/my_notes/l2hwin/index.htm}&e\\ > \end{tabular} > \end{makeimage} > > \end{document} > ------------------------------- > > and now the table does come up ok, with no horizontal > lines, but it is an image, and the link is not clickable > ofcourse. The whole table is rendered as image. > > So I am looking for a different solution. > > thanks, > --Nasser > > > _______________________________________________ > latex2html mailing list > latex2html at tug.org > http://tug.org/mailman/listinfo/latex2html -- Regards, Sunil C. -------------- next part -------------- An HTML attachment was scrubbed... URL: From ross.moore at mq.edu.au Thu Feb 9 07:22:10 2012 From: ross.moore at mq.edu.au (Ross Moore) Date: Thu, 9 Feb 2012 17:22:10 +1100 Subject: [l2h] best way to handle \htmladdnormallink with underscore names ? In-Reply-To: <4F3313AF.2070804@12000.org> References: <4F1D3AD5.8010702@simpack.de> <20120123201742.10F6E60128@mx.nfit.au.dk> <7A274947-9031-4DC1-9A35-A8FA957F9889@mq.edu.au> <4F1EA3F6.7020903@simpack.de>, <016689FC-A4CF-47B3-9880-4202F7E68A4B@mq.edu.au> <423BDDEBF7D80B44B32886CD6FCF545B015CC6A2D84F@exchange> <4F32754E.4030302@12000.org> <847B7C4E-40BE-4294-9FAD-208B244C2916@mq.edu.au> <4F3313AF.2070804@12000.org> Message-ID: Hi Nasser, On 09/02/2012, at 11:30 AM, Nasser M. Abbasi wrote: > On 2/8/2012 1:09 PM, Ross Moore wrote: >> Hello Nasser, >> >> On 09/02/2012, at 12:14 AM, Nasser M. Abbasi wrote: >> >>> this is on linux and using l2h : 2008 (1.71) >>> >>> when I write >>> >>> \htmladdnormallink{a_b_c_d_e.m}{a_b_c_d_e.m} >>> >>> I get error about missing $ becuase it think it is math. >> And so it is, in the LaTeX part. >> >> Why not use \htmlurl or \url ? >> These just take a single argument. >> > > Thanks Ross for the answer. > > Actually this whole url business with l2h is confusing to me, > I need to try to find one canonical setup for it and use it. > > Here is why, If I just do > > \documentclass[12pt]{article} > \usepackage{html} > \begin{document} > \url{a_b.c} > \end{document} > > I get the same message about missing $. I click 'q' and > let it go on, then look at the html output and the links are > there OK. > > If I add hyperref > > \documentclass[12pt]{article} > \usepackage{html} > \usepackage{hyperref} Try swapping the loading order: \usepackage{hyperref} \usepackage{html} html.sty has coding that adjusts to what hyperref has already setup. > \begin{document} > \url{a_b.c} > \end{document} > > then I DO not get error about $ but l2h says: > > *********** WARNINGS *********** > No implementation found for style `hyperref' > > I also know that \href{}{} gave me problems before, I do not know > what those were, but in my notes, I said not to use it. > > So that is why I was using \htmladdnormallink all the time, since > at least it was working except for this issue. > > But I like \url more, so I am just ignoring the error about > No implementation found, since it seems to work any way and > I do not get the error about the missing $. > >> You are loading \usepackage{html} as advised for >> all LaTeX2HTML jobs? >> > > yes ofocurse, it is the first thing I listed on my l2h setup page: > > http://12000.org/my_notes/l2hwin/index.htm#SECTION00033000000000000000 > > regards, > --Nasser Cheers, Ross ------------------------------------------------------------------------ Ross Moore ross.moore at mq.edu.au Mathematics Department office: E7A-419 Macquarie University tel: +61 (0)2 9850 8955 Sydney, Australia 2109 fax: +61 (0)2 9850 8114 ------------------------------------------------------------------------ From shige at iee.niit.ac.jp Thu Feb 9 07:47:09 2012 From: shige at iee.niit.ac.jp (Shigeharu TAKENO) Date: Thu, 9 Feb 2012 15:47:09 +0900 (JST) Subject: [l2h] How to generate a table using latex2html without horizontal lines between rows? In-Reply-To: <4F33202B.3050308@12000.org> References: <4F33202B.3050308@12000.org> Message-ID: <201202090647.q196l9lA007774@pc98tak.iee.niit.ac.jp> shige 02/09 2012 ---------------- "Nasser M. Abbasi" wrote: > btw, the only trick I know about is to use makeimage, but this > means the hyperlinks I have inside the table are lost, since one > can not click on them any more. Here is an example: May the following message help you ? http://tug.org/pipermail/latex2html/2011-March/003758.html +========================================================+ Shigeharu TAKENO NIigata Institute of Technology kashiwazaki,Niigata 945-1195 JAPAN shige at iee.niit.ac.jp TEL(&FAX): +81-257-22-8161 +========================================================+ From nma at 12000.org Thu Feb 9 07:56:55 2012 From: nma at 12000.org (Nasser M. Abbasi) Date: Thu, 09 Feb 2012 00:56:55 -0600 Subject: [l2h] How to generate a table using latex2html without horizontal lines between rows? In-Reply-To: <201202090647.q196l9lA007774@pc98tak.iee.niit.ac.jp> References: <4F33202B.3050308@12000.org> <201202090647.q196l9lA007774@pc98tak.iee.niit.ac.jp> Message-ID: <4F336E37.6010803@12000.org> On 2/9/2012 12:47 AM, Shigeharu TAKENO wrote: > shige 02/09 2012 > ---------------- > > "Nasser M. Abbasi" wrote: >> btw, the only trick I know about is to use makeimage, but this >> means the hyperlinks I have inside the table are lost, since one >> can not click on them any more. Here is an example: > > May the following message help you ? > > http://tug.org/pipermail/latex2html/2011-March/003758.html > Thank you, but as I said in the followup that I can't use the trick shown since it renders the whole table as an image. This means the links are lost. Also, when a table is rendered as an image, then one can't copy by mouse any text from inside the table if they wanted to using the mouse, which can be useful sometimes. So unfortunately the solutions given in the above message do not really work for what I am doing. regards, --Nasser From nma at 12000.org Thu Feb 9 12:26:33 2012 From: nma at 12000.org (Nasser M. Abbasi) Date: Thu, 09 Feb 2012 05:26:33 -0600 Subject: [l2h] best way to handle \htmladdnormallink with underscore names ? In-Reply-To: References: <4F1D3AD5.8010702@simpack.de> <20120123201742.10F6E60128@mx.nfit.au.dk> <7A274947-9031-4DC1-9A35-A8FA957F9889@mq.edu.au> <4F1EA3F6.7020903@simpack.de>, <016689FC-A4CF-47B3-9880-4202F7E68A4B@mq.edu.au> <423BDDEBF7D80B44B32886CD6FCF545B015CC6A2D84F@exchange> <4F32754E.4030302@12000.org> <847B7C4E-40BE-4294-9FAD-208B244C2916@mq.edu.au> <4F3313AF.2070804@12000.org> Message-ID: <4F33AD69.6080906@12000.org> On 2/9/2012 12:22 AM, Ross Moore wrote: > > Try swapping the loading order: > > \usepackage{hyperref} > \usepackage{html} > > > html.sty has coding that adjusts to what hyperref > has already setup. > > When I did the above, now I get this error: ---------------------------------------------- (/usr/share/texmf/tex/latex/psnfss/upsy.fd))) (./html.sty ./html.sty:39: LaTeX Error: Command \htmladdnormallinkfoot already defined. Or name \end... illegal, see p.192 of the manual. See the LaTeX manual or LaTeX Companion for explanation. Type H for immediate help. ... l.39 ...htmladdnormallinkfoot}[2]{#1\footnote{#2}} ------------------------------------------------ putting html before hyperref removes the error. I am using: -------------------------------- $ latex2html -v $* is no longer supported at /usr/local/bin/latex2html line 10588. Note: Loading /home/me/.latex2html-init Note: Initialising with file: /home/me/.latex2html-init This is LaTeX2HTML Version 2008 (1.71) by Nikos Drakos, Computer Based Learning Unit, University of Leeds. -------------------------------------------- thanks, --Nasser From nma at 12000.org Thu Feb 9 14:09:11 2012 From: nma at 12000.org (Nasser M. Abbasi) Date: Thu, 09 Feb 2012 07:09:11 -0600 Subject: [l2h] best way to handle \htmladdnormallink with underscore names ? In-Reply-To: <4F33AD69.6080906@12000.org> References: <4F1D3AD5.8010702@simpack.de> <20120123201742.10F6E60128@mx.nfit.au.dk> <7A274947-9031-4DC1-9A35-A8FA957F9889@mq.edu.au> <4F1EA3F6.7020903@simpack.de>, <016689FC-A4CF-47B3-9880-4202F7E68A4B@mq.edu.au> <423BDDEBF7D80B44B32886CD6FCF545B015CC6A2D84F@exchange> <4F32754E.4030302@12000.org> <847B7C4E-40BE-4294-9FAD-208B244C2916@mq.edu.au> <4F3313AF.2070804@12000.org> <4F33AD69.6080906@12000.org> Message-ID: <4F33C577.8050807@12000.org> On 2/9/2012 5:26 AM, Nasser M. Abbasi wrote: > On 2/9/2012 12:22 AM, Ross Moore wrote: > >> >> Try swapping the loading order: >> >> \usepackage{hyperref} >> \usepackage{html} >> >> >> html.sty has coding that adjusts to what hyperref >> has already setup. >> >> > > When I did the above, now I get this error: > > ---------------------------------------------- > (/usr/share/texmf/tex/latex/psnfss/upsy.fd))) (./html.sty > > ./html.sty:39: LaTeX Error: Command \htmladdnormallinkfoot already defined. > Or name \end... illegal, see p.192 of the manual. > > See the LaTeX manual or LaTeX Companion for explanation. > Type H for immediate help. > ... > > l.39 ...htmladdnormallinkfoot}[2]{#1\footnote{#2}} > ------------------------------------------------ > > putting html before hyperref removes the error. > > I am using: > > -------------------------------- > $ latex2html -v > $* is no longer supported at /usr/local/bin/latex2html line 10588. > Note: Loading /home/me/.latex2html-init > Note: Initialising with file: /home/me/.latex2html-init > This is LaTeX2HTML Version 2008 (1.71) > by Nikos Drakos, Computer Based Learning Unit, University of Leeds. > -------------------------------------------- > Please ignore the above. It seems I had a bad or different version of the html.sty on my cygwin disk. When I booted to linux and tried the same thing, I did not get the above error. However, the order of the packages still makes no difference. I get the same message about no implementation for hyperref: ------------------------------------------------- $cat t.tex \documentclass[12pt]{article} \usepackage{hyperref} \usepackage{html} \begin{document} \url{test} \end{document} $ $latex2html t.tex defined(%hash) is deprecated at /usr/bin/latex2html line 515. (Maybe you should just omit the defined()?) defined(%hash) is deprecated at /usr/bin/latex2html line 2087. (Maybe you should just omit the defined()?) defined(%hash) is deprecated at /usr/bin/latex2html line 9088. (Maybe you should just omit the defined()?) Note: Loading /home/me/.latex2html-init Note: Initialising with file: /home/me/.latex2html-init This is LaTeX2HTML Version 2008 (1.71) ...... Doing section links ...... Copying navigation icons ... *********** WARNINGS *********** No implementation found for style `hyperref' Error (Link): Link "t.htm" to "index.htm" failed: Operation not permitted at /usr/bin/latex2html line 871 ----------------------------------------- So, no error, but the message still shows up. It seems harmless though. ps. I do not understand what the final link error message is about. I always see it, even on Linux and not just on cygwin. --Nasser From shige at iee.niit.ac.jp Fri Feb 10 03:35:33 2012 From: shige at iee.niit.ac.jp (Shigeharu TAKENO) Date: Fri, 10 Feb 2012 11:35:33 +0900 (JST) Subject: [l2h] How to generate a table using latex2html without horizontal lines between rows? In-Reply-To: <4F336E37.6010803@12000.org> References: <4F336E37.6010803@12000.org> Message-ID: <201202100235.q1A2ZXdn004564@pc98tak.iee.niit.ac.jp> shige 02/10 2012 ---------------- "Nasser M. Abbasi" wrote: > Thank you, but as I said in the followup that I can't use the > trick shown since it renders the whole table as an image. > > This means the links are lost. I don't mean to use makeimage, but mean Ex.1 or Ex.4 in the message. To achive Ex.1, 1-1) put $TBLADDOPT = ''; after the line $TD__AXES_rx = $TH__AXES_rx = $id_list_type; in versions/html4_0.pl (or versions/html3_2.pl), and modify elsif ( $frames || $rules ) { $border = " BORDER=\"1\""; }; to if ( $TBLADDOPT ) { $border = " $TBLADDOPT"; } elsif ( $frames || $rules ) { $border = " BORDER=\"1\""; } in the subroutine process_tabular in the same file. 1-2) write the table as following: \usepackage{html} ... \HTMLsetenv{TBLADDOPT}{BORDER="1" RULES="rows"} \begin{tabular}{|l|l|} a & b \\ c & d \\ \end{tabular} Then, the html table will become To achive Ex.4, 2-1) put $TDADDOPT = $THADDOPT = ''; after the line $TD__AXES_rx = $TH__AXES_rx = $id_list_type; in versions/html4_0.pl (or versions/html3_2.pl), and put $colspec =~ s/
a b
c d
a b
c d
and the CSS file with TD.celgrp1 { background-color : #ffccff } TD.celgrp2 { background-color : #ffffcc } Also to set border 0, you may combinate Ex.4 with Ex.1. +========================================================+ Shigeharu TAKENO NIigata Institute of Technology kashiwazaki,Niigata 945-1195 JAPAN shige at iee.niit.ac.jp TEL(&FAX): +81-257-22-8161 +========================================================+ From nma at 12000.org Fri Feb 10 11:34:29 2012 From: nma at 12000.org (Nasser M. Abbasi) Date: Fri, 10 Feb 2012 04:34:29 -0600 Subject: [l2h] How to generate a table using latex2html without horizontal lines between rows? In-Reply-To: <201202100235.q1A2ZXdn004564@pc98tak.iee.niit.ac.jp> References: <4F336E37.6010803@12000.org> <201202100235.q1A2ZXdn004564@pc98tak.iee.niit.ac.jp> Message-ID: <4F34F2B5.8030905@12000.org> On 2/9/2012 8:35 PM, Shigeharu TAKENO wrote: > shige 02/10 2012 > ---------------- > > in versions/html4_0.pl (or versions/html3_2.pl), and modify > > elsif ( $frames || $rules ) { $border = " BORDER=\"1\""; }; > > to > > if ( $TBLADDOPT ) { $border = " $TBLADDOPT"; } > elsif ( $frames || $rules ) { $border = " BORDER=\"1\""; } > > in the subroutine process_tabular in the same file. > I only see the line, which reads if ( $frames || $rules ) { $border = " BORDER=\"1\""; }; note, it is 'if' and not 'elsif' I am looking now at the versions/html4_0.pl on my linux box and was trying to implement your solution. There is no other line like this in the file. I assume you either had a typo or we have different versions. But I'll go ahead assuming it is the same line. This is version 2008 l2h, 1.71 thanks, --Nasser From nma at 12000.org Fri Feb 10 12:13:06 2012 From: nma at 12000.org (Nasser M. Abbasi) Date: Fri, 10 Feb 2012 05:13:06 -0600 Subject: [l2h] How to generate a table using latex2html without horizontal lines between rows? In-Reply-To: <4F34F2B5.8030905@12000.org> References: <4F336E37.6010803@12000.org> <201202100235.q1A2ZXdn004564@pc98tak.iee.niit.ac.jp> <4F34F2B5.8030905@12000.org> Message-ID: <4F34FBC2.8010506@12000.org> On 2/10/2012 4:34 AM, Nasser M. Abbasi wrote: > On 2/9/2012 8:35 PM, Shigeharu TAKENO wrote: >> shige 02/10 2012 >> ---------------- > >> >> in versions/html4_0.pl (or versions/html3_2.pl), and modify >> >> elsif ( $frames || $rules ) { $border = " BORDER=\"1\""; }; >> >> to >> >> if ( $TBLADDOPT ) { $border = " $TBLADDOPT"; } >> elsif ( $frames || $rules ) { $border = " BORDER=\"1\""; } >> >> in the subroutine process_tabular in the same file. >> > > > I only see the line, which reads > > if ( $frames || $rules ) { $border = " BORDER=\"1\""; }; > > note, it is 'if' and not 'elsif' > Ok, here is the summary: one needs to change the line if ( $frames || $rules ) { $border = " BORDER=\"1\""; }; to if ( $TBLADDOPT ) { $border = " $TBLADDOPT"; } elsif ( $frames || $rules ) { $border = " BORDER=\"1\""; } and now one can do, as suggested by Shigeharu, things like : --------------------------------------- \documentclass[12pt]{article} \usepackage{html} \begin{document} \HTMLsetenv{TBLADDOPT}{BORDER="1" RULES="rows"} \begin{tabular}{|l|l|} a & b \\ c & d \\ e & f \\ \end{tabular} \end{document} ----------------------------------------- And now, the \HTMLsetenv does modify the generated HTML as shown earlier. But, this does not solve the issue at hand, which is how to tell it not add boarder between rows, unless \hline is given. The above just says that the table should have a line between the rows of thickness "1". If I try: --------------------------------------- \documentclass[12pt]{article} \usepackage{html} \begin{document} \HTMLsetenv{TBLADDOPT}{BORDER="1" RULES="cols"} \begin{tabular}{|l|l|} a & b \\ c & d \\ \hline e & f \\ \end{tabular} \end{document} ----------------------------------------- Then no lines are shown between rows, ok, but also no line is shown between the second row and the third even though I said \hline. Ofcourse, this is becuase of \HTMLsetenv took over. What I want it to be able to control, using \hline, when a line should appear. I will keep trying other things, as this is the first time I knew I can use \HTMLsetenv like this from inside latex. May be there is a trick, but so far, I do not see it. Thanks again for Shigeharu help on this. --Nasser From ross.moore at mq.edu.au Fri Feb 10 21:27:39 2012 From: ross.moore at mq.edu.au (Ross Moore) Date: Sat, 11 Feb 2012 07:27:39 +1100 Subject: [l2h] How to generate a table using latex2html without horizontal lines between rows? References: <2144CF7B-DFC7-4EF1-B241-32AA9D46A2F9@mq.edu.au> Message-ID: <5B4358FC-CEFE-4BF0-9161-054A5E5611D7@mq.edu.au> Hello Nasser, On 10/02/2012, at 22:13, "Nasser M. Abbasi" wrote: > But, this does not solve the issue at hand, which is how to > tell it not add boarder between rows, unless \hline is given. The model for handling tables in LaTeX and HTML are quite different. They cannot be made to match easily, without the user adding extra markup into the source document. Besides, what looks good in a table in print, does not necessarily translate easily to how it is best represented onscreen. For example, the \hline command occurs after a group of cells in the LaTeX source; it causes a line to be drawn under the whole group of cells. But in HTML each cell, or row of cells, has its decoration controlled by CSS style properties. CSS is not HTML, but is a whole separate architecture which allows for many, many possibilities. To add styles to a cell requires specifying a class name, then adding properties to be used by that class. Shigeharu showed you how to do that. At the time when LaTeX2HTML was under active development, browsers had limited support for CSS, and different browsers would support a different set of features, or would handle the same features differently. Thus there was little incentive to code up actions for detailed styling in tables, since you could not know what web surfers would actually see onscreen. Without CSS, you can only ask for borders in all cells or no borders at all. LaTeX2HTML simply takes the presence of an \hline anywhere to trigger showing borders. Besides, is the \hline meant to be affecting the styles of the cells above, or below? You could write some coding that does what you want, but would fail for someone else. > > The above just says that the table should have a line between the > rows of thickness "1". Not just between, but all around. > > If I try: > > --------------------------------------- > \documentclass[12pt]{article} > \usepackage{html} > \begin{document} > \HTMLsetenv{TBLADDOPT}{BORDER="1" RULES="cols"} > \begin{tabular}{|l|l|} > a & b \\ > c & d \\ \hline > e & f \\ > \end{tabular} > \end{document} > ----------------------------------------- > > Then no lines are shown between rows, ok, but also no line is shown between the > second row and the third even though I said \hline. Ofcourse, this is becuase > of \HTMLsetenv took over. Yes. But also because there is no canonical way to say what styles should be applied to which cells, and how these should be combined with any other styling requests. > > What I want it to be able to control, using \hline, when a line should appear. Sure, but it is not well defined just what should happen in HTML and CSS. Some user help is the best way to handle this. > > I will keep trying other things, as this is the first time I knew > I can use \HTMLsetenv like this from inside latex. May be there is > a trick, but so far, I do not see it. This can be a very powerful mechanism, especially when the author can do a bit of Perl programming. > > Thanks again for Shigeharu help on this. > > --Nasser Hope this helps, Ross ------------------------------------------------------------------------ Ross Moore ross.moore at mq.edu.au Mathematics Department office: E7A-419 Macquarie University tel: +61 (0)2 9850 8955 Sydney, Australia 2109 fax: +61 (0)2 9850 8114 ------------------------------------------------------------------------ From shige at iee.niit.ac.jp Sat Feb 11 00:22:53 2012 From: shige at iee.niit.ac.jp (Shigeharu TAKENO) Date: Sat, 11 Feb 2012 08:22:53 +0900 (JST) Subject: [l2h] How to generate a table using latex2html without horizontal lines between rows? In-Reply-To: <4F34F2B5.8030905@12000.org> References: <4F34F2B5.8030905@12000.org> Message-ID: <201202102322.q1ANMrwd001548@pc98tak.iee.niit.ac.jp> shige 02/11 2012 ---------------- "Nasser M. Abbasi" wrote: >> in versions/html4_0.pl (or versions/html3_2.pl), and modify >> >> elsif ( $frames || $rules ) { $border = " BORDER=\"1\""; }; >> >> to >> >> if ( $TBLADDOPT ) { $border = " $TBLADDOPT"; } >> elsif ( $frames || $rules ) { $border = " BORDER=\"1\""; } >> >> in the subroutine process_tabular in the same file. > >I only see the line, which reads > > if ( $frames || $rules ) { $border = " BORDER=\"1\""; }; > >note, it is 'if' and not 'elsif' I made a mistake. You are right. Please modify if ( $frames || $rules ) { $border = " BORDER=\"1\""; }; to if ( $TBLADDOPT ) { $border = " $TBLADDOPT"; } elsif ( $frames || $rules ) { $border = " BORDER=\"1\""; } in the subroutine process_tabular in the same file. +========================================================+ Shigeharu TAKENO NIigata Institute of Technology kashiwazaki,Niigata 945-1195 JAPAN shige at iee.niit.ac.jp TEL(&FAX): +81-257-22-8161 +========================================================+ From nma at 12000.org Sat Feb 11 23:56:47 2012 From: nma at 12000.org (Nasser M. Abbasi) Date: Sat, 11 Feb 2012 16:56:47 -0600 Subject: [l2h] verbatim does not work when having a math equation nearby in a table with '+' in it. In-Reply-To: <201202102322.q1ANMrwd001548@pc98tak.iee.niit.ac.jp> References: <4F34F2B5.8030905@12000.org> <201202102322.q1ANMrwd001548@pc98tak.iee.niit.ac.jp> Message-ID: <4F36F22F.4010909@12000.org> This one is really strange. I hope that an expert can explain it. I put a screen shot of the problem here as well: http://12000.org/my_notes/l2hwin/strange_verbatim_result/d.png When I run this: ----------------------------------- \documentclass[12pt]{article} \usepackage{html} \usepackage{verbatim} \begin{document} \begin{verbatim}test\end{verbatim} \begin{tabular}{|l | } $f(x) = x^3 d$\\ \end{tabular} \end{document} ------------------------- It works. Expected output. Verbatim displays 'test' and the math fine. But I add '+' to the equation above, like this: ----------------------------------- \documentclass[12pt]{article} \usepackage{html} \usepackage{verbatim} \begin{document} \begin{verbatim}test\end{verbatim} \begin{tabular}{|l | } $f(x) = x^3 + d$\\ %added '+' \end{tabular} \end{document} ------------------------- Then I lose the verbatim! and in addition, the verbatim 'test' is replaced by the math as verbatim. Could someone please explain what I am doing wrong? I'd like to use \verbatim but also be able to use math, somewhere else in the document. Both as compiled using late2html foo.tex I am using latex2html 2008, 1.71 Am I doing something wrong in the above? thanks --Nasser From ross.moore at mq.edu.au Mon Feb 13 02:20:16 2012 From: ross.moore at mq.edu.au (Ross Moore) Date: Mon, 13 Feb 2012 12:20:16 +1100 Subject: [l2h] verbatim does not work when having a math equation nearby in a table with '+' in it. In-Reply-To: <4F36F22F.4010909@12000.org> References: <4F34F2B5.8030905@12000.org> <201202102322.q1ANMrwd001548@pc98tak.iee.niit.ac.jp> <4F36F22F.4010909@12000.org> Message-ID: Hello Nasser, On 12/02/2012, at 9:56 AM, Nasser M. Abbasi wrote: > When I run this: > > ----------------------------------- > \documentclass[12pt]{article} > \usepackage{html} > \usepackage{verbatim} > \begin{document} > \begin{verbatim}test\end{verbatim} > \begin{tabular}{|l | } > $f(x) = x^3 d$\\ > \end{tabular} > \end{document} > ------------------------- > > It works. Expected output. Verbatim displays 'test' and > the math fine. Are you sure this is really all that is happening? > > But I add '+' to the equation above, like this: > > ----------------------------------- > \documentclass[12pt]{article} > \usepackage{html} > \usepackage{verbatim} > \begin{document} > \begin{verbatim}test\end{verbatim} > \begin{tabular}{|l | } > $f(x) = x^3 + d$\\ %added '+' > \end{tabular} > \end{document} > ------------------------- > > Then I lose the verbatim! and in addition, the verbatim 'test' > is replaced by the math as verbatim. I cannot reproduce your problem. But just a couple of things that might help. 1. It is best to do verbatim-like environments as \begin{verbatim} test \end{verbatim} or \verb|test| As a matter of course it is *always* preferable to put the \begin{...} on a line by itself, and the \end{...} also on a line by itself. Although (La)TeX does not require it, it makes good logical sense to do so in terms of document structure and readability. Furthermore, there are some environments where LaTeX2HTML *requires* the environment delimiters to be on separate lines when the contents are to be interpreted as verbatim text, or other special purposes. So it is a good habit to get into. 2. The final \\ in a {tabular} is redundant. Even in LateX itself this can cause extra vertical space at the bottom of the table layout. In LateX2HTML, it causes an extra row of blank cells. > > > Could someone please explain what I am doing wrong? I'd like to use > \verbatim but also be able to use math, somewhere else in the document. Can you run your failing job with -debug within a directory that can be accessed across the web, and save the console messages into a file. Make this directory and its siblings listable, and send me the URL. I can then try to get an idea of what is going wrong, by studying the temporary files that normally get deleted. > > Both as compiled using late2html foo.tex > I am using latex2html 2008, 1.71 > > Am I doing something wrong in the above? Nothing that is obvious to me. > > thanks > --Nasser Hope this helps, Ross ------------------------------------------------------------------------ Ross Moore ross.moore at mq.edu.au Mathematics Department office: E7A-419 Macquarie University tel: +61 (0)2 9850 8955 Sydney, Australia 2109 fax: +61 (0)2 9850 8114 ------------------------------------------------------------------------ From nma at 12000.org Mon Feb 13 02:50:41 2012 From: nma at 12000.org (Nasser M. Abbasi) Date: Sun, 12 Feb 2012 19:50:41 -0600 Subject: [l2h] verbatim does not work when having a math equation nearby in a table with '+' in it. In-Reply-To: References: <4F34F2B5.8030905@12000.org> <201202102322.q1ANMrwd001548@pc98tak.iee.niit.ac.jp> <4F36F22F.4010909@12000.org> Message-ID: <4F386C71.80502@12000.org> On 2/12/2012 7:20 PM, Ross Moore wrote: > Hello Nasser, > > On 12/02/2012, at 9:56 AM, Nasser M. Abbasi wrote: > >> When I run this: >> >> ----------------------------------- >> \documentclass[12pt]{article} >> \usepackage{html} >> \usepackage{verbatim} >> \begin{document} >> \begin{verbatim}test\end{verbatim} > >> \begin{tabular}{|l | } >> $f(x) = x^3 d$\\ >> \end{tabular} >> \end{document} >> ------------------------- >> >> It works. Expected output. Verbatim displays 'test' and >> the math fine. > > Are you sure this is really all that is happening? > Hell Ross; I am not sure I understand. Can you please elaborate? I put the screen shot here: http://12000.org/my_notes/l2hwin/strange_verbatim_result/d.png Other than the gray background (that is a separate issue, need to resolve), it seems to have worked, in the sense that I do see that math equation and I see the verbatim. > But just a couple of things that might help. > ... > or > > \verb|test| > This does NOT work. I just tried it. --------------------------- \documentclass[12pt]{article} \usepackage{html} \usepackage{verbatim} \begin{document} \verb|test| \end{document} ----------------------- latex2html t.tex produces an empty web page. no 'test' text in it. I always had problems getting \verb to work like this, that is what I use \begin{verbstim} and \end{verbatim}. Does the above work on your end? i.e generate 'test' in the HTML? > > Can you run your failing job with -debug within a directory > that can be accessed across the web, and save the console messages > into a file. Make this directory and its siblings listable, and send me > the URL. I can then try to get an idea of what is going wrong, by > studying the temporary files that normally get deleted. > Sure, I am working now to generate these things you wanted, and will make new page and summarize these issues. Please give couple of 2 hrs will be done and will give a link. thanks for your help. --Nasser From nma at 12000.org Mon Feb 13 03:54:37 2012 From: nma at 12000.org (Nasser M. Abbasi) Date: Sun, 12 Feb 2012 20:54:37 -0600 Subject: [l2h] verbatim does not work when having a math equation nearby in a table with '+' in it. In-Reply-To: <4F386C71.80502@12000.org> References: <4F34F2B5.8030905@12000.org> <201202102322.q1ANMrwd001548@pc98tak.iee.niit.ac.jp> <4F36F22F.4010909@12000.org> <4F386C71.80502@12000.org> Message-ID: <4F387B6D.9000905@12000.org> On 2/12/2012 7:20 PM, Ross Moore wrote: >> >> Can you run your failing job with -debug within a directory >> that can be accessed across the web, and save the console messages >> into a file. Make this directory and its siblings listable, and send me >> the URL. I can then try to get an idea of what is going wrong, by >> studying the temporary files that normally get deleted. >> Here it is http://12000.org/my_notes/l2hwin/some_issues_latex2html_2008/ Please let me know if you need more information. ZIP file of the whole folder is there, as well as screen output of the commands and the tex file and HTML output and version information. Thanks for your time and help. ps. couple of days ago, I modifed before the file versions/html4_0.pl replacing if ( $frames || $rules ) { $border = " BORDER=\"1\""; }; with if ( $TBLADDOPT ) { $border = " $TBLADDOPT"; } elsif ( $frames || $rules ) { $border = " BORDER=\"1\""; } but this _should_ not be relevent here. Just thought to mention it just in case. --Nasser From ross.moore at mq.edu.au Mon Feb 13 05:08:38 2012 From: ross.moore at mq.edu.au (Ross Moore) Date: Mon, 13 Feb 2012 15:08:38 +1100 Subject: [l2h] verbatim does not work when having a math equation nearby in a table with '+' in it. In-Reply-To: <4F386C71.80502@12000.org> References: <4F34F2B5.8030905@12000.org> <201202102322.q1ANMrwd001548@pc98tak.iee.niit.ac.jp> <4F36F22F.4010909@12000.org> <4F386C71.80502@12000.org> Message-ID: <55436892-E787-4547-A559-BD0D28C8D809@mq.edu.au> Hello Nasser, On 13/02/2012, at 12:50 PM, Nasser M. Abbasi wrote: ... and I got your 2nd email too, and have looked at the contents of the .zip file. > On 2/12/2012 7:20 PM, Ross Moore wrote: >> Hello Nasser, >> >> On 12/02/2012, at 9:56 AM, Nasser M. Abbasi wrote: >> >>> When I run this: >>> >>> ----------------------------------- >>> \documentclass[12pt]{article} >>> \usepackage{html} >>> \usepackage{verbatim} >>> \begin{document} >>> \begin{verbatim}test\end{verbatim} >> >>> \begin{tabular}{|l | } >>> $f(x) = x^3 d$\\ >>> \end{tabular} >>> \end{document} >>> ------------------------- >>> >>> It works. Expected output. Verbatim displays 'test' and >>> the math fine. > ... >> or >> >> \verb|test| >> > > This does NOT work. I just tried it. Very strange. > > --------------------------- > \documentclass[12pt]{article} > \usepackage{html} > \usepackage{verbatim} > \begin{document} > \verb|test| > \end{document} > ----------------------- > > latex2html t.tex > > produces an empty web page. no 'test' text in it. I always had > problems getting \verb to work like this, that is what I > use \begin{verbstim} and \end{verbatim}. Does the above > work on your end? i.e generate 'test' in the HTML? Yes, it does. I'm using version 1.67 (2002) installed many years ago on a Mac, via fink . I've not tested later versions for Linux or Unix; but with such a simple document there should not be any significant difference. That there seems to be, for you, puzzles me greatly. > >> >> Can you run your failing job with -debug within a directory >> that can be accessed across the web, and save the console messages >> into a file. Make this directory and its siblings listable, and send me >> the URL. I can then try to get an idea of what is going wrong, by >> studying the temporary files that normally get deleted. >> > > Sure, I am working now to generate these things you wanted, > and will make new page and summarize these issues. Please also add the option -verbosity 10 which generates significantly more screen messages. In particular, you should have a block such as: >>> *** End-of-partition ***\documentclass[12pt]<<1>>article<<1>> >>> \usepackage<<2>>html<<2>> >>> \usepackage<<3>>verbatim<<3>> >>> \begin<<4>>document<<4>> >>> 1 >>> \begin<<5>>tabular<<5>><<6>>|l | <<6>> >>> \begin<<9>>tex2html_wrap_inline<<9>>$f(x) = x^3 + d$\end<<10>>tex2html_wrap_inline<<10>>\\ 2 >>> \end<<7>>tabular<<7>> >>> \end<<8>>document<<8>> notice in particular: 1 which has replaced \verb|test| or similar with the {verbatim} environment. and 2 replacing the comment. At a later stage of processing, the verbatim stuff should get replaced inside ... tags, using the string stored in a file: .../verb_with_math_issue/TMP/verbatim When this happens there is a message: *** replace markers *** but no further processing messages are written. To see what is happening here for you, find the appropriate place in the latex2html script, and put in more print commands, to see what is happening in detail. sub replace_markers at line roughly 7620 and sub replace_sensitive_markers at ~7670 which calls sub replace_verbatim_marks at ~8550 and/or sub replace_verb_marks at ~8590 Trace what is actually happening by putting in extra lines like print STDOUT $_; at strategic places. > > Please give couple of 2 hrs will be done and will give > a link. > > thanks for your help. > > --Nasser Hope this helps, Ross ------------------------------------------------------------------------ Ross Moore ross.moore at mq.edu.au Mathematics Department office: E7A-419 Macquarie University tel: +61 (0)2 9850 8955 Sydney, Australia 2109 fax: +61 (0)2 9850 8114 ------------------------------------------------------------------------ From nma at 12000.org Mon Feb 13 05:41:42 2012 From: nma at 12000.org (Nasser M. Abbasi) Date: Sun, 12 Feb 2012 22:41:42 -0600 Subject: [l2h] verbatim does not work when having a math equation nearby in a table with '+' in it. In-Reply-To: <55436892-E787-4547-A559-BD0D28C8D809@mq.edu.au> References: <4F34F2B5.8030905@12000.org> <201202102322.q1ANMrwd001548@pc98tak.iee.niit.ac.jp> <4F36F22F.4010909@12000.org> <4F386C71.80502@12000.org> <55436892-E787-4547-A559-BD0D28C8D809@mq.edu.au> Message-ID: <4F389486.6090504@12000.org> On 2/12/2012 10:08 PM, Ross Moore wrote: >>> >>> \verb|test| >>> >> >> This does NOT work. I just tried it. > > Very strange. > Yes. I think it is been like this for me for sometime now. May be someone on this mailing list who has l2h and 2008 version can try this? > > I'm using version 1.67 (2002) installed many years ago > on a Mac, via fink . May be I should downgrade my l2h then :) > I've not tested later versions for Linux or Unix; but with > such a simple document there should not be any significant difference. > That there seems to be, for you, puzzles me greatly. > Please also add the option -verbosity 10 > which generates significantly more screen messages. > Just did. now this contains the verbose output http://12000.org/my_notes/l2hwin/some_issues_latex2html_2008/ Will now look at what you wrote down. For me l2h and perl is like magic. I really do not know perl at all and find this whole setup very complicated, that is why we are glad we have experts like you around who understand this magic. Will now look at this more and see what I find. thanks, --Nasser > In particular, you should have a block such as: > >>>> *** End-of-partition ***\documentclass[12pt]<<1>>article<<1>> >>>> \usepackage<<2>>html<<2>> >>>> \usepackage<<3>>verbatim<<3>> >>>> \begin<<4>>document<<4>> >>>> 1 >>>> \begin<<5>>tabular<<5>><<6>>|l |<<6>> >>>> \begin<<9>>tex2html_wrap_inline<<9>>$f(x) = x^3 + d$\end<<10>>tex2html_wrap_inline<<10>>\\2 >>>> \end<<7>>tabular<<7>> >>>> \end<<8>>document<<8>> > > > notice in particular: > > 1 > > which has replaced \verb|test| > or similar with the {verbatim} environment. > > and2 replacing the comment. > > At a later stage of processing, the verbatim stuff > should get replaced inside... tags, > using the string stored in a file: > > .../verb_with_math_issue/TMP/verbatim > > When this happens there is a message: > > *** replace markers *** > > but no further processing messages are written. > > > To see what is happening here for you, find the appropriate > place in the latex2html script, and put in more print commands, > to see what is happening in detail. > > sub replace_markers > > at line roughly 7620 and > > sub replace_sensitive_markers at ~7670 > > which calls > > sub replace_verbatim_marks at ~8550 > > and/or > > sub replace_verb_marks at ~8590 > > > Trace what is actually happening by putting in extra lines like > > print STDOUT $_; > > at strategic places. > > >> >> Please give couple of 2 hrs will be done and will give >> a link. >> >> thanks for your help. >> >> --Nasser > > > Hope this helps, > > Ross > > ------------------------------------------------------------------------ > Ross Moore ross.moore at mq.edu.au > Mathematics Department office: E7A-419 > Macquarie University tel: +61 (0)2 9850 8955 > Sydney, Australia 2109 fax: +61 (0)2 9850 8114 > ------------------------------------------------------------------------ > > > > From jeanpierre.chretien at free.fr Mon Feb 13 11:53:09 2012 From: jeanpierre.chretien at free.fr (=?ISO-8859-1?Q?Jean-Pierre_Chr=E9tien?=) Date: Mon, 13 Feb 2012 11:53:09 +0100 Subject: [l2h] verbatim does not work when having a math equation nearby in a table with '+' in it. In-Reply-To: References: <4F34F2B5.8030905@12000.org> <201202102322.q1ANMrwd001548@pc98tak.iee.niit.ac.jp> <4F36F22F.4010909@12000.org> Message-ID: <4F38EB95.4040605@free.fr> Le 13/02/2012 02:20, Ross Moore a ?crit : > Hello Nasser, > [snip] >> But I add '+' to the equation above, like this: >> >> ----------------------------------- >> \documentclass[12pt]{article} >> \usepackage{html} >> \usepackage{verbatim} >> \begin{document} >> \begin{verbatim}test\end{verbatim} >> \begin{tabular}{|l | } >> $f(x) = x^3 + d$\\ %added '+' >> \end{tabular} >> \end{document} >> ------------------------- >> >> Then I lose the verbatim! and in addition, the verbatim 'test' >> is replaced by the math as verbatim. > > I cannot reproduce your problem. Nor I can I, with This is LaTeX2HTML Version 2008 (1.71) on Debian Squeeze and TexLive 2009. I get this html code :
test
$f(x) = x^3 + d$
-- Jean-Pierre From nma at 12000.org Mon Feb 13 13:26:54 2012 From: nma at 12000.org (Nasser M. Abbasi) Date: Mon, 13 Feb 2012 06:26:54 -0600 Subject: [l2h] verbatim does not work when having a math equation nearby in a table with '+' in it. In-Reply-To: <4F38EB95.4040605@free.fr> References: <4F34F2B5.8030905@12000.org> <201202102322.q1ANMrwd001548@pc98tak.iee.niit.ac.jp> <4F36F22F.4010909@12000.org> <4F38EB95.4040605@free.fr> Message-ID: <4F39018E.7030002@12000.org> On 2/13/2012 4:53 AM, Jean-Pierre Chr?tien wrote: > > Nor I can I, with > > This is LaTeX2HTML Version 2008 (1.71) > > on Debian Squeeze and TexLive 2009. thanks for trying. I have, according to synaptic package manager: 2008-debian1-5(oneiric) and perl is 5.12.4-4 and texlive: 2009-13 I do not know what is going on. I have the log files posted. May be I will install another Linux version on a new VM and try again. May be this happens because I am using a VM machine mounted on a windows host? The files and data are on my NTFS disk, mounted as a shared device from the Linux OS inside the VM. Other than the error about not being able to create a hard symbolic link at the very end of each latex2html command, I do not think it should make any difference. But will try on an old PC that I have with Linux on it (not VM, actual PC on its own running Linux) and see if that makes a difference). --Nasser > I get this html code : > >
test
> 
> > > > > >
> WIDTH="117" HEIGHT="39" ALIGN="MIDDLE" BORDER="0" > SRC="test-img1.png" > ALT="$f(x) = x^3 + d$">
> > From jeanpierre.chretien at free.fr Mon Feb 13 14:34:57 2012 From: jeanpierre.chretien at free.fr (=?ISO-8859-1?Q?Jean-Pierre_Chr=E9tien?=) Date: Mon, 13 Feb 2012 14:34:57 +0100 Subject: [l2h] verbatim does not work when having a math equation nearby in a table with '+' in it. In-Reply-To: <4F39018E.7030002@12000.org> References: <4F34F2B5.8030905@12000.org> <201202102322.q1ANMrwd001548@pc98tak.iee.niit.ac.jp> <4F36F22F.4010909@12000.org> <4F38EB95.4040605@free.fr> <4F39018E.7030002@12000.org> Message-ID: <4F391181.6010008@free.fr> Le 13/02/2012 13:26, Nasser M. Abbasi a ?crit : > On 2/13/2012 4:53 AM, Jean-Pierre Chr?tien wrote: > >> >> Nor I can I, with >> >> This is LaTeX2HTML Version 2008 (1.71) >> >> on Debian Squeeze and TexLive 2009. > > thanks for trying. > I have, according to synaptic package manager: 2008-debian1-5(oneiric) > and perl is 5.12.4-4 > and texlive: 2009-13 I tested your simpler example verb.tex and I get also success. I would perhaps suspect the html.sty file, attached is mine. -- Jean-Pierre -------------- next part -------------- A non-text attachment was scrubbed... Name: html.sty Type: text/x-tex Size: 41918 bytes Desc: not available URL: From nma at 12000.org Mon Feb 13 14:50:54 2012 From: nma at 12000.org (Nasser M. Abbasi) Date: Mon, 13 Feb 2012 07:50:54 -0600 Subject: [l2h] verbatim does not work when having a math equation nearby in a table with '+' in it. In-Reply-To: <4F391181.6010008@free.fr> References: <4F34F2B5.8030905@12000.org> <201202102322.q1ANMrwd001548@pc98tak.iee.niit.ac.jp> <4F36F22F.4010909@12000.org> <4F38EB95.4040605@free.fr> <4F39018E.7030002@12000.org> <4F391181.6010008@free.fr> Message-ID: <4F39153E.5010007@12000.org> On 2/13/2012 7:34 AM, Jean-Pierre Chr?tien wrote: > Le 13/02/2012 13:26, Nasser M. Abbasi a ?crit : >> On 2/13/2012 4:53 AM, Jean-Pierre Chr?tien wrote: >> >>> >>> Nor I can I, with >>> >>> This is LaTeX2HTML Version 2008 (1.71) >>> >>> on Debian Squeeze and TexLive 2009. >> >> thanks for trying. >> I have, according to synaptic package manager: 2008-debian1-5(oneiric) >> and perl is 5.12.4-4 >> and texlive: 2009-13 > > I tested your simpler example verb.tex and I get also success. > I would perhaps suspect the html.sty file, attached is mine. > > thanks. I tried it, no difference. I copied your html.sty as root and replaced the one in /usr/share/texmf/tex/latex/html $ls -lrt html.sty -rwxr-xr-x 1 root root 43084 2012-02-13 05:44 html.sty and rerun the latex2html command again, and looked at the html output. No change from before. There is some difference between your file and what I had: $pwd /usr/share/texmf/tex/latex/html $ls -l html.sty html.sty.OLD -rwxr-xr-x 1 root root 43084 2012-02-13 05:44 html.sty -rw-r--r-- 1 root root 42021 2010-10-16 17:06 html.sty.OLD but no effect on result. Also did texhash, no difference. regards, --Nasser From nma at 12000.org Tue Feb 14 11:04:14 2012 From: nma at 12000.org (Nasser M. Abbasi) Date: Tue, 14 Feb 2012 04:04:14 -0600 Subject: [l2h] verbatim does not work when having a math equation nearby in a table with '+' in it. In-Reply-To: <4F39153E.5010007@12000.org> References: <4F34F2B5.8030905@12000.org> <201202102322.q1ANMrwd001548@pc98tak.iee.niit.ac.jp> <4F36F22F.4010909@12000.org> <4F38EB95.4040605@free.fr> <4F39018E.7030002@12000.org> <4F391181.6010008@free.fr> <4F39153E.5010007@12000.org> Message-ID: <4F3A319E.8000703@12000.org> I found the problem. I use Linux this way on window: I install Linux in a VM (Oracle's VMbox) hosted on windows 7. But all my data (.tex files, bash build scripts, etc..) are still on windows file system. I mount my windows disk as shared folder so I can access the data it from Linux. I use Linux for all my scripts/latex/latex2thml etc.. Now, when I copied the .tex files out from my windows to Linux VM file system (i.e. ext4) to $HOME/ on the Linux, and run latex2html on them there, then the problem went away! Same latex files. same command, same latex2html, nothing else changed except the location of the files! I do not know why this happens. It could be CR/LF issue somewhere, or symbolic link issue, or something else. So, this is a good lesson for any one mounting VM on windows and using Linux, and running latex2html on their files which is on windows shared folder to watch out. I'd like to move completely to Linux, but I have applications that I have to use on windows. Cygwin latex2html is broke, and was not able to get it to work under cygwin. I can try latexthml on windows itself, but I find linux easier to use. Well, at least now I now know what caused all this headache. Thanks for everyone's help, and sorry for the trouble. --Nasser From walch.martin at web.de Wed Feb 22 19:52:53 2012 From: walch.martin at web.de (Martin Walch) Date: Wed, 22 Feb 2012 19:52:53 +0100 Subject: [l2h] Website and documentation need fixes and updates Message-ID: <1451481.1czfbCFGW1@tacticalops> Hello, is someone able to make an update to the website and the documentation? The website located at http://www.latex2html.org/ fails loading three graphic files: http://www.latex2html.org/icons/l2h/next.png http://www.latex2html.org/icons/l2h/up.png http://www.latex2html.org/icons/l2h/prev.png Also some of the graphics files that http://www.latex2html.org/icons/README.html is trying to load do not exist. Most of the hyperlinks on the whole website are old and dead. These files in CVS contain *many* dead links: http://www.latex2html.org/~latex2ht/user/README http://www.latex2html.org/~latex2ht/user/FAQ http://www.latex2html.org/~latex2ht/user/INSTALL http://www.latex2html.org/~latex2ht/user/Changes http://www.latex2html.org/~latex2ht/user/docs/*.tex typo in http://www.latex2html.org/~latex2ht/user/FAQ: >change_begin 98.1 > One way LATEX2HTMLmay be obtained Regards Martin Walch -- -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 198 bytes Desc: This is a digitally signed message part. URL: From Robin.Fairbairns at cl.cam.ac.uk Thu Feb 23 16:19:09 2012 From: Robin.Fairbairns at cl.cam.ac.uk (Robin Fairbairns) Date: Thu, 23 Feb 2012 15:19:09 +0000 Subject: [l2h] Website and documentation need fixes and updates In-Reply-To: Your message of Wed, 22 Feb 2012 19:52:53 +0100. <1451481.1czfbCFGW1@tacticalops> Message-ID: <6686.1330010349@cl.cam.ac.uk> Martin Walch wrote: > is someone able to make an update to the website and the documentation? > > The website located at > > http://www.latex2html.org/ > > fails loading three graphic files: > http://www.latex2html.org/icons/l2h/next.png > http://www.latex2html.org/icons/l2h/up.png > http://www.latex2html.org/icons/l2h/prev.png > > Also some of the graphics files that > http://www.latex2html.org/icons/README.html > is trying to load do not exist. (i can't hack at the website...) > Most of the hyperlinks on the whole website are old and dead. > > These files in CVS contain *many* dead links: > http://www.latex2html.org/~latex2ht/user/README > http://www.latex2html.org/~latex2ht/user/FAQ > http://www.latex2html.org/~latex2ht/user/INSTALL > http://www.latex2html.org/~latex2ht/user/Changes > http://www.latex2html.org/~latex2ht/user/docs/*.tex > > typo in http://www.latex2html.org/~latex2ht/user/FAQ: > >change_begin 98.1 > > One way LATEX2HTMLmay be obtained so i thought to create a pdf version that people could read from ctan. the manual sources don't work with pdftex, since they're hard set-up to use dvips. they don't work with latex because hyperref has changed since they were created, and the source's reuse of a hyperref internal macro longer works. (actually, even if i hack the source to make latex at least start, the same error as seen with pdftex bites in the same way.) so i tried distilling the manual.ps.gz from ctan. that works (and is tolerably readable both in gv and acrocr*p reader 9), but is built with type 3 (read: metafont) fonts, so it's not really desirable. in the circumstances, i've generated a version with type 1 fonts using pkfix, and installed the pdf on ctan. modulo propagation delays, you should find it at http://mirror.ctan.org/support/latex2html/manual.pdf expect it to take up to 24 hours to get to your "local" mirror (as defined by the mirror-redirector used for mirror.ctan.org) i appreciate that a pdf doesn't have qualities one would expect from an updated html, but as i've outlined, i don't currently know how to create a working version of that. hth. Robin Fairbairns For the CTAN team From walch.martin at web.de Thu Feb 23 16:36:58 2012 From: walch.martin at web.de (Martin Walch) Date: Thu, 23 Feb 2012 16:36:58 +0100 Subject: [l2h] Website and documentation need fixes and updates In-Reply-To: <6686.1330010349@cl.cam.ac.uk> References: <6686.1330010349@cl.cam.ac.uk> Message-ID: <3626317.iItCYzCeH6@tacticalops> From walch.martin at web.de Thu Feb 23 17:14:55 2012 From: walch.martin at web.de (Martin Walch) Date: Thu, 23 Feb 2012 17:14:55 +0100 Subject: [l2h] Website and documentation need fixes and updates In-Reply-To: <6686.1330010349@cl.cam.ac.uk> References: <6686.1330010349@cl.cam.ac.uk> Message-ID: <2012176.qnl2eC81Vt@tacticalops> Sorry, I don't know what happened to the previous e-mail, that I have sent. KMail2 somehow has corrupted it. I did not see this problem since KDE 4.6, but it still seems to happen in rare cases. Basically I just wanted to say "thank you". -- -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 198 bytes Desc: This is a digitally signed message part. URL: