source@mandoc.bsd.lv
 help / color / mirror / Atom feed
From: kristaps@mdocml.bsd.lv
To: source@mdocml.bsd.lv
Subject: mdocml: Remove last pod2man escapes.
Date: Wed, 15 Sep 2010 09:10:30 -0400 (EDT)	[thread overview]
Message-ID: <201009151310.o8FDAUd7000453@krisdoz.my.domain> (raw)

Log Message:
-----------
Remove last pod2man escapes.  These render ok, although \*(-- renders as
O- because the underlying macro depends on \(*W, which a prior pod2man
preamble `tr' macro rewrites as "-".  This is an error in groff as this
tramples on the real \(*W, or Greek omega.

Modified Files:
--------------
    mdocml:
        TODO
        chars.c
        chars.in

Revision Data
-------------
Index: chars.c
===================================================================
RCS file: /usr/vhosts/mdocml.bsd.lv/cvs/mdocml/chars.c,v
retrieving revision 1.29
retrieving revision 1.30
diff -Lchars.c -Lchars.c -u -p -r1.29 -r1.30
--- chars.c
+++ chars.c
@@ -40,7 +40,7 @@ struct	ln {
 #define CHARS_BOTH	 (CHARS_CHAR | CHARS_STRING)
 };
 
-#define	LINES_MAX	  362
+#define	LINES_MAX	  351
 
 #define CHAR(in, ch, code) \
 	{ NULL, (in), (ch), (code), CHARS_CHAR },
Index: chars.in
===================================================================
RCS file: /usr/vhosts/mdocml.bsd.lv/cvs/mdocml/chars.in,v
retrieving revision 1.34
retrieving revision 1.35
diff -Lchars.in -Lchars.in -u -p -r1.34 -r1.35
--- chars.in
+++ chars.in
@@ -348,19 +348,6 @@ CHAR("Po",			"L",		163)
 CHAR("Cs",			"x",		164)
 CHAR("Fn",			"f",		402)
 
-/* pod2man holdovers. */
-STRING("--",			"--",		8212)
-STRING("PI",			"pi",		960)
-STRING("L\"",			"``",		8220)
-STRING("R\"",			"\'\'",		8221)
-STRING("C`",			"`",		8216)
-STRING("C\'",			"\'",		8217)
-STRING("Aq",			"\'",		39)
-STRING("^",			"^",		94)
-STRING(",",			",",		44)
-STRING("~",			"~",		126)
-STRING("/",			"/",		47)
-
 /* Old style. */
 STRING("Am",			"&",		38)
 STRING("Ba",			"|",		124)
@@ -374,9 +361,7 @@ STRING("Na",			"NaN",		0)
 STRING("Ne",			"!=",		8800)
 STRING("Pi",			"pi",		960)
 STRING("Pm",			"+-",		177)
-STRING("R",			"(R)",		174)
 STRING("Rq",			"\'\'",		8221)
-STRING("Tm",			"tm",		8482)
 STRING("left-bracket",		"[",		91)
 STRING("left-parenthesis",	"(",		40)
 STRING("left-singlequote",	"`",		8216)
@@ -384,10 +369,12 @@ STRING("lp",			"(",		40)
 STRING("q",			"\"",		34)
 STRING("quote-left",		"`",		8216)
 STRING("quote-right",		"\'",		8217)
+STRING("R",			"(R)",		174)
 STRING("right-bracket",		"]",		93)
 STRING("right-parenthesis",	")",		41)
 STRING("right-singlequote",	"\'",		8217)
 STRING("rp",			")",		41)
+STRING("Tm",			"(Tm)",		8482)
 
 /* Lines. */
 CHAR("ba",			"|",		124)
Index: TODO
===================================================================
RCS file: /usr/vhosts/mdocml.bsd.lv/cvs/mdocml/TODO,v
retrieving revision 1.45
retrieving revision 1.46
diff -LTODO -LTODO -u -p -r1.45 -r1.46
--- TODO
+++ TODO
@@ -181,8 +181,3 @@ Several areas can be cleaned up to make 
   .Bl -tag -width "\eD{format}XX" -compact
   in OpenBSD ksh(1) gives the wrong width
   because "\e" is one character in groff, two in mandoc
-
-- Now that `ds' is minimally supported, we can get rid of some
-  predefined strings.  \*(C+ has already been thrown out.  Track these
-  down and whack them.  Look in e.g. gcc.1 for the top-level `ds'
-  invocations.  These are reproduced across most crappy GNU manuals.
--
 To unsubscribe send an email to source+unsubscribe@mdocml.bsd.lv

                 reply	other threads:[~2010-09-15 13:10 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=201009151310.o8FDAUd7000453@krisdoz.my.domain \
    --to=kristaps@mdocml.bsd.lv \
    --cc=source@mdocml.bsd.lv \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).