From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id QP9QJGKM8WVwQQAAe85BDQ:P1 (envelope-from ) for ; Wed, 13 Mar 2024 12:22:10 +0100 Received: from aspmx1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2.migadu.com with LMTPS id QP9QJGKM8WVwQQAAe85BDQ (envelope-from ) for ; Wed, 13 Mar 2024 12:22:10 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=ZO03xrGh; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=posteo.net ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1710328930; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=5XLr0Ec3nwxou4PWW4L1L0MHPTx54FTptqA2KhfUibo=; b=pZYIszW+dJoAotNw+txJ28fY+3Qeg0XyeNPoB+F7guiOvbtmPx+D5VlO8pWoXEpNW0K3fY JpxRKHvTZu/zESYec4ZlB0hmaKoV1d5WTuivrTIV/HTBIG75f7jNFRpSSVXM3LQPr68ieQ M+UJunWB/g/fz/fv4HXIe02APoONtICtulphROUgmjS5IfcFna2x6KLAn1B18J6mMrsbW0 cu+fhZ3FqweixMMeRUYzjoUEMqjqFsZ6rjYASH2c3zfori7dCEkDZVx3NtAa7MkMuBw5f9 gackz/NUbxeTE9gDQeHaQO4+1cBUlSudOaoRjWC+os2ePwuMu2qFMF5H+HgOIw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1710328930; a=rsa-sha256; cv=none; b=TalcLc0YaA8D1Hn6A2ziVKAFXt6DxJpHIJBRdCIVS5Yly1IlL0JOJTTXJ4wLdQUMHyxiU+ 4NuNpFO9sm6/QmdjOUaQZ2QvlaZrT++iM8LPOk2H4jUGwFJvzsZ6p4kR3SGzhnmKs63l+1 AbqpDWXozZmTIKviYGJXOkj9S93E0SuSJxlLyIxMtt918nmNtOZ0uqvDG0IgzNMpm7jvlv lG1YhxmUD+SWCdEXetFvGQL64ulBe+IU+DGdJstxx50YQqCyD+Dvfs1WI+MpggB4cGTHxF FbwF5+MfSaSbvaHUAp3WR4GfZSRyTo7TXgdoXB+uwmy5WmiMdOc44eUF8UP3Xw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=ZO03xrGh; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=posteo.net Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 3C32340723 for ; Wed, 13 Mar 2024 12:22:10 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rkMfg-0007Px-W9; Wed, 13 Mar 2024 07:21:21 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rkMfe-0007PV-NS for emacs-orgmode@gnu.org; Wed, 13 Mar 2024 07:21:18 -0400 Received: from mout02.posteo.de ([185.67.36.66]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rkMfb-0005e7-Rp for emacs-orgmode@gnu.org; Wed, 13 Mar 2024 07:21:18 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id 99AD5240101 for ; Wed, 13 Mar 2024 12:21:12 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1710328872; bh=0NMIK5gHdY4LrpWbEnmaMti20yIJ6+3AVGL8MTpShX4=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:Content-Type: Content-Transfer-Encoding:From; b=ZO03xrGh16/JHwZ6sjfv5YqVfWKnzM/6ls+MesoIIa7OAjsCvSrWxsRpWaCJq5TSG lZPGBgE/QDUtgcR8CQJBvGr/IdWmf/H7S5RdRUYIK+XrfoUPxdwUW9WbImLGXmPq4a mN+EFDRK21fsi2t5C6FNUPb8dVJvFTXS6T5hv0JFr1kl4jlkl6yCMV/TSNl8sjAe6q GQXwYpGcBNzbxBK7F5h4e+OgvgY5n4KuRTTc+tTR6U1Mw2E4UC2ITWvS3me3pwFbVl /Fg+duPsm7+W6IZRhxsC5fDRLKCDVyW1fcIX5rX7nmRJxPA/pyiHifpeKyyTo/xnMH IfE67YM7B4fHg== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4Tvp3q5MM7z9rxK; Wed, 13 Mar 2024 12:21:11 +0100 (CET) From: Ihor Radchenko To: Xiyue Deng Cc: emacs-orgmode@gnu.org, Jeremy Sowden Subject: Re: [BUG] "\fC" macro in ox-man.el [9.6.15 (release_9.6.15 @ /usr/share/emacs/29.2/lisp/org/)] In-Reply-To: <87h6hcia9y.fsf@debian-hx90.lan> References: <87v866jsou.fsf@debian-hx90.lan> <87frx7moh8.fsf@localhost> <87h6hcia9y.fsf@debian-hx90.lan> Date: Wed, 13 Mar 2024 11:25:23 +0000 Message-ID: <878r2mxtjw.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=185.67.36.66; envelope-from=yantar92@posteo.net; helo=mout02.posteo.de X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H4=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: emacs-orgmode-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Spam-Score: -9.45 X-Spam-Score: -9.45 X-Migadu-Queue-Id: 3C32340723 X-Migadu-Scanner: mx11.migadu.com X-TUID: NGupCCIRJqRf Xiyue Deng writes: > I'm not very familiar with roff so my understanding may be off. > According to the `Safe subset' section in man(7), they mentioned the > following: > > ,---- > | Font changes (ft and the \f escape sequence) should only have the > | values 1, 2, 3, 4, R, I, B, P, or CW (the ft command may also have no > | parameters). > `---- > > Does it mean `\fC' should be replaced by `\f[CW]'? I am not sure man 7 groff has Fonts often have trademarked names, and even Free Software fonts can require renaming upon modification. groff maintains a convention that a de=E2=80=90 vice=E2=80=99s serif font family is giv= en the name T (=E2=80=9CTimes=E2=80=9D), its sans-serif family H (=E2=80=9CHelvet= ica=E2=80=9D), and its monospaced family C (=E2=80=9CCourier=E2=80=9D). Histori=E2=80=90 cal= inertia has driven groff=E2=80=99s font identifiers to short uppercase abbreviations of = font names, as with TR, TB, TI, TBI, and a special font S. So, \fC refers to "Courier". I did not find any text description of CW font, but my groff installation has usr/share/groff/1.23.0/font/devdvi/CW font spec: name CW special ... for comparison, /usr/share/groff/1.23.0/font/devps/CR has name CR internalname Courier ... which looks more suitable. But CR is not listed in "safe" subset (man 7 man) Also, neither CW nor CR work with html output: with \fC .TH "" "1"=20 .PP \fBThis is test\fP=20 \fCcode a+b\fP here a+b. yields (groff -Thtml test.man)

This is test code a+b here a+b.

Note tag. but with \f[CW] .TH "" "1"=20 .PP \fBThis is test\fP=20 \f[CW]code a+b\fP here a+b.

This is test code a+b here a+b.

No special markup is applied to the code. Same for \f[CR]. --=20 Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at , or support my work at