public inbox archive for pandoc-discuss@googlegroups.com
 help / color / mirror / Atom feed
* Converting mixed latex (lhs) + markdown to latex (lhs)
@ 2012-03-17  7:58 Alessandro Vermeulen
       [not found] ` <8e3f5907-1c7d-4ef9-ae76-8103621fa223-2dFLOe7gW+OqFmioV6QfyGB/v6IoIuQBVpNB7YpNyf8@public.gmane.org>
  0 siblings, 1 reply; 9+ messages in thread
From: Alessandro Vermeulen @ 2012-03-17  7:58 UTC (permalink / raw)
  To: pandoc-discuss

Dear all,

I'm seeking for a solution to convert blocks of markdown syntax within
a latex lhs file to another file in latex lhs but with the markdown
parts transformed to latex. E.g. a file containing the following:

```
    \documentclass{article}
    \begin{document}
    Some paragraph

    \begin{someliterallatex}
    \end{someliterallatex}

    * A markdown
    * list

    \end{document}
```

Should be converted into the following:

```
    \documentclass{article}
    \begin{document}
    Some paragraph

    \begin{someliterallatex}
    \end{someliterallatex}

    \begin{itemize}
      \item A markdown
      \item list
    \end{itemize}

    \end{document}
```

I have tried to this with vanilla pandoc with a combination of input
and output formats, but to no avail. Has someone done or tried this
before?


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

end of thread, other threads:[~2012-03-22 15:50 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-03-17  7:58 Converting mixed latex (lhs) + markdown to latex (lhs) Alessandro Vermeulen
     [not found] ` <8e3f5907-1c7d-4ef9-ae76-8103621fa223-2dFLOe7gW+OqFmioV6QfyGB/v6IoIuQBVpNB7YpNyf8@public.gmane.org>
2012-03-17 16:17   ` John MacFarlane
2012-03-19 19:47   ` Alessandro Vermeulen
2012-03-20  2:29     ` John MacFarlane
2012-03-20 11:33     ` Ivan Lazar Miljenovic
     [not found]       ` <CA+u6gbzhBsD-0GisSnHKJuwHKoqvXcNr-PWdt0SuNqG-OC_YcQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2012-03-22  8:24         ` Alessandro Vermeulen
2012-03-22  9:09           ` Tillmann Rendel
2012-03-22  9:35           ` Ivan Lazar Miljenovic
     [not found]             ` <CA+u6gbzWEvFLRFCE1rh9AtN5LygqQfe11AMBwGHv2UgOoVDSoQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2012-03-22 15:50               ` John MacFarlane

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