Skip to content

LaTeX template not respected when YAML option rmd_subdir is used with non-boolean value #600

@lorenzwalthert

Description

@lorenzwalthert

Thanks for this package. I tried to use the rmd_subdir option introduced in #561. However, I encounter the following problem:
When I specify a latex template (I took the default pandoc template) for the book, I lose it as soon as I use the option rmd_subdir: ["rmd"]. I forked and modified the bookdown demo to create a reprex, which you can find here. Just see the last few commits. See lorenzwalthert/bookdown-demo@d9bcee0#diff-b5352b26567fa5f42ad7241975ba203bR6 for the commit where I added the option. If you remove the line and re-build the book, you will see that the template again takes effect. Otherwise the option seems to work fine. I don't understand what's going on. Any help appreciated.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions