fletcher on 13 Mar, 2015 05:20 PM
1) `--nolabels` is specifically for HTML (the HTML won't validate,
which *does* break some things in HTML-land). But as for LaTeX, why
does it matter if `latex` complains? It still works just fine. Have a
glass of wine (or whatever) -- it's all good.... ;)
If you insist on soothing your inner OCD, then yes -- you can use
non-conflicting headers, provide manual labels, or modify the source to
not include the `autoref` functionality when outputting latex. You
could probably also include some latex code to reassign the autoref
command to something else innocuous.
Personally, I recommend the wine...
2) Metadata is simply text at the beginning, you can concatenate
whatever you want to the front of your document before passing it to
MMD. There's tons of info all around the internet for command-line
tricks to help you sort out exactly what you want.