[l2h] texexpand fails

1999-04-07 Thread Julius Smith
rt.tex % % This simple example illustrates how documents can be % split into smaller segments, each segment processed % by latex2html separately. This document can be ... perl H:/Local/l2h/l2h-99p1/texexpand H:\Local\l2h\l2h-99p1\example\report.tex > foo texexpand TEST 2 failed: No such file o

Re: [l2h] latex2html on windows95

1999-05-21 Thread Julius Smith
03). jos _ Julius Smith, Assoc. Prof. CCRMA, Stanford University http://www-ccrma.stanford.edu/~jos/

[l2h] Various bugs and workarounds for v99.1 under Linux

1999-07-15 Thread Julius Smith
ld add that I'm getting great results after finding the needed workarounds. L2h is truly an awesome perl script! "Latex2html is so improbable, that if it did not exist, the possibility would not be worth discussing." - Julius Smith <[EMAIL PROTECTED]>

Re: [l2h] Print Button??

1999-07-29 Thread Julius Smith
At 10:31 AM 7/29/99 -0400, John McKitterick wrote: >I'd like to be able to add a button similar to the navigation buttons >that would allow the viewer of the html to print the postscript file >output by latex and dvips, since that looks better on paper than the >printed html does. Here's how I do

Re: [l2h] No such luck with "ndbm store returned -1, errno 22, key "" at... "

2000-03-15 Thread Julius Smith
This problem just bit me, apparently while processing the bibliography environment in a short document. It was possibly caused by upgrading from RedHat Linux 6.0 to 6.1, but I had also made some cosmetic changes to my .latex2html-init file (not involving title length), so I can't be sure. Th

[l2h] How do I title l2h's table-of-contents?

2000-05-11 Thread Julius Smith
Is there some way to set the title of the table-of-contents generated by l2h? I do not use LaTeX's TOC (which I can title) because that gives me two TOCs, which is confusing. Right now, l2h's TOC is generated after the first page, separated by . All I want to do is add the word "Contents" at

Re: [l2h] Adding html-code to the 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 section of > > the generated html-doc? I looked through the manual, but wi

