=================================================================== RCS file: /cvs/docbook2mdoc/node.c,v retrieving revision 1.16 retrieving revision 1.20 diff -u -p -r1.16 -r1.20 --- docbook2mdoc/node.c 2019/04/14 20:13:25 1.16 +++ docbook2mdoc/node.c 2019/04/15 19:15:19 1.20 @@ -1,4 +1,4 @@ -/* $Id: node.c,v 1.16 2019/04/14 20:13:25 schwarze Exp $ */ +/* $Id: node.c,v 1.20 2019/04/15 19:15:19 schwarze Exp $ */ /* * Copyright (c) 2014 Kristaps Dzonsons * Copyright (c) 2019 Ingo Schwarze @@ -58,7 +58,7 @@ static const struct nodeprop properties[] = { { "fieldsynopsis", CLASS_TRANS }, { "filename", CLASS_LINE }, { "firstterm", CLASS_LINE }, - { "footnote", CLASS_TRANS }, + { "footnote", CLASS_BLOCK }, { "funcdef", CLASS_BLOCK }, { "funcprototype", CLASS_BLOCK }, { "funcsynopsis", CLASS_TRANS }, @@ -66,6 +66,7 @@ static const struct nodeprop properties[] = { { "function", CLASS_LINE }, { "glossterm", CLASS_LINE }, { "group", CLASS_ENCL }, + { "imagedata", CLASS_TEXT }, { "xi:include", CLASS_VOID }, { "index", CLASS_TRANS }, { "info", CLASS_TRANS }, @@ -92,6 +93,7 @@ static const struct nodeprop properties[] = { { "mml:msup", CLASS_LINE }, { "modifier", CLASS_LINE }, { "note", CLASS_BLOCK }, + { "olink", CLASS_ENCL }, { "option", CLASS_LINE }, { "orderedlist", CLASS_BLOCK }, { "para", CLASS_BLOCK }, @@ -142,6 +144,7 @@ static const struct nodeprop properties[] = { { "varname", CLASS_LINE }, { "warning", CLASS_BLOCK }, { "wordasword", CLASS_TRANS }, + { "xref", CLASS_LINE }, { "[UNKNOWN]", CLASS_VOID }, { "(t)", CLASS_TEXT }, { "(e)", CLASS_TEXT } @@ -154,14 +157,19 @@ static const char *const attrkeys[ATTRKEY__MAX] = { "cols", "DEFINITION", "endterm", + "entityref", + "fileref", "href", "id", "linkend", + "localinfo", "NAME", "open", "PUBLIC", "rep", "SYSTEM", + "targetdoc", + "targetptr", "url", "xlink:href" };