From: Thomas Savary <compo85@correctionpro.fr>
To: ntg-context@ntg.nl
Subject: Re: repeat a page inside a document
Date: Thu, 06 Feb 2020 17:39:21 +0100 [thread overview]
Message-ID: <14395246.zhpNpltUaf@debian> (raw)
In-Reply-To: <762a1f0b-7667-20c0-2a8a-80f48629034e@gmx.es>
[-- Attachment #1.1: Type: text/plain, Size: 1856 bytes --]
Hi, Pablo !
Funny, I asked the same kind of question in a LaTeX mailing list a few days
ago. The anwer I was given requires a LaTeX package, but is written in TeX as
well, so it may be easy to adapt it for ConTeXt. Sorry, I cannot do that
myself yet. I have just started to learn ConTeXt and am a very busy slow
learner.
\usepackage{atbegshi}
\newcommand{\Repeat}{<the content you need to be repeatedt>}
\AtBeginShipout{%
\ifodd\value{page}%
\else\Repeat%
\newpage%
\fi%
}
I hope it helps. But maybe you don’t need to repeat the same page every two
page, as I did…
Thomas Savary
1 le Grand-Plessis
F-85340 L’Île-d’Olonne
Tél. 06 22 82 61 34
https://correctionpro.fr/
https://compo85.fr/
jeudi 6 février 2020, à 16:28:04 CET, Pablo Rodriguez a écrit :
> Dear list,
>
> I have the following sample:
>
> \starttext
> \input knuth
> \page[right]
> \setuplayout[page]
> \externalfigure[\jobname.pdf][page=1]
> \stoptext
>
> My question is how to get a page from the document you‘re compiling
> repeated inside the same document.
>
> I have tried to search both i-context.pdf and the wiki, but “mirror” and
> “repeat” seem to be bad options.
>
> Many thanks in advance,
>
> 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
> ____________________________________________________________________________
> _______
[-- Attachment #1.2: Type: text/html, Size: 10717 bytes --]
[-- Attachment #2: Type: text/plain, Size: 493 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
___________________________________________________________________________________
next prev parent reply other threads:[~2020-02-06 16:39 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-02-06 15:28 Pablo Rodriguez
2020-02-06 16:15 ` Henning Hraban Ramm
2020-02-06 18:02 ` Pablo Rodriguez
2020-02-06 19:17 ` Wolfgang Schuster
2020-02-06 21:04 ` Pablo Rodriguez
2020-02-06 21:26 ` Wolfgang Schuster
2020-02-07 20:04 ` Pablo Rodriguez
2020-02-06 16:39 ` Thomas Savary [this message]
2020-02-06 18:15 ` Pablo Rodriguez
2020-02-06 18:14 ` Wolfgang Schuster
2020-02-06 19:00 ` Pablo Rodriguez
2020-02-27 14:24 ` context
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=14395246.zhpNpltUaf@debian \
--to=compo85@correctionpro.fr \
--cc=ntg-context@ntg.nl \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).