On Thu, Nov 27, 2025 at 1:37 AM Nathan Hartman <[email protected]> wrote: > On Wed, Nov 26, 2025 at 5:19 PM Tomek CEDRO <[email protected]> wrote: > > On Wed, Nov 26, 2025 at 11:10 PM Nathan Hartman > > <[email protected]> wrote: > > > On Wed, Nov 26, 2025 at 4:48 PM Tomek CEDRO <[email protected]> wrote: > > > > Another story is about LaTeX.. I want NuttX to have PDF Handbook > > > > generated too for offline work and as part of releases.. there was > > > > initial prototype created and it works. But local LaTeX setup is > > > > complex and heavy and in search for alternatives I found.. ehm Rust > > > > written tiny PDF generator called TYPST.. but its not yet integrated > > > > with Sphinx and has its own syntax that is not compatible with LaTeX, > > > > MD, RST (yet) :-P For people that want to quickly generate any kind of > > > > PDF (i.e. automation) this may be good utility though.. and templates > > > > generation/application is a lot easier than LaTeX :-) > > > > > > Maybe it is possible to make a Docker container to generate the LaTeX > > > manual? Then anyone who wants to hack on the book locally could use that? > > > Perhaps it would be even better if the same container had everything to > > > hack on the site and documentation... thoughts? > > > > > > <https://typst.app/> > > > > Uhm I am on BSD no Docker here and I am not docker familiar enough to > > create a reference sorry :-( > > FreeBSD has bhyve, but I know this only from casually observing the project > over the years. I used FreeBSD way back in the FreeBSD 3.3 (!!) days but > haven't had a good opportunity to try it again. I am impressed by > everything the project has achieved and would like to come back to it > someday. Anyway back to bhyve, by any chance is that compatible with any of > the major virtualization platforms? In other words, could a virtual machine > be created that people on non-FreeBSD platforms could use?
Bhyve is a full virtualization hypervisor native to FreeBSD. Kind of alternative to VirtualBox. But it does not even have any GUI :-P It offers however for instance passthrough PCI devices to the virtual machine. I use this passthrough for USB 3.0 controller board.. on one hand VBox allows simple port redirection but its only USB 2.0 and often does not work as expeced. Below is an example how one guy launched some high end games (i.e. Cyberpunk 2077 or Witcher) while running windoze on fbsd's bhyve. https://www.youtube.com/watch?v=_cz0RUAw5p8 Docker is a Linux only solution, it has some kernel level hardcodes, so its popular but not a portable solution. It does run also on macOS but people who made that part did not talk well about implementation :-P > Btw. looking at Typst is seems to be able to convert MD/RST/DOC now > > :-) And there are two experimental plugins to Sphinx :-) Maybe soon it > > will become a smaller and faster and easier alternative to LaTeX :-) > > Typst does indeed look interesting. I read this comparison between TeX and > Typst some time back: > https://laurmaedje.github.io/posts/layout-models/ > I don't know much else about it. > > Or perhaps we should approach this differently... Pandoc can convert many > different document formats: > https://pandoc.org/ > > It could convert our reStructuredText documents to PDF... but wait a > second, I see that it needs pdflatex, lualatex, xelatex, latexmk, tektonic, > wkhtmltopdf, weasyprint, prince, pagedjs-cli, context, or pdfroff. Do you > have any of those? I know pdflatex and latexmk this is part of TeXLive package and I use them to build my documents :-P Typst may be just a smaller and simpler alternative to anyone unfamiliar to LaTeX :-P Said that I would like to rephrase that it would be best to stick to the RST format and Sphinx as we do currently :D :D -- CeDeROM, SQ7MHZ, http://www.tomek.cedro.info
