public inbox archive for pandoc-discuss@googlegroups.com
 help / color / mirror / Atom feed
* Convert \index{true@`true`} to \index{true@\texttt{true}} ?
@ 2019-03-19 16:31 Axel Rauschmayer
       [not found] ` <2d229904-88ac-452d-90da-d27d54528779-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
  0 siblings, 1 reply; 10+ messages in thread
From: Axel Rauschmayer @ 2019-03-19 16:31 UTC (permalink / raw)
  To: pandoc-discuss


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

What is the best way to convert \index{true@`true`} to 
\index{true@\texttt{true}} via a filter?

   - I can parse what comes after @ into an AST via read(), but I don’t 
   know how to do either of the following two things:
      - wrap raw LaTeX around the AST (not possible, AFAICT)
      - convert the AST to a string with raw LaTeX (to be wrapped in 
      \index{true@···})
   

-- 
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 post to this group, send email to pandoc-discuss-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/2d229904-88ac-452d-90da-d27d54528779%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

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

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2019-04-09 18:02 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-03-19 16:31 Convert \index{true@`true`} to \index{true@\texttt{true}} ? Axel Rauschmayer
     [not found] ` <2d229904-88ac-452d-90da-d27d54528779-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2019-03-20 14:15   ` BP Jonsson
     [not found]     ` <2e883e9d-f7c8-f7b7-952d-41945ef038aa-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2019-03-20 16:37       ` Axel Rauschmayer
     [not found]         ` <2ac8ec4b-51f8-4121-89a5-06ebc6090ffa-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2019-03-20 17:37           ` BPJ
     [not found]             ` <CADAJKhAG5w8dCPSNbSTrNf4ZgUFk_EG1ri5R2UNHzCxDfZMvXA-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2019-03-21 12:55               ` Axel Rauschmayer
2019-03-21 17:22               ` John MacFarlane
     [not found]                 ` <yh480kh8bw6t3b.fsf-pgq/RBwaQ+zq8tPRBa0AtqxOck334EZe@public.gmane.org>
2019-04-04 13:31                   ` Axel Rauschmayer
     [not found]                     ` <4c44b992-efd3-4a3c-8f25-eb21212af0a1-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2019-04-05  6:55                       ` BPJ
     [not found]                         ` <CADAJKhAkq_SYCvz94+Rq8HSA30kUywKE+koc4f6Rq2Xk785L_A-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2019-04-08 11:39                           ` Axel Rauschmayer
     [not found]                             ` <03de54da-e7f9-459d-a579-b4fed3964ee4-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2019-04-09 18:02                               ` BPJ

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