Next in thread → Next in month →

Re: [docbook-apps] titleabbrev, docbook v5

From
davep <>
Date
2011-08-12T05:35:59+00:00
ID
Thread
Re: [docbook-apps] titleabbrev, docbook v5
On 08/11/2011 05:12 PM, Bob Stayton wrote:
> Hi  Dave,
> Yes, using mode="titleabbrev.markup" is the way to get the titleabbrev 
> when you need it.  It falls back to the title if there is no titleabbrev.
>
> In fact, the default header declared in the 'header.content' template 
> in fo/pagesetup.xsl uses that mode for the chapter and section titles 
> in the header, and for the TOC entry in the 'toc.line' template in 
> fo/autotoc.xsl. Myself, I'm not sure I agree with that latter usage, 
> as a user might be confused when the title they land on from the TOC 
> link differs from the TOC entry.  At least in the running header you 
> have the context of the chapter you are in to reduce confusion.
>
> I'm not clear what you mean about about the long chapter title. There 
> is a mode="titleabbrev.markup" for chapter in DocBook XSL. Are you 
> talking about the title on the chapter title page itself?


Two use cases.
  1. When the title is > about 30 characters, it messes up the 
formatting on the title page.
2. With a long title, a running header containing the title again messes up.

It really needs feedback from the formatter (xsl 2.0).

regards


regards

-- 
Dave Pawson
XSLT XSL-FO FAQ.
http://www.dpawson.co.uk
Next in thread → Next in month →