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.7 required=5.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,NO_RECEIVED,NO_RELAYS,T_SCC_BODY_TEXT_LINE, URIBL_SBL_A autolearn=ham autolearn_force=no version=3.4.4 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/118015 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Leah Neukirchen Newsgroups: gmane.comp.tex.context Subject: The use of \textfont in ConTeXt Date: Wed, 05 Jul 2023 15:40:10 +0200 Message-ID: <87y1ju8ojp.fsf@vuxu.org> Reply-To: mailing list for ConTeXt users Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="11630"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) To: ntg-context@ntg.nl Archived-At: Original-X-From: ntg-context-bounces+gctc-ntg-context-518=m.gmane-mx.org@ntg.nl Wed Jul 05 15:40:54 2023 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane-mx.org Original-Received: from cgl.ntg.nl ([5.39.185.202]) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1qH2kY-0002ol-0q for gctc-ntg-context-518@m.gmane-mx.org; Wed, 05 Jul 2023 15:40:54 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by cgl.ntg.nl (Postfix) with ESMTP id 15042482201 for ; Wed, 5 Jul 2023 15:40:20 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at cgl.ntg.nl Original-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 cMfOqd9DeOcL for ; Wed, 5 Jul 2023 15:40:20 +0200 (CEST) Original-Received: from cgl.ntg.nl (localhost [127.0.0.1]) by cgl.ntg.nl (Postfix) with ESMTP id 2ECDD48220A for ; Wed, 5 Jul 2023 15:40:19 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by cgl.ntg.nl (Postfix) with ESMTP id AB54F482201 for ; Wed, 5 Jul 2023 15:40:12 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at cgl.ntg.nl Original-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 xKaMVQ_rk70M for ; Wed, 5 Jul 2023 15:40:12 +0200 (CEST) Original-Received: from mail-ed1-f43.google.com (mail-ed1-f43.google.com [209.85.208.43]) (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 979584821FD for ; Wed, 5 Jul 2023 15:40:12 +0200 (CEST) Original-Received: by mail-ed1-f43.google.com with SMTP id 4fb4d7f45d1cf-51d9128494cso6565374a12.0 for ; Wed, 05 Jul 2023 06:40:12 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1688564412; x=1691156412; h=mime-version:user-agent:message-id:date:subject:to:from :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=IgUtnd9EKGqLBsyeNgksm/ALzgkHY0eZzV2e52zBuKg=; b=GHrrvOtaay7wGg3OgGByplNMInUITSxP1N2Lhx0iydhqvGQN+OgcFZbYLS0lKrfc8Q 7fqI713l2Mmql6Z2aojVEscRY5ZH3471A/ZVIPyxI2yMFYd11OJZPHJgTu+iJYntScEa 7BHzv9CYIEwwy7vMjPq0o9xkB4TnQdj0AlXKabpdBxk7SZNE0dqud4dVx+LJbouhJulc bCpJk5wdXx1rzge7vIcqyVhA5D6kvkqNZjhwFl8URiOS18A62tEQKEBDKZvXJh93tvvp mupUiDCaVF8KE8bMG0sl+VbxF1YC3Eas1+znh4OP5+XQM8Ri+YXG+Q1EpbhE09LMvu3O 7VHQ== X-Gm-Message-State: ABy/qLaB9T4SvkJfY6RFVhwVwbBpfiyXj408iYvAUUvVZx/bKM7pfsUQ ukvZUrYzhBvLiAItYjglCGi7cyEsZP4LLg== X-Google-Smtp-Source: APBJJlEh7b/rFGk8AH76MKkbA8n5/5FSPSmbpQpX8/h+rOEWnHxfWsME+zNd/nMEiryLS10/ljX8vQ== X-Received: by 2002:a05:6402:32c:b0:51d:af56:a1ea with SMTP id q12-20020a056402032c00b0051daf56a1eamr12090329edw.4.1688564412122; Wed, 05 Jul 2023 06:40:12 -0700 (PDT) Original-Received: from rhea.home.vuxu.org (i6DFA5D5E.versanet.de. [109.250.93.94]) by smtp.gmail.com with ESMTPSA id v1-20020a056402184100b0050488d1d376sm13163775edy.0.2023.07.05.06.40.11 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 05 Jul 2023 06:40:11 -0700 (PDT) Original-Received: from localhost (rhea.home.vuxu.org [local]) by rhea.home.vuxu.org (OpenSMTPD) with ESMTPA id 80686f93 for ; Wed, 5 Jul 2023 13:40:10 +0000 (UTC) Message-ID-Hash: RCCLV5IFF7LRIWWIGBJJZTUDVAQIAXZQ X-Message-ID-Hash: RCCLV5IFF7LRIWWIGBJJZTUDVAQIAXZQ X-MailFrom: chneukirchen@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 List-Id: mailing list for ConTeXt users List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: Xref: news.gmane.io gmane.comp.tex.context:118015 Archived-At: Hi, I've been porting Paul Taylor's prooftree.sty (https://www.paultaylor.eu/proofs/) to ConTeXt, which seemed quite easy. There's just one adjustment to make: 291c292 < \else \dimen6=\fontdimen22\the\textfont2 % height of maths axis --- > \else \dimen6=\the\dimexpr\triggeredmathstyleparameter\Umathaxis % height of maths axis It seems that ConTeXt stores the math font in \textfont0 instead of \textfont2 as LaTeX does. Now my question is: is \textfont2 used at all? (I grepped occurences of \textfont0 and \textfont1) Then I could just copy the \textfont0 to \textfont2 before loading the macro and would not require any patches. -- Leah Neukirchen https://leahneukirchen.org/ ___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context webpage : https://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : https://contextgarden.net ___________________________________________________________________________________