From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/110847 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Jeroen Newsgroups: gmane.comp.tex.context Subject: Multiple Layouts Date: Sat, 13 Mar 2021 18:12:45 +0100 Message-ID: Reply-To: mailing list for ConTeXt users Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1250759639011279176==" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="3087"; mail-complaints-to="usenet@ciao.gmane.io" To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Sat Mar 13 18:14:32 2021 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane-mx.org Original-Received: from zapf.boekplan.nl ([5.39.185.232] helo=zapf.ntg.nl) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lL7qR-0000ga-CG for gctc-ntg-context-518@m.gmane-mx.org; Sat, 13 Mar 2021 18:14:31 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id CDE892817A6; Sat, 13 Mar 2021 18:12:55 +0100 (CET) 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 ltBtFwFpvKU7; Sat, 13 Mar 2021 18:12:54 +0100 (CET) Original-Received: from zapf.ntg.nl (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id CA3FD2817A8; Sat, 13 Mar 2021 18:12:54 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 0B3CB2817A6 for ; Sat, 13 Mar 2021 18:12:54 +0100 (CET) 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 NTfOthzejDTE for ; Sat, 13 Mar 2021 18:12:53 +0100 (CET) Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=209.85.166.67; helo=mail-io1-f67.google.com; envelope-from=contextntg@gmail.com; receiver= Original-Received: from mail-io1-f67.google.com (mail-io1-f67.google.com [209.85.166.67]) (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 4FE212817A3 for ; Sat, 13 Mar 2021 18:12:53 +0100 (CET) Original-Received: by mail-io1-f67.google.com with SMTP id g27so29143481iox.2 for ; Sat, 13 Mar 2021 09:12:53 -0800 (PST) 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=F81axShtJFunFdFSx4SiMytHzH/xcXWqYYviMhmtGFs=; b=tlbkHX/0gvWBMhvOEXL8uaG4BWyfJHdIMCarxkG//k/JwuxoYkhYL0xDH3S2e6LJGW JnjsplFu0MAc+OfBtJk2+Z3MqEkSWmYFNCrdxLM+xVEGJvUaeBlQh+Q33wF5KTS46F+M qUvyou0TtmvivN7NgxFU/w9pnfxq37OhpkftiwHqTlAs1pEuD+DH9LrWMKVNY2BJOH3f jYMwCYVLs5K/vsaIVIaYoTJjv08E0NUWZhu57shLYk9IjrLg+01HaNqFvfxgk1GMP4II Nk10hCkxXW+ONuuAONdgcxReMVZeT9N5R0po0Vd+/Qe98dI47fmuh5iDYx6OFPFBUOig 51MQ== 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=F81axShtJFunFdFSx4SiMytHzH/xcXWqYYviMhmtGFs=; b=Ol43YhbUTEZ7Vy/F3+ho2/PhHe8yHRfjHINnd5aZ4XeD2pOVQY410Y1qO2PZR1KyLD tfy4bQqchiMUL5Q816rE8eEiKB+T0GwgVGNEj0CVWp6akUJpFdi/LWx2p9wE0f4LMD/k l9EYNGL8rvg+U8dGDdtFtIXAQkT1dIT58fjDdCKVm24mTZypeIIkUjyDlhIPLG2HNOfc +vCJvk4RuCCCsHCDRmmFdHrHOMsPQmb7+bY+9eiMFOtvSL8o9fopWm2kOzzV+ooU4MKz RRiLCJL0J9a/vGEO/fhDRIwTOFTYNJuqhbmtfAxxuR4dFPVRA1gjpqy63Mg+4TAAVEpf d4HA== X-Gm-Message-State: AOAM531A+78iOFbHo1wYlAwniyfqSlXBct1ezRmUOjUIarhNUkeKEzin 23F9zmJdT0fr2CAJpGYW2ETjSzu2x9rq7GZTCIvjvNrd6NdhYqPF9zo= X-Google-Smtp-Source: ABdhPJx36PRBQts4j5kMMCOXZZ04Fy/estX92qiXNSCcpckqPEBitwY+KoiVrpW+O4o0eSRP/KXakHmVuEpcvjg+DA4= X-Received: by 2002:a5d:9e03:: with SMTP id h3mr3082898ioh.94.1615655572188; Sat, 13 Mar 2021 09:12:52 -0800 (PST) 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.io gmane.comp.tex.context:110847 Archived-At: --===============1250759639011279176== Content-Type: multipart/alternative; boundary="00000000000075b1fd05bd6e20d8" --00000000000075b1fd05bd6e20d8 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable I have the following document, but I want a different \setuplayout[backspace....] for the titlepage and copyright space. What is the best way to achieve this? \setupcolors [state=3Dstart] \usecolors [xwi] \usetypescriptfile [euler] \definetypeface [mainface][rm][serif][pagella][default] \definetypeface [mainface][tt][mono][dejavu][default] \definetypeface [mainface][mm][math][pagellaovereuler][default] \setupbodyfont [mainface,11.5pt] \setuppapersize [A4, portrait] \setuplayout [backspace=3D19mm, width=3D176mm, topspace=3D7mm, header=3D10mm, headerdistance=3D3mm, height=3Dmiddle, footerdistance=3D5mm, footer=3D9mm, bottomspace=3D11mm] \setuphead [chapter] [style=3D{\bfb}, before=3D{\vskip 0mm}, after=3D{\vskip-\parskip}] \setuphead [section] [style=3Dbold, before=3D{\vskip 6mm}, after=3D{\vskip 2mm}] \setuppagenumbering [alternative=3Ddoublesided] \setupheadertexts [] \setupfooter [style=3D\it] \setupfootertexts [{Footer Title} \hfill \pagenumber] \definemakeup [titlepage] [align=3Dleft] \definemakeup [copyrightpage] \setupmakeup [copyrightpage] [align=3D{right,bottom}, top=3D\vfill, pagestate=3Dstop, style=3Dsmallbodyfont] \definealternativestyle [authorstyle] [\rm\tfb] [] \definealternativestyle [titlestyle] [{\rm\bfd\color[red]}] [] \definealternativestyle [subtitlestyle] [\rm\tfb] [] \definealternativestyle [publisherstyle] [\rm\bfb] [] \starttext \startmakeup[titlepage] \authorstyle{The Author} \blank[13*big] \titlestyle{Title 1} \blank[5*small] \titlestyle{Title 2} \blank[2*big] \subtitlestyle{Subtitle} \blank[47*big] \publisherstyle{Publisher} \stopmakeup \startmakeup[copyrightpage] Title \crlf Subtitle \blank Geprint in Country. \crlf Document Reference ABC-ABC-001. \crlf Eerste draft versie, gepubliceerd op \date. \crlf Dit document is getypset met \CONTEXT\ LMTX op Microsoft Windows 10. \blank \startalignment[flushmiddle] Copyright \copyright\ 2021, Publisher. Alle rechten voorbehouden. \crlf Niets uit deze uitgave mag worden verveelvoudigd, opgeslagen in een geautomatiseerd gegevensbestand en/of openbaar gemaakt in enige vorm of op enige wijze, hetzij elektronisch, mechanisch, door fotokopie=C3=ABn, opname= n of op enige andere manier zonder voorafgaande schriftelijk bevestigde toestemming van Publisher. \stopalignment \stopmakeup \startcolumns[2] \startchapter[title=3D{Bryson and Tufte}] \dorecurse{5}{ \startsection[title=3D{Bryson}] \input{bryson} \stopsection \startsection[title=3D{Tufte}] \input{tufte} \stopsection} \stopchapter \startchapter[title=3D{Zapf and Ward}] \dorecurse{5}{ \startsection[title=3D{Zapf}] \input{zapf} \stopsection \startsection[title=3D{Ward}] \input{ward} \stopsection} \stopchapter \stopcolumns \stoptext --00000000000075b1fd05bd6e20d8 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
I have the following document, but I want a different \set= uplayout[backspace....] for the titlepage and copyright space. What is the = best way to achieve this?



