aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
-rw-r--r--eqn.78
-rw-r--r--eqn.c4
-rw-r--r--mandoc.h4
3 files changed, 11 insertions, 5 deletions
diff --git a/eqn.7 b/eqn.7
index 1e4faca1..5ada9f53 100644
--- a/eqn.7
+++ b/eqn.7
@@ -1,4 +1,4 @@
-.\" $Id: eqn.7,v 1.23 2011/07/23 18:41:18 kristaps Exp $
+.\" $Id: eqn.7,v 1.24 2011/07/23 18:44:42 kristaps Exp $
.\"
.\" Copyright (c) 2011 Kristaps Dzonsons <kristaps@bsd.lv>
.\"
@@ -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
diff --git a/eqn.c b/eqn.c
index da085fa1..9c3b9783 100644
--- a/eqn.c
+++ b/eqn.c
@@ -1,4 +1,4 @@
-/* $Id: eqn.c,v 1.36 2011/07/23 18:41:18 kristaps Exp $ */
+/* $Id: eqn.c,v 1.37 2011/07/23 18:44:42 kristaps Exp $ */
/*
* Copyright (c) 2011 Kristaps Dzonsons <kristaps@bsd.lv>
*
@@ -205,9 +205,11 @@ static const struct eqnstr eqnposs[EQNPOS__MAX] = {
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 */
diff --git a/mandoc.h b/mandoc.h
index 7519fa08..44b259db 100644
--- a/mandoc.h
+++ b/mandoc.h
@@ -1,4 +1,4 @@
-/* $Id: mandoc.h,v 1.94 2011/07/23 18:41:18 kristaps Exp $ */
+/* $Id: mandoc.h,v 1.95 2011/07/23 18:44:42 kristaps Exp $ */
/*
* Copyright (c) 2010, 2011 Kristaps Dzonsons <kristaps@bsd.lv>
*
@@ -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,