* Simple Lua filters for LaTeX to RST
@ 2019-08-14 22:18 Thomas Brazelton
[not found] ` <e44b1e30-cdc3-45f4-acfb-1aa7240c2c81-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
0 siblings, 1 reply; 2+ messages in thread
From: Thomas Brazelton @ 2019-08-14 22:18 UTC (permalink / raw)
To: pandoc-discuss
[-- Attachment #1.1: Type: text/plain, Size: 944 bytes --]
Hi all,
I'm just getting started with Pandoc, and I'm interested in converting big
LaTeX documents to RST.
This is working great overall, but I have custom commands and packages that
I'd like to write Lua filters to handle. For example, every time I have:
\begin{proof}
I would like to replace it with the RST code
*Proof*:
I also have things of the form
\begin{customenv}{Remark}
Which I want to replace by
**Remark**:
Would you mind helping me get started writing these Lua filters? Any help
would be highly appreciated!
--
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/e44b1e30-cdc3-45f4-acfb-1aa7240c2c81%40googlegroups.com.
[-- Attachment #1.2: Type: text/html, Size: 3552 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Simple Lua filters for LaTeX to RST
[not found] ` <e44b1e30-cdc3-45f4-acfb-1aa7240c2c81-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
@ 2019-08-16 6:11 ` Albert Krewinkel
0 siblings, 0 replies; 2+ messages in thread
From: Albert Krewinkel @ 2019-08-16 6:11 UTC (permalink / raw)
To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw
The answer to this StackOverflow might get you started:
https://stackoverflow.com/questions/56387990/
Does that help?
--
Albert Krewinkel
GPG: 8eed e3e2 e8c5 6f18 81fe e836 388d c0b2 1f63 1124
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2019-08-16 6:11 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-08-14 22:18 Simple Lua filters for LaTeX to RST Thomas Brazelton
[not found] ` <e44b1e30-cdc3-45f4-acfb-1aa7240c2c81-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2019-08-16 6:11 ` Albert Krewinkel
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).