Reading schelp files without SCIDE

I have SuperCollider running on my RPi 400, and am using Neovim with scnvim as a supercollider editor. The RPi doesn’t have access to the SCIDE Help browser. I have access to the Classes Help files through scnvim, but not access to the other .schelp files, Guides, Tutorials, and so forth. I can read their files, but then it’s a SCDoc (garbled) version. Is there any way to solve this, for example translate a schelp file to plain text, or translate it into html and have an external html reader render it into text?

                                Thank You For Your Attention

if you evaluate 'search terms'.help in nvim it will pop open an IDE style help browser (at least over here on Mac!)

I’m not sure that works over here in RPi land. Something about some of the Qt libraries not being ported. Anyhow, I’m new to nvim and I’m not exactly sure what you mean. Typing :search terms (shows up on bottom line) brings me E492: Not an editor command: search terms, typing :‘search terms’ brings me E20: Mark not set, evaluating ‘search terms’.help in SuperCollider (I think this is not what you said, but what the hell), errors out and gives me a long error reading in the post window. Any other ideas?

                                    Thank You For Your Attention

no I meant to type

'search term'.help

in an open .scd file and send the line to sclang (using the editor.send-line command)

(you will need to have defined some mapping for this: see key-mappings in the scnvim help)

you can also simply type

 :call v:lua.require'scnvim'.send("'search terms'.help") 

(and then enter!)

I tried :call v:lua.require’scnvim’.send(“‘search terms’.help”) on the bottom line, and it Errored out, the Post window says something about arg this = ‘search terms’ not being recognized. Remember, on the RPi I do have a SCIDE, but it doesn’t have a Help, so whatever Qt libraries that make that functionality work probably cannot be called from scnvim.

                                                  Thank You For Your Attention

It seems like one solution is to evaluate SCDoc.renderAll in SuperCollider. Apparently this will render all .schelp files into .html files and put it under ~/.local/share/SuperCollider/Help/, where you can read them with a html renderer, for example Chromium, you probably need to do this again if you introduce more .schelp files into your system.

1 Like