From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/104875 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Denis Maier Newsgroups: gmane.comp.tex.context Subject: Produce multiple versions in one run Date: Fri, 23 Aug 2019 17:04:18 +0200 Message-ID: Reply-To: mailing list for ConTeXt users Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============4683458841190349809==" Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="77564"; mail-complaints-to="usenet@blaine.gmane.org" To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Fri Aug 23 17:05:27 2019 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 esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1i1B7z-000JyX-Pp for gctc-ntg-context-518@m.gmane.org; Fri, 23 Aug 2019 17:05:23 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id EEA581538D0; Fri, 23 Aug 2019 17:04:35 +0200 (CEST) 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 Nuwyd-m4-qwa; Fri, 23 Aug 2019 17:04:33 +0200 (CEST) Original-Received: from zapf.ntg.nl (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 6EB511538CC; Fri, 23 Aug 2019 17:04:33 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 44B301538CC for ; Fri, 23 Aug 2019 17:04:32 +0200 (CEST) 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 kTD5YRIgY5HA for ; Fri, 23 Aug 2019 17:04:31 +0200 (CEST) Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=209.85.210.181; helo=mail-pf1-f181.google.com; envelope-from=maier.de@gmail.com; receiver= Original-Received: from mail-pf1-f181.google.com (mail-pf1-f181.google.com [209.85.210.181]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by zapf.ntg.nl (Postfix) with ESMTPS id 90CF215361B for ; Fri, 23 Aug 2019 17:04:31 +0200 (CEST) Original-Received: by mail-pf1-f181.google.com with SMTP id w2so6644465pfi.3 for ; Fri, 23 Aug 2019 08:04:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=LQ2zJXGUNu0IlrB2LxW4bAj0U3OYhxl4PfhopGjSkMg=; b=noo+gcwstXSHunVgQpgR6/8DhyyJNnKw+zrHggSP8CY3wt0KyzLebncgc7W4zh8j6N qjKZ+SH7tDgQlkFbBxXcdlMNUTGSFb0va1yl1HPXzn1qpUlB5eOli1Ljvsn3ip5nQQKl GsybIGL1DI3Zy4i1hHLcKo/SXraVqj87nSrZtOjUOPvzHrF3IG75ZltsqWHdi1Q5DdcL ZnDptQtNXGti/1VHKzTmwq3zb/CjMhs6hJsHmkqZU5EB+pf7NKESymK4pLdKbuJXJ99t dPYeQMsb+NHll1eyj9K7q2ysNaddsq3UkwFy4B49wulU4uT58hRyAu265IvaCQLJL7+N 1wFg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=LQ2zJXGUNu0IlrB2LxW4bAj0U3OYhxl4PfhopGjSkMg=; b=gzbRMC4lzuyKzs1X49yE0uRvEswJbYUU4WV3bptA49WtyDmHhsg0/nBOM374tCcUOH 041vNBPDCu2trpINlwp9a1OnvywWeg0rmz9jqYGGZbizho0stJD81uDKGbk1Y0HXPZhP jNdG8AETeZsu4hn5kzAXkFtu8wdhsktubUrVkJ3KcXm4bF0YiMw/4ujUJB9u0hNZkdo4 PLEacwug5w+6mauHGqL0QLaG8rPtm2ysV2HYW3XVCkqC8zYJiSgG4gh5rMlpCBHicomX 397mhR7CES+S0JE4nQ5YSn/P3yZBmwhxkUx5qUFDw2fXbF3MZQSZ3/gij92sHIRWXFDM JjJA== X-Gm-Message-State: APjAAAWEuEy146lrVphhRsV4Hs0OkCTUaLIUs1VCEc1/xJqdyUsNPonY /FKmm7kznjjUoOUmkb73eI7fN04VHR28Kc96DGUs0QCf X-Google-Smtp-Source: APXvYqz6P+OxrGqaP1SMT+U5urlrMtucPoBAifrtFpXwYfKgWlIk8drejCpe6LyqnNzq1I0R495zMCyy5RVgOlSl804= X-Received: by 2002:a65:680b:: with SMTP id l11mr3259227pgt.35.1566572669271; Fri, 23 Aug 2019 08:04:29 -0700 (PDT) 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.org gmane.comp.tex.context:104875 Archived-At: --===============4683458841190349809== Content-Type: multipart/alternative; boundary="00000000000077826e0590ca1f12" --00000000000077826e0590ca1f12 Content-Type: text/plain; charset="UTF-8" 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? Best, Denis --00000000000077826e0590ca1f12 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi,
let's say I want to produce two different vers= ions of my document, one with papersize a4, the other with papersize a5.

```
\setuppapersize[a4][a4]
\startmode[= a5]
=C2=A0 \setuppapersize[a5][a5]
\stopmode
```
<= div>
What is the best way to produce both versions with one c= ommand? A makefile? Or is there a way to do this with context alone?
<= div>
Best,
Denis

--00000000000077826e0590ca1f12-- --===============4683458841190349809== 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== --===============4683458841190349809==--