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
{example} fails unless
{theorem} exists in document
#291
Comments
Should be fixed now. Thanks for the report! |
Thank you!
|
Greetings,
One thing arises – typically there is paragraph space before the example, but none occurs here… see attached… if space is expected it would be great to have this patch…
Jeff
|
Could you reply the issue on Github? The email attachment won't be sent here automatically. |
Following up with code... there is a space in the code... note that html output is great, just not the PDF...
|
That is a separate issue. You can add these lines of LaTeX code to your preamble to increase the spacing: https://github.com/rstudio/bookdown/blob/4e94c8d499/inst/examples/latex/preamble.tex#L92-L98 If you don't know how, here is the documentation: https://bookdown.org/yihui/bookdown/yaml-options.html (use the Source of the solution: http://tex.stackexchange.com/q/85400/9128 |
Thanks!
|
This old thread has been automatically locked. If you think you have found something related to this, please open a new issue by following the issue guide (https://yihui.org/issue/), and link to this old issue if necessary. |
Greetings,
Using the minimal example (index.Rmd below), the following demonstrates the problem. If the environment e.g.
```{theorem}
does not exist somewhere (it can precede or proceed```{example}
) in the document then the following error is thrown:If you compile the code below all is well, remove
```{theorem}
and it fails. Thanks!The text was updated successfully, but these errors were encountered: