From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-0.8 required=5.0 tests=DKIM_INVALID,DKIM_SIGNED, HTML_MESSAGE,MAILING_LIST_MULTI,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 30042 invoked from network); 23 Nov 2023 09:31:09 -0000 Received: from cgl.ntg.nl (5.39.185.202) by inbox.vuxu.org with ESMTPUTF8; 23 Nov 2023 09:31:09 -0000 Received: from localhost (localhost [127.0.0.1]) by cgl.ntg.nl (Postfix) with ESMTP id 6BF34483FE8 for ; Thu, 23 Nov 2023 10:27:59 +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 0syUmR0pBklk for ; Thu, 23 Nov 2023 10:27:58 +0100 (CET) Received: from cgl.ntg.nl (localhost [127.0.0.1]) by cgl.ntg.nl (Postfix) with ESMTP id 52D1B484031 for ; Thu, 23 Nov 2023 10:26:18 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by cgl.ntg.nl (Postfix) with ESMTP id DE2AA483E59 for ; Thu, 23 Nov 2023 10:25:31 +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 x-fm9lJHxw5i for ; Thu, 23 Nov 2023 10:25:31 +0100 (CET) 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 59D4B483E58 for ; Thu, 23 Nov 2023 10:25:31 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=univie.ac.at; s=rev3; 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=G02+UytVeZr4lc+mW227lqJyPOnxkj2DbizZaJeGmv0=; b=cXk9H8osxnev14JCML+O1FQyHd Vn8pgyNiWThN3dZhE2SznRlPYMEh5xqQtHOW+WySw66N+skXYZGJmrr2Ga6L0lttvX+r7OoCerx0z XQw54ozYUt3K510FBePEH/E7r4BRfcsb7/I1Xy2uGMdNU0llVgbbb3cwfW/V9i9jHNFJOUONVeZ87 XSYJSIdjY2ISZqO7TAhKvF14mEQsQ2Bxen3QtehTVLVucpC0ZWQd99LRorvN8fVI0MyBw++TSN6LS +L6adzIV20iE2gttthxaSGZZlunrXkHt9s6N4e2BYyfrt+lxbS5TGxaupjyPcahuV8XNQAGueMfEg vLwmXutw==; 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.97) (envelope-from ) id 1r65xi-00000008dXL-3EfI for ntg-context@ntg.nl; Thu, 23 Nov 2023 10:25:30 +0100 Received: from autodiscover.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.97) (envelope-from ) id 1r65xi-00000000L3g-10vb for ntg-context@ntg.nl; Thu, 23 Nov 2023 10:25:30 +0100 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.1258.28; Thu, 23 Nov 2023 10:25:25 +0100 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.1258.028; Thu, 23 Nov 2023 10:25:25 +0100 From: Ursula Hermann To: mailing list for ConTeXt users Thread-Topic: [NTG-context] Re: It works after a few changes but .. Thread-Index: AQHaGV1x+gRG/CPc20CbOkcS2WQdzrCAGNoAgALSRaCABL38rg== Date: Thu, 23 Nov 2023 09:25:25 +0000 Message-ID: References: <536a5e995e2547d9b3e60cd60017c9e9@univie.ac.at> ,<843340a4996a47ea9b26831c7ab067ff@univie.ac.at> In-Reply-To: <843340a4996a47ea9b26831c7ab067ff@univie.ac.at> Accept-Language: de-AT, en-US Content-Language: de-AT X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [217.149.174.166] x-process: ESTProcessDone MIME-Version: 1.0 X-Univie-Virus-Scan: scanned by ClamAV on jarvis.univie.ac.at Message-ID-Hash: HIJFBW3RPUMUGJ267FSQIUHRHVZDOCCB X-Message-ID-Hash: HIJFBW3RPUMUGJ267FSQIUHRHVZDOCCB 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.8 Precedence: list Reply-To: mailing list for ConTeXt users Subject: [NTG-context] Re: It works after a few changes but .. 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="===============3663386215993739988==" --===============3663386215993739988== Content-Language: de-AT Content-Type: multipart/alternative; boundary="_000_ab9d080db4574b2684c95ca7d2c7d19dunivieacat_" --_000_ab9d080db4574b2684c95ca7d2c7d19dunivieacat_ Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: quoted-printable Dear List, After once more a little changes this is the example I wanted, and it is pe= rfekt: \definemargindata [MyInMargin][inright] \definemarginframed[MyInMargin][topframe=3Don,bottomframe=3Don,rulethicknes= s=3D1pt,width=3D1cm] \defineenumeration [theorem] [ text=3DTheorem, title=3Dyes, width=3Dfit, distance=3D0.5em, alternative=3Dserried, ] \margintext{\blackrule[color=3Dblack, height=3D0.25ex, width=3D1cm]\\}\blac= krule[color=3Dblack, height=3D0.25ex, width=3D15cm] \starttext \margintext {1.1.1} \starttheorem The square on the hypotenuse is equal to the sum of the squares on the other two sides. \stoptheorem \stoptext Many thanks to Bruce and Aditya for your help. Regards Uschi ________________________________ Von: Ursula Hermann Gesendet: Montag, 20. November 2023 09:54:25 An: mailing list for ConTeXt users Betreff: [NTG-context] Re: It works after a few changes but .. Dear Bruce, Yes, I need also margintext. Many thanks Uschi -----Urspr=FCngliche Nachricht----- Von: Bruce Horrocks Gesendet: Samstag, 18. November 2023 15:48 An: ntg-context mailing list Betreff: [NTG-context] Re: It works after a few changes but .. > On 17 Nov 2023, at 14:06, Ursula Hermann wr= ote: > > \margintext{2.1.1}{\starttheorem {The square on the hypotenuse is > equal to the sum of the squares on the other two sides. Ach is das > sch=F6n, dass du da bist} \stoptheorem The spurious parentheses seem to be a side-effect of having unmatched curly= brackets in the bit that I have quoted. The following eliminates them: \definemargindata [MyInMargin][inright] \definemarginframed[MyInMargin][to= pframe=3Don,bottomframe=3Don,rulethickness=3D1pt,width=3D1cm] \margintext{\blackrule[color=3Dblack, height=3D0.25ex, width=3D1cm]\\}\blac= krule[color=3Dblack, height=3D0.25ex, width=3D7cm] \setupenumerations [ be= fore=3D{\blank[big]}, after=3D{\blank[big]}, location=3Dserried, width=3Dbroad, distance=3D0.5em, headstyle=3Dbold, titlestyle=3Dnormal, way=3Dbytext, conversion=3Dnumbers] \defineenumeration [theorem] [ text=3DTheorem, title=3Dyes, style=3Ditalic, list=3Dall, listtext=3D{Theorem }] \starttext \margintext{2.1.1}{\starttheorem The square on the hypotenuse is equal to t= he sum of the squares on the other two sides. Ach is das sch=F6n, dass du d= a bist \stoptheorem } \stoptext I see also in this thread that you have sad "yes" to Aditya's suggestion. B= ut that doesn't have the margintext. Do you still want/need margintext? =97 Bruce Horrocks Hampshire, UK =97 Bruce Horrocks Hampshire, UK ___________________________________________________________________________= ________ 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 ___________________________________________________________________________= ________ ___________________________________________________________________________= ________ 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_ab9d080db4574b2684c95ca7d2c7d19dunivieacat_ Content-Type: text/html; charset="Windows-1252" Content-Transfer-Encoding: quoted-printable


Dear List, 


After once more a little changes this is the example I wanted, and it is= perfekt: 


\definemargindata  [MyInMargin][inright]
\definemarginframed[MyInMargin][topframe=3Don,bottomframe=3Don,rulethi= ckness=3D1pt,width=3D1cm]

\defineenumeration
  [theorem]
  [
    text=3DTheorem,
    title=3Dyes,
    width=3Dfit,
    distance=3D0.5em,
    alternative=3Dserried,
  ]
\margintext{\blackrule[color=3Dblack, height=3D0.25ex, width=3D1cm]\\}= \blackrule[color=3Dblack, height=3D0.25ex, width=3D15cm]
\starttext
\margintext {1.1.1}
  \starttheorem
    The square on the hypotenuse is equal to the sum of the = squares on the
    other two sides.
  \stoptheorem
\stoptext

Many thanks to Bruce and Aditya for your hel= p. 

Regards
Uschi


Von: Ursula Hermann <u= rsula.hermann@univie.ac.at>
Gesendet: Montag, 20. November 2023 09:54:25
An: mailing list for ConTeXt users
Betreff: [NTG-context] Re: It works after a few changes but ..
 
Dear Bruce,

Yes, I need also margintext.

Many thanks
Uschi

-----Urspr=FCngliche Nachricht-----
Von: Bruce Horrocks <ntg@scorecrow.com>
Gesendet: Samstag, 18. November 2023 15:48
An: ntg-context mailing list <ntg-context@ntg.nl>
Betreff: [NTG-context] Re: It works after a few changes but ..


> On 17 Nov 2023, at 14:06, Ursula Hermann <ursula.hermann@univie.ac.= at> wrote:
>
> \margintext{2.1.1}{\starttheorem {The square on the hypotenuse is
> equal to the sum of the squares on the other two sides. Ach is das > sch=F6n, dass du da bist} \stoptheorem

The spurious parentheses seem to be a side-effect of having unmatched curly= brackets in the bit that I have quoted.

The following eliminates them:

\definemargindata  [MyInMargin][inright] \definemarginframed[MyInMargi= n][topframe=3Don,bottomframe=3Don,rulethickness=3D1pt,width=3D1cm]
\margintext{\blackrule[color=3Dblack, height=3D0.25ex, width=3D1cm]\\}\blac= krule[color=3Dblack, height=3D0.25ex, width=3D7cm] \setupenumerations = [ before=3D{\blank[big]},
   after=3D{\blank[big]},
   location=3Dserried,
   width=3Dbroad,
   distance=3D0.5em,
   headstyle=3Dbold,
   titlestyle=3Dnormal,
   way=3Dbytext,
   conversion=3Dnumbers]
\defineenumeration
 [theorem]
 [    text=3DTheorem,
     title=3Dyes,
     style=3Ditalic,
      list=3Dall,
  listtext=3D{Theorem }]
\starttext
\margintext{2.1.1}{\starttheorem The square on the hypotenuse is equal to t= he sum of the squares on the other two sides. Ach is das sch=F6n, dass du d= a bist \stoptheorem } \stoptext

I see also in this thread that you have sad "yes" to Aditya's sug= gestion. But that doesn't have the margintext. Do you still want/need margi= ntext?

=97
Bruce Horrocks
Hampshire, UK



=97
Bruce Horrocks
Hampshire, UK

___________________________________________________________________________= ________
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
___________________________________________________________________________= ________
___________________________________________________________________________= ________
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_ab9d080db4574b2684c95ca7d2c7d19dunivieacat_-- --===============3663386215993739988== 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 ___________________________________________________________________________________ --===============3663386215993739988==--