=


\setupcolors
=C2=A0 [state=3Dstart]
\usecolors
=C2=A0 [xwi]

\usetypescriptfile
=C2=A0 [euler= ]

\definetypeface
=C2=A0 [mainface][rm][serif][pagella][default]<= br>
\definetypeface
=C2=A0 [mainface][tt][mono][dejavu][default]
<= br>\definetypeface
=C2=A0 [mainface][mm][math][pagellaovereuler][default= ]

\setupbodyfont
=C2=A0 [mainface,11.5pt]

\setuppapersize<= br>=C2=A0 [A4,
=C2=A0 =C2=A0portrait]

\setuplayout
=C2=A0 [bac= kspace=3D19mm,
=C2=A0 =C2=A0width=3D176mm,
=C2=A0 =C2=A0topspace=3D7m= m,
=C2=A0 =C2=A0header=3D10mm,
=C2=A0 =C2=A0headerdistance=3D3mm,
= =C2=A0 =C2=A0height=3Dmiddle,
=C2=A0 =C2=A0footerdistance=3D5mm,
=C2= =A0 =C2=A0footer=3D9mm,
=C2=A0 =C2=A0bottomspace=3D11mm]

\setuphe= ad
=C2=A0 [chapter]
=C2=A0 [style=3D{\bfb},
=C2=A0 =C2=A0before=3D= {\vskip 0mm},
=C2=A0 =C2=A0after=3D{\vskip-\parskip}]

