=================================================================== RCS file: /cvs/docbook2mdoc/node.c,v retrieving revision 1.19 retrieving revision 1.22 diff -u -p -r1.19 -r1.22 --- docbook2mdoc/node.c 2019/04/15 00:34:15 1.19 +++ docbook2mdoc/node.c 2019/04/16 21:21:27 1.22 @@ -1,4 +1,4 @@ -/* $Id: node.c,v 1.19 2019/04/15 00:34:15 schwarze Exp $ */ +/* $Id: node.c,v 1.22 2019/04/16 21:21:27 schwarze Exp $ */ /* * Copyright (c) 2014 Kristaps Dzonsons * Copyright (c) 2019 Ingo Schwarze @@ -78,7 +78,7 @@ static const struct nodeprop properties[] = { { "link", CLASS_ENCL }, { "listitem", CLASS_TRANS }, { "literal", CLASS_ENCL }, - { "literallayout", CLASS_BLOCK }, + { "literallayout", CLASS_NOFILL }, { "manvolnum", CLASS_TRANS }, { "markup", CLASS_LINE }, { "member", CLASS_LINE }, @@ -101,7 +101,8 @@ static const struct nodeprop properties[] = { { "parameter", CLASS_LINE }, { "personname", CLASS_TRANS }, { "preface", CLASS_BLOCK }, - { "programlisting", CLASS_BLOCK }, + { "productname", CLASS_LINE }, + { "programlisting", CLASS_NOFILL }, { "prompt", CLASS_TRANS }, { "pubdate", CLASS_TRANS }, { "quote", CLASS_ENCL }, @@ -120,7 +121,7 @@ static const struct nodeprop properties[] = { { "replaceable", CLASS_LINE }, { "row", CLASS_BLOCK }, { "sbr", CLASS_BLOCK }, - { "screen", CLASS_BLOCK }, + { "screen", CLASS_NOFILL }, { "section", CLASS_BLOCK }, { "simplelist", CLASS_TRANS }, { "simplesect", CLASS_BLOCK }, @@ -128,7 +129,7 @@ static const struct nodeprop properties[] = { { "subscript", CLASS_TEXT }, { "subtitle", CLASS_BLOCK }, { "superscript", CLASS_TEXT }, - { "synopsis", CLASS_BLOCK }, + { "synopsis", CLASS_NOFILL }, { "systemitem", CLASS_LINE }, { "table", CLASS_TRANS }, { "tbody", CLASS_TRANS }, @@ -144,6 +145,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 }