question about \inouter cum suis
Dear gang, consider the following: \setuppapersize[A6][A6] \setuplayout [width=middle, height=middle, backspace=3cm, margin=1.5cm, location=doublesided] \starttext This nation, \inouter{1}turning 100 years old, had no {\em Odyssey}, no St.~George slaying the dragon, no Prometheus. The emerging American genius for making a lot of money was a poor substitute for King Arthur and his knights (although the Horatio Alger myth of rags to riches was good for a lot of mileage). Without a mythology and set of ancient heroes to call its own, America had to manufacture its heroes. So the mythmaking machinery of nineteenth|-|century American media created a suitable heroic archetype in the cowboys of the Wild West. The image was of the undaunted cattle drivers living a life of reckless individualism, braving the elements, staving off brutal Indian \inouter{2}attacks. Or of heroic lawmen dueling with six|-|guns in the streets at high noon. This artificial Wild West became America's Iliad. This nation, turning 100 years old, had no {\em Odyssey}, no St.~George \inouter{3}slaying the dragon, no Prometheus. The emerging American genius for making a lot of money was a poor substitute for King Arthur and his knights (although the Horatio Alger myth of rags to riches was good for a lot of mileage). Without a mythology and set of ancient heroes to call its own, America had to manufacture its heroes. \stoptext The \inouter{2} is typeset in the INNER margin, both in mkiv and mkii. I assume that's because the paragraph it's in starts on an odd page. Is there any setup command to change this behavior? Or is this the expected behavior? I looked into page-mar.mkiv, but couldn't find anything... All best Thomas
On 6-10-2010 1:04, Thomas A. Schmitz wrote:
\setuppapersize[A6][A6]
\setuplayout [width=middle, height=middle, backspace=3cm, margin=1.5cm, location=doublesided]
\setuplayout [width=middle, height=middle, backspace=3cm, margin=1.5cm] \setuppagenumbering [alternative=doublesided] inner/outer tracking only kicks in when in doublesided mode ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------
On Oct 6, 2010, at 3:39 PM, Hans Hagen wrote:
\setuppagenumbering [alternative=doublesided]
inner/outer tracking only kicks in when in doublesided mode
DUH! (to quote a well-known cartoon character). Of course! I thought my location=doublesided in \setuplayout did this, but I was wrong! Thanks a lot! Thomas
OK, another question, hopefully less stupid: \defineinmargin [MyOuter] [outer] [normal] [distance=1cm] \starttext test \MyOuter{1}test \stoptext gives ! You can't use `\dimexpr' in restricted horizontal mode. but the definition is taken from page-mar.mkiv Thomas
On 6-10-2010 4:18, Thomas A. Schmitz wrote:
\defineinmargin [MyOuter] [outer] [normal] [distance=1cm]
\starttext test \MyOuter{1}test \stoptext
\def\domarginblockskip#1% {\doifelsenothing\margincontentdistance {\hskip\dimexpr +\margincontenthoffset +\compensatedinnermakeupmargin +\csname\??im#1\c!distance\endcsname \relax} {\hskip\dimexpr %%%%%%%%%%%% \hskip got lost +\margincontenthoffset +\compensatedinnermakeupmargin +\margincontentdistance \relax}% \relax} -- ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------
participants (3)
-
Hans Hagen
-
Thomas A. Schmitz
-
Wolfgang Schuster