Maybe some line ending issue? Von: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Im Auftrag von Stephan Boltzmann Gesendet: Donnerstag, 22. Juni 2023 15:10 An: pandoc-discuss Betreff: Re: Figure blocks in AST on Windows, but not on Linux This was also my first idea: I'm using the pandoc binaries shipping with the latest versions of RStudio (posit), therefore the versions should be identical or at least not too different (outdated). denis...-NSENcxR/0n0@public.gmane.org schrieb am Mittwoch, 21. Juni 2023 um 22:04:42 UTC+2: Are you using the same pandoc version? ________________________________________ Von: pandoc-...-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org im Auftrag von Stephan Boltzmann Gesendet: Mittwoch, 21. Juni 2023 21:51:04 An: pandoc-discuss Betreff: Figure blocks in AST on Windows, but not on Linux Hello everybody out there, Running the following filter function Pandoc (doc) nblocks = 0 for i, block in ipairs(doc.blocks) do nblocks=nblocks+1 end lblock = nblocks for i=1,nblocks do block = doc.blocks[i] print(block.t) end end on the following document --- title: Test author: Author --- # Introduction Some text ... ![Figure 1](image.png) prints a Figure block on Windows but a Para block on Linux. This would mean that the output of pandoc depends on the operating system. Is there a way to make it more independent of the operating system or am I just doing an obvious mistake? -- You received this message because you are subscribed to the Google Groups "pandoc-discuss" group. To unsubscribe from this group and stop receiving emails from it, send an email to pandoc-discus...-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org. To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/e8c84ab1-4e87-4580-bf4e-dd1bb23f4c1fn%40googlegroups.com. -- You received this message because you are subscribed to the Google Groups "pandoc-discuss" group. To unsubscribe from this group and stop receiving emails from it, send an email to pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org. To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/f47ffa73-354d-4bf0-9abe-8ff6135ea426n%40googlegroups.com. -- You received this message because you are subscribed to the Google Groups "pandoc-discuss" group. To unsubscribe from this group and stop receiving emails from it, send an email to pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/e9f4c3ace99b4e848445fb7e754d1868%40unibe.ch.