* Figure blocks in AST on Windows, but not on Linux
@ 2023-06-21 19:51 ` Stephan Boltzmann
[not found] ` <e8c84ab1-4e87-4580-bf4e-dd1bb23f4c1fn-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
0 siblings, 1 reply; 5+ messages in thread
From: Stephan Boltzmann @ 2023-06-21 19:51 UTC (permalink / raw)
To: pandoc-discuss
[-- Attachment #1.1: Type: text/plain, Size: 1021 bytes --]
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-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@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.
[-- Attachment #1.2: Type: text/html, Size: 1767 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
* AW: Figure blocks in AST on Windows, but not on Linux
[not found] ` <e8c84ab1-4e87-4580-bf4e-dd1bb23f4c1fn-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
@ 2023-06-21 20:04 ` denis.maier-NSENcxR/0n0
[not found] ` <0daeba7dd8ba47c4ae51945307fd2597-NSENcxR/0n0@public.gmane.org>
0 siblings, 1 reply; 5+ messages in thread
From: denis.maier-NSENcxR/0n0 @ 2023-06-21 20:04 UTC (permalink / raw)
To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw
Are you using the same pandoc version?
________________________________________
Von: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org <pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org> im Auftrag von Stephan Boltzmann <stephan2boltzmann-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
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-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org<mailto:pandoc-discuss+unsubscribe-/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<https://groups.google.com/d/msgid/pandoc-discuss/e8c84ab1-4e87-4580-bf4e-dd1bb23f4c1fn%40googlegroups.com?utm_medium=email&utm_source=footer>.
--
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/0daeba7dd8ba47c4ae51945307fd2597%40unibe.ch.
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Figure blocks in AST on Windows, but not on Linux
[not found] ` <0daeba7dd8ba47c4ae51945307fd2597-NSENcxR/0n0@public.gmane.org>
@ 2023-06-22 13:10 ` Stephan Boltzmann
[not found] ` <f47ffa73-354d-4bf0-9abe-8ff6135ea426n-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
0 siblings, 1 reply; 5+ messages in thread
From: Stephan Boltzmann @ 2023-06-22 13:10 UTC (permalink / raw)
To: pandoc-discuss
[-- Attachment #1.1: Type: text/plain, Size: 2393 bytes --]
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 <pandoc-...-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org> im Auftrag
> von Stephan Boltzmann <stephan2...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
> 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<mailto:
> 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
> <
> https://groups.google.com/d/msgid/pandoc-discuss/e8c84ab1-4e87-4580-bf4e-dd1bb23f4c1fn%40googlegroups.com?utm_medium=email&utm_source=footer
> >.
>
--
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/f47ffa73-354d-4bf0-9abe-8ff6135ea426n%40googlegroups.com.
[-- Attachment #1.2: Type: text/html, Size: 4089 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
* AW: Figure blocks in AST on Windows, but not on Linux
[not found] ` <f47ffa73-354d-4bf0-9abe-8ff6135ea426n-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
@ 2023-06-26 9:09 ` denis.maier-NSENcxR/0n0
[not found] ` <e9f4c3ace99b4e848445fb7e754d1868-NSENcxR/0n0@public.gmane.org>
0 siblings, 1 reply; 5+ messages in thread
From: denis.maier-NSENcxR/0n0 @ 2023-06-26 9:09 UTC (permalink / raw)
To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw
[-- Attachment #1: Type: text/plain, Size: 3336 bytes --]
Maybe some line ending issue?
Von: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org <pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org> Im Auftrag von Stephan Boltzmann
Gesendet: Donnerstag, 22. Juni 2023 15:10
An: pandoc-discuss <pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
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<mailto: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 <pandoc-...-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org> im Auftrag von Stephan Boltzmann <stephan2...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
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<mailto:pandoc-discus...@googlegroups.com>.
To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/e8c84ab1-4e87-4580-bf4e-dd1bb23f4c1fn%40googlegroups.com<https://groups.google.com/d/msgid/pandoc-discuss/e8c84ab1-4e87-4580-bf4e-dd1bb23f4c1fn%40googlegroups.com?utm_medium=email&utm_source=footer>.
--
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<mailto: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<https://groups.google.com/d/msgid/pandoc-discuss/f47ffa73-354d-4bf0-9abe-8ff6135ea426n%40googlegroups.com?utm_medium=email&utm_source=footer>.
--
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.
[-- Attachment #2: Type: text/html, Size: 6699 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Figure blocks in AST on Windows, but not on Linux
[not found] ` <e9f4c3ace99b4e848445fb7e754d1868-NSENcxR/0n0@public.gmane.org>
@ 2023-07-02 19:15 ` Stephan Boltzmann
0 siblings, 0 replies; 5+ messages in thread
From: Stephan Boltzmann @ 2023-07-02 19:15 UTC (permalink / raw)
To: pandoc-discuss
[-- Attachment #1.1: Type: text/plain, Size: 3560 bytes --]
Thanks, that's a good point. I have to check. I use Git as version control.
denis...-NSENcxR/0n0@public.gmane.org schrieb am Montag, 26. Juni 2023 um 11:09:32 UTC+2:
> Maybe some line ending issue?
>
>
>
> *Von:* pandoc-...-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org <pandoc-...-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org> *Im
> Auftrag von *Stephan Boltzmann
> *Gesendet:* Donnerstag, 22. Juni 2023 15:10
> *An:* pandoc-discuss <pandoc-...-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
> *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 <pandoc-...-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org> im Auftrag
> von Stephan Boltzmann <stephan2...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
> 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<mailto:
> 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
> <
> https://groups.google.com/d/msgid/pandoc-discuss/e8c84ab1-4e87-4580-bf4e-dd1bb23f4c1fn%40googlegroups.com?utm_medium=email&utm_source=footer>.
>
>
> --
> 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...-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@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
> <https://groups.google.com/d/msgid/pandoc-discuss/f47ffa73-354d-4bf0-9abe-8ff6135ea426n%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>
--
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/2341b40b-dddb-41bf-a482-fd112fe40f9en%40googlegroups.com.
[-- Attachment #1.2: Type: text/html, Size: 7323 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2023-07-02 19:15 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <AQHZpHm5u5r0SVy3fUmSX4+SF0NQSa+VricBgAD9EwCABieKEA==>
[not found] ` <AQHZpHm5u5r0SVy3fUmSX4+SF0NQSa+VricB>
2023-06-21 19:51 ` Figure blocks in AST on Windows, but not on Linux Stephan Boltzmann
[not found] ` <e8c84ab1-4e87-4580-bf4e-dd1bb23f4c1fn-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2023-06-21 20:04 ` AW: " denis.maier-NSENcxR/0n0
[not found] ` <0daeba7dd8ba47c4ae51945307fd2597-NSENcxR/0n0@public.gmane.org>
2023-06-22 13:10 ` Stephan Boltzmann
[not found] ` <f47ffa73-354d-4bf0-9abe-8ff6135ea426n-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2023-06-26 9:09 ` AW: " denis.maier-NSENcxR/0n0
[not found] ` <e9f4c3ace99b4e848445fb7e754d1868-NSENcxR/0n0@public.gmane.org>
2023-07-02 19:15 ` Stephan Boltzmann
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).