Workaround needed for Issue #7111 on Divs (Single empty line too much) #9405
Replies: 1 comment
-
The problem with the rendered gap in LaTeX is in the package awesomebox, not in the output produced be Pandoc. I've switched to tcolorbox for drawing admonitions and other boxes, which is way more powerful and I can recreate the admonitions created with awesomebox. So this question is obsolete. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
When processing a Div like this:
the output is:
but I need:
My Lua filter:
Markdown:
produces this LaTeX:
The above workaround works well for paragraphs, but not for other elements suchs a bullet lists.
Is there a workaround to remove this
% this empty line is too much !!!
? I tried this in LaTeX but cannot insert a single%
or remove the empty line. I need this empty line removed because it renders the single line in LaTeX.It's a known problem: #7111
But the workaround here: https://github.com/rstudio/rmarkdown/blob/main/inst/rmarkdown/lua/latex-div.lua#L50-L59
works only if the nested element is a pargraph.
Beta Was this translation helpful? Give feedback.
All reactions