From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/106196 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: Thomas Savary Newsgroups: gmane.comp.tex.context Subject: Re: repeat a page inside a document Date: Thu, 06 Feb 2020 17:39:21 +0100 Organization: Correctionpro Message-ID: <14395246.zhpNpltUaf@debian> References: <762a1f0b-7667-20c0-2a8a-80f48629034e@gmx.es> Reply-To: mailing list for ConTeXt users Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1939185918512613817==" Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="124838"; mail-complaints-to="usenet@ciao.gmane.io" To: ntg-context@ntg.nl Original-X-From: ntg-context-bounces@ntg.nl Thu Feb 06 18:55:17 2020 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane-mx.org Original-Received: from zapf.boekplan.nl ([5.39.185.232] helo=zapf.ntg.nl) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1izlMx-000WKj-HL for gctc-ntg-context-518@m.gmane-mx.org; Thu, 06 Feb 2020 18:55:15 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 396BF1807A6; Thu, 6 Feb 2020 18:54:57 +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 9XOxK-r_sfJC; Thu, 6 Feb 2020 18:54:56 +0100 (CET) Original-Received: from zapf.ntg.nl (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 5912718079A; Thu, 6 Feb 2020 18:54:56 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 312B418079A for ; Thu, 6 Feb 2020 18:54:55 +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 HT7FXAs5KdRv for ; Thu, 6 Feb 2020 18:54:54 +0100 (CET) Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=46.105.41.146; helo=1.mo68.mail-out.ovh.net; envelope-from=compo85@correctionpro.fr; receiver= X-Greylist: delayed 4201 seconds by postgrey-1.36 at zapf.ntg.nl; Thu, 06 Feb 2020 18:54:54 CET Original-Received: from 1.mo68.mail-out.ovh.net (1.mo68.mail-out.ovh.net [46.105.41.146]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by zapf.ntg.nl (Postfix) with ESMTPS id 39DE81806A0 for ; Thu, 6 Feb 2020 18:54:54 +0100 (CET) Original-Received: from player739.ha.ovh.net (unknown [10.108.54.217]) by mo68.mail-out.ovh.net (Postfix) with ESMTP id 081BE159CED for ; Thu, 6 Feb 2020 17:39:25 +0100 (CET) Original-Received: from correctionpro.fr (lmontsouris-657-1-180-77.w82-127.abo.wanadoo.fr [82.127.233.77]) (Authenticated sender: thomas.savary@correctionpro.fr) by player739.ha.ovh.net (Postfix) with ESMTPSA id 6AC2FB11D9B5 for ; Thu, 6 Feb 2020 16:39:23 +0000 (UTC) In-Reply-To: <762a1f0b-7667-20c0-2a8a-80f48629034e@gmx.es> X-Ovh-Tracer-Id: 4700913590316390924 X-VR-SPAMSTATE: OK X-VR-SPAMSCORE: 6 X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgedugedrheefgdeltdcutefuodetggdotefrodftvfcurfhrohhfihhlvgemucfqggfjpdevjffgvefmvefgnecuuegrihhlohhuthemucehtddtnecufghrlhcuvffnffculdeimdenucfjughrpefhvffufffkohgjfhggtgfgsegruferredttdejnecuhfhrohhmpefvhhhomhgrshcuufgrvhgrrhihuceotghomhhpohekheestghorhhrvggtthhiohhnphhrohdrfhhrqeenucffohhmrghinheptghorhhrvggtthhiohhnphhrohdrfhhrpdgtohhmphhokeehrdhfrhdpohhushhirgdrthhkpdhnthhgrdhnlhdpphhrrghgmhgrqdgruggvrdhnlhdprggrnhhhvghtrdhnvghtpdgsihhtsghutghkvghtrdhorhhgpdgtohhnthgvgihtghgrrhguvghnrdhnvghtnecukfhppedtrddtrddtrddtpdekvddruddvjedrvdeffedrjeejnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmohguvgepshhmthhpqdhouhhtpdhhvghlohepphhlrgihvghrjeefledrhhgrrdhovhhhrdhnvghtpdhinhgvtheptddrtddrtddrtddpmhgrihhlfhhrohhmpegtohhmphhokeehsegtohhrrhgvtghtihho nhhprhhordhfrhdprhgtphhtthhopehnthhgqdgtohhnthgvgihtsehnthhgrdhnlh X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.26 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.io gmane.comp.tex.context:106196 Archived-At: This is a multi-part message in MIME format. --===============1939185918512613817== Content-Type: multipart/alternative; boundary="nextPart36790062.GTEUifYPL5" Content-Transfer-Encoding: 7Bit This is a multi-part message in MIME format. --nextPart36790062.GTEUifYPL5 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Hi, Pablo=E2=80=AF! =46unny, I asked the same kind of question in a LaTeX mailing list a few da= ys=20 ago. The anwer I was given requires a LaTeX package, but is written in TeX = as=20 well, so it may be easy to adapt it for ConTeXt. Sorry, I cannot do that=20 myself yet. I have just started to learn ConTeXt and am a very busy slow=20 learner. \usepackage{atbegshi} \newcommand{\Repeat}{} \AtBeginShipout{% \ifodd\value{page}% \else\Repeat% \newpage% \fi% } I hope it helps. But maybe you don=E2=80=99t need to repeat the same page e= very two=20 page, as I did=E2=80=A6 Thomas Savary 1 le Grand-Plessis =46-85340 L=E2=80=99=C3=8Ele-d=E2=80=99Olonne T=C3=A9l. 06 22 82 61 34 https://correctionpro.fr/ https://compo85.fr/ jeudi 6 f=C3=A9vrier 2020, =C3=A0 16:28:04 CET, Pablo Rodriguez a =C3=A9cri= t : > Dear list, >=20 > I have the following sample: >=20 > \starttext > \input knuth > \page[right] > \setuplayout[page] > \externalfigure[\jobname.pdf][page=3D1] > \stoptext >=20 > My question is how to get a page from the document you=E2=80=98re compili= ng > repeated inside the same document. >=20 > I have tried to search both i-context.pdf and the wiki, but =E2=80=9Cmirr= or=E2=80=9D and > =E2=80=9Crepeat=E2=80=9D seem to be bad options. >=20 > Many thanks in advance, >=20 > Pablo > -- > http://www.ousia.tk > _________________________________________________________________________= ___ > _______ If your question is of interest to others as well, please add an > entry to the Wiki! >=20 > 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 > _________________________________________________________________________= ___ > _______ --nextPart36790062.GTEUifYPL5 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset="utf-8"

