doc: Give @mdash macro an argument

This macro is used to consume whitespace so that the following sentence can
start on the next line without producing any whitespace in the output.  Its
argument is, therefore, whitespace.

This used to work in earlier versions of Texinfo, but around 6.{6,7} it
began failing because an argument was provided when it wasn't defined with
Mike Gerwitz 2021-08-30 10:30:57 -04:00
parent 0a8fb71c1b
commit 9331858c6d
2 changed files with 6 additions and 1 deletions

View File

@ -20,6 +20,11 @@ Compiler
- Input mappings will no longer emit the destination param as a dependency.
- `@mdash` macro now formally defines an argument, correcting errors in
newer versions of Texinfo (~v6.7).
- Remove exception for input map dependency processing (now that compiler no

View File

@ -36,7 +36,7 @@ TAME
@c insert appropriate em dash for mode
@macro mdash
@macro mdash{_}
@inlinefmtifelse{html, @inlineraw{html,—}, —}
@end macro
@end ifnottex