Gerard
19. März 2018 um 11:22
Bonjour, Hi !

Pablo, ok for the remark ! I leave the previous subject and I open mine because it's not solved

Le 18/03/2018 à 23:21, Gerard a écrit 

Thank you Wolfgang for the solution :

context --arrange my_document.tex

I responded too quickly. Look at the two pictures attached :

- \placeindex
does not mark the pages
- \completeindex only marks page 19 (the last page)

Your example doesn’t help because it doesn’t show the problem.

That's the context :

-----------------------

\setuppapersize[A5][A4,landscape]

\setuparranging[2UP]


\setupregister[index][n=2,
    pagestyle=bold]


\starttext
....

\externalfigure[Alaude][width=\textwidth]\index{Alaude}
\blank
\externalfigure[Andro][width=\textwidth]\index{Andro}
....
\page
\completeindex
\stoptext
---------------------------------

and running by "context --arrange my_document.tex"

It's ok with :
-------------------------

\setuppapersize[A5]%[A4,landscape]

%\setuparranging[2UP]

-------------------------


Try to produce a document without arrangement and make an extra
run afterwards where you arrange the pages. You can use modes for this.

\startnotmode[arrange]
\setuppapersize[A5][A5]
\stopnotmode

\startmode[arrange]
\setuppapersize[A5][A4,landscape]
\setuparranging[2UP]
\stopmode


Process your document first with

    context my_document.tex

and make an extra run at the end with

    context --once --mode=arrange my_document.tex


Wolfgang