From: Abhinav Upadhyay <email@example.com> To: firstname.lastname@example.org Subject: Parsing of .Ex with -std argument Date: Sun, 2 Oct 2016 23:13:00 +0530 [thread overview] Message-ID: <CAHwRYJk605CyeRP+DGYtbRKdoU3z3DWRCOw0ug0wsCVERbE6uQ@mail.gmail.com> (raw) Hi Ingo, It was nice meeting you at EuroBSDCon, hope you have recovered from the travel. I'm having issues parsing man pages which use the .Ex macro in the EXIT STATUS section. For example mandoc -Ttree shows following output for a man page using it: Sh (block) *138:2 Sh (head) 138:2 EXIT STATUS (text) 138:5 Sh (body) 138:2 Ex (elem) -std *139:2 nbperf (text) 139:2 This is causing makemandb(8) (NetBSD's indexing tool) parse the EXIT STATUS section just as "nbperf" instead of the complete expanded text. I compared this with the previous version of mandoc. The -Ttree output then didn't use to show the Ex macro in the output and makemandb(8) also indexed the EXIT STATUS section as blank strings (I am noticing it just now). I guess, I could fix this in makemandb(8) by adding a handler for .Ex macro but it would probably be better if mandoc(3) provided some way to handle it? Regards Abhinav -- To unsubscribe send an email to email@example.com
next reply other threads:[~2016-10-02 17:43 UTC|newest] Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top 2016-10-02 17:43 Abhinav Upadhyay [this message] 2017-01-11 18:53 ` Ingo Schwarze 2017-01-11 20:30 ` Abhinav Upadhyay
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=CAHwRYJk605CyeRP+DGYtbRKdoU3z3DWRCOw0ug0wsCVERbE6uQ@mail.gmail.com \ --firstname.lastname@example.org \ --email@example.com \ --subject='Re: Parsing of .Ex with -std argument' \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: link
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for NNTP newsgroup(s).