* question about \inouter cum suis
@ 2010-10-06 11:04 Thomas A. Schmitz
2010-10-06 13:39 ` Hans Hagen
0 siblings, 1 reply; 7+ messages in thread
From: Thomas A. Schmitz @ 2010-10-06 11:04 UTC (permalink / raw)
To: mailing ConTeXt users list for
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
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage : http://www.pragma-ade.nl / http://tex.aanhet.net
archive : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: question about \inouter cum suis
2010-10-06 11:04 question about \inouter cum suis Thomas A. Schmitz
@ 2010-10-06 13:39 ` Hans Hagen
2010-10-06 13:48 ` Thomas A. Schmitz
2010-10-06 14:18 ` Thomas A. Schmitz
0 siblings, 2 replies; 7+ messages in thread
From: Hans Hagen @ 2010-10-06 13:39 UTC (permalink / raw)
To: mailing list for ConTeXt users; +Cc: Thomas A. Schmitz
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
-----------------------------------------------------------------
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage : http://www.pragma-ade.nl / http://tex.aanhet.net
archive : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: question about \inouter cum suis
2010-10-06 13:39 ` Hans Hagen
@ 2010-10-06 13:48 ` Thomas A. Schmitz
2010-10-06 13:57 ` Wolfgang Schuster
2010-10-06 14:18 ` Thomas A. Schmitz
1 sibling, 1 reply; 7+ messages in thread
From: Thomas A. Schmitz @ 2010-10-06 13:48 UTC (permalink / raw)
To: mailing list for ConTeXt users
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
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage : http://www.pragma-ade.nl / http://tex.aanhet.net
archive : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: question about \inouter cum suis
2010-10-06 13:48 ` Thomas A. Schmitz
@ 2010-10-06 13:57 ` Wolfgang Schuster
2010-10-06 14:08 ` Thomas A. Schmitz
0 siblings, 1 reply; 7+ messages in thread
From: Wolfgang Schuster @ 2010-10-06 13:57 UTC (permalink / raw)
To: mailing list for ConTeXt users
Am 06.10.2010 um 15:48 schrieb Thomas A. Schmitz:
>
> 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).
It’s “D’oh” :)
Wolfgang
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage : http://www.pragma-ade.nl / http://tex.aanhet.net
archive : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: question about \inouter cum suis
2010-10-06 13:57 ` Wolfgang Schuster
@ 2010-10-06 14:08 ` Thomas A. Schmitz
0 siblings, 0 replies; 7+ messages in thread
From: Thomas A. Schmitz @ 2010-10-06 14:08 UTC (permalink / raw)
To: mailing list for ConTeXt users
On Oct 6, 2010, at 3:57 PM, Wolfgang Schuster wrote:
> It’s “D’oh” :)
>
> Wolfgang
\dorecurse{2}{D'oh!}
Thomas
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage : http://www.pragma-ade.nl / http://tex.aanhet.net
archive : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: question about \inouter cum suis
2010-10-06 13:39 ` Hans Hagen
2010-10-06 13:48 ` Thomas A. Schmitz
@ 2010-10-06 14:18 ` Thomas A. Schmitz
2010-10-06 16:04 ` Hans Hagen
1 sibling, 1 reply; 7+ messages in thread
From: Thomas A. Schmitz @ 2010-10-06 14:18 UTC (permalink / raw)
To: mailing list for ConTeXt users
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
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage : http://www.pragma-ade.nl / http://tex.aanhet.net
archive : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: question about \inouter cum suis
2010-10-06 14:18 ` Thomas A. Schmitz
@ 2010-10-06 16:04 ` Hans Hagen
0 siblings, 0 replies; 7+ messages in thread
From: Hans Hagen @ 2010-10-06 16:04 UTC (permalink / raw)
To: mailing list for ConTeXt users; +Cc: Thomas A. Schmitz
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
-----------------------------------------------------------------
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage : http://www.pragma-ade.nl / http://tex.aanhet.net
archive : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2010-10-06 16:04 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-10-06 11:04 question about \inouter cum suis Thomas A. Schmitz
2010-10-06 13:39 ` Hans Hagen
2010-10-06 13:48 ` Thomas A. Schmitz
2010-10-06 13:57 ` Wolfgang Schuster
2010-10-06 14:08 ` Thomas A. Schmitz
2010-10-06 14:18 ` Thomas A. Schmitz
2010-10-06 16:04 ` Hans Hagen
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).