Re: [NTG-context] \xmldoifelseempty

2018-03-18 Thread Wolfgang Schuster



survoje 
18. März 2018 um 19:37

Bonjour,

\completeindex (or \placeindex) works in this case :

\setuppapersize[A5]%[A4,landscape]

%\setuparranging[2UP]


with %


but does not work in this case :


\setuppapersize[A5][A4,landscape]

\setuparranging[2UP]

I do not understand where is my mistake !


You have to use the arrange option for the context command, e.g.

context --arrange my_document.tex

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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___

Re: [NTG-context] \xmldoifelseempty

2018-03-18 Thread Pablo Rodriguez
On 03/18/2018 07:37 PM, survoje wrote:
> Bonjour,
> 
> \completeindex (or \placeindex) works in this case :
> 
> \setuppapersize[A5]%[A4,landscape]
> %\setuparranging[2UP]
> 
> with %
> 
> but does not work in this case :
> 
> \setuppapersize[A5][A4,landscape]
> \setuparranging[2UP]
> 
> I do not understand where is my mistake !

Hi Gérard,

please, start an new thread if you have a new question to the list.
Don’t “hijack” other people’s threads.

It seems that registers don’t work with imposition. I don’t know whether
this might be a bug.

A workaround for your issue would be:

\setuppapersize[A5][A4, landscape]
\setuparranging[2UP]
\setuplayout
  [backspace=0pt,
topspace=0pt,
   width=middle,
  height=middle,
location=middle,
  header=0pt,
  footer=0pt]
\setupinteraction[state=start]
\setupinteractionscreen[option={landscape}]
\starttext
\startbuffer[real-document]
\setuppapersize[A5]%% this might be removed
\starttext
a\index{b}
b\index{c}
c\index{d}
\placeindex
\stoptext
\stopbuffer
\typesetbuffer[real-document]
\stoptext

I hope it helps,

Pablo
-- 
http://www.ousia.tk
___
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___

Re: [NTG-context] \xmldoifelseempty

2018-03-18 Thread survoje

Bonjour,

\completeindex (or \placeindex) works in this case :

\setuppapersize[A5]%[A4,landscape]

%\setuparranging[2UP]


with %


but does not work in this case :


\setuppapersize[A5][A4,landscape]

\setuparranging[2UP]

I do not understand where is my mistake !

Thank you for your help !

Gérard


___
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___