Open rvanmazijk opened 6 years ago
Here's where I confess I know nothing of bookdown
. Could I ask for your help with that? I'm at a point with these templates where I'm happy when they don't break for my narrow purposes. :P
I can sympathise with "narrow purpose" templates. We all want very specific and sometimes different things out of doc prep. Sometimes our own MacGyver-solutions are good enough 😉
I'd be happy to help 😃 . I don't know much about LaTeX templates, but I imagine adding support for a new environment in a template would be easy enough. Perhaps we can borrow from the pandoc templates bookdown
calls on? https://github.com/jgm/pandoc-templates
I'd love to be able to use your templates, e.g.
svm-latex-ms.tex
, in writing my dissertation and some manuscripts inbookdown
.The trouble is,
bookdown
supports align-style equation environments for LaTeX-PDF output. This is a very useful thing aboutbookdown
, as it allows more customisable equation layout:For example, I wish to render to PDF from
.Rmd
source files that contain align-style equations. Usingsvm-latex-ms.tex
as the template, my_output.yml
is as follows:On rendering (with
bookdown::render_book("index.Rmd")
), I get this error:I think it would be great to include a definition for the align environment in these templates (I'm willing to help!) so that they can be more flexibly applied to outputs from the wider RMarkdown ecosystem, such as
bookdown
😄.