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_ADSP_CUSTOM_MED, DKIM_INVALID,DKIM_SIGNED,FREEMAIL_FROM,HTML_MESSAGE,MAILING_LIST_MULTI, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 15096 invoked from network); 27 Dec 2023 12:28:45 -0000 Received: from cgl.ntg.nl (5.39.185.202) by inbox.vuxu.org with ESMTPUTF8; 27 Dec 2023 12:28:45 -0000 Received: from localhost (localhost [127.0.0.1]) by cgl.ntg.nl (Postfix) with ESMTP id BD8C3483E64 for ; Wed, 27 Dec 2023 13:28:16 +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 towoi12Imd8P for ; Wed, 27 Dec 2023 13:28:16 +0100 (CET) Received: from cgl.ntg.nl (localhost [127.0.0.1]) by cgl.ntg.nl (Postfix) with ESMTP id AA19B483CC2 for ; Wed, 27 Dec 2023 13:27:29 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by cgl.ntg.nl (Postfix) with ESMTP id 7A2BF483913 for ; Wed, 27 Dec 2023 13:26: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 EGtXjkjd5-0r for ; Wed, 27 Dec 2023 13:26:59 +0100 (CET) Received: from mail-ed1-f50.google.com (mail-ed1-f50.google.com [209.85.208.50]) (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 19C56483910 for ; Wed, 27 Dec 2023 13:26:59 +0100 (CET) Received: by mail-ed1-f50.google.com with SMTP id 4fb4d7f45d1cf-554e9f51522so2065712a12.2 for ; Wed, 27 Dec 2023 04:26:59 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1703680019; x=1704284819; darn=ntg.nl; h=content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:from:to:cc:subject:date :message-id:reply-to; bh=I9AJBA5UFkoOX3Pj2IbqzXRjJgnDLH5t8gk7/1nFOSI=; b=R/PHO9quWJo4jafD0fwRZv0wnaF1b5FMM3CzPus2d7JvmigsMREd2SDSIM22BX+FHZ sdBJmNGa4rjQSmVuMvGCzMhTfga0pl43hOW2oCp+6CauGECMpwzO145KCEX2dkUBvLZG Er/gYRRAmjfrF1nBUW7BoCeXLnKyFyKXlRB8QfKpTgQZnIYxP/mCOGE+pI0ZxlsE0Bvy ZGcpvvdEYLROsVKv9aF8jmmZQw4Q8hzhKnfuZjxv4NqoHjuItwDHfWX11MZzm0WcMDgF af5orf4riixWiXh2XOdCtR9icP/wtyGQtzRiMk2Rw5KD7426/n1eLTswA/wLyeLkRGVq 2tAQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1703680019; x=1704284819; h=content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:x-gm-message-state:from:to :cc:subject:date:message-id:reply-to; bh=I9AJBA5UFkoOX3Pj2IbqzXRjJgnDLH5t8gk7/1nFOSI=; b=a78ilJgAQ1YcK9Pc0GMmaBsKNGmBE3cbi8NwVpz8L6ukg3jB3yUL1wkttvfpd08KZY O4khmk1rNO3ghzbiai9ZNGTKDJ0WRSg1J7pc7eEGKcGtCvgqz46bswFFWml2XZQ0+GT9 JYvQOtb8PjQbrhsB+F2U8P5roktXTLZ+3OMpQGF7aewzXOQtuP0EaosYwJkeShrRUwCS 0fTsn0u5qZ7rVtco9K5Hf1Im+ELN44Bzkxf8cBRD8C6xShNkXcNON88qc8iXWKspsemt dRAWGQlMT0NfLoP2m4IBo5u0ec13ql0LTcwMNc3//1iwxvagbmbE40ccVJeOdh0pR8yU SsYw== X-Gm-Message-State: AOJu0YwDxP4bWPEVFo4UNxvKwiUE7tG2keaH76MUh8WdP9mET/RJq/Fi /78a5loW8SsIV+vBqcfufjcw5IX4jeY= X-Google-Smtp-Source: AGHT+IFA50U/faewyEgZBxkyNgMeWIxE0Jg4ULLdzFnWgfzSROtaGQDg5IF8XvIfG6pKldgxBqLZHQ== X-Received: by 2002:a17:906:3885:b0:a23:58b1:11b8 with SMTP id q5-20020a170906388500b00a2358b111b8mr2427227ejd.185.1703680018391; Wed, 27 Dec 2023 04:26:58 -0800 (PST) Received: from ?IPv6:2a02:810d:a8bf:dc10:7d96:327d:a435:5796? ([2a02:810d:a8bf:dc10:7d96:327d:a435:5796]) by smtp.gmail.com with ESMTPSA id s4-20020a1709062ec400b00a234585cc79sm6496741eji.188.2023.12.27.04.26.56 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Wed, 27 Dec 2023 04:26:57 -0800 (PST) To: Shiv Shankar Dayal References: From: Wolfgang Schuster Message-ID: <50c2e4ce-0971-f362-db01-e17ffc425dde@gmail.com> Date: Wed, 27 Dec 2023 13:26:55 +0100 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 PostboxApp/7.0.60 MIME-Version: 1.0 In-Reply-To: Content-Language: en-US Message-ID-Hash: AHVU5ATYRI7QUXEUT6T2WXJ2E3WFYKS3 X-Message-ID-Hash: AHVU5ATYRI7QUXEUT6T2WXJ2E3WFYKS3 X-MailFrom: wolfgang.schuster.lists@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 CC: mailing list for ConTeXt users X-Mailman-Version: 3.3.8 Precedence: list Reply-To: mailing list for ConTeXt users Subject: [NTG-context] Re: old style factorial symbol and theorems 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="===============0453428052300216619==" This is a multi-part message in MIME format. --===============0453428052300216619== Content-Type: multipart/alternative; boundary="------------0012761D85D87C2F9A0C9AC9" Content-Language: en-US This is a multi-part message in MIME format. --------------0012761D85D87C2F9A0C9AC9 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Shiv Shankar Dayal schrieb am 27.12.2023 um 13:19: > I use following in Latex to generate old factorial symbol: > > \newcommand{\oldfact}[1]{% > \tikz[baseline]{\node[anchor=base,inner > sep=0.3ex](mynode){\ensuremath{#1}};\draw(mynode.north > west)--(mynode.south west)--(mynode.south east);\path[use as bounding > box]($(mynode.south west)+(-0.3ex,-0.3ex)$)rectangle($(mynode.north > east)+(0.3ex,0.3ex)$);} > } What do you expect here to pass as argument to the oldfact command? > But I do not know how to make it work in ConTeXt as I am not very > familiar with ConTeXt. > > If you see https://www.ntg.nl/maps/36/09.pdf page no. 28 then proof is > defined as > > \defineenumeration > [proof] > [ text=Proof, > number=no, > headstyle=italic, > title=no, %this is the default > closesymbol={\mathematics{\square}}, > style=normal] > > But the closessymbol does not work. > > I will create a minimum working example and post it as soon as possible. This works here: \defineenumeration   [proof]   [closesymbol={\mathematics{\square}}] \starttext \startproof \samplefile{lorem} \stopproof \stoptext Wolfgang --------------0012761D85D87C2F9A0C9AC9 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: 8bit Shiv Shankar Dayal schrieb am 27.12.2023 um 13:19:
I use following in Latex to generate old factorial symbol:

\newcommand{\oldfact}[1]{%
\tikz[baseline]{\node[anchor=base,inner sep=0.3ex](mynode){\ensuremath{#1}};\draw(mynode.north west)--(mynode.south west)--(mynode.south east);\path[use as bounding box]($(mynode.south west)+(-0.3ex,-0.3ex)$)rectangle($(mynode.north east)+(0.3ex,0.3ex)$);}
}

What do you expect here to pass as argument to the oldfact command?

But I do not know how to make it work in ConTeXt as I am not very familiar with ConTeXt.

If you see https://www.ntg.nl/maps/36/09.pdf page no. 28 then proof is defined as

\defineenumeration
[proof]
[ text=Proof,
number=no,
headstyle=italic,
title=no, %this is the default
closesymbol={\mathematics{\square}},
style=normal]

But the closessymbol does not work.

I will create a minimum working example and post it as soon as possible.

This works here:

\defineenumeration
  [proof]
  [closesymbol={\mathematics{\square}}]

\starttext

\startproof
\samplefile{lorem}
\stopproof

\stoptext

Wolfgang

--------------0012761D85D87C2F9A0C9AC9-- --===============0453428052300216619== 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 ___________________________________________________________________________________ --===============0453428052300216619==--