[Top][All Lists]

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

Re: Headings with pdftex seems wrong

From: Oleg Katsitadze
Subject: Re: Headings with pdftex seems wrong
Date: Sat, 30 Jun 2007 17:57:56 +0300
User-agent: Mutt/1.5.13 (2006-08-11)

On Sat, Jun 30, 2007 at 12:55:17PM +0300, Oleg Katsitadze wrote:
> I can easily add support for chapter names/numbers

Here's the patch.  I left \thischapter{,num,name} untouched and added
new macros \pagechapter{,num,name} which are defined through the
marks.  If this is ok, I'll try to document the new macros.  If we
decide not to introduce the new macro names and reuse \thischapter*,
let me know, it's trivial to fix.  Also, I didn't implement
\pagesection alternative for \thissection.

I also fixed a bug (I think).  In \chapmacro, TeX inserts baseline
skip between \pdfdest and the actual heading, which is a potential
break point.  So we need \nobreak there, otherwise \pdfdest (and now
also \mark) may end up on a page before the heading when
@setchapternewpage off.


Attachment: patch
Description: Text document

reply via email to

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