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 7bbe8e8f for ; Sat, 6 Apr 2019 04:44:28 -0500 (EST) Received: from mail.sgregoratto.me (localhost [127.0.0.1]) by mail.sgregoratto.me (Postfix) with ESMTP id B49233E941 for ; Sat, 6 Apr 2019 20:44:25 +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=1554543865; x=1557135866; bh=pWj75OeKXWLSxGN8LnxgpZ9b ik+r9eIRkvIU//s1Izw=; b=VHHYFRc/WLQG4qfTgkECfY4jMiiX8/SmZ+TwwpV0 RITdUNOcoukG33aPXGX1oauNXkgdNZ2PCyWUeu0MhHVLXBna1SHOlUEPZYok7voB +JnrDPNcDHsac//0x/fHk3MN6wJvRVcQVAwIB3uC3RYAtmDdjKaAAh92hZzO4ETG YHw= 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 ArUsmZfyB2Da for ; Sat, 6 Apr 2019 20:44:25 +1100 (AEDT) Received: from localhost (172.44.179.58.sta.dodo.net.au [58.179.44.172]) by mail.sgregoratto.me (Postfix) with ESMTPSA id 001943E82E for ; Sat, 6 Apr 2019 20:44:24 +1100 (AEDT) Date: Sat, 6 Apr 2019 20:44:24 +1100 From: Stephen Gregoratto To: tech@mandoc.bsd.lv Subject: [PATCH docbook2mdoc] Update README Message-ID: <20190406094424.f2zz5tzr5mkq6xsa@BlackBox> Mail-Followup-To: tech@mandoc.bsd.lv 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 The README still references moved/removed/renamed files/structures. This simple patch updates the steps. Index: README =================================================================== RCS file: /cvs/docbook2mdoc/README,v retrieving revision 1.3 diff -u -p -r1.3 README --- README 22 Mar 2019 15:38:09 -0000 1.3 +++ README 6 Apr 2019 09:43:58 -0000 @@ -12,11 +12,12 @@ For these, you will have to look at 4.5 https://tdg.docbook.org/tdg/4.5/foo.html -Add the alpha-ordered node (NODE_FOO) to extern.h. +Add the alpha-ordered node (NODE_FOO) to node.h. -Next, add the name and whether it admits text to docbook2mdoc.c's -"nodes" structure array. +Next, add the node and whether it admits text to parse.c's +"elements" structure array. -Finally, modify pnode_print() with your new entry. Use similar nodes as -a reference. (NOTE: if it's an inline like, say, NODE_EMPHASIS, then -remember to add the node to the postfix switch statement!) +Finally, modify docbook2mdoc.c's pnode_print() with your new entry. +Use similar nodes as a reference. +If it's an inline like, say, NODE_EMPHASIS, then remember to add the +node to the postfix switch statement! -- To unsubscribe send an email to tech+unsubscribe@mandoc.bsd.lv