abhinav-upadhyay/apropos_replacement — Issue #63: Unable to parse Xr macros embedded in the NAME section
Author: abhinav-upadhyay
Created: 2012-01-01 12:39:36+00:00
State: open

makemandb has separate code for parsing the NAME section of mdoc(7) man pages. I did not anticipate that there might be macros embedded in NAME section as well. While the parsing logic works flawlessly for most of the cases but if the .Xr macro is used then it requires special care.

Example of such a page is db(1). Although there is a function in makemandb for handling such kind of special macros but that would not work here because as state previously the parsing logic of NAME section is separate and new code has to be written to handle this.