Hi, Pablo= =E2=80=AF!

&nb= sp;

Funny, I as= ked the same kind of question in a LaTeX mailing list a few days ago. The a= nwer I was given requires a LaTeX package, but is written in TeX as well, s= o it may be easy to adapt it for ConTeXt. Sorry, I cannot do that myself ye= t. I have just started to learn ConTeXt and am a very busy slow learner.

&nb= sp;

\usepackage= {atbegshi}

\newcommand= {\Repeat}{<the content you need to be repeatedt>}

&nb= sp;

\AtBeginShi= pout{%

\ifodd\val= ue{page}%

\else\Repe= at%

\newpage%<= /p>

\fi%

}

&nb= sp;

I hope it h= elps. But maybe you don=E2=80=99t need to repeat the same page every two pa= ge, as I did=E2=80=A6

&nb= sp;

Thomas Sava= ry

1 le Grand-= Plessis

F-85340 L= =E2=80=99=C3=8Ele-d=E2=80=99Olonne

T=C3=A9l. 0= 6 22 82 61 34

https://cor= rectionpro.fr/

https://com= po85.fr/

&nb= sp;

jeudi 6 f= =C3=A9vrier 2020, =C3=A0 16:28:04 CET, Pablo Rodriguez a =C3=A9crit :

> Dear l= ist,

>

> I have= the following sample:

>

> \s= tarttext

> \i= nput knuth

> \p= age[right]

> \s= etuplayout[page]

> = \externalfigure[\jobname.pdf][page=3D1]

> \s= toptext

>

> My que= stion is how to get a page from the document you=E2=80=98re compiling

> repeat= ed inside the same document.

>

> I have= tried to search both i-context.pdf and the wiki, but =E2=80=9Cmirror=E2=80= =9D and

> =E2=80= =9Crepeat=E2=80=9D seem to be bad options.

>

> Many t= hanks in advance,

>

> Pablo<= /p>

> --

> http:/= /www.ousia.tk

> ______= ______________________________________________________________________

> ______= _ If your question is of interest to others as well, please add an

> entry = to the Wiki!

>

> mailli= st : ntg-context@ntg.nl /

> http:/= /www.ntg.nl/mailman/listinfo/ntg-context webpage :

> http:/= /www.pragma-ade.nl / http://context.aanhet.net

> archiv= e : https://bitbucket.org/phg/context-mirror/commits/

> wiki = : http://contextgarden.net

> ______= ______________________________________________________________________

> ______= _

&nb= sp;

&nb= sp;

--nextPart36790062.GTEUifYPL5-- --===============1939185918512613817== 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 X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fCg== --===============1939185918512613817==--