\setuphead<= br>[section]
[style=3Dbold,
=C2=A0 =C2=A0before=3D{\vskip 6mm},
= =C2=A0 =C2=A0after=3D{\vskip 2mm}]

\setuppagenumbering
=C2=A0 [al= ternative=3Ddoublesided]

\setupheadertexts
=C2=A0 []

\setu= pfooter
=C2=A0 [style=3D\it]

\setupfootertexts
=C2=A0 [{Footer= Title} \hfill \pagenumber]

\definemakeup
=C2=A0 [titlepage]
= =C2=A0 [align=3Dleft]
=C2=A0
\definemakeup
=C2=A0 [copyrightpage]<= br>=C2=A0
\setupmakeup
=C2=A0 [copyrightpage]
=C2=A0 [align=3D{rig= ht,bottom},
=C2=A0 =C2=A0top=3D\vfill,
=C2=A0 =C2=A0pagestate=3Dstop,=
=C2=A0 =C2=A0style=3Dsmallbodyfont]

\definealternativestyle
= =C2=A0 [authorstyle]
=C2=A0 [\rm\tfb]
=C2=A0 [] =C2=A0
=C2=A0
\= definealternativestyle
=C2=A0 [titlestyle]
=C2=A0 [{\rm\bfd\color[red= ]}]
=C2=A0 []

\definealternativestyle
=C2=A0 [subtitlestyle]=C2=A0 [\rm\tfb]
=C2=A0 []

\definealternativestyle
=C2=A0 [p= ublisherstyle]
=C2=A0 [\rm\bfb]
=C2=A0 []


\starttext
\startmakeup[titlepage]
\authorstyle{The Author}
\blank[13*big]
= \titlestyle{Title 1}
\blank[5*small]
\titlestyle{Title 2}
\blank[2= *big]
\subtitlestyle{Subtitle}
\blank[47*big]
\publisherstyle{Publ= isher}
\stopmakeup

\startmakeup[copyrightpage]
Title \crlf
= Subtitle
\blank
Geprint in Country. \crlf
Document Reference ABC-A= BC-001. \crlf
Eerste draft versie, gepubliceerd op \date. \crlf
Dit d= ocument is getypset met \CONTEXT\ LMTX op Microsoft Windows 10.
\blank\startalignment[flushmiddle]
Copyright \copyright\ 2021, Publisher. Al= le rechten voorbehouden. \crlf
Niets uit deze uitgave mag worden verveel= voudigd, opgeslagen in een geautomatiseerd gegevensbestand en/of openbaar g= emaakt in enige vorm of op enige wijze, hetzij elektronisch, mechanisch, do= or fotokopie=C3=ABn, opnamen of op enige andere manier zonder voorafgaande = schriftelijk bevestigde toestemming van Publisher.
\stopalignment
\st= opmakeup

\startcolumns[2]

\startchapter[title=3D{Bryson and T= ufte}]

\dorecurse{5}{
=C2=A0 \startsection[title=3D{Bryson}] \inp= ut{bryson} \stopsection
=C2=A0 \startsection[title=3D{Tufte}] \input{tuf= te} \stopsection}

\stopchapter

\startchapter[title=3D{Zapf an= d Ward}]

\dorecurse{5}{
=C2=A0 \startsection[title=3D{Zapf}] \inp= ut{zapf} \stopsection
=C2=A0 \startsection[title=3D{Ward}] \input{ward} = \stopsection}

\stopchapter

\stopcolumns

\stoptext
--00000000000075b1fd05bd6e20d8-- --===============1250759639011279176== 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== --===============1250759639011279176==--