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.mo...@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
------------------------------------------------------------------------





_______________________________________________
latex2html mailing list
latex2html@tug.org
http://tug.org/mailman/listinfo/latex2html

Reply via email to