From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/101297 Path: news.gmane.org!.POSTED!not-for-mail From: Fabrice Couvreur Newsgroups: gmane.comp.tex.context Subject: Some questions about the presentation of a book Date: Fri, 20 Jul 2018 23:55:11 +0200 Message-ID: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0350220685689658127==" X-Trace: blaine.gmane.org 1532123626 23759 195.159.176.226 (20 Jul 2018 21:53:46 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Fri, 20 Jul 2018 21:53:46 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Fri Jul 20 23:53:41 2018 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 esmtp (Exim 4.84_2) (envelope-from ) id 1fgdLI-00063j-3Y for gctc-ntg-context-518@m.gmane.org; Fri, 20 Jul 2018 23:53:40 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id CE14445411; Fri, 20 Jul 2018 23:55:23 +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 66VhHXc_8LF4; Fri, 20 Jul 2018 23:55:23 +0200 (CEST) Original-Received: from zapf.ntg.nl (localhost [IPv6:::1]) by zapf.ntg.nl (Postfix) with ESMTP id 283ED45414; Fri, 20 Jul 2018 23:55:23 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id BF60945414 for ; Fri, 20 Jul 2018 23:55: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 vpYjWtF5vkiJ for ; Fri, 20 Jul 2018 23:55:22 +0200 (CEST) Original-Received: from mail-wm0-f48.google.com (mail-wm0-f48.google.com [74.125.82.48]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by zapf.ntg.nl (Postfix) with ESMTPS id 3DD3845411 for ; Fri, 20 Jul 2018 23:55:12 +0200 (CEST) Original-Received: by mail-wm0-f48.google.com with SMTP id f21-v6so10716203wmc.5 for ; Fri, 20 Jul 2018 14:55:12 -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=e8KVqwvvCo2jjq6w3A7+B6s9hKo0uJZM2ksnJ4M7T90=; b=rRs/VgspLqCBwdje5iRbxsI6BU1kVXzN7EFF8upzI6Spu4oPY1k1canueb8loUY70i ayZNupQXiGMq7bMG5LBnGtRqDKL/yss5ee45fP3EIVOhu6bf6ZtZOcIXzYBd0uGlrGRK kHZN3l4fiWIjua8vNHKMX2I8Jx8zB3rpftmUvNpvd6f5h8Anxt2c/3dXZUmW0yO36SdW VMtJbWVbx4vklC7BmqMK2sGzIAEKHgU0drL7Bkvh2GiErI1TuXzXwxzFVnmH4dqRrEZ1 +r28knam9WjDKMqiikmywgKVMlyWLhe8BDq23+Ugky76pFzc/wbUC1Mu2RNyCfiaKNtC a31g== 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=e8KVqwvvCo2jjq6w3A7+B6s9hKo0uJZM2ksnJ4M7T90=; b=tz995AiJ/wbaxqoH8QHaP1g0O9rYgJTgQy8T36HRJkC+XNfbUR1sxMMFralCNzkVZt QrTuTqJGDjHHrARpUUmo408c3d3jDapGMyKahJof2jAkWUCL4MgVaCilRwYvEDDd4OHn DNLr+WaSS0wzbjCNPcwZbSpy3WF9wsV4dWYfPEhqSavVOYlAZmPxQO4AxEAMcrrEYTys pf9dzulw8wRNxfJhIMRjOsqVmBpaupkAb+P73pcvpV+6iXaVx6rM2kABJhSLF1GUHBqy sDUj66l28uAXkCyhvg69np3WGQS6SQi1pITHpQ74DOQHMtChA2VLBlAxoe7Z5huVuPl4 Cg4w== X-Gm-Message-State: AOUpUlGYyzrmKnLTzu1WkcovUV2hhwoko6M6JV8OEulw5zDoLiP7ZSQV f7hU0sgkTYqCO2JfkB253gnxUKBffVWAhobpPBZ3hNhx X-Google-Smtp-Source: AAOMgpcTGAFvGhFSZjgH8iKzU890BWxZCXSE1p1XTilI6ljIBoj6Kvo/FfAPH5ydrriLk8KHEj20WnixaWn0ASJBo10= X-Received: by 2002:a1c:dac6:: with SMTP id r189-v6mr2488656wmg.150.1532123711668; Fri, 20 Jul 2018 14:55:11 -0700 (PDT) Original-Received: by 2002:adf:c4a7:0:0:0:0:0 with HTTP; Fri, 20 Jul 2018 14:55:11 -0700 (PDT) X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.16 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:101297 Archived-At: --===============0350220685689658127== Content-Type: multipart/alternative; boundary="00000000000096052e057175590e" --00000000000096052e057175590e Content-Type: text/plain; charset="UTF-8" Hello, I would like to modify the file below to : - center the title "Sommaire" - delete the line of the first page - center the title of each chapter - delete the line on each page with the title of the chapter Thanks for your help Fabrice ################################################################################## \usemodule[visual] \mainlanguage[fr] \setuphead[chapter][commandbefore={:\,},header=empty] \setuphead[subsection][style=bold] \setuphead[section] [distance=\zeropoint, style=bold, commandbefore={\space\endash\space}] \setuphead[title][commandbefore={}] \setuplayout [height=middle, width=middle, backspace=2cm, topspace=10mm, bottomspace=10mm, header=10mm, footer=10mm, footerdistance=10mm, headerdistance=10mm] \definelayout [firstpage] [header=empty] \setupbackgrounds[header][text][bottomframe=on] \setupheadertexts[{\getmarking[section]}] [pagenumber] [{\getmarking[chapter]}] [pagenumber] \setuppagenumbering[alternative=,location=] \setuplabeltext[fr][chapter=Chapitre ] \definestructureconversionset [structure] [n, R, n, n, n] \definestructureconversionset [digits] [n, n, n, n, n] \setupheads[sectionconversionset=structure] \setuplist[chapter][style=bold,width=5mm] \starttext \starttitle[title={\bf Sommaire}] \placelist [chapter,section,subsection] [criterium=all, alternative=c] \stoptitle \startchapter[title=First chapter] \startsection[title=Fist section] \startsubsection[title=First subsection] \dorecurse{10}{\fakewords{120}{120}\par} \stopsubsection \stopsection \stopchapter \startchapter[title=Second chapter] \startsection[title=Second section] \startsubsection[title=Second subsection] \dorecurse{10}{\fakewords{120}{120}\par} \stopsubsection \stopsection \stopchapter \stoptext ################################################################################## --00000000000096052e057175590e Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hello,
I would like to modify the file below to :<= br>
- center the title "Sommaire"
- dele= te the line of the first page
- center the title of each ch= apter
- delete the line on each page with the title of the = chapter

