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

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

[Octave-bug-tracker] [bug #64251] Unable to install Parallel Package on


From: John Donoghue
Subject: [Octave-bug-tracker] [bug #64251] Unable to install Parallel Package on Octave for Windows
Date: Fri, 7 Jul 2023 13:57:49 -0400 (EDT)

Follow-up Comment #13, bug #64251 (project octave):

ok - found the issue - looking at the generated .texi file after running
through te doc creation, in windows the file contains '-*- texinfo -*-' lines
where it should have converted to an anchor ref.

Looking at the difference between the .docstrings files in linux vs windows,
windows is using \r\n vs \n in linux

The munge-texi.pl script sets the regex for the find and replace as :

$tex_delim = qr/\Q-*- texinfo -*-\E*/;
$docstring =~ s/^$tex_delim$/\@anchor{XREF$func}/m;

But that is failing to match because the stray \r

If I change the delim line to eat the optional \r afterwards it works for me.

$tex_delim = qr/\Q-*- texinfo -*-\E[\r]*/;




    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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