source@mandoc.bsd.lv
 help / color / mirror / Atom feed
* docbook2mdoc: ignore <jobtitle> and <orgdiv>
@ 2019-05-02 11:58 schwarze
  0 siblings, 0 replies; only message in thread
From: schwarze @ 2019-05-02 11:58 UTC (permalink / raw)
  To: source

Log Message:
-----------
ignore <jobtitle> and <orgdiv>

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

Revision Data
-------------
Index: parse.c
===================================================================
RCS file: /home/cvs/mdocml/docbook2mdoc/parse.c,v
retrieving revision 1.58
retrieving revision 1.59
diff -Lparse.c -Lparse.c -u -p -r1.58 -r1.59
--- parse.c
+++ parse.c
@@ -97,10 +97,12 @@ static	const struct alias aliases[] = {
 	{ "imageobject",	NODE_IGNORE },
 	{ "indexterm",		NODE_DELETE },
 	{ "informaltable",	NODE_TABLE },
+	{ "jobtitle",		NODE_IGNORE },
 	{ "keycap",		NODE_KEYSYM },
 	{ "keycode",		NODE_IGNORE },
 	{ "keycombo",		NODE_IGNORE },
 	{ "mediaobject",	NODE_BLOCKQUOTE },
+	{ "orgdiv",		NODE_IGNORE },
 	{ "orgname",		NODE_IGNORE },
 	{ "othercredit",	NODE_AUTHOR },
 	{ "othername",		NODE_PERSONNAME },
Index: statistics.c
===================================================================
RCS file: /home/cvs/mdocml/docbook2mdoc/statistics.c,v
retrieving revision 1.40
retrieving revision 1.41
diff -Lstatistics.c -Lstatistics.c -u -p -r1.40 -r1.41
--- statistics.c
+++ statistics.c
@@ -368,6 +368,7 @@ main(int argc, char *argv[])
 		table_add("ROOT", "sect2");
 		table_add("abstract", NULL);
 		table_add("acronym", "TEXT");
+		table_add("affiliation", "jobtitle");
 		table_add("affiliation", "orgdiv");
 		table_add("affiliation", "orgname");
 		table_add("appendix", NULL);
@@ -464,6 +465,7 @@ main(int argc, char *argv[])
 		table_add("indexterm", "secondary");
 		table_add("informaltable", "tgroup");
 		table_add("itemizedlist", "listitem");
+		table_add("jobtitle", "TEXT");
 		table_add("keycap", "TEXT");
 		table_add("keycode", "TEXT");
 		table_add("keycombo", "keycap");
--
 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-05-02 11:58 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-05-02 11:58 docbook2mdoc: ignore <jobtitle> and <orgdiv> 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).