source@mandoc.bsd.lv
 help / color / mirror / Atom feed
* mdocml: Note GNU extensions in eqn.7.
@ 2011-07-23 18:44 kristaps
  0 siblings, 0 replies; only message in thread
From: kristaps @ 2011-07-23 18:44 UTC (permalink / raw)
  To: source

Log Message:
-----------
Note GNU extensions in eqn.7.  Also add `col' and `pile', which are
mentioned briefly in the eqn User's Manual, but otherwise are
unspecified.

Modified Files:
--------------
    mdocml:
        eqn.7
        eqn.c
        mandoc.h

Revision Data
-------------
Index: eqn.c
===================================================================
RCS file: /usr/vhosts/mdocml.bsd.lv/cvs/mdocml/eqn.c,v
retrieving revision 1.36
retrieving revision 1.37
diff -Leqn.c -Leqn.c -u -p -r1.36 -r1.37
--- eqn.c
+++ eqn.c
@@ -205,9 +205,11 @@ static	const struct eqnstr eqnposs[EQNPO
 
 static	const struct eqnstr eqnpiles[EQNPILE__MAX] = {
 	{ "", 0 }, /* EQNPILE_NONE */
+	{ "pile", 4 }, /* EQNPILE_PILE */
 	{ "cpile", 5 }, /* EQNPILE_CPILE */
 	{ "rpile", 5 }, /* EQNPILE_RPILE */
 	{ "lpile", 5 }, /* EQNPILE_LPILE */
+	{ "col", 3 }, /* EQNPILE_COL */
 	{ "ccol", 4 }, /* EQNPILE_CCOL */
 	{ "rcol", 4 }, /* EQNPILE_RCOL */
 	{ "lcol", 4 }, /* EQNPILE_LCOL */
Index: mandoc.h
===================================================================
RCS file: /usr/vhosts/mdocml.bsd.lv/cvs/mdocml/mandoc.h,v
retrieving revision 1.94
retrieving revision 1.95
diff -Lmandoc.h -Lmandoc.h -u -p -r1.94 -r1.95
--- mandoc.h
+++ mandoc.h
@@ -322,9 +322,11 @@ enum	eqn_post {
 
 enum	eqn_pilet {
 	EQNPILE_NONE = 0,
+	EQNPILE_PILE,
 	EQNPILE_CPILE,
 	EQNPILE_RPILE,
 	EQNPILE_LPILE,
+	EQNPILE_COL,
 	EQNPILE_CCOL,
 	EQNPILE_RCOL,
 	EQNPILE_LCOL,
Index: eqn.7
===================================================================
RCS file: /usr/vhosts/mdocml.bsd.lv/cvs/mdocml/eqn.7,v
retrieving revision 1.23
retrieving revision 1.24
diff -Leqn.7 -Leqn.7 -u -p -r1.23 -r1.24
--- eqn.7
+++ eqn.7
@@ -81,9 +81,9 @@ box     : text
         | font box
         | \*qsize\*q text box
         | \*qleft\*q text eqn [\*qright\*q text]
-col     : \*qlcol\*q | \*qrcol\*q | \*qccol\*q
+col     : \*qlcol\*q | \*qrcol\*q | \*qccol\*q | \*qcol\*q
 text    : [^space\e\*q]+ | \e\*q.*\e\*q
-pile    : \*qlpile\*q | \*qcpile\*q | \*qrpile\*q
+pile    : \*qlpile\*q | \*qcpile\*q | \*qrpile\*q | \*qpile\*q
 pos     : \*qover\*q | \*qsup\*q | \*qsub\*q | \*qto\*q | \*qfrom\*q
 mark	: \*qdot\*q | \*qdotdot\*q | \*qhat\*q | \*qtilde\*q | \*qvec\*q
         | \*qdyad\*q | \*qbar\*q | \*qunder\*q
@@ -184,6 +184,7 @@ The
 and
 .Ar val
 are not expanded for replacements.
+This statement is a GNU extension.
 .It Cm undef
 Unset a previously-defined key.
 Its syntax is as follows:
@@ -196,6 +197,7 @@ is discarded.
 The
 .Ar key
 is not expanded for replacements.
+This statement is a GNU extension.
 .El
 .Sh COMPATIBILITY
 This section documents the compatibility of mandoc
--
 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:[~2011-07-23 18:44 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-07-23 18:44 mdocml: Note GNU extensions in eqn.7 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).