bug-texinfo
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: why 2 css classes for settitle and titlefont ?


From: Dumas Patrice
Subject: Re: why 2 css classes for settitle and titlefont ?
Date: Tue, 5 Aug 2003 13:11:44 +0200
User-agent: Mutt/1.4.1i

On Mon, Aug 04, 2003 at 07:44:48PM -0400, Karl Berry wrote:
> Hi Pat,
> 
>     Maybe it could be worth explaining a bit what titlefont does when before
>     top node or after, 
> 
> It always does the same thing.  Doesn't it?
> Outputs its arg in a big font.

Yes, but when it appears before the top node and before settitle  (but not
within @titlepage/@end titlepage), there is no title at top of the html 
output and <title> is not set.

>     and the relationship with @settitle. 
> 
> I added this text to the titlefont node:
> 
> For HTML output, each @code{@@titlefont} command produces an
> @code{<h1>} heading, but the HTML document @code{<title>} is not
> affected.  For that, you have to use @code{@@settitle} (@pxref{settitle})

And also
When @@titlefont appears before the top node and before settitle (but not 
within @titlepage/@end titlepage) there is no title at top of the html output 
and <title> is not set.

... if it is really what is wanted ;-).
 
>     And maybe an explaination of what happens to things before @node Top
>     could be usefull too.
> 
> I'm not sure I can explain that -- or even know it, in all its
> permutations :).  And I don't want to cast the current behavior
> (whatever it is) in stone, anyway.

Hm, I am sure you could explain that. Oh, I will try:

The text appearing before any @node will show up on the top of the html page 
of that node, but won't appear in the info file. It also appears in the
texi2dvi output.

(if you look at the info file it is indeed there, but the info reader won't
show it).

>     There is another thing I don't understand it is why @settile is taken
>     into account in the generated html only when there is a 
>     @titlepage
>     @end titlepage
>     It seems to me that it should be taken into account even when there is
>     no @titlepage ?
> 
> I agree, and in my tests, it is.  Please send me the Texinfo file in
> question ...

I wasn't clear enough. Indeed @settitle sets <title>.
However when there is a @titlepage/@end titlepage settitle also adds the
title at the top of the html document, but don't do that when there is 
no @titlepage/@end titlepage.

And another non related thing it might be worth mentionning is that @title
doesn't set the title in html, only @settitle.

I attach a file ready to show all these features, but you will have to 
uncomment lines to really see things.

Pat

Attachment: titlefont.texi
Description: TeXInfo document


reply via email to

[Prev in Thread] Current Thread [Next in Thread]