* \completeindex and \setuparranging
[not found] <ecd80e45-06a9-08d4-0fda-fbe4c2c77eae@free.fr>
@ 2018-03-19 10:22 ` Gerard
2018-03-19 11:00 ` Wolfgang Schuster
0 siblings, 1 reply; 5+ messages in thread
From: Gerard @ 2018-03-19 10:22 UTC (permalink / raw)
To: ntg-context
[-- Attachment #1.1: Type: text/plain, Size: 1611 bytes --]
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)
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]
-------------------------
Thanks for the help.
Gérard... and thanks to "google translate" :)
> Le 18/03/2018 à 20:32, Wolfgang Schuster a écrit :
>>
>>> survoje <mailto:survoje@free.fr>
>>> 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
>
[-- Attachment #1.2: Type: text/html, Size: 13623 bytes --]
[-- Attachment #2: placeindex.jpg --]
[-- Type: image/jpeg, Size: 10804 bytes --]
[-- Attachment #3: compleindex.jpg --]
[-- Type: image/jpeg, Size: 12934 bytes --]
[-- Attachment #4: Type: text/plain, Size: 492 bytes --]
___________________________________________________________________________________
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: \completeindex and \setuparranging
2018-03-19 10:22 ` \completeindex and \setuparranging Gerard
@ 2018-03-19 11:00 ` Wolfgang Schuster
2018-03-19 20:26 ` survoje
0 siblings, 1 reply; 5+ messages in thread
From: Wolfgang Schuster @ 2018-03-19 11:00 UTC (permalink / raw)
To: mailing list for ConTeXt users
[-- Attachment #1.1: Type: text/plain, Size: 1592 bytes --]
> Gerard <mailto:survoje@free.fr>
> 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
[-- Attachment #1.2: Type: text/html, Size: 10011 bytes --]
[-- Attachment #2: Type: text/plain, Size: 492 bytes --]
___________________________________________________________________________________
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: \completeindex and \setuparranging
2018-03-19 11:00 ` Wolfgang Schuster
@ 2018-03-19 20:26 ` survoje
2018-03-20 9:53 ` Wolfgang Schuster
0 siblings, 1 reply; 5+ messages in thread
From: survoje @ 2018-03-19 20:26 UTC (permalink / raw)
To: ntg-context
[-- Attachment #1.1: Type: text/plain, Size: 2012 bytes --]
Bonsoir Wolfgang !
I tried according to your method (without arrangement and extra run)
without result, I tried others possibilities without result. The index
page is never ok with \setuparranging... Surely I did not understand.
I wanted to make a booklet of musical scores in A5 (24 pages), just with
successive png and index for each score : ------------------------
\starttext
\externalfigure[Alaude][width=\textwidth]\index{Alaude}
\blank
\externalfigure[Amazing][width=\textwidth]\index{Amazing}
....
\externalfigure[Valse_5T][width=\textwidth]\index{Valse a 5 temps}
\blank
\externalfigure[Valse8Temps][width=\textwidth]\index{Valse à 8 temps}
....
\externalfigure[ValseEcossaise][width=\textwidth]\index{Valse écossaise}
\page
\setupregister[index]
[n=2,pagestyle=bold]
\completeindex
\stoptext
--------------------- Never mind ! I will do it in A4.
Thank you for your attention !
Gérard with help de "google translate" 8-)
Le 19/03/2018 à 12:00, Wolfgang Schuster a écrit :
>
> 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
>
>
> ___________________________________________________________________________________
> 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
> ___________________________________________________________________________________
[-- Attachment #1.2: Type: text/html, Size: 4541 bytes --]
[-- Attachment #2: Type: text/plain, Size: 492 bytes --]
___________________________________________________________________________________
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: \completeindex and \setuparranging
2018-03-19 20:26 ` survoje
@ 2018-03-20 9:53 ` Wolfgang Schuster
2018-03-20 10:49 ` Gerard
0 siblings, 1 reply; 5+ messages in thread
From: Wolfgang Schuster @ 2018-03-20 9:53 UTC (permalink / raw)
To: mailing list for ConTeXt users
[-- Attachment #1.1: Type: text/plain, Size: 1561 bytes --]
> survoje <mailto:survoje@free.fr>
> 19. März 2018 um 21:26
>
> Bonsoir Wolfgang !
>
> I tried according to your method (without arrangement and extra run)
> without result, I tried others possibilities without result. The index
> page is never ok with \setuparranging... Surely I did not understand.
>
> I wanted to make a booklet of musical scores in A5 (24 pages), just
> with successive png and index for each score : ------------------------
>
> \starttext
> \externalfigure[Alaude][width=\textwidth]\index{Alaude}
> \blank
> \externalfigure[Amazing][width=\textwidth]\index{Amazing}
> ....
> \externalfigure[Valse_5T][width=\textwidth]\index{Valse a 5 temps}
> \blank
> \externalfigure[Valse8Temps][width=\textwidth]\index{Valse à 8 temps}
> ....
> \externalfigure[ValseEcossaise][width=\textwidth]\index{Valse écossaise}
> \page
> \setupregister[index]
> [n=2,pagestyle=bold]
> \completeindex
> \stoptext
>
Your index doesn’t work because you have no paragraphs in your document.
When you
add \dontleavehmode before each \externalfigure the entries are correct.
\setupwhitespace[line]
\defineexternalfigure[score][width=\textwidth]
\starttext
\dontleavehmode\externalfigure[Alaude][score]\index{Alaude}
\dontleavehmode\externalfigure[Amazing][score]\index{Amazing}
\dontleavehmode\externalfigure[Valse_5T][score]\index{Valse a 5 temps}
\dontleavehmode\externalfigure[Valse8Temps][score]\index{Valse à 8 temps}
\dontleavehmode\externalfigure[ValseEcossaise][score]\index{Valse écossaise}
\page
\completeindex
\stoptext
Wolfgang
[-- Attachment #1.2: Type: text/html, Size: 3156 bytes --]
[-- Attachment #2: Type: text/plain, Size: 492 bytes --]
___________________________________________________________________________________
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: \completeindex and \setuparranging
2018-03-20 9:53 ` Wolfgang Schuster
@ 2018-03-20 10:49 ` Gerard
0 siblings, 0 replies; 5+ messages in thread
From: Gerard @ 2018-03-20 10:49 UTC (permalink / raw)
To: ntg-context
[-- Attachment #1.1: Type: text/plain, Size: 424 bytes --]
Bonjour Wolfgang !
Great ! it's perfect !
I was sad to give up my idea (music booklet in A5 format...). Too happy 8-)
Thank you for you precious help. I have a lot to learn with ConTeXt !
Gérard
Le 20/03/2018 à 10:53, Wolfgang Schuster a écrit :
>>
> Your index doesn’t work because you have no paragraphs in your
> document. When you
> add \dontleavehmode before each \externalfigure the entries are correct.
[-- Attachment #1.2: Type: text/html, Size: 1717 bytes --]
[-- Attachment #2: Type: text/plain, Size: 492 bytes --]
___________________________________________________________________________________
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2018-03-20 10:49 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <ecd80e45-06a9-08d4-0fda-fbe4c2c77eae@free.fr>
2018-03-19 10:22 ` \completeindex and \setuparranging Gerard
2018-03-19 11:00 ` Wolfgang Schuster
2018-03-19 20:26 ` survoje
2018-03-20 9:53 ` Wolfgang Schuster
2018-03-20 10:49 ` Gerard
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).