-
Notifications
You must be signed in to change notification settings - Fork 31
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
Word "true" rendered at the end of some elements #446
Comments
Hello again! This seems strange, can you please share your |
Hi @Witiko sorry to have taken so long to answer. Here is the .tex file:
Of course It's a sample document to remove what is not useful. This is why I have so much package (I left them in case one can be part of the problem. The markdown file
Thank you again for your time ! |
@l0th3r Thanks for taking the time to post the example document. It exposes a bug in the default definitions for lists. Here is a patch that you may include in your document below \ExplSyntaxOn
\markdownSetup{
rendererPrototypes = {
fancyOlBeginTight = {
\group_begin:
\tl_set:Nn
\l__markdown_latex_fancy_list_item_label_number_style_tl
{ #1 }
\tl_set:Nn
\l__markdown_latex_fancy_list_item_label_delimiter_style_tl
{ #2 }
\__markdown_if_option:nTF
{ startNumber }
{
\tl_set:Nn
\l_tmpa_tl
{ \begin{compactenum} }
}
{
\tl_set:Nn
\l_tmpa_tl
{ \begin{compactenum}[ }
\tl_put_right:Nx
\l_tmpa_tl
{ \__markdown_latex_paralist_style:nn { #1 } { #2 } }
\tl_put_right:Nn
\l_tmpa_tl
{ ] }
}
\tl_put_left:Nn
\l_tmpa_tl
{
\plpartopsep=\partopsep
\pltopsep=\topsep
}
\tl_use:N
\l_tmpa_tl
},
},
}
\ExplSyntaxOff I fixed the bug in commit f978e81. Therefore, you can remove the patch from your document after you have installed version 3.7.0, which should appear in TeX Live later this month. |
Thank you @Witiko for your reactivity and implication ! |
@Witiko I allow myself to comment here because after updating the markdown package in The |
@l0th3r Have you updated the whole markdown package, including the file |
@Witiko I have, but my update script copied them into a sub folder so the tex file was not importing the default.sty file. It's on me. Thank you for your time and answer. |
Hi, I am really new to Tex, LaTex and LuaTex.
While rendering a list in markdown. The word "true" is rendered under the titles.
Do you have any idea what it is that could cause this word to be rendered ?
Thank you in advance for the help.
Markdown file content:
PDF render:
The text was updated successfully, but these errors were encountered: