octave-bug-tracker
[Top][All Lists]
Advanced

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

[Octave-bug-tracker] [bug #66428] doc_cache_create shows warnings "mispl


From: anonymous
Subject: [Octave-bug-tracker] [bug #66428] doc_cache_create shows warnings "misplaced {"
Date: Fri, 8 Nov 2024 07:27:29 -0500 (EST)

URL:
  <https://savannah.gnu.org/bugs/?66428>

                 Summary: doc_cache_create shows warnings "misplaced {"
                   Group: GNU Octave
               Submitter: None
               Submitted: Fri 08 Nov 2024 12:27:26 PM UTC
                Category: None
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: None
                  Status: None
             Assigned to: None
         Originator Name: Andy
        Originator Email:
             Open/Closed: Open
         Discussion Lock: Any
                 Release: 9.2.0
        Operating System: Microsoft Windows
           Fixed Release: None
         Planned Release: None


    _______________________________________________________

Follow-up Comments:


-------------------------------------------------------
Date: Fri 08 Nov 2024 12:27:26 PM UTC By: Anonymous
GNU Octave Version: 9.2.0 (hg id: f7f956555e4a)
Operating System: MINGW32_NT-6.2 Windows 6.2  x86_64

>> system ("makeinfo --version")
texi2any (GNU texinfo) 7.1

edit __makeinfo__.m:187 to comment delete so the temporary file isn't deleted


[text, format] = get_help_text ("#")
[ntext, status] = __makeinfo__ (text, "plain text");


returns

text =
@deftypefn {} {} #
Begin comment character.
@seealso{%, #@\{}
@end deftypefn

format = texinfo
>> [ntext, status] = __makeinfo__ (text, "plain text");
C:\Users\XXX\AppData\Local\Temp\octave-help-wytAMc:132: misplaced { (possibly
involving @xseealso)
C:\Users\XXX\AppData\Local\Temp\octave-help-wytAMc:132: misplaced { (possibly
involving @xseealso)


file octave-help-wytAMc line 130:133

@deftypefn {} {} #
Begin comment character.
@xseealso{%, #@@\{}
@end deftypefn


For me it looks like there is some problem escaping {.

https://www.gnu.org/software/texinfo/manual/texinfo/html_node/Conventions.html

says that {} have to be escaped with @, not \

but I don't know texinfo good enough. I haven't tested this on GNU/Linux yet
so perhaps it's a problem with the specific texi2any which comes with MXE
Octave









    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?66428>

_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/

Attachment: signature.asc
Description: PGP signature


reply via email to

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