LATEX-L Archives

Mailing list for the LaTeX3 project

LATEX-L@LISTSERV.UNI-HEIDELBERG.DE

Options: Use Forum View

Use Monospaced Font
Show HTML Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Frank Mittelbach <[log in to unmask]>
Reply To:
Mailing list for the LaTeX3 project <[log in to unmask]>
Date:
Mon, 26 Nov 2007 23:25:42 +0100
Content-Type:
text/plain
Parts/Attachments:
text/plain (50 lines)
Hi,

some other topic: with running headers and footers you have different
styles (potentially) depending on different criteria of the current page.

The xor implementation has (since last week) support for the following set

 firstpage        & First page of the document (assumed to be odd-numbered)  \\
 regularpage-odd  & A regular right-hand text page (potentially with floats) \\
 regularpage-even & A regular left-hand text page (potentially with floats)  \\
 floatpage-odd    & A right-hand page with only floats               \\
 floatpage-even   & A left-hand page with only floats                \\

those are determined by the OR itself. from the document body I'm thinking to
extend this to support something like

 Aheadpage-odd/even

all of those have suitable defaults, so essentially a minimal  spec is to just
specify "regularpage-odd"

details can be read at
http://www.latex-project.org/svnroot/experimental/trunk/xpackages/xor/xo-pagestyle.dtx
(which hopefully compiles with std LaTeX2e (plus the .sty file in the same
dir)

but basically what i'm trying to say is that something like "recto/verso"
"floatpage/not-floatpage" "chapterpage" "firstpage" may require special
running headings so different layouts can be defined for them and the OR then
selects the right one behind the scenes  (and all of them may be different in
frontmatter / mainmatter / backmatter)

in 2e that was done in a limited way by defining \@oddhead \@evenhead within
\@psheadings and friends.

now what has this to do with float placement?

well, simply that for "different" pages different rules for placing floats may
apply.

so my question here is

 - what kind of "different" is the right kind of abstraction? (odd and even
   pages are cleary candidates, what else? same as for running headers? more?
   others?)

any suggestions?

frank

ATOM RSS1 RSS2