On 22 May 2023, at 0:19, Albert Krewinkel wrote:
Oliver Baumann <news-WPTjrydoUPgeaOpM6FAJmWZHpeb/A1Y/@public.gmane.org.net> writes:
Hi there, I am using Defaults files to give my documents a standard
look. This works absolutely fantastic.
However sometimes I want to overwrite settings from the Defaults file
in the document YAML block, but this doesn't always work.The defaults files should be thought of defining default values for
*command line arguments*.
Good point. Thanks!
Instead, you may want to use `--metadata-file`, which can be thought of
a defaults file for metadata, as those values _can_ be overridden by the
YAML in the document itself.
Tried this - and it sort of works. Problem is, list fields like geometry
or header-includes
are overwritten, not added to. But I guess that’s just what it is...
Thanks in any case!
Olli