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=-1.1 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_EF,HEADER_FROM_DIFFERENT_DOMAINS,HTML_MESSAGE, MAILING_LIST_MULTI,URIBL_DBL_BLOCKED_OPENDNS,URIBL_ZEN_BLOCKED_OPENDNS autolearn=ham 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 4099022070 for ; Wed, 1 Oct 2025 10:19:40 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by cgl.ntg.nl (Postfix) with ESMTP id 07488486E24 for ; Wed, 1 Oct 2025 10:18:53 +0200 (CEST) Authentication-Results: cgl.ntg.nl (amavis); dkim=pass (1024-bit key) reason="pass (just generated, assumed good)" header.d=ntg.nl DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ntg.nl; h= content-type:content-type:list-unsubscribe:list-subscribe :list-post:list-owner:list-help:list-archive:archived-at:list-id :subject:subject:reply-to:precedence:mime-version :content-language:accept-language:in-reply-to:references :message-id:date:date:from:from:received:received:received :received:received:received:received:received:received; s=cgl; t=1759306731; x=1761898732; bh=HdLdVqvZhagTm/n6ATOZJUca29ZbJp2U Zf75Jd8XqeQ=; b=tQmtp2oTmBl1Hb7wRdZtOAFmSWPbsJyhxOESVgF3uhwtxYB2 g3D5YhNBqcwGC3d/BYloGyPMkGkHjkP8LzjOWCrppf7a5w3uMrI+cQIqO5V1DNQd LXksJzKs25ew5nn/k45EEvNpzDbL+Su8a+rAGsY5rlrdn6XC4Q/0MsmlJu0= X-Virus-Scanned: Debian amavis at cgl.ntg.nl Authentication-Results: cgl.ntg.nl (amavis); dkim=fail (2048-bit key) reason="fail (message has been altered)" header.d=univie.ac.at Received: from cgl.ntg.nl ([127.0.0.1]) by localhost (cgl.ntg.nl [127.0.0.1]) (amavis, port 10024) with ESMTP id XUEvxzJyNne3 for ; Wed, 1 Oct 2025 10:18:51 +0200 (CEST) Received: from cgl.ntg.nl (localhost [127.0.0.1]) by cgl.ntg.nl (Postfix) with ESMTP id D6453486E3D for ; Wed, 1 Oct 2025 10:17:27 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by cgl.ntg.nl (Postfix) with ESMTP id 134D0485989 for ; Wed, 1 Oct 2025 10:16:58 +0200 (CEST) X-Virus-Scanned: Debian amavis at cgl.ntg.nl Received: from cgl.ntg.nl ([127.0.0.1]) by localhost (cgl.ntg.nl [127.0.0.1]) (amavis, port 10024) with ESMTP id C3vtRkXWQKnT for ; Wed, 1 Oct 2025 10:16:56 +0200 (CEST) Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=131.130.3.115; helo=grace.univie.ac.at; envelope-from=ursula.hermann@univie.ac.at; receiver=ntg.nl Received: from grace.univie.ac.at (grace.univie.ac.at [131.130.3.115]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 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 83968485B7A for ; Wed, 1 Oct 2025 10:16:56 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=univie.ac.at; s=rev4; h=MIME-Version:Content-Type:In-Reply-To:References: Message-ID:Date:Subject:To:From:Sender:Reply-To:Cc:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID; bh=46FS1CWaAS6LHV8H7ctO9goZV8+TBsAkdSIDFbpBXCg=; b=NOIi95lB3jqkPCcsbsB3eBMGo7 CTNv7i9U/g0NldMgXp3sD1w8e8+fNHNe2k3xDZAJum3imRyZ9Tor8rylLcMVQbYOHfgPrhkhgFekx rbsZbvQX2uCmMKnL2oKMvtI5EoT1y4G04jKDqqwEK4muVaFYJ+9RTVdCKSbpZqvjaDK3V2JD3Z1L2 Drl+Elx31qMnnxaKceKJRkXt0rGg/Xjl5PVrrrM7p1ac0QPNWeEsR1i3Q24yF4S/N/2xZOqM1CXVA Wo6dw4Fn8Nn/A1AxGjC1Zw/O9Q5qFRHBYK3QOuzBr0AupSoOugjZdN0eekCo6rkWh8MhmdMCdqgw/ O3r3YUnA==; Received: from jarvis.univie.ac.at ([131.130.3.112] helo=jarvis.univie.ac.at) by grace.univie.ac.at with esmtps (TLS1.3:TLS_AES_256_GCM_SHA384:256) (Exim 4.98.2) (envelope-from ) id 1v3s19-0000000Dcyc-2Hn2 for ntg-context@ntg.nl; Wed, 01 Oct 2025 10:16:55 +0200 Received: from exwww.d.univie.ac.at ([131.130.95.51] helo=EXDB1.d.univie.ac.at) by jarvis.univie.ac.at with esmtps (TLS1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.98.2) (envelope-from ) id 1v3s19-0000000DQPm-1MSS for ntg-context@ntg.nl; Wed, 01 Oct 2025 10:16:55 +0200 Received: from EXDB1.d.univie.ac.at (131.130.95.51) by EXDB1.d.univie.ac.at (131.130.95.51) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1748.26; Wed, 1 Oct 2025 10:16:45 +0200 Received: from EXDB1.d.univie.ac.at ([fe80::e345:900f:7707:9815]) by EXDB1.d.univie.ac.at ([fe80::e345:900f:7707:9815%4]) with mapi id 15.02.1748.026; Wed, 1 Oct 2025 10:16:45 +0200 From: Ursula Hermann To: mailing list for ConTeXt users Thread-Topic: [NTG-context] Re: Sectionnumber and foo on the same line Thread-Index: AdwyBTbHaHSm1RZdSRm2B8108T2+Lf///S2AgAFJ/xQ= Date: Wed, 1 Oct 2025 08:16:44 +0000 Message-ID: <2674bf6b09d64b879d90a60d6bebf347@univie.ac.at> References: <403b65c239e44bdaa28557c80bab1e79@univie.ac.at>,<24e88751-b7f7-4643-9b17-93951183f259@gmail.com> In-Reply-To: <24e88751-b7f7-4643-9b17-93951183f259@gmail.com> Accept-Language: de-AT, en-US Content-Language: de-AT X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [217.149.172.183] x-process: ESTProcessDone MIME-Version: 1.0 X-Univie-Virus-Scan: scanned by ClamAV on jarvis.univie.ac.at Message-ID-Hash: 24GX36JVFQQHW2WLSJ4RYU6N3XSSLAIA X-Message-ID-Hash: 24GX36JVFQQHW2WLSJ4RYU6N3XSSLAIA X-MailFrom: ursula.hermann@univie.ac.at 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.9 Precedence: list Reply-To: mailing list for ConTeXt users Subject: [NTG-context] Re: Sectionnumber and foo on the same line 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="===============0247485042841063058==" --===============0247485042841063058== Content-Language: de-AT Content-Type: multipart/alternative; boundary="_000_2674bf6b09d64b879d90a60d6bebf347univieacat_" --_000_2674bf6b09d64b879d90a60d6bebf347univieacat_ Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Dear LIst, Dear Wolfgang I have another example, which is a little bit longer. \starttext \startsetups [footer:leftpage] \prefixedpagenumber \space \undepthed{\blackrule [ width=3D\linewidth, height=3D\strutht, depth=3D\dimexpr\footerheight+\bottomspace\relax, ]} \space \labeltext{chapter} \getmarking[chapternumber] \stopsetups \startsetups [footer:rightpage] \getmarking[chapter] \space \undepthed{\blackrule [ width=3D\linewidth, height=3D\strutht, depth=3D\dimexpr\footerheight+\bottomspace\relax, ]} \space \prefixedpagenumber \stopsetups \setuplabeltext [en] [chapter=3DChapter] \setuphead [chapter] [bodypartlabel=3D] \setupfootertexts [] [\directsetup{footer:rightpage}] [\directsetup{footer:leftpage}] [] \setuppagenumbering [alternative=3Ddoublesided] \starttext \startchapter [title=3DFirst chapter] \dorecurse{10}{\input knuth} \stopchapter \startchapter [title=3DSecond chapter] \dorecurse{10}{\input knuth} \stopchapter \stoptext How can I change the setups in the header? Many thanks Uschi ________________________________ Von: Wolfgang Schuster Gesendet: Dienstag, 30. September 2025 16:14:43 An: ntg-context@ntg.nl Betreff: [NTG-context] Re: Sectionnumber and foo on the same line Am 30.09.2025 um 14:35 schrieb Ursula Hermann: > Dear List, > > I have the followimg example, where the Sectionnumber Is not in the same > line, as the text after the frame. > > \setuppapersize[A4,width=3D19cm,height=3D24cm]] This doesn't work, you need: \definepapersize [uschi] [width=3D19cm,height=3D24cm] \setuppapersize [uschi] > \starttext > > 3.11\line{\framed[frame=3D,leftframe=3Don,rulethickness=3D4pt,framecolor= =3Dred]{foo} > } > > \stoptext > > How can I put both in the same line? 3.11\inframed[frame=3D,leftframe=3Don,rulethickness=3D4pt,framecolor=3Dred]= {foo} and drop \line because it creates a horizontal box with a width of the textblock, as you have also text before the box \line extends into the right margin and you get a overfull box message. Wolfgang ___________________________________________________________________________= ________ If your question is of interest to others as well, please add an entry to t= he Wiki! maillist : ntg-context@ntg.nl / https://mailman.ntg.nl/mailman3/lists/ntg-c= ontext.ntg.nl webpage : https://www.pragma-ade.nl / https://context.aanhet.net (mirror) archive : https://github.com/contextgarden/context wiki : https://wiki.contextgarden.net ___________________________________________________________________________= ________ --_000_2674bf6b09d64b879d90a60d6bebf347univieacat_ Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable


Dear LIst, Dear Wolfgang


I have another example, which is a little bit longer. 


\starttext
\startsetups [footer:leftpage]
     \prefixedpagenumber
     \space
     \undepthed{\blackrule
         [
             width=3D\linewidth,
             height=3D\strutht,
             depth=3D\dimexpr\foote= rheight+\bottomspace\relax,
         ]}
     \space
     \labeltext{chapter} \getmarking[chapternumber]
\stopsetups

\startsetups [footer:rightpage]
     \getmarking[chapter]
     \space
     \undepthed{\blackrule
         [
             width=3D\linewidth,
             height=3D\strutht,
             depth=3D\dimexpr\foote= rheight+\bottomspace\relax,
         ]}
     \space
     \prefixedpagenumber
\stopsetups

\setuplabeltext
     [en]
     [chapter=3DChapter]

\setuphead
     [chapter]
     [bodypartlabel=3D]

\setupfootertexts
     [] [\directsetup{footer:rightpage}]
     [\directsetup{footer:leftpage}] []

\setuppagenumbering
     [alternative=3Ddoublesided]

\starttext

\startchapter [title=3DFirst chapter]
     \dorecurse{10}{\input knuth}
\stopchapter

\startchapter [title=3DSecond chapter]
     \dorecurse{10}{\input knuth}
\stopchapter

\stoptext

How can I change the setups in the header? 


Many thanks


Uschi 


Von: Wolfgang Schuster &l= t;wolfgang.schuster.lists@gmail.com>
Gesendet: Dienstag, 30. September 2025 16:14:43
An: ntg-context@ntg.nl
Betreff: [NTG-context] Re: Sectionnumber and foo on the same line
 
Am 30.09.2025 um 14:35 schrieb Ursula Hermann:
> Dear List,
>
> I have the followimg example, where the Sectionnumber Is not in the sa= me
> line, as the text after the frame.
>
> \setuppapersize[A4,width=3D19cm,height=3D24cm]]

This doesn't work, you need:

\definepapersize [uschi] [width=3D19cm,height=3D24cm]

\setuppapersize [uschi]

> \starttext
>
> 3.11\line{\framed[frame=3D,leftframe=3Don,rulethickness=3D4pt,framecol= or=3Dred]{foo}
> }
>
> \stoptext
>
> How can I put both in the same line?

3.11\inframed[frame=3D,leftframe=3Don,rulethickness=3D4pt,framecolor=3Dred]= {foo}

and drop \line because it creates a horizontal box with a width of the
textblock, as you have also text before the box \line extends into the
right margin and you get a overfull box message.

Wolfgang
___________________________________________________________________________= ________
If your question is of interest to others as well, please add an entry to t= he Wiki!

maillist : ntg-context@ntg.nl / https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
webpage  : https://www.pragma-ad= e.nl / https://context.aanhet.net (mirror)
archive  : https:= //github.com/contextgarden/context
wiki     : h= ttps://wiki.contextgarden.net
___________________________________________________________________________= ________
--_000_2674bf6b09d64b879d90a60d6bebf347univieacat_-- --===============0247485042841063058== 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 ___________________________________________________________________________________ --===============0247485042841063058==--