From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id kNVKNhczaGfRgAAA62LTzQ:P1 (envelope-from ) for ; Sun, 22 Dec 2024 15:41:12 +0000 Received: from aspmx1.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1.migadu.com with LMTPS id kNVKNhczaGfRgAAA62LTzQ (envelope-from ) for ; Sun, 22 Dec 2024 16:41:11 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b="MmPRq/dN"; 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=1734882071; 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=EUMJdWIfNtP1SXX45HFUxsh6iDDSu4nsiUytYtpbom0=; b=SP93zbcZUeSmmMSMZ6F8W/4VfklecfJYr6Eq1u7jt/zIPy6JOQccuin0yQO7U/44ZqFIhv xm70mpf6/OVGyBhdXdfFjap1DgDCv/iLm1G/BZ8qG3ss3uJiKHuM7Ru9E0bggSjgyoi99O KqEVvFjUVr6DF9lRPEO2gnCVH92Oh636AdTCp5P2tELCrrRV4ru7HM2i0GRrKDTX2JRNLO G/B0sN3Rx2A95XSpNGdyLdUSrdMf9pss/HbB0pD8XFRMZn2c0fRvjLLWxN8sHXcOfh9a5O Mlj5lxF5BDJiPY2rzFTJuh61GbEyJev+LCZHz14Ujyb3CnqjEY3wk8l13+fTVg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b="MmPRq/dN"; 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-Seal: i=1; s=key1; d=yhetil.org; t=1734882071; a=rsa-sha256; cv=none; b=cMnngogCUi2VNfUCVQRZ9oc+CQ8ihDY4Lizva1qxnszfLndg0wP7CyJ9QkFRwpy+H8rXBZ CvIR8m+FwNMgkO20is/rWacdoV7vUtiklw/QxW0Nti/vH6nqfnxsCSkVybmsic7jorC4w/ uhTmiOLmHlJfLqEMeyqgnfluDdF08jywRT6swL0ZYD3h3DaFvwjh3XhOH+duMTMyoTqp52 IgUHWFslmzJqAti5Ej/aN4fR3oJd+ZQqdjd55ZQWTR8kTzNKt7/qoExZjv30+5w4EAXSg3 OcDtSKnULOFXA/jSfHju99mK5AjQitKT5fXAheAeK4PJ8jT4EG/SabQmJbLKRA== 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 BBC625C017 for ; Sun, 22 Dec 2024 16:41:11 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tPO4I-0001qP-7q; Sun, 22 Dec 2024 10:40:34 -0500 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 1tPO4F-0001pq-VT for emacs-orgmode@gnu.org; Sun, 22 Dec 2024 10:40:32 -0500 Received: from mout01.posteo.de ([185.67.36.65]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tPO4D-0005kv-MD for emacs-orgmode@gnu.org; Sun, 22 Dec 2024 10:40:31 -0500 Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id A2CFB240028 for ; Sun, 22 Dec 2024 16:40:26 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1734882026; bh=HBbMzU0hd8k8E8fWScXnJkqs9qAOE0GqWrVoSAXUnVk=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:Content-Type: Content-Transfer-Encoding:From; b=MmPRq/dNZhdNjDkwXRqy6Th6lPJV20Q4ZrF38BFiegSflkqhrFRoUJ7Ym4tT6qXTj XCjqGYllRctyh5nCsDR91Lt4Qo7LwjHNtHE6hNlP2p1OszLQX4YZBDAwN/g3E5B+op hnjSmdZWIqVk9gYe//8940TqKZ4Fra5VLEOgOqpLh0zPxFN1hMTx/NAUF2HKJrR8ul Y8Lb7hGxYF0PyOZhXXeYDBE95xMvQiOA8B4yHX/WQv4IYHw2Hpt0orIFF5WUiSSVY7 hP8HKMkQBg2sb5zhSqdfy3xWHpMRkqfo55tL9EPcqViZmfgA4OGQOcNFmqwcnl9NQS YZbm2EsWfHidA== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4YGQMs5ht7z9rxG; Sun, 22 Dec 2024 16:40:25 +0100 (CET) From: Ihor Radchenko To: "G. Branden Robinson" Cc: emacs-orgmode@gnu.org, groff@gnu.org 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: <20241218172040.tyytdhbyl7annyli@illithid> References: <20241218172040.tyytdhbyl7annyli@illithid> Date: Sun, 22 Dec 2024 15:41:57 +0000 Message-ID: <87ttav7mii.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.65; envelope-from=yantar92@posteo.net; helo=mout01.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_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RCVD_IN_VALIDITY_CERTIFIED_BLOCKED=0.001, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 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-Country: US X-Migadu-Flow: FLOW_IN X-Migadu-Queue-Id: BBC625C017 X-Migadu-Scanner: mx13.migadu.com X-Migadu-Spam-Score: -0.00 X-Spam-Score: -0.00 X-TUID: 3fS+DZc78TDb "G. Branden Robinson" writes: >> Jeremy suggests that "C" may be an old alias for Courier, and if >> that's the case it should be changed to "\f[CR]". Would be great if >> Org people can confirm. > > That is good advice and it is what I recommend if you're writing in > "raw" roff. The context of the discussion is not ultra-clear to me; is > ox-man.el a replacement for the old GNU Emacs man pager, "woman"? Nope. ox-man is a converter between Org markup and Man page sources: Given the following Org markup: *This is test* ~code a+b~ here a+b. [*...* is bold markup. ~...~ is code markup.] we aim to produce a valid man file that approximates the initial Org markup as much as possible: .TH "" "1"=20 .PP \fBThis is test\fP \fCcode a+b\fP here a+b. And this discussion was about using \fC to represent "code" (also, "fixed width" and tables). We use \fC historically, and it is not very clear what could be a replacement that does not break Man export compared to previously produced results. >>> The best solution known to me is to use an extension to the man(7) >>> language. It first appeared in Ninth Edition Unix (1986) and was >>> adopted by a groff release in 2009. That is the `EX`/`EE` macro >>> pair, which sets a monospaced display. (In other words, filling is >>> disabled and a monospaced font selected if necessary.) > > Yes. Ok. But will it work inline? >From my reading of man 7 man, .EX/.EE are more suitable for paragraph markup: .EX .EE Begin and end example. After .EX, filling is disabled and a constant-width (monospaced) font is selected. Calling .EE enables filling and restores the previous font. These macros are extensions introduced in Ninth Edition Research Unix. Systems running that troff, or those from Documenter=E2=80=99s Workbench, Heirloom Doctools, or Plan 9 = troff support them. To be certain your page will be portable to systems that do not, copy their definitions from the an-ext.tmac file of a groff installation. >> However, as you observe, `\f[CR]` doesn't (nor does `\f(CR`). I note >> that groff's HTML support is stated in the grohtml(1) man-page to be >> in beta. Haven't checked the source to determine whether that is >> what's going on here. > > It's a mess. :( > > https://savannah.gnu.org/bugs/index.php?61915 > > That's the tip of a large iceberg. Ok. So much for testing via man->HTML exporter. What about PDF? --=20 Ihor Radchenko // yantar92, Org mode maintainer, Learn more about Org mode at . Support Org development at , or support my work at