From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail.sgregoratto.me (mail.sgregoratto.me [149.28.166.45]) by fantadrom.bsd.lv (OpenSMTPD) with ESMTP id 231db9b2 for ; Tue, 26 Mar 2019 22:52:29 -0500 (EST) Received: from mail.sgregoratto.me (localhost [127.0.0.1]) by mail.sgregoratto.me (Postfix) with ESMTP id 29B2F3E93E for ; Wed, 27 Mar 2019 14:52:26 +1100 (AEDT) Authentication-Results: mail.sgregoratto.me (amavisd-new); dkim=pass (1024-bit key) reason="pass (just generated, assumed good)" header.d=sgregoratto.me DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=sgregoratto.me; h=user-agent:content-disposition:content-type:content-type :mime-version:message-id:subject:subject:to:from:from:date:date; s=dkim; t=1553658745; x=1556250746; bh=N3NwIHx6jMsidTLbi0JBROQD 2z/cniKOf5tgFd7PejQ=; b=a1WoB+0Vc8f1CiqNpwDWPNfQpdAoOY+sJbRjkc8r t7plj7sL36YtkWCH4HeEDUJykLZ4kFqgBpssYN35f4HT6VSgL9ntPqNf1CNlpVRB dCU1KBDjyBwvDSd7RcBtz9J8PCxPAj6+m8pxANSiAF6qJqXrinS1CkebdDAwBDD7 2NE= X-Virus-Scanned: Debian amavisd-new at mail.sgregoratto.me Received: from mail.sgregoratto.me ([127.0.0.1]) by mail.sgregoratto.me (mail.sgregoratto.me [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id QhOUeeUcQu-4 for ; Wed, 27 Mar 2019 14:52:25 +1100 (AEDT) Received: from localhost (natpool-90.uow.edu.au [203.10.91.90]) by mail.sgregoratto.me (Postfix) with ESMTPSA id 7438A3E82E for ; Wed, 27 Mar 2019 14:52:25 +1100 (AEDT) Date: Wed, 27 Mar 2019 14:52:24 +1100 From: Stephen Gregoratto To: tech@mandoc.bsd.lv Subject: [PATCH docbook2mdoc] Add NODE_CONTRIB, NODE_PRODUCTNAME Message-ID: <20190327035224.7eyuctlnbt67pu5r@BlackBox> X-Mailinglist: mandoc-tech Reply-To: tech@mandoc.bsd.lv MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline User-Agent: NeoMutt/20180716 Here are some nodes I found in the wild. Technically is used to markup text as copyright/trademark/registered, but the Systemd and GTK manuals use it to set the "source" argument of TH in man(7). We have no need for it. is a bit odd case. It classifies an 's contributions to the program/manual/code etc. Here's an example from GTK: Developer Matthias Clasen I'm setting it to be skipped for now, but if we ever start recording s we could probably include this. -- Stephen Gregoratto PGP: 3FC6 3D0E 2801 C348 1C44 2D34 A80C 0F8E 8BAB EC8B Index: node.h =================================================================== RCS file: /cvs/docbook2mdoc/node.h,v retrieving revision 1.4 diff -u -p -r1.4 node.h --- node.h 26 Mar 2019 22:39:33 -0000 1.4 +++ node.h 27 Mar 2019 03:28:02 -0000 @@ -46,6 +46,7 @@ enum nodeid { NODE_COLSPEC, NODE_COMMAND, NODE_CONSTANT, + NODE_CONTRIB, NODE_COPYRIGHT, NODE_DATE, NODE_EDITOR, @@ -98,6 +99,7 @@ enum nodeid { NODE_PARAMETER, NODE_PERSONNAME, NODE_PREFACE, + NODE_PRODUCTNAME, NODE_PROGRAMLISTING, NODE_PROMPT, NODE_QUOTE, Index: parse.c =================================================================== RCS file: /cvs/docbook2mdoc/parse.c,v retrieving revision 1.4 diff -u -p -r1.4 parse.c --- parse.c 26 Mar 2019 22:39:33 -0000 1.4 +++ parse.c 27 Mar 2019 03:28:02 -0000 @@ -64,6 +64,7 @@ static const struct element elements[] = { "citetitle", NODE_CITETITLE }, { "cmdsynopsis", NODE_CMDSYNOPSIS }, { "code", NODE_CODE }, + { "contrib", NODE_CONTRIB }, { "colspec", NODE_COLSPEC }, { "command", NODE_COMMAND }, { "constant", NODE_CONSTANT }, @@ -125,6 +126,7 @@ static const struct element elements[] = { "phrase", NODE_IGNORE }, { "preface", NODE_PREFACE }, { "primary", NODE_DELETE }, + { "productname", NODE_PRODUCTNAME }, { "programlisting", NODE_PROGRAMLISTING }, { "prompt", NODE_PROMPT }, { "quote", NODE_QUOTE }, -- To unsubscribe send an email to tech+unsubscribe@mandoc.bsd.lv