Bogdanp / racket-gui-easy

Declarative GUIs in Racket.
https://docs.racket-lang.org/gui-easy/index.html
134 stars 18 forks source link

fix latex docs #43

Closed rfindler closed 1 year ago

rfindler commented 1 year ago

This adjusts the documentation to build in latex mode.

I'm not completely sure if the renaming I did to change youtube-embed to youtubeembed is kosher. The html still looks okay to me, tho. I did that change because latex macro names cannot have hyphens in them, apparently.

rfindler commented 1 year ago

Oh, and you can test it out with either raco setup --doc-pdf or just scribble --dest x --latex gui-easy.scrbl. After the latter, you'd also need to do cd x ; pdflatex gui-easy to see the error in the version without this commit.

Bogdanp commented 1 year ago

Thanks!