From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/100326 Path: news.gmane.org!.POSTED!not-for-mail From: Wolfgang Schuster Newsgroups: gmane.comp.tex.context Subject: Re: \completeindex and \setuparranging Date: Tue, 20 Mar 2018 10:53:30 +0100 Message-ID: <5AB0DA1A.2050005@gmail.com> References: <9e855851-c652-c412-185f-b89fc906ab8b@free.fr> <5AAF983F.20303@gmail.com> <2db49945-6727-5f35-9a0c-92bbdc9fd2c5@free.fr> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============3176771617375452638==" X-Trace: blaine.gmane.org 1521539528 29761 195.159.176.226 (20 Mar 2018 09:52:08 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Tue, 20 Mar 2018 09:52:08 +0000 (UTC) User-Agent: Postbox 5.0.24 (Macintosh/20180302) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Tue Mar 20 10:52:04 2018 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from zapf.boekplan.nl ([5.39.185.232] helo=zapf.ntg.nl) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eyDw4-0007Zt-D7 for gctc-ntg-context-518@m.gmane.org; Tue, 20 Mar 2018 10:52:04 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 053395492C0; Tue, 20 Mar 2018 10:53:47 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at zapf.boekplan.nl Original-Received: from zapf.ntg.nl ([127.0.0.1]) by localhost (zapf.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id tff4DXxO5EGo; Tue, 20 Mar 2018 10:53:46 +0100 (CET) Original-Received: from zapf.ntg.nl (localhost [IPv6:::1]) by zapf.ntg.nl (Postfix) with ESMTP id 4F4F75492C5; Tue, 20 Mar 2018 10:53:46 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id A6FEA5492C0 for ; Tue, 20 Mar 2018 10:53:44 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at zapf.boekplan.nl Original-Received: from zapf.ntg.nl ([127.0.0.1]) by localhost (zapf.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id FioXirGflZ7Z for ; Tue, 20 Mar 2018 10:53:44 +0100 (CET) Original-Received: from mail-wm0-f54.google.com (mail-wm0-f54.google.com [74.125.82.54]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by zapf.ntg.nl (Postfix) with ESMTPS id 324885492B8 for ; Tue, 20 Mar 2018 10:53:34 +0100 (CET) Original-Received: by mail-wm0-f54.google.com with SMTP id t7so2114440wmh.5 for ; Tue, 20 Mar 2018 02:53:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to; bh=FJ9vI90jLhdU7DDyh87kTRf4Wf+ufltvvKV1dtBGyz0=; b=DmxdyZ57zCEH2MaOnaiJIrjpfpdd0F/mCjQ+1ERHLFI5So0geYfjiwneFe4oeickQB b5JDA2NUjLfvJUlvlp605FQNzworA+uCdbCFOsT3nM68QHCrcRcNzTGZ+1B1zJXmwbRe pSDa63RtwBBVgR2frWgdUKJnYur7sn1bI932wM1Q3VtMXaV3aqo4H/7p7EwN7vVS6dCR n+LufsU3Mkjd0eBZVCqPLP7MiDcoq8HL0nq2izCi5orBW39De9O5soyDg5R2psRM0PLJ KfWOtOcP5xBZtTHwNxQT7h0HhGV+94IY4EoHcUi0vMl0sPuTo3M5oEgYVo801tSakrEj y7rA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:message-id:date:from:user-agent:mime-version:to :subject:references:in-reply-to; bh=FJ9vI90jLhdU7DDyh87kTRf4Wf+ufltvvKV1dtBGyz0=; b=YbVEaP8iOo6GrKw8P+iSQHf3vIJ8GSLHFUTop9sxadUnN7ivvDzLmzifKxXNxZiGLq Sn4qsMcSeSu5zQQRzoZoqD3ltJmuVRvLlI27oSiCu+MHO9hcOGV/z1F9JBBB5vEuyMJS RWKawvdClZyqP3tHbilf1GUqJGeEOO96+7EYGU6UNPPXsegnh5j0zzs4rxNpEUozufxG +NbwO8BQKaCKMp9RkB658442vUGKng3L+YQrd1XXIYYbhNknu77WHT4wE1Pumo9YjPx1 FSh9jvD5AvUzrOypySTCSRtxZ4iq38oVajIbzpSbFQH31I2nHIkImgUS1V67omZawsh7 Cpng== X-Gm-Message-State: AElRT7H/lLqa6CIX8bUFUWTbkDwMCj09hn3FHoHzQaRfwGYQV5sRZCG3 t87sZV2lOYsxjuha5suajv5oC4Rp X-Google-Smtp-Source: AG47ELs1C2i7XEsH2Zvup5baxtZEUedK9J8nNLyXI+Vd7nLcVG/SUITkL1SAxOB1SBRQdNI8mQziyA== X-Received: by 10.80.205.196 with SMTP id h4mr16490968edj.159.1521539613615; Tue, 20 Mar 2018 02:53:33 -0700 (PDT) Original-Received: from [192.168.1.11] (x4dbe9e22.dyn.telefonica.de. [77.190.158.34]) by smtp.gmail.com with ESMTPSA id d30sm1623868edd.79.2018.03.20.02.53.32 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 20 Mar 2018 02:53:32 -0700 (PDT) In-Reply-To: <2db49945-6727-5f35-9a0c-92bbdc9fd2c5@free.fr> X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.16 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: ntg-context-bounces@ntg.nl Original-Sender: "ntg-context" Xref: news.gmane.org gmane.comp.tex.context:100326 Archived-At: This is a multi-part message in MIME format. --===============3176771617375452638== Content-Type: multipart/alternative; boundary="------------070605010603060702060208" This is a multi-part message in MIME format. --------------070605010603060702060208 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit > survoje > 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 --------------070605010603060702060208 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 8bit
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
--------------070605010603060702060208-- --===============3176771617375452638== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX18KSWYgeW91ciBxdWVzdGlvbiBpcyBvZiBpbnRlcmVz dCB0byBvdGhlcnMgYXMgd2VsbCwgcGxlYXNlIGFkZCBhbiBlbnRyeSB0byB0aGUgV2lraSEKCm1h aWxsaXN0IDogbnRnLWNvbnRleHRAbnRnLm5sIC8gaHR0cDovL3d3dy5udGcubmwvbWFpbG1hbi9s aXN0aW5mby9udGctY29udGV4dAp3ZWJwYWdlICA6IGh0dHA6Ly93d3cucHJhZ21hLWFkZS5ubCAv IGh0dHA6Ly9jb250ZXh0LmFhbmhldC5uZXQKYXJjaGl2ZSAgOiBodHRwczovL2JpdGJ1Y2tldC5v cmcvcGhnL2NvbnRleHQtbWlycm9yL2NvbW1pdHMvCndpa2kgICAgIDogaHR0cDovL2NvbnRleHRn YXJkZW4ubmV0Cl9fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f --===============3176771617375452638==--