Hi
I am trying to create a "book" using bookdown. I am finding it helpful look at the source of the bookdown book; very helpful.
But one thing I cannot figure: The new environments declared for that book (e.g. rmdtip; rmdwarning) in style.css and preamble.text simply are not acknowledged when I try it.
I have placed them in, respectively, the /.css and ./latex directories (as per the bookdown book, figuring that when I am learning I'll do what the Master (Yihui Xie) does...).
I have this in the _output.yml file, to point to these definitions (again, as the Master does):
bookdown::gitbook:
css: css/style.cssbookdown::pdf_book:
includes:
in_header: latex/preamble.tex
So, as far as I can tell, I am pointing to the correct files.
But the HTML render ignores the rmdtip environment (the text of what I place in the environment shows, but not in the new environment), and rendering the pdf throws an error:
! LaTeX Error: Environment rmdnote undefined.
See the LaTeX manual or LaTeX Companion for explanation.
Type H for immediate help.
...l.187 \BeginKnitrBlock{rmdnote}
So it seems the new environment definitions are not being seen.
I must be pointing to the wrong thing somewhere, but I cannot see where, and I have tried to follow Yihui's code.
Any advice for a newbie?
Thanks.
BSP