On Sun, Dec 05, 2021 at 03:57:27AM +0800, 積丹尼 Dan Jacobson wrote:
> (info "(texinfo) @pagesizes") says:
>
> To make more elaborate changes, such as changing any of the page
> margins, you must define a new command in 'texinfo.tex' or
> 'texinfo.cnf'.
>
> Mention a workaround:
This is part of Appendix E, which begins with the proviso:
"Nearly all of these commands are for customizing the appearance of the
printed output when processing with TeX."
Hence, text munging of texi2any's output is not germane to the @pagesizes
setting.
>
> Before:
> $ perl -wle 'for(1..2){print "ABC " x 33, "\n";}'|makeinfo --plaintext
> ABC ABC ABC ABC ABC ABC ABC ABC ABC ABC ABC ABC ABC ABC ABC ABC ABC ABC
> ABC ABC ABC ABC ABC ABC ABC ABC ABC ABC ABC ABC ABC ABC ABC
>
> ABC ABC ABC ABC ABC ABC ABC ABC ABC ABC ABC ABC ABC ABC ABC ABC ABC
> ABC ABC ABC ABC ABC ABC ABC ABC ABC ABC ABC ABC ABC ABC ABC ABC
>
> After:
> $ perl -wle 'for(1..2){print "ABC " x 33, "\n";}'|makeinfo --plaintext
> --fill-column=69|sed 's/^/ /'
> ABC ABC ABC ABC ABC ABC ABC ABC ABC ABC ABC ABC ABC ABC ABC ABC ABC
> ABC ABC ABC ABC ABC ABC ABC ABC ABC ABC ABC ABC ABC ABC ABC ABC
>
> ABC ABC ABC ABC ABC ABC ABC ABC ABC ABC ABC ABC ABC ABC ABC ABC
> ABC ABC ABC ABC ABC ABC ABC ABC ABC ABC ABC ABC ABC ABC ABC ABC ABC
>