[l2h] Ignoring \paragraph
Algis Kabaila
akabaila at pcug.org.au
Sun Nov 12 07:58:40 CET 2006
Hello Ross and All,
Thank you for your advice. It has solved my problem of small pages. I now
have changed one setting in the l2hconfig.pm file, namely:
$MAX_SPLIT_DEPTH = 6 (Line # 305 in the l2hconf.pm file)
The other pertinent setting, after some experimentation, I decided to leave at
its default value:
$MAX_LINK_DEPTH = 4 (Default configuration value)
It is great to have some advice on the settings in this configuration file. I
am grateful to Ross Moore for "getting me out of a hole". Invaluable!
OldAl.
On Thursday 09 November 2006 17:19, Ross Moore wrote:
> Hello Algis,
>
> On 09/11/2006, at 4:06 PM, Algis Kabaila wrote:
> > Generally speaking, l2h translation does a magnificent job.
> > However, the
> > separate page creation can be a problem. In several places, I have
> > very
> > small examples in the text and have marked them as \paragraph for the
> > statement of example AND for the solution. l2h creates a separate
> > page for
> > each paragraph, so I end up with some pages that only have one or
> > two lines
> > text. So I would like latex2html "ignore" \paragraph moniker as
> > far as page
> > creation is concerned.
> >
> > I had a look at the l2hconf.pm file (long and well commented), but
> > can not
> > find how to tell l2h to "ignore" \paragraph.
>
> Play with the -split command-line option,
> or the $MAX_SPLIT_DEPTH parameter.
>
> e.g. look at the effect of each of
>
> latex2html -split 4 ...other options... filename.tex
> latex2html -split 5 ...other options... filename.tex
> latex2html -split 6 ...other options... filename.tex
>
> Keep increasing the number until you get what you want.
> (I think 6 is correct, but it may depend upon which document-class
> you are using.)
>
> You may also need to adjust -link <num> which controls
> the $MAX_LINK_DEPTH parameter, to ensure that you have
> links to the separate pages.
>
> > There is no way that I know to specify a small heading, other than
> > paragraph.
> > (\emph is really not suitable for that). How can I stop the
> > latex2html
> > creating a separate page for each paragraph? Is there an
> > alternative way in
> > LaTex markup to create headers for paragraphs that do not signal to
> > latex2html to create a separate page?
> >
> > Does anybody else have a similar experience or is it just my old
> > ignorance of
> > the tools that are on my desktop?
>
> The -split <num> and -link <num> are basic options which
> need to be used to control this kind of situation.
> It's actually a very common situation.
>
> Some documents want all sectioning commands to start new pages;
> others do not. The various options give you the control that
> you need.
>
> > I would be most grateful to any suggestions and answers,
> >
> > OldAl
> > in sunny Canberra with fresh mornings and hot mid-days.
> > --
> > Algis Kabaila (Dr)
>
> Hope this helps,
>
> Ross Moore
>
> ------------------------------------------------------------------------
> Ross Moore ross at maths.mq.edu.au
> Mathematics Department office: E7A-419
> Macquarie University tel: +61 +2 9850 8955
> Sydney, Australia 2109 fax: +61 +2 9850 8114
> ------------------------------------------------------------------------
>
>
> _______________________________________________
> latex2html mailing list
> latex2html at tug.org
> http://tug.org/mailman/listinfo/latex2html
--
Algis Kabaila (Dr)
akabaila[at]pcug[dot]org[dot]au
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://tug.org/pipermail/latex2html/attachments/20061112/fd7853ee/attachment.bin
More information about the latex2html
mailing list