source@mandoc.bsd.lv
 help / color / mirror / Atom feed
* mdocml: Remove last pod2man escapes.
@ 2010-09-15 13:10 kristaps
  0 siblings, 0 replies; only message in thread
From: kristaps @ 2010-09-15 13:10 UTC (permalink / raw)
  To: source

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2010-09-15 13:10 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-09-15 13:10 mdocml: Remove last pod2man escapes kristaps

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).