You are not logged in.
where do i get the .tex source for those and transform them into an HTML like this one (example: https://www.gnu.org/software/sed/manual/sed.html)
Last edited by whittlers (2024-02-20 21:54:36)
sorry for bad english
Offline
From that page:
<!-- Created by GNU Texinfo 6.5, http://www.gnu.org/software/texinfo/ -->
But as far as I know texinfo tools (e.g., texi2any which can generate html) require a texi source file as input (not .tex which generally would be a (la)tex file). The .texi source files are not typically distributed, though the info files produced from them are, e.g., /usr/share/info/sed.info.gz.
I'm not sure if an info file can be readily converted back into a texi source file (to then generate html) or if you'd need to retrieve the upstream source for the original .texi content.
That said, why are you trying to do this? The end result of the html already exists on the site you linked to. Why do you need to regenerate it?
Last edited by Trilby (2024-02-20 05:22:41)
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Offline
i mainly just want the HTML since it's easier for navigation (clicking table of contents and scrolling). is there any better reader for info files?
sorry for bad english
Offline
Offline
My question isn't why you wanted the html, but rather given this desire, why you were trying to regenerate it yourself when it all exists already on the gnu.org website.
But as seth's link should indicate, there is no need to convert to html to be able to have clickable links and scrolling of info pages.
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Offline
man --html [command]
should do the what you want.
Last edited by ploub (2024-02-20 16:38:02)
Offline
The OP is inquiring https://man.archlinux.org/man/core/texinfo/info.1.en - not https://man.archlinux.org/man/core/man-db/man.1.en
Offline
indeed info is different from man, although when you use "info", it sometimes redirects to a man page
output of `info -a gpg`:
Node: File names matching 'gpg'
Info File Index
***************
File names that match 'gpg':
* Menu:
* 1: (/usr/share/info/gpgme.info.gz).
* 2: (*manpages*)gpg.
seems like the tool i need has been "in construction" since 2015 lol https://savannah.gnu.org/projects/gnu-html-info
if you have any information on how to get those .texi files, say it. i would start making a info to html tool, but it's not the way it's supposed to be
sorry for bad english
Offline
If you really want to view the info pages as html, you can do it with perl and php. It runs a local webserver that transparently converts all info pages:
https://github.com/AdamDanischewski/info2html
seems like the tool i need
As seth and Trilby mentioned, you should not need this if you simply want to view info pages with clickable links, but at least yelp is currently broken for viewing info pages. tkinfo should still work with xorg/xwayland and is available in the AUR.
Last edited by progandy (2024-02-20 20:05:40)
| alias CUTF='LANG=en_XX.UTF-8@POSIX ' |
Offline
My question isn't why you wanted the html, but rather given this desire, why you were trying to regenerate it yourself when it all exists already on the gnu.org website.
mainly having the possession of it. one of the main reasons to use info/man is to learn about something without having to search for it in the internet. i could download all the HTML versions from the GNU website, but they are randomly distributed (for example GCC and GPG have own sites) so it's impossible to do non manually. the request for the .texi sources is open.
sorry for bad english
Offline
https://www.gnu.org/software/sed/manual/ also has the texinfo sources.
https://www.gnu.org/manual/ has a list of all manuals.
Offline
i tried info.vim mod, but it redirects to the man pages... edit: wait, nevermind, it was 'gpgme', not 'gpg', for some reason it sent me to the mans
Last edited by whittlers (2024-02-20 21:51:00)
sorry for bad english
Offline
Bad news is that you're gonna need glasses.
https://www.gnu.org/software/coreutils/manual/
https://www.gnu.org/software/coreutils/ … utils.html
Edit: seems you found them?
i tried info.vim mod, but it redirects to the man pages
Please don't paraphrase, https://bbs.archlinux.org/viewtopic.php?id=57855
Also https://en.wikipedia.org/wiki/Ellipsis
Last edited by seth (2024-02-20 21:48:48)
Offline
sorry, i got confused by two things at once
i'm going to say this is "solved" for now, since at least i can access all the documentation when i have internet
sorry for bad english
Offline