From: context@vivaldi.net
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: repeat a page inside a document
Date: Thu, 27 Feb 2020 15:24:58 +0100 [thread overview]
Message-ID: <f97bb30275b985c6f94251bca4cab73e@vivaldi.net> (raw)
In-Reply-To: <762a1f0b-7667-20c0-2a8a-80f48629034e@gmx.es>
[-- Attachment #1: Type: text/plain, Size: 1709 bytes --]
Hello Pablo,
although I'm not sure about what to achieve, should this be helpful for
you?
Ctx source:
---- Pablo.mkiv
\starttext
\setupheadertexts[][\cldcontext{"Mode = " .. (tex.modes["1"] and "1"
or tex.modes["2"] and "2" or "??")}] % Just for debugging
\input knuth
\page[right]
\startmodeset
[1]
{%
\setuplayout[page] foo
}
[2]
{%
\pagefigure[\jobname_.pdf][page=1]
}
\stopmodeset
\stoptext
----
To be compiled in two runs, with this:
----
d:\Lukas\ConTeXt\Test>
Ctx.bat Pablo.mkiv --mode=1 & move /y Pablo.pdf Pablo_.pdf & Ctx.bat
Pablo.mkiv --mode=2
----
Best regards,
Lukas
On 2020-02-06 16:28, Pablo Rodriguez wrote:
> 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 #2: Pablo.mkiv --]
[-- Type: text/plain, Size: 342 bytes --]
\starttext
\setupheadertexts[][\cldcontext{"Mode = " .. (tex.modes["1"] and "1" or tex.modes["2"] and "2" or "??")}] % Just for debugging
\input knuth
\page[right]
\startmodeset
[1]
{%
\setuplayout[page] foo
}
[2]
{%
\pagefigure[\jobname_.pdf][page=1]
}
\stopmodeset
\stoptext
[-- Attachment #3: 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
___________________________________________________________________________________
prev parent reply other threads:[~2020-02-27 14:24 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
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 [this message]
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=f97bb30275b985c6f94251bca4cab73e@vivaldi.net \
--to=context@vivaldi.net \
--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).