source@mandoc.bsd.lv
 help / color / mirror / Atom feed
From: schwarze@mandoc.bsd.lv
To: source@mandoc.bsd.lv
Subject: docbook2mdoc: introduce <symbol> as an alias for <constant>
Date: Wed, 3 Apr 2019 11:09:27 -0500 (EST)	[thread overview]
Message-ID: <e3fd34a09c82fa14@fantadrom.bsd.lv> (raw)

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

                 reply	other threads:[~2019-04-03 16:09 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=e3fd34a09c82fa14@fantadrom.bsd.lv \
    --to=schwarze@mandoc.bsd.lv \
    --cc=source@mandoc.bsd.lv \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).