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

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

[Octave-bug-tracker] [bug #56929] csvread help text xref to dlmread appe


From: Rik
Subject: [Octave-bug-tracker] [bug #56929] csvread help text xref to dlmread appears confusingly when displayed in info format
Date: Mon, 23 Sep 2019 13:12:05 -0400 (EDT)
User-agent: Mozilla/5.0 (Windows NT 10.0; WOW64; Trident/7.0; rv:11.0) like Gecko

Follow-up Comment #7, bug #56929 (project octave):

@Pantxo: If we want to have 'help' produce plaintext output we could modify
scripts/help/__makeinfo__.m.  The current script produces Info output when
"plain text" is requested, and then cleans it up with a few regular
expressions.  See the code starting at line 128.


    ## Take action depending on output type
    switch (lower (output_type))
      case "plain text"
        cmd = sprintf ('%s --no-headers --no-warn --force --no-validate
--output=- "%s"',
                       makeinfo_program (), name);


If you add "--plaintext" to the invocation of mkinfo then it will the
@ifplaintext macros will work.

Alternatively, we could add another two regular expressions to clean up the
results of the expansion of @pxref and @xref.  See the attached rough patch
which does that.




(file #47563)
    _______________________________________________________

Additional Item Attachment:

File name: 56929.patch                    Size:1 KB
    <https://savannah.gnu.org/file/56929.patch?file_id=47563>



    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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