bug-texinfo
[Top][All Lists]
Advanced

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

Re: Very long document title is not broken on title page


From: Patrice Dumas
Subject: Re: Very long document title is not broken on title page
Date: Thu, 6 Sep 2012 00:28:32 +0200
User-agent: Mutt/1.5.20 (2009-12-10)

On Wed, Sep 05, 2012 at 04:20:33PM +0000, Karl Berry wrote:
> 
> Patrice, since HTML has no singular line width, I think it would be best
> to always ignore @* in the @title there?  (Which I think you may already
> be doing.)

No, in HTML, @* becomes a new line in attributes and in strings, so, for 
example

 @settitle the manual @* new version

leads to

 <title>the manual
  new version</title>

 <meta name="keywords" content="the manual 
  new version">

And in the main output @* becomes <br> everywhere, so, one get, for the
title as determined using @settitle:

 <h1 class="settitle" align="center">the manual <br> new version</h1>

and

 @title AWK As A Major Systems Programming @* Language---Revisited

becomes

 <h1>AWK As A Major Systems Programming <br> Language&mdash;Revisited</h1>

All that is valid HTML.


I am not sure it is correct to ignore @* in any context in HTML.  If a
user wants @* in TeX only, he should do something along

 @title AWK As A Major Systems Programming @inlinefmt{tex, @*} 
Language---Revisited

-- 
Pat



reply via email to

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