public inbox archive for pandoc-discuss@googlegroups.com
 help / color / mirror / Atom feed
* Extend functionality of existing LaTeX reader
@ 2022-07-17 14:06 Abhishek Ulayil
  0 siblings, 0 replies; only message in thread
From: Abhishek Ulayil @ 2022-07-17 14:06 UTC (permalink / raw)
  To: pandoc-discuss


[-- Attachment #1.1: Type: text/plain, Size: 1215 bytes --]

Hi everyone,
 I have been using pandoc, learning about the AST and writing basic Lua 
filters (Mostly for LaTeX).
While it has been a learning experience for me I have started to wonder 
"Can we write a custom reader to extend the functionality of the existing 
reader?
and If such a mechanism already exists then how to go about it?"

I understand that the default LaTeX reader is good enough for most 
conversions, But there are many custom commands and environments that the 
pandoc LaTeX reader skips(or treats as Div) in AST.

I have also explored the latex+raw_tex input format where I could write 
some Lua filters but this format is overkill, considering I want to add 
support for only a few commands/environments and want the default reader to 
handle the rest.

Thanks in advance,
Abhishek U.

-- 
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/0355c120-5f0c-440e-8bdf-bdf819fd1f4cn%40googlegroups.com.

[-- Attachment #1.2: Type: text/html, Size: 1625 bytes --]

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2022-07-17 14:06 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-07-17 14:06 Extend functionality of existing LaTeX reader Abhishek Ulayil

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).