From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/104877 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Denis Maier Newsgroups: gmane.comp.tex.context Subject: Re: Produce multiple versions in one run Date: Fri, 23 Aug 2019 17:32:07 +0200 Message-ID: References: <82c1c13f-b139-d607-c6bd-4febd57ad5fe@xs4all.nl> Reply-To: mailing list for ConTeXt users Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============7624109298402468830==" Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="195669"; mail-complaints-to="usenet@blaine.gmane.org" Cc: mailing list for ConTeXt users To: Hans Hagen Original-X-From: ntg-context-bounces@ntg.nl Fri Aug 23 17:32:52 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 1i1BYX-000ojX-CA for gctc-ntg-context-518@m.gmane.org; Fri, 23 Aug 2019 17:32:49 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 1E75E1538E7; Fri, 23 Aug 2019 17:32:26 +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 5LS5xNmGA3DV; Fri, 23 Aug 2019 17:32:23 +0200 (CEST) Original-Received: from zapf.ntg.nl (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id DFB651538EA; Fri, 23 Aug 2019 17:32:23 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id F17311538E0 for ; Fri, 23 Aug 2019 17:32:22 +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 cHlPSpZnc5hO for ; Fri, 23 Aug 2019 17:32:22 +0200 (CEST) Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=209.85.215.179; helo=mail-pg1-f179.google.com; envelope-from=maier.de@gmail.com; receiver= Original-Received: from mail-pg1-f179.google.com (mail-pg1-f179.google.com [209.85.215.179]) (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 F2A8F1538DD for ; Fri, 23 Aug 2019 17:32:21 +0200 (CEST) Original-Received: by mail-pg1-f179.google.com with SMTP id m3so5945306pgv.13 for ; Fri, 23 Aug 2019 08:32:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=CKf9cIOJFmdY+rIkdHPw+2alCBUiQUNMODI88JOzMzQ=; b=CP5cITIwSNmw39CwgYDNF5leq906Ql+7Jmd5+XJJuLNmC0pvOo5iJK90Swikywn17N IVoJiAp9iYjEEt0SnIUPkYggItC+I9EfNvzfqs+BqOuxU253imtM3+Adz1rWLMtjlOUd R56PpDnHS4U3ElbBWzcJNIK6uvd/8M0YMLwt9HHD6/zDaUdN1GEhLe3/tA3bp5z4pP5s imSjZId2R8BuO/42LqdbmkzoW9OiGYw7phd30rWKr9NWALrtv828o5DNNBwplNNJuQZr Ozf6od2krTuPFbvh5V68sGYanFBtoOp2RyPz9JRb8JA4o5bJ9WCqbmWQjIXGtUoD9u1H MbEg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=CKf9cIOJFmdY+rIkdHPw+2alCBUiQUNMODI88JOzMzQ=; b=InWmlOwGKP+tjtZLzVTwPrIGlBLA20KsP8Z66es0cxw8tKePaUJ5nmo96NBG9L8a9W SLAHShiVAp7fFjag4IUkpeXfQHrFqqSJdCUYfRP+RyOxAZftnv2WkmeyGGh7UvIZZ36h hmUooc9D+L+4NHyO/DTRAiASqSvM989H3fWD965GLStFWTqEV3rg9+g5KKxuuV+rosA/ xpCZDYfCl+k8awX0g9OtvYAiMNilfUN03el6i/UELb/mYUJqgBMZKmgcnwFKo4RoS71V iHb38909nr3zvCyNJUYNTlb0ReSotGDL7ylkS/3xPMlVmloSb/8y+qGlTO8RqepSjEuk qqOA== X-Gm-Message-State: APjAAAWcV8SsPuFKz2cny16HLobQ9ExBhZSYn4wXcWLisH/QsLtQ5ZTQ brjD2VABter3iM8AVDnwqIe6HJShrR1NGoZ/P18= X-Google-Smtp-Source: APXvYqwLy4dXO9vwdLHgGGXSBHLiorGVO/jUrgRYVbl/mIZGxEm/1HyXsze5f7Y/G7Ec8caY2+Rrg0Y61g1TK32dOQc= X-Received: by 2002:a17:90a:30ad:: with SMTP id h42mr5809847pjb.31.1566574340213; Fri, 23 Aug 2019 08:32:20 -0700 (PDT) In-Reply-To: <82c1c13f-b139-d607-c6bd-4febd57ad5fe@xs4all.nl> 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:104877 Archived-At: --===============7624109298402468830== Content-Type: multipart/alternative; boundary="0000000000001012130590ca8334" --0000000000001012130590ca8334 Content-Type: text/plain; charset="UTF-8" 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 : > 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 > ----------------------------------------------------------------- > --0000000000001012130590ca8334 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Well, but that will give me one file with papersize a5.Can I instruct context to produce two files: one with --mode=3Da5, one wi= th the normal settings?
Or is a makefile better suited for this?<= /div>

Best,
Denis

Am Fr., 23. Aug. 2019 u= m 17:26=C2=A0Uhr 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]
>=C2=A0 =C2=A0 \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=3Da5 ...


-----------------------------------------------------------------
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0Hans Hagen | PRAGMA ADE
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0Ridderstraat 27 | 80= 61 GH Hasselt | The Netherlands
=C2=A0 =C2=A0 =C2=A0 =C2=A0 tel: 038 477 53 69 | www.pragma-ade.nl | www.= pragma-pod.nl
-----------------------------------------------------------------
--0000000000001012130590ca8334-- --===============7624109298402468830== 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== --===============7624109298402468830==--