Re: [NTG-context] question about \inouter cum suis

2010-10-06 Thread Hans Hagen

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
___


Re: [NTG-context] question about \inouter cum suis

2010-10-06 Thread 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). 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
___


Re: [NTG-context] question about \inouter cum suis

2010-10-06 Thread Wolfgang Schuster

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
___


Re: [NTG-context] question about \inouter cum suis

2010-10-06 Thread Thomas A. Schmitz

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
___


Re: [NTG-context] question about \inouter cum suis

2010-10-06 Thread Thomas A. Schmitz
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
___


Re: [NTG-context] question about \inouter cum suis

2010-10-06 Thread Hans Hagen

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
___