source@mandoc.bsd.lv
 help / color / mirror / Atom feed
* docbook2mdoc: introduce <symbol> as an alias for <constant>
@ 2019-04-03 16:09 schwarze
  0 siblings, 0 replies; only message in thread
From: schwarze @ 2019-04-03 16:09 UTC (permalink / raw)
  To: source

Log Message:
-----------
introduce <symbol> as an alias for <constant>

Modified Files:
--------------
    docbook2mdoc:
        parse.c
        statistics.c

Revision Data
-------------
Index: parse.c
===================================================================
RCS file: /home/cvs/mdocml/docbook2mdoc/parse.c,v
retrieving revision 1.11
retrieving revision 1.12
diff -Lparse.c -Lparse.c -u -p -r1.11 -r1.12
--- parse.c
+++ parse.c
@@ -166,6 +166,7 @@ static	const struct element elements[] =
 	{ "structname",		NODE_STRUCTNAME },
 	{ "subtitle",		NODE_SUBTITLE },
 	{ "surname",		NODE_PERSONNAME },
+	{ "symbol",		NODE_CONSTANT },
 	{ "synopsis",		NODE_SYNOPSIS },
 	{ "table",		NODE_TABLE },
 	{ "tbody",		NODE_TBODY },
Index: statistics.c
===================================================================
RCS file: /home/cvs/mdocml/docbook2mdoc/statistics.c,v
retrieving revision 1.9
retrieving revision 1.10
diff -Lstatistics.c -Lstatistics.c -u -p -r1.9 -r1.10
--- statistics.c
+++ statistics.c
@@ -349,6 +349,7 @@ main(int argc, char *argv[])
 	/* Exclude relations that are already fully implemented. */
 	if (show_all == 0) {
 		table_add("chapter", NULL);
+		table_add("constant", "TEXT");
 		table_add("emphasis", "TEXT");
 		table_add("entry", NULL);
 		table_add("funcdef", "function");
@@ -361,21 +362,25 @@ main(int argc, char *argv[])
 		table_add("informaltable", "tgroup");
 		table_add("itemizedlist", "listitem");
 		table_add("listitem", NULL);
+		table_add("literallayout", NULL);
 		table_add("orderedlist", "listitem");
 		table_add("para", NULL);
 		table_add("paramdef", "parameter");
 		table_add("paramdef", "TEXT");
 		table_add("parameter", "TEXT");
 		table_add("primary", NULL);
+		table_add("programlisting", NULL);
 		table_add("refsect1", NULL);
 		table_add("refsect2", NULL);
 		table_add("row", "entry");
+		table_add("screen", NULL);
 		table_add("secondary", NULL);
 		table_add("section", NULL);
 		table_add("sect1", NULL);
 		table_add("sect2", NULL);
 		table_add("sect3", NULL);
 		table_add("sect4", NULL);
+		table_add("symbol", "TEXT");
 		table_add("table", "tgroup");
 		table_add("table", "title");
 		table_add("tbody", "row");
--
 To unsubscribe send an email to source+unsubscribe@mandoc.bsd.lv

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

only message in thread, other threads:[~2019-04-03 16:09 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-04-03 16:09 docbook2mdoc: introduce <symbol> as an alias for <constant> schwarze

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