[l2h] netpbm for Solaris (5.7)

1999-04-14 Thread Graham Gough

I'm a happy l2h user on my Linux box, but am trying to install it for
others on a Solaris machine. I'm having some problems building
netpbm using xmkmf. Make Makefiles fails with 

making Makefiles in ./libtiff...
mv Makefile Makefile.bak
making Makefiles in ./pbm...
/bin/sh: ./pbm: does not exist

No doubt I could sort this mess out if I tried long enough, but has
anyone else been down the same track before and come across similar
problems.

Graham



Re: [l2h] \includecomment problem

1999-08-24 Thread Graham Gough

Thanks, Ross, your suggestion did the trick. Perhaps it could be
added to the manual, in the conditional text section.

\excludecomment seems to do what it ought to and so should provide an
answer to  Mariusz's problem

Graham



[l2h] Problem with \renewcommand

1999-09-07 Thread Graham Gough

This illustrates the necessity for following latex2html Rule No 1

  \emph{Always} put command definitions in the document preamble

and Rule No 2

   Avoid the defining the same command twice wherever possible

These rules are actually quite easy to follow and eliminate a lot of
latex2html problems. latex2html is not a full LaTeX engine and
definitions need to be handled with care

Graham



[l2h] bug using alltt in newenvironment

1999-10-13 Thread Graham Gough

You need to identify the names of alltt-like environments using the
perl variable $alltt_rx.

So in your .latex2html-inti, put something like

$alltt_rx = 'dcode|doutput|dinput';

Hope this helps

Graham



[l2h] href'ing source files

2001-02-16 Thread Graham Gough

I often create documents in one directory and then copy the output
from l2h somewhere else to appear on the web. This means that I always
end up with a broken link to the latex source in the `About this
document' section. Could you please add a flag to turn off the
href'ing of the source file? At the moment I have just commented out
the line

  if (-f "../$argv") { $argv = make_href ("../$argv", $argv, ); }

but it would be nice to have a cleaner solution which was more
customisable per document 

Thanks

Graham
___
latex2html mailing list
[EMAIL PROTECTED]
http://tug.org/mailman/listinfo/latex2html



Re: [l2h] Minor installation problem (2K.1beta)

2001-03-22 Thread Graham Gough

 "RM" == Ross Moore [EMAIL PROTECTED] writes:

RM No.  ICONPATH and ICONSERVER are completely independent bits
RM of information.

RM ICONSERVER is the http path to be used for absolute links to
RM icons from within your HTML pages.

RM ICONPATH is the location in your local file-system where the
RM icons are stored, from which copies are made when you process
RM a job using
RM  -local_icons .

RM Neither is deducible from the other.

I find it difficult to believe that Ross is wrong, but this is at
variance to what the file prefs.pm says:-

# This is how the LaTeX2HTML icons can be accessed from your HTTP server.
# It must be a valid URL on the server you are going to put your converted
# documents. Examples:
#   Relative: /icons/latex2html
#   Absolute: http://myserver.net/icons
# Note that this setting should be consistent with the following
# setting ICONSTORAGE.
# If left empty, an appropriate file: URL is assumed. This will show
# the icons o.k. on your local host, but won't work across the Web.
$prefs{'ICONPATH'} = 'http://www.cs.man.ac.uk/software/latex2html/icons';

# This is the directory where the icons have to be copied so that they
# can be accessed with the path given above. Keep this empty if you do
# not want the icons to be installed in your Web server area.
# However, the icons are installed in LIBDIR/icons, no matter what.
$prefs{'ICONSTORAGE'} = '';

and l2hconf.pin has the line

$ICONSERVER = '@ICONPATH@';

Maybe my problem is related to the lines in prefs.pm which say:-

# The file prefs.pm contains user-configurable stuff for DOS platforms.
# UNIX users can override the settings with the configure utility (preferred).

which suggests that prefs.pm isn't used on Unix platforms. However, in
the UNIX section of the INSTALL file it tells you to edit prefs.pm,

It would appear that there is some confusion here, and I don't think
it's all mine, although I'm perfectly prepared to believe that
some/most of it is!

Regards

Graham
___
latex2html mailing list
[EMAIL PROTECTED]
http://tug.org/mailman/listinfo/latex2html



Re: [l2h] Minor installation problem (2K.1beta)

2001-03-23 Thread Graham Gough

 "RM" == Ross Moore [EMAIL PROTECTED] writes:

RM so it could be that the interpolation of @ICONPATH@ isn't
RM working properly.

I've found it, I think. I believe the `problem' (if there is one) is
in the following lines in config.pl.

$newcfg{'ICONPATH'} = $opt{'ICONPATH'} || $cfg{'ICONPATH'} ||
  $prefs{'ICONPATH'} || '';

If a cfgcache.pm exists from a previous attempt, the value there is
used and the one you have carefully crafted in prefs.pm is ignored. The
same approach is used for all configuration. This obviously isn't the
behaviour I expected, and I think at least could do with documenting. I
guess the order I expected was

 $opt{'ICONPATH'} || $prefs{'ICONPATH'} || $cfg{'ICONPATH'} ||'';

Removing the cfgcache made everything work as I expected.

Regards

Graham
___
latex2html mailing list
[EMAIL PROTECTED]
http://tug.org/mailman/listinfo/latex2html



Re: [l2h] per-file configuration?

2001-11-30 Thread Graham Gough

I've deleted the original posting and only have Ross's response, but
doesn't the additional feature, not mentioned by Ross, of having a
 .latex2html-init in the current directory solve the problem?

Graham

___
latex2html mailing list
[EMAIL PROTECTED]
http://tug.org/mailman/listinfo/latex2html



[l2h] tabular bug

2003-06-17 Thread Graham Gough
On June 3rd I reported a possible bug in table generation, to which
there has been no response. As this list (usually Ross) is usually
very quick to respond, I wondered of my posting had made it to the
list 

Graham
___
latex2html mailing list
[EMAIL PROTECTED]
http://tug.org/mailman/listinfo/latex2html


[l2h] Broken enumerations

2003-08-19 Thread Graham Gough
I want to have a enumerated list broken by comments as in

1. First point
2. Second

further points include

3.

and yet more things to say are 

4.
5.

In LaTeX this is easliy accomplished by using something like

\newcounter{saveenum}
 ...
\begin{enumerate}
 ...
 \setcounter{saveenum}{\value{enumi}}
\end{enumerate}
Commentary text
\begin{enumerate}
 \setcounter{enumi}{\value{saveenum}}
 ...
\end{enumerate}

However, l2h doesn't handle this at all well. The second and
subsequent lists all start with 1 again. Is there a work round to
this?

Graham
___
latex2html mailing list
[EMAIL PROTECTED]
http://tug.org/mailman/listinfo/latex2html


Re: [l2h] Broken enumerations

2003-08-20 Thread Graham Gough
Sorry Ross, but I'm afraid you're wrong this time (a rare event
indeed!). The command \usecounter sets the value of the counter back
to 0 again, so your suggestion won't work. See latex.ltx

   [EMAIL PROTECTED]@[EMAIL PROTECTED]

Mark Wooding has macros \suspend and \resume to tackle this problem in
his mdwlists package, I was just using a naive approach but some
mechanism is necessary to remember the value from one list to the
next. 

Best wishes

Graham
___
latex2html mailing list
[EMAIL PROTECTED]
http://tug.org/mailman/listinfo/latex2html