public inbox archive for pandoc-discuss@googlegroups.com
 help / color / mirror / Atom feed
* Markdown in LaTeX
@ 2018-10-04 13:07 Jason Schilling
       [not found] ` <d583157b-f27d-427d-a0f8-5cfa41985456-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
  0 siblings, 1 reply; 2+ messages in thread
From: Jason Schilling @ 2018-10-04 13:07 UTC (permalink / raw)
  To: pandoc-discuss


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

Hello, I came up with an autogenerated LaTeX table that will be inserted in 
my markdown file. The issue I got here is that the markdown in the table 
cells won't be touched.

Precompiler:
    Replace CSV Import statement(@CSV{"PATH"}) with a LaTeX Table 
(https://en.wikibooks.org/wiki/LaTeX/Tables). Tabulary in this case.


Source:
# Example

@CSV{"example.csv"}

Precompiler result:
# Example

\begin{tabulary}{\textwidth}{|L|L|}
\hline
Foo & 12 \\
\hline
Example & Lorum **Ipsum** Dolor \\
\hline
\end{tabulary}

Pandoc now get the precompiler result. Pandoc doesn't touch the 
**Ipsum**... Is there any statement to say Pandoc that the Text between the 
tables should be transformed? (I have full control over the precompiler, I 
generate the table on my own)

-- 
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/d583157b-f27d-427d-a0f8-5cfa41985456%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

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

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

* Re: Markdown in LaTeX
       [not found] ` <d583157b-f27d-427d-a0f8-5cfa41985456-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
@ 2018-10-04 13:31   ` mb21
  0 siblings, 0 replies; 2+ messages in thread
From: mb21 @ 2018-10-04 13:31 UTC (permalink / raw)
  To: pandoc-discuss


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

What you mean is LaTeX in Markdown, right? Yes, 
see http://pandoc.org/MANUAL.html#generic-raw-attribute, i.e. wrap it in 
```{=latex}

You might also be interested in 
e.g. https://github.com/mb21/pandoc-placetable

cheers

On Thursday, October 4, 2018 at 3:07:03 PM UTC+2, Jason Schilling wrote:
>
> Hello, I came up with an autogenerated LaTeX table that will be inserted 
> in my markdown file. The issue I got here is that the markdown in the table 
> cells won't be touched.
>
> Precompiler:
>     Replace CSV Import statement(@CSV{"PATH"}) with a LaTeX Table (
> https://en.wikibooks.org/wiki/LaTeX/Tables). Tabulary in this case.
>
>
> Source:
> # Example
>
> @CSV{"example.csv"}
>
> Precompiler result:
> # Example
>
> \begin{tabulary}{\textwidth}{|L|L|}
> \hline
> Foo & 12 \\
> \hline
> Example & Lorum **Ipsum** Dolor \\
> \hline
> \end{tabulary}
>
> Pandoc now get the precompiler result. Pandoc doesn't touch the 
> **Ipsum**... Is there any statement to say Pandoc that the Text between the 
> tables should be transformed? (I have full control over the precompiler, I 
> generate the table on my own)
>

-- 
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/cc19e3cc-5f8c-4edc-b0f5-e5bda75e6c16%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

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

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

end of thread, other threads:[~2018-10-04 13:31 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-10-04 13:07 Markdown in LaTeX Jason Schilling
     [not found] ` <d583157b-f27d-427d-a0f8-5cfa41985456-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2018-10-04 13:31   ` mb21

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