-
Notifications
You must be signed in to change notification settings - Fork 113
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
Markdown formatting is overly sensitive to layout #648
Comments
I see no attachments. |
My apologies. I must have botched the attachment process. I'm trying again. In order to attach |
I see your point, but it's unrelated to pdfpc, which by itself doesn't "recognize" (i.e., render) markdown. It uses libmarkdown2 (aka discount). Furthermore, the text is passed by the \pdfpcnote macro, which is indeed rather picky. If you wish, submit this as a bug to latex-pdfpc. |
If I get a chance I'll see if I can figure out whether the LaTeX or libmarkdown2 is more to blame. |
Extracting the notes from your PDF, I find these:
Running them through Markdown.pl, only the first one is a list. So, as the intention seems to be merely to implement Markdown, I see no evidence of any bug in pdfpc or discount. Though original Markdown is notoriously underspecified and if at some point more people complain about pdfpcs Markdown rendering, it may be a desirable enhancement of pdfpc to be less noticeably incompatible with the increasing majority of dialects in usage which, I think, do not require the (mostly) blank line before a list, for example. |
BTW, can someone understand where the space before the last |
If I write |
My LaTeX markup allowed a space to creep in before a dash in a Markdown list. I expected pdfpc to recognize the markup, but it did not.
To reproduce the behavior,
pdflatex
on the attachedtest.tex
file.pdf-presenter-console -f markdown
on the resultingtest.pdf
. (Mytest.pdf
is also attached.)I would expect all four Markdown notes to render as lists. But only the first renders as a list.
(And since you're redefining
\\
, it is probably worth redefining\par
as well.)pdfpc version: v4.5.1pre
Used Distribution (GTK version, vala version): Debian stable (bullseye). No idea how to find other versions, but package dependency shows "libgtk-3-0 (>= 3.21.4)".
Display Server (X/Wayland): X
HiDPI Setting (yes/no): I don't know what this is, but if it helps, the display size is 3840x2160 pixels.
The text was updated successfully, but these errors were encountered: