Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding vignette title #2

Open
kliegl opened this issue Aug 27, 2020 · 1 comment
Open

Adding vignette title #2

kliegl opened this issue Aug 27, 2020 · 1 comment
Assignees
Labels

Comments

@kliegl
Copy link
Contributor

kliegl commented Aug 27, 2020

I was able to generate a table of contents and numbering of sections via

julia> convert_doc("SimpleLMM.jmd", "SimpleLMM.md")
julia> weave("SimpleLMM.md", fig_path="figures", fig_ext=".svg", doctype="pandoc2html", 
              pandoc_options=["--toc", "-N"]) # HTML file

It does not take the YAML header at the beginning, but tells me:

[WARNING] This document format requires a nonempty <title> element.
  Please specify either 'title' or 'pagetitle' in the metadata,
  e.g. by using --metadata pagetitle="..." on the command line.
  Falling back to 'Untitled'

I tried a lot but could not get it to do this. Would one have to go to the terminal for this?

@dmbates
Copy link
Contributor

dmbates commented Aug 27, 2020

I'm not quite sure what the question is. For me the YAML header did produce a title.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants