equal
deleted
inserted
replaced
103 |
103 |
104 ifeq ($$($1_FORMAT), man) |
104 ifeq ($$($1_FORMAT), man) |
105 # Pandoc's default behavior is to convert `code` to \f[C], which do not |
105 # Pandoc's default behavior is to convert `code` to \f[C], which do not |
106 # show up in normal man page rendering (but shows correctly when generating |
106 # show up in normal man page rendering (but shows correctly when generating |
107 # html). Normally, we could fix this by a pandoc filter, but pandoc prior |
107 # html). Normally, we could fix this by a pandoc filter, but pandoc prior |
108 # to version cannot properly produced nested formatting in man pages |
108 # to version 2.0 cannot properly produced nested formatting in man pages |
109 # (see https://github.com/jgm/pandoc/issues/3568). |
109 # (see https://github.com/jgm/pandoc/issues/3568). |
110 # As a workaround, use post-processing with sed. |
110 # As a workaround, use post-processing with sed. |
111 $1_POST_PROCESS := $(SED) -e 's/\\f\[C\]/\\f\[CB\]/g' |
111 $1_POST_PROCESS := $(SED) -e 's/\\f\[C\]/\\f\[CB\]/g' |
112 |
112 |
113 # FIXME: We also need a pandoc filter that removes link targets for internal |
113 # FIXME: We also need a pandoc filter that removes link targets for internal |