File: [cvsweb.bsd.lv] / texi2mdoc / version_0_1_2.xml (download)
Revision 1.3, Wed Feb 25 14:37:17 2015 UTC (9 years, 6 months ago) by kristaps
Branch: MAIN
Changes since 1.2: +1 -0 lines
Completely re-write @value and @macro handling to work exactly as Texinfo
specifies and not how I really want it to work.
In a word, macros and values are pasted into the text: they're not self-
contained bodies that can be recursively executed.
In other words,
@macro hello{}
@ifset foo
@end macro
@hello
@end ifset
...is completely valid.
While here, stop paying attention to the manual's lies about macro newlines.
The terminal newline (i.e., before "@end macro") is part of the macro, which
is why so many macros are @r{}@c -- to swallow the newline.
This required a significant mechanical change to get the buffer pointer and
size out of all arguments, as the buffer can now be reallocated.
|