[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 tag instead, which is what I need. (I need to enable users to copy/pas

[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] 2K.1beta(1.55) bug reports, workarounds, and fixes

2001-07-26 Thread Julius Smith
This email is to document various headbutts encountered in upgrading from LaTeX2HTML Version 99.2beta6 (1.42) to LaTeX2HTML Version 2K.1beta (1.55). 1. All HTML images suddenly had black bars on the left and bottom. Thanks to the warning in the installation script, I upgraded the netpbm package

Re: [l2h] image problem

2001-07-27 Thread Julius Smith
You can get an "illegal seek" message if image conversion failed for any reason. In images.log, search for "error" and you'll probably find clues to the problem. -- jos At 12:14 PM 7/27/2001 -0600, jlstaln wrote: >I know this question has been asked before, but there was no satisfying >respons

Re: [l2h] image problem

2001-07-28 Thread Julius Smith
In particular, you get an "illegal seek" message when the image is completely blank. You can see the details by setting the debug flag ("latex2html -debug ..."). -- jos At 12:14 PM 7/27/2001 -0600, jlstaln wrote: >I know this question has been asked before, but there was no satisfying >response

[l2h] renewcommand suppresses math expansion

2001-08-20 Thread Julius Smith
The example below illustrates how the \renewcommand can foul up math in the redefined macro body. Is this a know behavior, and is there something good to be done about it? Thanks --- jos \documentclass{article} \newcommand{\myFigure}[2]{Figure #1 goes here: #2} % The following line causes t

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

2001-09-12 Thread Julius Smith
I have determined that some of my PostScript figures are cut off (at the top) by the use of the -E option to dvips (version 5.86). Note that setting $DVIPS = "dvips"; in your .latex2html-init file (as opposed to "dvips -E") NO LONGER suppresses the use of this option (in l2h 2K1beta)

[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 occ

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 th

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 1

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, Ju

[l2h] Both \latex{} and \html{} blocks appear in images.tex

2001-12-07 Thread Julius Smith
I just noticed that (in l2h v2k.1beta (1.55)) the defs \latex{ latex-only block } \html{ html-only block } appear in images.tex as \latex{ latex-only stuff } html-only stuff As a result, both blocks are com

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)

[l2h] Where is \voidb@x supposed to be defined?

2002-02-02 Thread Julius Smith
Does anyone know where the macro \voidb@x is supposed to be defined? LaTeXtoHTML expects it to be defined, but it is not defined in my environment. Am I missing some package? In images.tex, I have ... \newcommand\lthtmlboxmathZ{\@next\next\@currlist{}{\def\next{\voidb@x}}% ... {\newpage\clear

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 descri

[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 e

Re: [l2h] Fix for relative image paths in includegraphics?

2002-09-19 Thread Julius Smith
At 09:44 AM 9/14/2002 +1000, Ross Moore wrote: >The graphicx package has a \graphicspath command, which allows >search paths for graphics to be given in the LaTeX source document. Thanks for mentioning this! I've needed this for a long time for use with xfig figures. (I actually resorted to

[l2h] sub do_cmd_textsc() should leave punctuation outside of blocks

2003-09-28 Thread Julius Smith
In latex2html 2002-2-1 (1.70), the LaTeX \textsc{Transform (DFT)} translates to TRANSFORM (DFT) when it should be TRANSFORM (DFT) In other words, the parentheses should not be different sizes. One solution might be to terminate the SMALL block on any non-word, non-whitespace chars (in sub

Re: [l2h] mnemonic anchors

2003-09-28 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 . I would like to have the headings of the subsections and subsubsections as anchor names. I'm aware that this causes trouble if a heading

[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 \latexhtml{\\}{\begin{r

Re: [l2h] sub do_cmd_textsc() should leave punctuation outside of blocks

2003-09-29 Thread Julius Smith
/&#(\d+);/&lowercase_entity($1)/egm; eval "\$next =~ $scextra" if ($scextra); eval "\$next =~ tr/a-z$sclower/A-Z$scupper/"; $scstr .= "" . $next ."<\/SMALL>"; } $scstr .= $text; } $scstr

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

2003-09-30 Thread Julius Smith
h @affils, $t_affil if $t_affil; push @addresses, $t_address if $t_address; } $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.

[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: ... \renewcommand{\ksectionalt}[4]{\sectio

[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}

[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 understan

[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 \latexhtml{\\}{\begin{r

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 . I would like to have the headings of the subsections and subsubsections as anchor names. I'm aware that this causes trouble if a heading

Re: [l2h] Figures cut off

2004-11-03 Thread Julius Smith
This appears to be a real bug in l2h figure handling. My test case indicates that figures are cropped to their original size despite any magnification by \resizebox{}. Therefore, \resizebox may shrink figures but not enlarge them. Evidently, the -crop argument to gs needs to be multiplied by

Re: [l2h] Figures cut off

2004-11-03 Thread Julius Smith
This appears to be a real bug in l2h figure handling. My test case indicates that figures are cropped to their original size despite any magnification by \resizebox{}. Therefore, \resizebox may shrink figures but not enlarge them. Evidently, the -crop argument to gs needs to be multiplied by

Fwd: Re: [l2h] Figures cut off

2004-11-03 Thread Julius Smith
s Date: Sat, 11 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 indi

[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 05:

[l2h] Various latex2html bugfixes

2005-02-18 Thread Julius Smith
Hi All, The following patches implement a few known bugfixes (see past email to latex2html@tug.org) that seem not to have been incorporated into the official release as yet. The first patch allows the author address to contain more than one line (separated by '\\'). The second patch repairs th

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 left.

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 +0900

[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 croppin

Re: [l2h] Empty figures by pstoimg

2009-03-13 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 som

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 presu

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 wrote: > Hello, > I am a latex (and latex2html) beginner user and use them (from

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 12:

Re: [l2h] pstoimg

2012-08-16 Thread Julius Smith
Hmmm, I would try the '-debug' option for pstoimg. If that doesn't make it clear, I would run the two internal commands separately to see which is failing: /usr/bin/ppmquant 256 < /tmp/p59938.pnm > /tmp/test.pnm /usr/bin/pnmtopng < /tmp/test.pnm > img009.png At 07:29 AM 8/16/2012, Jenkins, Mac

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 \lthtmlin

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 particular:

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-

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 ge

Re: [l2h] Making LaTeX2HTML manual fails

2014-08-21 Thread Julius Smith
t's good enough? 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@color

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

2014-08-21 Thread Julius Smith
fwd - jos [P.S. It fixes the problem in my test case] At 03:02 AM 8/21/2014, Shigeharu TAKENO wrote: shige 08/20 2014 Julius Smith wrote: | I get the same behavior in my Mac OS environment. The failure is | noted in images.log but not in the console printout: = | I have

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 using latex2html and I

[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 rewritt

Re: [l2h] Non standard class questions

2017-01-12 Thread Julius Smith
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

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 name for -ps_image > > W

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(&top_navigation_panel) ? &top_navigation_pa