Commit Graph

2 Commits

Author SHA1 Message Date
Alexander Overvoorde c7ec526bd3 Update default PDF margins (fixes #396) 2025-09-21 17:06:20 +00:00
Lluís Alemany Puig 527216eb95
Optionally specify margin size #396 (#411)
Whoever wants to shrink the margins, they can now do so via the new
optional command line arguments

--geometry:left
--geometry:right
--geometry:top
--geometry:bottom

which are default options in pandoc (see pandoc's documentation
[here](https://pandoc.org/demo/example33/6.2-variables.html)).

Their default value is ''. These options are not passed to pandoc when
their value is ''.

The argument parser added can be extended easily with other pandoc's
argument options. If the new options' default value is '' then they will
not be passed to pandoc.
2025-08-30 15:04:00 +02:00