emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: master 391ff93f763 3/4: * doc/misc/calc.texi (Musical Notes): Fix bu


From: Po Lu
Subject: Re: master 391ff93f763 3/4: * doc/misc/calc.texi (Musical Notes): Fix build with Texinfo 4.13.
Date: Wed, 09 Aug 2023 13:55:32 +0800
User-agent: Gnus/5.13 (Gnus v5.13)

Ruijie Yu via "Emacs development discussions." <emacs-devel@gnu.org>
writes:

> Hello Po Lu,
>
> On Aug 9, 2023, at 09:51, Po Lu via Mailing list for Emacs changes 
> <emacs-diffs@gnu.org> wrote:
>> 
>> branch: master
>> commit 391ff93f763228fb62a8d658a190a60e4a0a1791
>> Author: Po Lu <luangruo@yahoo.com>
>> Commit: Po Lu <luangruo@yahoo.com>
>> 
>>    * doc/misc/calc.texi (Musical Notes): Fix build with Texinfo 4.13.
>> ---
>> doc/misc/calc.texi | 4 ++--
>> 1 file changed, 2 insertions(+), 2 deletions(-)
>> 
>> diff --git a/doc/misc/calc.texi b/doc/misc/calc.texi
>> index 00c0fa6001a..5064f76e7b8 100644
>> --- a/doc/misc/calc.texi
>> +++ b/doc/misc/calc.texi
>> @@ -28476,12 +28476,12 @@ B and
>> the octave numbered 0 was chosen to correspond to the lowest
>> audible frequency.  Using this system, middle C (about 261.625 Hz)
>> corresponds to the note @slanted{C} in octave 4 and is denoted
>> -@slanted{C@sub{4}}.  Any frequency can be described by giving a note plus an
>> +@slanted{C4}.  Any frequency can be described by giving a note plus an
>> offset in cents (where a cent is a ratio of frequencies so that a
>> semitone consists of 100 cents).
>
> I presume you made this change because of a newly introduced
> warning/error -- sorry if I have missed any relevant discussion.

Yes; the file fails to compile with the last C version of makeinfo,
4.13.

> However, the new version would (IIRC) misalign with the usual musical
> notation, where we have "C" and "4" side by side in italics, but what
> we really need is "C" and subscripted "4", maybe both italicized (I
> don’t know whether we really need italicization, someone else might
> have a better idea).
>
> I don’t have any experience in writing texi files, but can we do this
> instead without triggering any warnings/errors?
>
>     @slanted{C}@sub{@slanted{4}}

Unfortunately not, because Texinfo 4.13 does not support @sub at all.
Eli, does a substitute for @sub that works in these old versions of
Texinfo present itself to you?

Thanks.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]