=================================================================== RCS file: /cvs/docbook2mdoc/parse.c,v retrieving revision 1.2 retrieving revision 1.3 diff -u -p -r1.2 -r1.3 --- docbook2mdoc/parse.c 2019/03/26 20:54:43 1.2 +++ docbook2mdoc/parse.c 2019/03/26 21:52:09 1.3 @@ -1,4 +1,4 @@ -/* $Id: parse.c,v 1.2 2019/03/26 20:54:43 schwarze Exp $ */ +/* $Id: parse.c,v 1.3 2019/03/26 21:52:09 schwarze Exp $ */ /* * Copyright (c) 2014 Kristaps Dzonsons * Copyright (c) 2019 Ingo Schwarze @@ -47,9 +47,9 @@ struct element { }; static const struct element elements[] = { - { "acronym", NODE_ACRONYM }, + { "acronym", NODE_IGNORE }, { "affiliation", NODE_AFFILIATION }, - { "anchor", NODE_ANCHOR }, + { "anchor", NODE_IGNORE }, { "application", NODE_APPLICATION }, { "arg", NODE_ARG }, { "author", NODE_AUTHOR }, @@ -75,7 +75,7 @@ static const struct element elements[] = { { "envar", NODE_ENVAR }, { "fieldsynopsis", NODE_FIELDSYNOPSIS }, { "filename", NODE_FILENAME }, - { "firstname", NODE_FIRSTNAME }, + { "firstname", NODE_IGNORE }, { "firstterm", NODE_FIRSTTERM }, { "footnote", NODE_FOOTNOTE }, { "funcdef", NODE_FUNCDEF }, @@ -115,13 +115,13 @@ static const struct element elements[] = { { "option", NODE_OPTION }, { "orderedlist", NODE_ORDEREDLIST }, { "orgname", NODE_ORGNAME }, - { "othername", NODE_OTHERNAME }, + { "othername", NODE_IGNORE }, { "para", NODE_PARA }, { "paramdef", NODE_PARAMDEF }, { "parameter", NODE_PARAMETER }, { "part", NODE_SECTION }, { "personname", NODE_PERSONNAME }, - { "phrase", NODE_PHRASE }, + { "phrase", NODE_IGNORE }, { "preface", NODE_PREFACE }, { "primary", NODE_PRIMARY }, { "programlisting", NODE_PROGRAMLISTING }, @@ -157,7 +157,7 @@ static const struct element elements[] = { { "spanspec", NODE_SPANSPEC }, { "structname", NODE_STRUCTNAME }, { "subtitle", NODE_SUBTITLE }, - { "surname", NODE_SURNAME }, + { "surname", NODE_IGNORE }, { "synopsis", NODE_SYNOPSIS }, { "table", NODE_TABLE }, { "tbody", NODE_TBODY }, @@ -167,7 +167,7 @@ static const struct element elements[] = { { "thead", NODE_THEAD }, { "tip", NODE_TIP }, { "title", NODE_TITLE }, - { "trademark", NODE_TRADEMARK }, + { "trademark", NODE_IGNORE }, { "type", NODE_TYPE }, { "ulink", NODE_ULINK }, { "userinput", NODE_USERINPUT },