Hello,
The enclosed patch accepts `-isoC-2011' to print the now-official
standard name, ISO/IEC 9899:2011, for mdoc. If it looks alright, I'll
update mandoc(1) similarly.
Note that this uses `-isoC-2011' instead of `-isoC-11'. Maybe this is
confusing, but I drew from how POSIX symbols increment from two to four
digits when spanning 2000 (e.g. `-p1003.1-96' to `-p1003.1-2001').
Sound reasonable?
Thanks!
Kristaps
Index: doc-syms
===================================================================
RCS file: /sources/groff/groff/tmac/doc-syms,v
retrieving revision 1.21
diff -u -p -r1.21 doc-syms
--- doc-syms 29 Oct 2011 16:44:31 -0000 1.21
+++ doc-syms 2 Jan 2012 12:10:13 -0000
@@ -605,6 +605,8 @@
.ds doc-str-St--isoC \*[doc-Tn-font-size]ISO/IEC\*[doc-str-St]
9899:1990
.as doc-str-St--isoC "
(\*[Lq]\*[doc-Tn-font-size]ISO\~C\^90\*[doc-str-St]\*[Rq])
.als doc-str-St--isoC-90 doc-str-St--isoC
+.ds doc-str-St--isoC-2011 \*[doc-Tn-font-size]ISO/IEC\*[doc-str-St]
9899:2011
+.as doc-str-St--isoC-2011 "
(\*[Lq]\*[doc-Tn-font-size]ISO\~C\^11\*[doc-str-St]\*[Rq])
.ds doc-str-St--isoC-99 \*[doc-Tn-font-size]ISO/IEC\*[doc-str-St]
9899:1999
.as doc-str-St--isoC-99 "
(\*[Lq]\*[doc-Tn-font-size]ISO\~C\^99\*[doc-str-St]\*[Rq])
.ds doc-str-St--isoC-amd1 \*[doc-Tn-font-size]ISO/IEC\*[doc-str-St]
9899/AMD1:1995
Index: groff_mdoc.man
===================================================================
RCS file: /sources/groff/groff/tmac/groff_mdoc.man,v
retrieving revision 1.55
diff -u -p -r1.55 groff_mdoc.man
--- groff_mdoc.man 29 Oct 2011 16:44:31 -0000 1.55
+++ groff_mdoc.man 2 Jan 2012 12:10:13 -0000
@@ -2036,6 +2036,8 @@ are:
.St -isoC-90
.It Li \-isoC\-99
.St -isoC-99
+.It Li \-isoC\-2011
+.St -isoC-2011
.El
.Pp
.