=================================================================== RCS file: /cvs/docbook2mdoc/node.c,v retrieving revision 1.12 retrieving revision 1.16 diff -u -p -r1.12 -r1.16 --- docbook2mdoc/node.c 2019/04/13 13:06:35 1.12 +++ docbook2mdoc/node.c 2019/04/14 20:13:25 1.16 @@ -1,4 +1,4 @@ -/* $Id: node.c,v 1.12 2019/04/13 13:06:35 schwarze Exp $ */ +/* $Id: node.c,v 1.16 2019/04/14 20:13:25 schwarze Exp $ */ /* * Copyright (c) 2014 Kristaps Dzonsons * Copyright (c) 2019 Ingo Schwarze @@ -31,9 +31,7 @@ struct nodeprop { }; static const struct nodeprop properties[] = { - { "affiliation", CLASS_TRANS }, { "appendix", CLASS_BLOCK }, - { "application", CLASS_LINE }, { "arg", CLASS_ENCL }, { "author", CLASS_LINE }, { "authorgroup", CLASS_BLOCK }, @@ -47,7 +45,7 @@ static const struct nodeprop properties[] = { { "command", CLASS_LINE }, { "constant", CLASS_LINE }, { "contrib", CLASS_TRANS }, - { "copyright", CLASS_TRANS }, + { "copyright", CLASS_LINE }, { "date", CLASS_TRANS }, { "!DOCTYPE", CLASS_VOID }, { "editor", CLASS_LINE }, @@ -68,7 +66,6 @@ static const struct nodeprop properties[] = { { "function", CLASS_LINE }, { "glossterm", CLASS_LINE }, { "group", CLASS_ENCL }, - { "holder", CLASS_TRANS }, { "xi:include", CLASS_VOID }, { "index", CLASS_TRANS }, { "info", CLASS_TRANS }, @@ -97,7 +94,6 @@ static const struct nodeprop properties[] = { { "note", CLASS_BLOCK }, { "option", CLASS_LINE }, { "orderedlist", CLASS_BLOCK }, - { "orgname", CLASS_TRANS }, { "para", CLASS_BLOCK }, { "paramdef", CLASS_LINE }, { "parameter", CLASS_LINE }, @@ -119,16 +115,19 @@ static const struct nodeprop properties[] = { { "refnamediv", CLASS_BLOCK }, { "refpurpose", CLASS_LINE }, { "refsynopsisdiv", CLASS_BLOCK }, - { "releaseinfo", CLASS_TRANS }, { "replaceable", CLASS_LINE }, { "row", CLASS_BLOCK }, { "sbr", CLASS_BLOCK }, { "screen", CLASS_BLOCK }, { "section", CLASS_BLOCK }, { "simplelist", CLASS_TRANS }, + { "simplesect", CLASS_BLOCK }, { "spanspec", CLASS_TRANS }, - { "subtitle", CLASS_TRANS }, + { "subscript", CLASS_TEXT }, + { "subtitle", CLASS_BLOCK }, + { "superscript", CLASS_TEXT }, { "synopsis", CLASS_BLOCK }, + { "systemitem", CLASS_LINE }, { "table", CLASS_TRANS }, { "tbody", CLASS_TRANS }, { "term", CLASS_LINE }, @@ -143,7 +142,6 @@ static const struct nodeprop properties[] = { { "varname", CLASS_LINE }, { "warning", CLASS_BLOCK }, { "wordasword", CLASS_TRANS }, - { "year", CLASS_TRANS }, { "[UNKNOWN]", CLASS_VOID }, { "(t)", CLASS_TEXT }, { "(e)", CLASS_TEXT } @@ -169,12 +167,15 @@ static const char *const attrkeys[ATTRKEY__MAX] = { }; static const char *const attrvals[ATTRVAL__MAX] = { + "event", + "ipaddress", "monospaced", "norepeat", "opt", "plain", "repeat", - "req" + "req", + "systemname" }; enum attrkey