How to convert GoPresent to PDF?

81 views
Skip to first unread message

Tom Limoncelli

unread,
Oct 14, 2025, 3:57:41 PM (yesterday) Oct 14
to golang-nuts
I made a presentation using the Present package (https://pkg.go.dev/golang.org/x/tools/present) but I'd like to convert it to PDF.

I've used github.com/mmcloughlin/podium but it requires chromedriver which is no longer supported.

Are there alternatives?  Web searches find nothing.

Thanks,
Tom

Jason E. Aten

unread,
Oct 14, 2025, 8:35:36 PM (yesterday) Oct 14
to golang-nuts
Somewhat embarrassing to admit, but I've resorted in
the past to just taking screenshots and then stuffing them
into a pdf file. The size was about 30KB per slide.

If that's too big, you could also try to de-rasterize your
screenshots back into vector graphics to get compression
with... services? image magick? https://convert.guru/raster-converter kind of thing.

Kevin Chowski

unread,
Oct 14, 2025, 10:14:41 PM (24 hours ago) Oct 14
to golang-nuts
Can you use the present command to host the webpage, open it up in your favorite browser, and print to PDF?

Sebastien Binet

unread,
1:32 AM (21 hours ago) 1:32 AM
to Tom Limoncelli, golang-nuts
Hi,

In the old days, I did this little thing:
https://codeberg.org/sbinet/present-tex

(Now, I would probably do it with Typst instead of LaTeX)

htw,
-s

Oct 14, 2025 22:41:22 Tom Limoncelli <t...@whatexit.org>:

--
You received this message because you are subscribed to the Google Groups "golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/golang-nuts/CAHVFxgnr-NJ73_aJvT6pHZECFSS0nikz1nyuZ0ai388pL%2BQzSQ%40mail.gmail.com.
signature.asc
Reply all
Reply to author
Forward
0 new messages