ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Denis Maier <maier.de@gmail.com>
To: Hans Hagen <j.hagen@xs4all.nl>
Cc: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: Produce multiple versions in one run
Date: Fri, 23 Aug 2019 17:32:07 +0200	[thread overview]
Message-ID: <CAMXdeGHZd593FCh4Z+cnxxjBfOn15S6bA6AC2EZpu3_wK2CCqQ@mail.gmail.com> (raw)
In-Reply-To: <82c1c13f-b139-d607-c6bd-4febd57ad5fe@xs4all.nl>


[-- Attachment #1.1: Type: text/plain, Size: 1082 bytes --]

Well, but that will give me one file with papersize a5.
Can I instruct context to produce two files: one with --mode=a5, one with
the normal settings?
Or is a makefile better suited for this?

Best,
Denis

Am Fr., 23. Aug. 2019 um 17:26 Uhr schrieb Hans Hagen <j.hagen@xs4all.nl>:

> On 8/23/2019 5:04 PM, Denis Maier wrote:
> > Hi,
> > let's say I want to produce two different versions of my document, one
> > with papersize a4, the other with papersize a5.
> >
> > ```
> > \setuppapersize[a4][a4]
> > \startmode[a5]
> >    \setuppapersize[a5][a5]
> > \stopmode
> > ```
> >
> > What is the best way to produce both versions with one command? A
> > makefile? Or is there a way to do this with context alone?
> context --mode=a5 ...
>
>
> -----------------------------------------------------------------
>                                            Hans Hagen | PRAGMA ADE
>                Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
>         tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl
> -----------------------------------------------------------------
>

[-- Attachment #1.2: Type: text/html, Size: 1707 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
___________________________________________________________________________________

  reply	other threads:[~2019-08-23 15:32 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-08-23 15:04 Denis Maier
2019-08-23 15:26 ` Hans Hagen
2019-08-23 15:32   ` Denis Maier [this message]
2019-08-23 15:37     ` Hans Hagen
2019-08-23 15:45     ` Peter Münster

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=CAMXdeGHZd593FCh4Z+cnxxjBfOn15S6bA6AC2EZpu3_wK2CCqQ@mail.gmail.com \
    --to=maier.de@gmail.com \
    --cc=j.hagen@xs4all.nl \
    --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).