Thanks for your help
Fabrice

##################################= ################################################
\usemodule[visual]
=
\mainlanguage[fr]

\setuphead[chapter][commandbefore=3D{:\,},head= er=3Dempty]

\setuphead[subsection][style=3Dbold]

\setuphead[s= ection]
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 [distance= =3D\zeropoint,
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0 style=3Dbold,
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0 commandbefore=3D{\space\endash\space}]

\setuphead[title][comm= andbefore=3D{}]

\setuplayout
=C2=A0 [height=3Dmiddle,
=C2=A0= =C2=A0 width=3Dmiddle,
=C2=A0=C2=A0 backspace=3D2cm,
=C2=A0=C2=A0 top= space=3D10mm,
=C2=A0=C2=A0 bottomspace=3D10mm,
=C2=A0=C2=A0 header=3D= 10mm,
=C2=A0=C2=A0 footer=3D10mm,
=C2=A0=C2=A0 footerdistance=3D10mm,=
=C2=A0=C2=A0 headerdistance=3D10mm]

\definelayout
=C2=A0 [fir= stpage]
=C2=A0 [header=3Dempty]


\setupbackgrounds[header][tex= t][bottomframe=3Don]

\setupheadertexts[{\getmarking[section]}]
= =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 [pagenumber]
=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 [{\getmarking[= chapter]}]
=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 [pagenumber]
=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
<= br>\setuppagenumbering[alternative=3D,location=3D]


\setuplabelte= xt[fr][chapter=3DChapitre ]

\definestructureconversionset
=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0 [structure]
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 [n, = R, n, n, n]

\definestructureconversionset
=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0 [digits]
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 [n, n, n, n, n]
\setupheads[sectionconversionset=3Dstructure]

\setuplist[chapter][s= tyle=3Dbold,width=3D5mm]

\starttext

\starttitle[title=3D{\bf = Sommaire}]
\placelist
=C2=A0 [chapter,section,subsection]
=C2=A0 = [criterium=3Dall,
=C2=A0=C2=A0 alternative=3Dc]

\stoptitle
\startchapter[title=3DFirst chapter]
\startsection[title=3DFist section= ]
\startsubsection[title=3DFirst subsection]
=C2=A0\dorecurse{10}{\fa= kewords{120}{120}\par}=C2=A0=C2=A0=C2=A0
\stopsubsection
\stopsectio= n
\stopchapter
\startchapter[title=3DSecond chapter]
\startsection= [title=3DSecond section]
\startsubsection[title=3DSecond subsection]
= \dorecurse{10}{\fakewords{120}{120}\par}=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0
\stopsubsection
\stopsection
\stopchapter
\stoptext
##= ###########################################################################= #####
--00000000000096052e057175590e-- --===============0350220685689658127== 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 X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f --===============0350220685689658127==--