apjanke / octave-packajoozle

A just-for-fun reworking of GNU Octave's `pkg` tool
GNU General Public License v3.0
4 stars 1 forks source link

`help pkj` is busted #5

Closed apjanke closed 5 years ago

apjanke commented 5 years ago
>> help pkj
You found a bug: Text remaining without normal text but `@0.5.1
'

Additional informations:
last location: /var/folders/_4/9mx5ryp52bb_z6drbcbrhwl40000gn/T/octave-help-4oZvdi:185
context_stack: (_root preformatted)
current: (preformatted) :   contents(4)
 <- @example
Died at /Applications/Octave-4.4.1.app/Contents/Resources/usr/Cellar/texinfo_6.5_0/6.5/share/texinfo/Texinfo/Parser.pm line 5391.
warning: help: Texinfo formatting filter exited abnormally; raw Texinfo source of help text follows...
'pkj' is a function from the file /Users/janke/local/repos/octave-packajoozle/inst/pkj.m

Additional help for built-in functions and operators is
available in the online version of the manual.  Use the command
'doc <topic>' to search the manual index.

Help and information about Octave is also available on the WWW
at https://www.octave.org and via the help@octave.org
mailing list.
>>

Probably due to this in the pkj texinfo. Those "@"s need to be escaped, but I don't know how.

## @example
## pkj install -forge io
## pkj install -forge io@2.4.9
## pkj install -forge symbolic@<=2.6.5
## pkj install -forge io statistics financial@0.5.1
## @end example
apjanke commented 5 years ago

Fixed in https://github.com/apjanke/octave-packajoozle/commit/42cb739743a74a5012b10caa2ac7dad32213a099