I found a great bash one liner that uses zathura and ghostscript to convert man pages to pdf via a dmenu search. Im not very good at bash scripting so the bash function worked well for this. I like to print info out an keep a hard copy file on some man pages and being able to put them in a pretty looking pdf file and print straight away is really handy.
so here is the function im using, you could probably turn this into a script but im unsure how to do it.
I assume you have you tried this ArchLabs. I get “-t is not a valid option for man” error, and “man man” confirms it’s not an option. Arch may be using a different version of man than Void. I’ll have to try it on ArchLabs later.
you could probably turn this into a script but im unsure how to do
just put the command that defines the function in a bash script - an oh so un-elligant example:
It works on my ArchLabs setup. And ArchLabs is using a different version (compile options?) of man than Void. All kinds of different options listed in “man man”.
Edit - Void uses mandoc (mdocml) for man pages, not man-db
The first launches the VM with the first argument being the name of the disk image, the second starts an installer with the first argument being the ISO image and the second argument the disk image, the last function just launches a live ISO (the name of the image being the first argument).