From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=0.4 required=5.0 tests=DKIM_ADSP_CUSTOM_MED, DKIM_INVALID,DKIM_SIGNED,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,HK_RANDOM_FROM,HTML_MESSAGE, MAILING_LIST_MULTI,T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.4 Received: from cgl.ntg.nl (Cgl.ntg.nl [5.39.185.202]) by inbox.vuxu.org (Postfix) with ESMTP id A4DC4229B4 for ; Tue, 19 Mar 2024 13:02:25 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by cgl.ntg.nl (Postfix) with ESMTP id 143E6481515 for ; Tue, 19 Mar 2024 13:01:34 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at cgl.ntg.nl Authentication-Results: cgl.ntg.nl (amavisd-new); dkim=fail (2048-bit key) reason="fail (message has been altered)" header.d=gmail.com Received: from cgl.ntg.nl ([127.0.0.1]) by localhost (cgl.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id MXCAdp2brtLP for ; Tue, 19 Mar 2024 13:01:32 +0100 (CET) Received: from cgl.ntg.nl (localhost [127.0.0.1]) by cgl.ntg.nl (Postfix) with ESMTP id 9E00A483D42 for ; Tue, 19 Mar 2024 12:59:49 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by cgl.ntg.nl (Postfix) with ESMTP id 47553481289 for ; Tue, 19 Mar 2024 12:59:18 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at cgl.ntg.nl Received: from cgl.ntg.nl ([127.0.0.1]) by localhost (cgl.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id o_yNVNFHaBKw for ; Tue, 19 Mar 2024 12:59:18 +0100 (CET) Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=209.85.216.42; helo=mail-pj1-f42.google.com; envelope-from=contextntg@gmail.com; receiver= Received: from mail-pj1-f42.google.com (mail-pj1-f42.google.com [209.85.216.42]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by cgl.ntg.nl (Postfix) with ESMTPS id 017294810AC for ; Tue, 19 Mar 2024 12:59:17 +0100 (CET) Received: by mail-pj1-f42.google.com with SMTP id 98e67ed59e1d1-29f93c4946cso1468019a91.1 for ; Tue, 19 Mar 2024 04:59:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1710849556; x=1711454356; darn=ntg.nl; h=to:subject:message-id:date:from:mime-version:from:to:cc:subject :date:message-id:reply-to; bh=gFMr9BE04wVSDQqaBow/4lR263h96kg9a4wBK2UTDwc=; b=OpO7zYhW5+3u7+PtYYXd1rFSxzfWiTbDXH7o3g5+mrx3nWi1hY4TTcLNw1ZZMV8nm1 PmL5BifJpHIvQTYaITu6EaTnu/Hvyh4gZ+qCYV91Oo6KB/24j6MFqrym4NX0AUbA9Uko fnYl1CDY/Ul8WqqJlNW5g4owCYyfIUz5Yr35PVZ4w2/72+m6V4shGaoQG62FV0yZ3abX R0ADhcBJYmQasthx+kIiVw5DGMaXqSlQfw6rXVhfu9BOMSKoYJfWm/mwM7E9/0q+m9rS tQ/tG3O7LEuRfKse+9sFPklBvQRcvTVn5L0zKPY6BY72Nb8n4/AMFi0inpkQR+t/rGcw 0BPQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1710849556; x=1711454356; h=to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=gFMr9BE04wVSDQqaBow/4lR263h96kg9a4wBK2UTDwc=; b=ADol2oMqqKtTBMHDRBkVdVze0cc9qjxmxLIJFZVOAQjQMxg1eYNkdA2emtvIzE4+wQ xV9G+uU/uxRWCoAxyp0OEOExTJOapEmTp6PIOi4DdDtddUlGYlc0sfxUTY6dtvBiIm0b XE7rY4aW10eOQgyXTVOBOH2/+O+ho7kpnvDxUzA/aBppxLwRKwkKhbSCJL79VSLmb0ii zqS58CBbHzdJtjHzE4Kc/1GvtFp3wi9nKBmaEQbaJTSR3hAPRpsHr4GC9U2MlJDYNKGg IBWL8MsSsCZFMytWGsZyW/y/5cDjQsYSqwkuV84h8fYeZszTFnlrYf4D6A/TBWZ5s7IN MniQ== X-Gm-Message-State: AOJu0YzimvUeShzRoq/AZ8k5/cJNk9KHQQpTOY34w97JGXobrs1ufLBj ytaAV/L4lMQyjbkgEQ+JZulBggkNIzU+Rs0ltreudXnhGZd7roQB0tAFzwiVFTR1KqSWoXu4Fcl barec5KMGnwNmEVJ4i07tKp773a5BTsO0wGc= X-Google-Smtp-Source: AGHT+IHdhKpckHI8Fvrz3ln8NDSa2wFgeaVqFvXp4aQ8hauSuxdrXUKB/K3sDN5kWrGpB84kZpPq9Uwz2qUcbbXUQfY= X-Received: by 2002:a17:90a:ba82:b0:29f:7847:6acc with SMTP id t2-20020a17090aba8200b0029f78476accmr5749471pjr.43.1710849555410; Tue, 19 Mar 2024 04:59:15 -0700 (PDT) MIME-Version: 1.0 From: Jeroen Date: Tue, 19 Mar 2024 12:59:04 +0100 Message-ID: To: mailing list for ConTeXt users Message-ID-Hash: GMMKSRBAB6KOMPNSOANK3NVLGGAM5X5X X-Message-ID-Hash: GMMKSRBAB6KOMPNSOANK3NVLGGAM5X5X X-MailFrom: contextntg@gmail.com X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header X-Mailman-Version: 3.3.8 Precedence: list Reply-To: mailing list for ConTeXt users Subject: [NTG-context] Adjusted Chapter Headings List-Id: mailing list for ConTeXt users Archived-At: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: Content-Type: multipart/mixed; boundary="===============5112382424896294810==" --===============5112382424896294810== Content-Type: multipart/alternative; boundary="00000000000003ba5d06140234c8" --00000000000003ba5d06140234c8 Content-Type: text/plain; charset="UTF-8" I have some style adjustments for the chapters. The chapter "numbers" need to be Boek I, Boek II, etc. A vertical separator was introduced with an inframe. The chapter title at the right side does not vertically align properly with the chapter number in the frame (inside the frame is vertically centered, the title not). Is there a way to align the chapter title with the chapter number? \starttexdefinition MyNumberChapterCommand #1 \inframed[frame=off,rightframe=on,framecolor=black, rulethickness=1px,height=30pt]{#1\enspace} \stoptexdefinition \setuphead[chapter][style={\bfc},numbercommand=\MyNumberChapterCommand, page=no] \starttext \startchapter [title={Algemene Beginselen}, ownnumber={Boek I}] \samplefile{tufte} \stopchapter \startchapter [title={Organisatorische Structuren}, ownnumber={Boek II}] \samplefile{tufte} \stopchapter \stoptext --00000000000003ba5d06140234c8 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
I have some style adjustments for the chapters. The chapte= r "numbers" need to be Boek I, Boek II, etc. A vertical separator= was introduced with an inframe. The chapter title at the right side does n= ot vertically align properly with the chapter number in the frame (inside t= he frame is vertically centered, the title not). Is there a way to align th= e chapter title with the chapter number?


<= div>
\starttexdefinition MyNumberChapterCommand #1
=C2=A0 = =C2=A0 \inframed[frame=3Doff,rightframe=3Don,framecolor=3Dblack,
=C2=A0 = =C2=A0 =C2=A0rulethickness=3D1px,height=3D30pt]{#1\enspace}
\stoptexdefi= nition

\setuphead[chapter][style=3D{\bfc},numbercommand=3D\MyNumberC= hapterCommand,
=C2=A0 =C2=A0 page=3Dno]

\starttext

\startc= hapter
=C2=A0 [title=3D{Algemene Beginselen},
=C2=A0 =C2=A0ownnumber= =3D{Boek I}]

\samplefile{tufte}

\stopchapter

\startcha= pter
=C2=A0 [title=3D{Organisatorische Structuren},
=C2=A0 =C2=A0ownn= umber=3D{Boek II}]

\samplefile{tufte}

\stopchapter

\st= optext
--00000000000003ba5d06140234c8-- --===============5112382424896294810== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl webpage : https://www.pragma-ade.nl / https://context.aanhet.net (mirror) archive : https://github.com/contextgarden/context wiki : https://wiki.contextgarden.net ___________________________________________________________________________________ --===============5112382424896294810==--