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
03).
jos
_
Julius Smith, Assoc. Prof.
CCRMA, Stanford University
http://www-ccrma.stanford.edu/~jos/
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]>
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
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
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
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
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
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
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
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
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
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
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)
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
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
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
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
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
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)
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
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
___
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
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
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
__
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
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
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
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
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
/&#(\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
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.
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
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}
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.
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
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.
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
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
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
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
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
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:
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
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.
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
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
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
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
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
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
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:
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
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
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:
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-
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
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
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
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
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
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
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 &
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
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
65 matches
Mail list logo