Add a New Comment Rich Markup
There were extra two lines ". fi" in the first patch. From 24e4cf7dfedd58b2a1be6c600d27fed937d24fb0 Mon Sep 17 00:00:00 2001 From: Bjarni Ingi Gislason <bjarniig@rhi.hi.is> Date: Thu, 28 Jul 2022 12:32:11 +0000 Subject: [PATCH] [tmac] options "-mandoc" and '-C' are not compatible See also https://lists.gnu.org/archive/html/bug-groff/2022-07/msg00039.html and number 40, 43, 44, and 106. "\\*[<macro>]\\" does not work in compatibility mode after a ".do" according to a comment earlier in the file: .\" Due to a bug in GNU troff it necessary to have a no-op line between .\" '.do' and '\*'. Signed-off-by: Bjarni Ingi Gislason <bjarniig@rhi.hi.is> --- tmac/andoc.tmac | 20 ++++++++++++++++---- 1 file changed, 16 insertions(+), 4 deletions(-) diff --git a/tmac/andoc.tmac b/tmac/andoc.tmac index 4e3f0dd35..ccd930295 100644 --- a/tmac/andoc.tmac +++ b/tmac/andoc.tmac @@ -66,9 +66,15 @@ . do rm Dd \" force reinitialization of doc.tmac . do mso doc.tmac . -. do als TH reload-man -. +. do ie \\n[.cp] \{\ +. do als TH reload-man +. hw\"DO NOT REMOVE the line, see an earlier comment about a bug +\\*(Dd\\ +. \} +. el \{\ +. als TH reload-man \\*(Dd\\ +. \} .. . .de reload-man @@ -89,9 +95,15 @@ . do rm TH \" force reinitialization of an.tmac . do mso an.tmac . -. do als Dd reload-doc -. +. do ie \\n[.cp] \{\ +. do als Dd reload-doc +. hw\"DO NOT REMOVE the line, see an earlier comment about a bug +\\*(TH\\ +. \} +. el \{\ +. als Dd reload-doc \\*(TH\\ +. \} .. . .als TH reload-man -- 2.35.1
From 314284934893379281edd2ded2233afae00f24a0 Mon Sep 17 00:00:00 2001 From: Bjarni Ingi Gislason <bjarniig@rhi.hi.is> Date: Wed, 27 Jul 2022 21:35:52 +0000 Subject: [PATCH] [tmac] options "-mandoc" and '-C' are not compatible See also https://lists.gnu.org/archive/html/bug-groff/2022-07/msg00039.html and number 40, 43, 44, and 106. "\\*[<macro>]\\" does not work in compatibility mode after a ".do" according to a comment earlier in the file: .\" Due to a bug in GNU troff it necessary to have a no-op line between .\" '.do' and '\*'. Signed-off-by: Bjarni Ingi Gislason <bjarniig@rhi.hi.is> --- tmac/andoc.tmac | 22 ++++++++++++++++++---- 1 file changed, 18 insertions(+), 4 deletions(-) diff --git a/tmac/andoc.tmac b/tmac/andoc.tmac index 4e3f0dd35..a8c65a6f2 100644 --- a/tmac/andoc.tmac +++ b/tmac/andoc.tmac @@ -66,9 +66,16 @@ . do rm Dd \" force reinitialization of doc.tmac . do mso doc.tmac . -. do als TH reload-man -. +. do ie \\n[.cp] \{\ +. do als TH reload-man +. hw\"DO NOT REMOVE this line, see an earlier comment about a bug +\\*(Dd\\ +. \} +. el \{\ +. als TH reload-man \\*(Dd\\ +. \} +. fi .. . .de reload-man @@ -89,9 +96,16 @@ . do rm TH \" force reinitialization of an.tmac . do mso an.tmac . -. do als Dd reload-doc -. +. do ie \\n[.cp] \{\ +. do als Dd reload-doc +. hw\"DO NOT REMOVE this line, see an earlier comment about a bug +\\*(TH\\ +. \} +. el \{\ +. als Dd reload-doc \\*(TH\\ +. \} +. fi .. . .als TH reload-man -- 2.35.1
(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)
Attach Files: Comment:
No files currently attached
Depends on the following items: None found
Items that depend on this one: None found
There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.
Only logged-in users can vote.
Please enter the title of George Orwell's famous dystopian book (it's a date):
Copyright © 2023 Free Software Foundation, Inc. Verbatim copying and distribution of this entire article is permitted in any medium, provided this notice is preserved. The Levitating, Meditating, Flute-playing Gnu logo is a GNU GPL'ed image provided by the Nevrax Design Team. Source Code
Powered by Savane 3.12