=================================================================== RCS file: /cvs/docbook2mdoc/node.c,v retrieving revision 1.15 retrieving revision 1.19 diff -u -p -r1.15 -r1.19 --- docbook2mdoc/node.c 2019/04/14 18:07:35 1.15 +++ docbook2mdoc/node.c 2019/04/15 00:34:15 1.19 @@ -1,4 +1,4 @@ -/* $Id: node.c,v 1.15 2019/04/14 18:07:35 schwarze Exp $ */ +/* $Id: node.c,v 1.19 2019/04/15 00:34:15 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 }, @@ -123,7 +125,9 @@ static const struct nodeprop properties[] = { { "simplelist", CLASS_TRANS }, { "simplesect", CLASS_BLOCK }, { "spanspec", CLASS_TRANS }, + { "subscript", CLASS_TEXT }, { "subtitle", CLASS_BLOCK }, + { "superscript", CLASS_TEXT }, { "synopsis", CLASS_BLOCK }, { "systemitem", CLASS_LINE }, { "table", CLASS_TRANS }, @@ -152,14 +156,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" };