Re: [l2h] Adding html-code to the HEAD section

2000-10-02 Thread Julius Smith
At 06:17 PM 3/1/2000 +0100, Thomas Anders wrote: On Mar 1, 17:33, [EMAIL PROTECTED] wrote: I wonder whether it is possible to add abitrary code (e.g. JavaScript), which is defined inside a latex-document, into the HEAD section of the generated html-doc? I looked through the manual, but

[l2h] How to get copy/pastable verbatim text into a figure?

2000-12-19 Thread Julius Smith
I have discovered that placing verbatim text inside a figure or table environment causes latex2html (v99.1beta) to ship the figure off to LaTeX for creating an external image. The verbatim environment alone uses the HTML PRE tag instead, which is what I need. (I need to enable users to

[l2h] Need symbolic anchors for index link targets

2001-06-19 Thread Julius Smith
I am using my latex2html-generated Index.html file to create a URL database pointing into my various online documents. (I am using l2h-99.2beta6.) My problem is that the index link targets use automatically generated intra-page anchors (a number generated by ++$global{'max_id'}) instead of

[l2h] Index entries include trailing format specifications such as '|textbf'

2001-10-28 Thread Julius Smith
I discovered that index entries including a format specification, such as keyword\index{keyword|textbf} produce keys in the HTML index including the format spec, i.e., keyword|textbf appears in the final Index.html entries generated by latex2html. This problem does not appear to

Re: [l2h] Index entries include trailing format specifications such as '|textbf'

2001-10-29 Thread Julius Smith
Hi Ross, you wrote: I discovered that index entries including a format specification, such as keyword\index{keyword|textbf} Does this work in LaTeX if \usepackage{makeidx} is *not* loaded ? Yes, there appears to be support for this much index generation in LaTeX without the

Re: [l2h] No equation/images in win98 - please help!

2001-11-03 Thread Julius Smith
I would also add to look at images.log in the output directory. Also, latex2html -debug ... may add more useful info. -- jos At 11:09 AM 11/3/2001 +, Steve Mayer wrote: - Original Message - From: Ken Power [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: 01 November 2001 15:31

Re: [l2h] Top of figures cut off by dvips -E, and forced by config.pl

2001-09-29 Thread Julius Smith
Removing the '-E' option from dvips resulted in some figures being severely truncated on the RIGHT. I was able to solve the top-truncation problem associated with dvips -E by avoiding the use of \resizebox on \includegraphics. -- Julius At 03:37 PM 9/12/2001 -0700, Julius Smith wrote: I have

Re: [l2h] xfig and latex2html

2001-12-14 Thread Julius Smith
Here is my macro for handling xfig figures, which seems to work fine. - jos % Usage: % \myTexFigure{name}{caption} % % Figures generated by xfig are assumed to have been exported % in .latex mode ('both parts'). This means both name.pstex_t % (containing a latex picture environment) and

Re: [l2h] Old bug not fixed

2002-03-07 Thread Julius Smith
At 06:26 AM 8/11/2001 +1000, Ross Moore wrote: ... some file-systems limit filenames to 32 characters, hence the restriction. Is there a list somewhere of the systems that have this restriction? I imagine they must be pretty old. Thanks, Julius ___

Re: [l2h] Images mixed (without caching)

2002-03-16 Thread Julius Smith
This can also happen if something went wrong in image generation, such as an overfull \vbox. Look for error messages in images.log. -- jos At 10:10 AM 3/16/2002 +0100, Florian Weimer wrote: LaTeX2HTML uses images generated from the LaTeX source in wrong places. This seems to be the bug

[l2h] latex2html-2002-1 crasher

2002-06-27 Thread Julius Smith
The test file below crashes latex2html-2002-1 at line 2663. In the latex source, there are comments indicating two ways to bypass the problem. It appears that a general workaround might be to avoid unnecessary newlines in macro definitions. -- jos ls -l total 8 -rw-r--r--1 jos jos

[l2h] \providecommand acting like \renewcommand

2002-08-04 Thread Julius Smith
The following test program illustrates an inconsistency between l2h and latex: --- % test.tex: \documentclass{article} \newcommand{\color}{black} \providecommand{\color}{white} \begin{document} I am \color. % latex prints 'black', l2h prints 'white'. \end{document} --- Julius

[l2h] hyperref.sty vs. html.sty: \textunderscore undefined

2002-09-12 Thread Julius Smith
I often use the construct (from html.sty) \htmladdnormallinkfoot{description}{http://www.somewhere.org/\~{}name/file\_name.html} (Note the quoted '~' and '_'.) This has been working fine for some years. Today I tried using the hyperref package for the first time, and I ran into the

[l2h] Can no longer have newlines in \author address

2003-09-29 Thread Julius Smith
In latex2html-2002-2-1, one can no longer have '\\' in the author's address. I am pretty sure this worked fine in latex2html-2002-1. A workaround I have found is to keep the entire address on one line (as far as l2h is concerned): \author{% My Name\\ My Address, Line 1

Re: [l2h] Can no longer have newlines in \author address

2003-09-30 Thread Julius Smith
; } $after; } At 09:13 AM 9/29/2003 -0700, Julius Smith wrote: In latex2html-2002-2-1, one can no longer have '\\' in the author's address. I am pretty sure this worked fine in latex2html-2002-1. A workaround I have found is to keep the entire address on one line (as far as l2h

[l2h] renewcommand including \section gets lost

2003-10-09 Thread Julius Smith
Here's an odd one: I have a macro I normally use for section headings defined as follows: \newcommand{\ksectionalt}[4]{\section[#4]{#3}\chlabel{#1}\index{#2|textbf}} In a particular document, I tried to override this with a simpler version as follows: ...

[l2h] Re: renewcommand including \section gets lost

2003-10-09 Thread Julius Smith
Oops - my work around does not really work around the problem. The second newcommand is simply ignored. -- jos At 12:58 AM 10/9/2003 -0700, Julius Smith wrote: Here's an odd one: I have a macro I normally use for section headings defined as follows: \newcommand{\ksectionalt}[4]{\section[#4

[l2h] Cannot mix labeled and unlabeled items

2003-10-11 Thread Julius Smith
The following example (in l2h 2002-2-1 (1.70)) produces '$$' in place of a bullet for the second item: \documentclass{article} \begin{document} \begin{itemize} \item[custom1] item 1 \item item 2 \end{itemize} \end{document} The problem seems to be mixing custom-labeled items with regular items.

Re: [l2h] Can no longer have newlines in \author address

2003-10-24 Thread Julius Smith
Under conditions I have not fully characterized, the entire author address is sometimes left justified while other author data are centered. The following override to make_singleauthor_title ($alignl replaced by $alignc) fixes this problem in all cases I have tried. However, I do not

[l2h] \ref{label} in current section point to $BASE#label when $BASE is defined

2003-11-27 Thread Julius Smith
See subject line. I am running latex2html 2002-2-1 (1.70) on a Red Hat 9 Linux system. If $BASE is not defined, the problem disappears. When the figure or equation is in another section (hence a different HTML file), the problem disappears. For now, my workaround is to not set the $BASE variable.

[l2h] Can no longer have newlines in \author address

2003-12-06 Thread Julius Smith
In latex2html-2002-2-1, one can no longer have '\\' in the author's address. I am pretty sure this worked fine in latex2html-2002-1. A workaround I have found is to keep the entire address on one line (as far as l2h is concerned): \author{% My Name\\ My Address, Line 1

Re: [l2h] mnemonic anchors

2003-12-06 Thread Julius Smith
At 02:45 PM 9/23/2003 +0200, Jens Lehmann wrote: The next problem is that subsections (and below) have anchors which are not safe for updates, for instance A NAME=SECTION00042. I would like to have the headings of the subsections and subsubsections as anchor names. I'm aware

Fwd: Re: [l2h] Figures cut off

2004-11-03 Thread Julius Smith
Sep 2004 21:26:34 -0700 To: Greg Gamble [EMAIL PROTECTED] From: Julius Smith [EMAIL PROTECTED] Subject: Re: [l2h] Figures cut off Cc: Amy Mossman [EMAIL PROTECTED], [EMAIL PROTECTED] This appears to be a real bug in l2h figure handling. My test case indicates that figures are cropped

[l2h] pstoimg/dvips interaction problem in Fedora Core 2

2005-01-07 Thread Julius Smith
For anyone running Fedora Core 2 who has the gray-background problem, below is a bugfix post to https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=127010. - jos The following patch to /usr/bin/pstoimg seems to fix the gray-image-background problem: *** pstoimg-FC2-stock Mon Dec 27

Re: [l2h] Problem with Gif generation after MiKTeX 2.4

2005-06-22 Thread Julius Smith
I just ran into this problem upon upgrading from Fedora Core 2 to Fedora Core 4. In debugging this, I verified that Ross's analysis is correct: the vrule/hrule rounding in ghostscript's ps-to-pnm conversion sometimes leaves a row of white pixels along the bottom to the right the vrule on the

Re: [l2h] Image conversion

2006-02-15 Thread Julius Smith
On 10/28/05, Shigeharu TAKENO [EMAIL PROTECTED] wrote: shige 10/29 2005 ppmquant was modified in netpbm-10.19 and may fail some environment (Document of ppmquant says it is obsolete). I am having this problem on Fedora FC4. Removing '-floyd' had no effect in my case. I

Re: [l2h] Image conversion

2006-02-17 Thread Julius Smith
Your patch works for my test case. Coincidentally, netpbm-10.31 was updated in Red Hat Fedora Core 4 last night on my machine, and its pnmtopng now works as well. - Julius At 05:48 PM 2/16/2006, Shigeharu TAKENO wrote: shige 02/17 2006 | Date: Thu, 16 Feb 2006 21:40:59

[l2h] Empty figures by pstoimg

2009-03-13 Thread Julius Smith
Somewhere around ghostscript-8.63 (and presumably somewhat earlier), all images generated by the latex2html's pstoimg utility became empty. Some debugging revealed that the problem could be worked around by disabling the $have_geometry variable in pstoimg. This results in no translation or

Re: [l2h] Empty figures by pstoimg

2009-03-14 Thread Julius Smith
I've discovered that the problem goes away if I replace \usepackage{graphics} with \usepackage{graphicx} (I also updated to ghostscript-8.64, which did not seem to make any difference.) Julius At 04:13 PM 3/13/2009, Julius Smith wrote: Somewhere around ghostscript-8.63 (and presumably somewhat

Re: [l2h] Empty figures by pstoimg

2009-03-14 Thread Julius Smith
Smith wrote: I've discovered that the problem goes away if I replace \usepackage{graphics} with \usepackage{graphicx} (I also updated to ghostscript-8.64, which did not seem to make any difference.) Julius At 04:13 PM 3/13/2009, Julius Smith wrote: Somewhere around ghostscript-8.63 (and presumably

Re: [l2h] problem with alt tag: formula is broken!

2010-12-11 Thread Julius Smith
I don't believe the ALT tag is supposed to contain compilable TeX, in general. Search the latex2html script for 'flatten_math' to see what all is done to it. - jos On Thu, Dec 9, 2010 at 10:56 AM, Alberto Buffolino a.buffol...@gmail.com wrote: Hello, I am a latex (and latex2html) beginner user

Re: [l2h] Black bars under integral signs when the limits of integration are -\infty and +\infty or an algebraic fraction for each of the upper and lower limits

2011-04-12 Thread Julius Smith
P.S. I don't understand how changing the $MATH_SCALE_FACTOR can be a reliable solution. Based on my understanding, all that does is tweak the probabilities of getting spurious black bars. If you can reproduce this problem in the version I am using, I will go after it. Cheers, Julius At

Re: [l2h] Nesting amsmath constructs align and cases causes infinite loop

2014-08-13 Thread Julius Smith
I get the same behavior in my Mac OS environment. The failure is noted in images.log but not in the console printout: ! Undefined control sequence. \lthtmlindisplaymathZ -\egroup \centerinlinemath \lthtmllogmath \lthtmlsetm... l.162

Re: [l2h] Making LaTeX2HTML manual fails

2014-08-18 Thread Julius Smith
It looks like you just need to download the hyperref package - jos At 11:52 AM 8/18/2014, Matthew Saltzman wrote: The Fedora 20 distribution of LaTeX2HTML includes the documentation source files, but not the compiled documentation. Links to online copies seem to be dead (this one in

Re: [l2h] Making LaTeX2HTML manual fails

2014-08-18 Thread Julius Smith
Yes, but apparently you need a later version - jos At 12:12 PM 8/18/2014, Matthew Saltzman wrote: On Mon, 2014-08-18 at 12:06 -0700, Julius Smith wrote: It looks like you just need to download the hyperref package - jos Nope, that's already installed. # rpm -q texlive-hyperref

Re: [l2h] Making LaTeX2HTML manual fails

2014-08-19 Thread Julius Smith
I guess I would try kpsewhich hyperref.sty and then look in that file to make sure it defines \Hy@colorlink - jos At 06:31 PM 8/18/2014, Matthew Saltzman wrote: On Mon, 2014-08-18 at 13:31 -0700, Julius Smith wrote: Yes, but apparently you need a later version - jos Where do I get

Re: [l2h] Making LaTeX2HTML manual fails

2014-08-21 Thread Julius Smith
? At 08:24 PM 8/19/2014, Matthew Saltzman wrote: On Tue, 2014-08-19 at 13:39 -0700, Julius Smith wrote: I guess I would try kpsewhich hyperref.sty and then look in that file to make sure it defines \Hy@colorlink - jos The strings \ifHy@colorlinks, \Hy@colorlinksfalse, \Hy@colorlink##1, \Hy

Re: [l2h] Fwd: Problems with anti-aliased equations

2016-02-11 Thread Julius Smith
I would suggest studying the output of "latex2html -debug ..." and isolate the failing step. I would imagine the problem is somewhere in netpbm or your font files. On Thu, Feb 11, 2016 at 5:35 AM Steve Phelps wrote: > Hi, > > I am trying to convert a latex paper into html

[l2h] Bugfix for comments on their own lines

2016-05-14 Thread Julius Smith
I just fixed a serious bug in latex2html.pin that I thought I should share: -s/((\n$comment_mark\d*)+\n)//gm; +s/((\n$comment_mark\d*)+(\n))/$3/gm; The way it bit was that text like This is a line ending in some \command % This is a comment This is more text would be

Re: [l2h] forks of LaTeX2HTML over the last 15 years

2017-06-24 Thread Julius Smith
Great to see the 2017 version of latex2html! I hit upon the l2h bug below, and updating to the latest version did not fix it (see failing example below). Thanks, - Julius Test file: \documentclass[12pt]{article} \newcommand{\threebythree}[9]{% \left[ \begin{array}{ccc} #1 & #2 & #3\\[2pt] #4

Re: [l2h] Some patches for latex2html

2017-09-13 Thread Julius Smith
All but 5) have been incorporated into https://github.com/josmithiii/l2hmj.git Thanks Takeno san! On Wed, Sep 13, 2017 at 3:17 AM, Shigeharu TAKENO wrote: > shige 09/13 2017 > > > I will show some patches for current latex2html-2017.2. > > 1) image file

Re: [l2h] Navigation Panel!!!! Please

2020-02-14 Thread Julius Smith
You can define subs top_navigation_panel and/or bot_navigation_panel in your .latex2html-init file. Search in /usr/local/bin/latex2html for the following et al. to see how it works (perl is easy to learn on demand): $top_navigation = (defined(_navigation_panel) ? _navigation_panel :