[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Transient manual
From: |
Jonas Bernoulli |
Subject: |
Re: Transient manual |
Date: |
Sat, 02 Sep 2023 01:22:22 +0200 |
> It would help if we had a small example demonstrating the problem, Org
> output, and desired output.
---- demo.org -------------------------------------------
* only subsections, no direct content
** sub 1
body
** sub 2
body
---- demo.texi with org 9.2.8 ---------------------------
\input texinfo @c -*- texinfo -*-
[...]
@node only subsections no direct content
@chapter only subsections, no direct content
@menu
* sub 1::
* sub 2::
@end menu
@node sub 1
@section sub 1
body
@node sub 2
@section sub 2
body
@bye
---- demo.texi with org release_9.6.8-743-gaf9c063ed ----
\input texinfo @c -*- texinfo -*-
[...]
@node only subsections no direct content
@chapter only subsections, no direct content
@node sub 1
@section sub 1
body
@node sub 2
@section sub 2
body
@bye
---------------------------------------------------------
Speaking of af9c063ed, that commit adds another regression and has
to be reverted.
The match-string-no-properties on line 674 needs to access the
match-data from the matching on line 668. So it is *not* safe to
replace it with other match-data on line 673; the save-match-data
on that line is required.
> AFAIK, ox-texinfo file itself is younger than the Texinfo version in
> question.
Yeah, most likely this issue has nothing to do with the used Texinfo
version. After all the regression is in code that generates a texi
file from an org file.
Sorry for the delay.
Cheers,
Jonas