Article View: comp.text.tex
Article #575actual page number of a \midinsert
From: Hal.Varian
Date: Thu, 30 Jul 1992 15:18
Date: Thu, 30 Jul 1992 15:18
23 lines
1207 bytes
1207 bytes
I am using \midinsert to place figures, but want to treat
figures on odd pages differently than on even pages. I create a
box containing \FigEven and \FigOdd and use the following
construction:
\midinsert
\ifodd\pageno\copy\FigOdd
\else\copy\FigEven\fi
\endinsert
This works *most* of the time, but every now and then I get a
FigOdd on an even page or vice versa. It looks like \pageno is
getting expanded at the wrong time.
I have to admit, I'm pretty vague on just when \pageno is
*finally* determined, and how this interacts with \midinsert.
Can anyone offer some pointers?
--
Hal.Varian@umich.edu Hal Varian
voice: 313-764-2364 Dept of Economics
fax: 313-764-2364 Univ of Michigan
Ann Arbor, MI 48109-1220
Technical Details
Message-ID:
<1992Jul30.151813.15190@terminator.cc.umich.edu>Path:
arc1-ca.pugleaf.net!sparky!uunet!gatech!destroyer!terminator!newsShow Full Headers
Complete Article Headers
Newsgroups: comp.text.tex Path: arc1-ca.pugleaf.net!sparky!uunet!gatech!destroyer!terminator!news From: Hal.Varian@umich.edu Subject: actual page number of a \midinsert Message-ID: <1992Jul30.151813.15190@terminator.cc.umich.edu> Keywords: midinsert Sender: news@terminator.cc.umich.edu (Usenet Owner) Reply-To: Hal.Varian@umich.edu Organization: University of Michigan Date: Thu, 30 Jul 1992 15:18:13 GMT Lines: 23