RE: [PATCH v2 0/2] Asciidoctor native manpage builds
- From
Felipe Contreras <felipe.contreras@gmail.com>
- Date
- May 14, 2021, 19:07 UTC
- Message-ID
- <609eca5a42be2_43127208f2@natae.notmuch>
- In-Reply-To
- <20210514003104.94644-1-sandals@crustytoothpaste.net>
brian m. carlson wrote:
Show 9 quoted lines
> @@ Documentation/asciidoctor-extensions.rb: module Git
> elsif parent.document.basebackend? 'html'
> %(<a href="#{prefix}#{target}.html">#{target}(#{attrs[1]})</a>)
> + elsif parent.document.basebackend? 'manpage'
> -+ %(\\fB#{target}\\fP\\fR(#{attrs[1]})\\fP)
> ++ %(\e\\fB#{target}\e\\fP\e\\fR(#{attrs[1]})\e\\fP)
> elsif parent.document.basebackend? 'docbook'
> "<citerefentry>\n" \
> "<refentrytitle>#{target}</refentrytitle>" \Huh? Didn't you say \e was not needed?
You are doing basically the same thing thing my patches now, except in a more convoluted way.
-- Felipe Contreras