myst-templates / curvenote

A paper styled template using the custom environments and styling to match Curvenote's web experience.
0 stars 0 forks source link

Inadequate printing in a european context. #3

Open gl-yziquel opened 1 day ago

gl-yziquel commented 1 day ago

Hi.

I've tried the curvenote template with mystmd. I like the .pdf file it generates very much.

However, I tried printing it. And everything went mad. I guess (but I only guess) that the issue is that paper layout that is declared in the curvenote template is the US paper format. A european A4 format would make my printer much more happy, I guess.

I don't see how it could be possible to pass some options to the curvenote template in order for it to behave in A4 format. So:

  1. Is it possible ?
  2. If it is, documenting it would be pretty much welcome.
rowanc1 commented 1 day ago

This isn't possible yet, no.

It would require moving this line which defines the page geometry to the template.tex and then adding an option in the template.yml that gives a few options that can be templated into that file!

Happy to give more pointers if helpful. To get started, clone this repo, and point your local template to the folder, and then you should be able to test and tweak it!

rowanc1 commented 1 day ago

There is a good example of this here: https://github.com/myst-templates/cageo/blob/ff553f53181e7a5271070e948a02d57b00b20eda/template.yml#L97