* Lua filters: syntax documentation?
@ 2020-12-01 20:51 Denis Bitouzé
[not found] ` <87im9lfdxf.fsf-hcDgGtZH8xNBDgjK7y7TUQ@public.gmane.org>
0 siblings, 1 reply; 5+ messages in thread
From: Denis Bitouzé @ 2020-12-01 20:51 UTC (permalink / raw)
To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw
Hi,
Lua filters may involve `.t`, `.c`, `_` such as in:
- `block.t`
- `block.c`
- `for _,block in el.blocks:`
I've looked around but couldn't see any documentation explaining these
syntaxes.
Could you kindly give me some pointers?
Thanks!
--
Denis
^ permalink raw reply [flat|nested] 5+ messages in thread
* AW: Lua filters: syntax documentation?
[not found] ` <87im9lfdxf.fsf-hcDgGtZH8xNBDgjK7y7TUQ@public.gmane.org>
@ 2020-12-01 21:02 ` denis.maier-FfwAq0itz3ofv37vnLkPlQ
[not found] ` <08dff00346db40879e27b36efd79a4d5-FfwAq0itz3ofv37vnLkPlQ@public.gmane.org>
0 siblings, 1 reply; 5+ messages in thread
From: denis.maier-FfwAq0itz3ofv37vnLkPlQ @ 2020-12-01 21:02 UTC (permalink / raw)
To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw
Can't check here where they are documented, and I guess you've searched the lua filters documentation? Anyway, i think .t refers to the tag of an element, the .c refers to the content.
________________________________________
Von: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org <pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org> im Auftrag von Denis Bitouzé <denis.bitouze-PToOLB6qFnLddoiwg0DPyg@public.gmane.org>
Gesendet: Dienstag, 1. Dezember 2020 21:51:08
An: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
Betreff: Lua filters: syntax documentation?
Hi,
Lua filters may involve `.t`, `.c`, `_` such as in:
- `block.t`
- `block.c`
- `for _,block in el.blocks:`
I've looked around but couldn't see any documentation explaining these
syntaxes.
Could you kindly give me some pointers?
Thanks!
--
Denis
--
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/87im9lfdxf.fsf%40example.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/08dff00346db40879e27b36efd79a4d5%40ub.unibe.ch.
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [SOCIAL]AW: Lua filters: syntax documentation?
[not found] ` <08dff00346db40879e27b36efd79a4d5-FfwAq0itz3ofv37vnLkPlQ@public.gmane.org>
@ 2020-12-01 21:11 ` Denis Bitouzé
2020-12-01 21:12 ` AW: " denis.maier-FfwAq0itz3ofv37vnLkPlQ
1 sibling, 0 replies; 5+ messages in thread
From: Denis Bitouzé @ 2020-12-01 21:11 UTC (permalink / raw)
To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw
Le 01/12/20 à 21h02, denis.maier-FfwAq0itz3ofv37vnLkPlQ@public.gmane.org a écrit :
> Can't check here where they are documented, and I guess you've
> searched the lua filters documentation?
Yes, of course! :)
> Anyway, i think .t refers to the tag of an element, the
> .c refers to the content.
That's what I presumed, but I wanted:
- to be sure,
- to learn in a more efficient way than blindly.
About `_`, I guess it is an arbitrary nae given to a adummy, useless for
the purpose, variable of a table value. But, anyway, I wanted to be sure
for this as well :)
Thanks.
--
Denis
--
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/87eek9fczm.fsf%40example.com.
^ permalink raw reply [flat|nested] 5+ messages in thread
* AW: Lua filters: syntax documentation?
[not found] ` <08dff00346db40879e27b36efd79a4d5-FfwAq0itz3ofv37vnLkPlQ@public.gmane.org>
2020-12-01 21:11 ` [SOCIAL]AW: " Denis Bitouzé
@ 2020-12-01 21:12 ` denis.maier-FfwAq0itz3ofv37vnLkPlQ
[not found] ` <5b8c40f6984c46258449d7147672180b-FfwAq0itz3ofv37vnLkPlQ@public.gmane.org>
1 sibling, 1 reply; 5+ messages in thread
From: denis.maier-FfwAq0itz3ofv37vnLkPlQ @ 2020-12-01 21:12 UTC (permalink / raw)
To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw
Just a quick note: t appears as a synonym for tag in the type reference. But I couldn't find anything about the c. Maybe that should be added?
________________________________________
Von: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org <pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org> im Auftrag von denis.maier-FfwAq0itz3ofv37vnLkPlQ@public.gmane.org <denis.maier-FfwAq0itz3ofv37vnLkPlQ@public.gmane.org>
Gesendet: Dienstag, 1. Dezember 2020 22:02:50
An: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
Betreff: AW: Lua filters: syntax documentation?
Can't check here where they are documented, and I guess you've searched the lua filters documentation? Anyway, i think .t refers to the tag of an element, the .c refers to the content.
________________________________________
Von: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org <pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org> im Auftrag von Denis Bitouzé <denis.bitouze-PToOLB6qFnLddoiwg0DPyg@public.gmane.org>
Gesendet: Dienstag, 1. Dezember 2020 21:51:08
An: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
Betreff: Lua filters: syntax documentation?
Hi,
Lua filters may involve `.t`, `.c`, `_` such as in:
- `block.t`
- `block.c`
- `for _,block in el.blocks:`
I've looked around but couldn't see any documentation explaining these
syntaxes.
Could you kindly give me some pointers?
Thanks!
--
Denis
--
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/87im9lfdxf.fsf%40example.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/08dff00346db40879e27b36efd79a4d5%40ub.unibe.ch.
--
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/5b8c40f6984c46258449d7147672180b%40ub.unibe.ch.
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [SOCIAL]AW: Lua filters: syntax documentation?
[not found] ` <5b8c40f6984c46258449d7147672180b-FfwAq0itz3ofv37vnLkPlQ@public.gmane.org>
@ 2020-12-01 21:24 ` Denis Bitouzé
0 siblings, 0 replies; 5+ messages in thread
From: Denis Bitouzé @ 2020-12-01 21:24 UTC (permalink / raw)
To: denis.maier-FfwAq0itz3ofv37vnLkPlQ; +Cc: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw
Le 01/12/20 à 21h12, denis.maier-FfwAq0itz3ofv37vnLkPlQ@public.gmane.org a écrit :
> Just a quick note: t appears as a synonym for tag in the type
> reference.
Ah, indeed: I must admit I didn't read all this document line by
line. I read it mostly and searched for `.t`. Even if I read more
carefully, I'm not sure I would have make the connection between `.t`
and "tag, t".
> But I couldn't find anything about the c. Maybe that should be added?
Do you mean:
content → content, c
I would be better indeed but, as I said, maybe not everyone would make
the connection with `.c` (at least, not me :)
--
Denis
--
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/87a6uxfcd8.fsf%40example.com.
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2020-12-01 21:24 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-12-01 20:51 Lua filters: syntax documentation? Denis Bitouzé
[not found] ` <87im9lfdxf.fsf-hcDgGtZH8xNBDgjK7y7TUQ@public.gmane.org>
2020-12-01 21:02 ` AW: " denis.maier-FfwAq0itz3ofv37vnLkPlQ
[not found] ` <08dff00346db40879e27b36efd79a4d5-FfwAq0itz3ofv37vnLkPlQ@public.gmane.org>
2020-12-01 21:11 ` [SOCIAL]AW: " Denis Bitouzé
2020-12-01 21:12 ` AW: " denis.maier-FfwAq0itz3ofv37vnLkPlQ
[not found] ` <5b8c40f6984c46258449d7147672180b-FfwAq0itz3ofv37vnLkPlQ@public.gmane.org>
2020-12-01 21:24 ` [SOCIAL]AW: " Denis Bitouzé
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).