On Mon, 11 Nov 2013 15:48:21 +0100
Xan
I know that now:
http://johnmacfarlane.net/pandoc/demo/example9/pandocs-markdown.html
On Mon, 11 Nov 2013 15:36:51 +0100 Xan
ha escrit: Hi,
Is there any way to have a multiline cell in markdown while I run ConTeXt with t-filter module?
This:
| Activitat | Conceptes | idioma | notes | |:----------|:----------|:-------|:------| | [DM-40](http://mrmeyer.com/threeacts/buckythebadger/). Quantes flexions hauria de fer la mascota? | funció lineal? | anglès | complicat d'entendre | | [DM-33](http://mrmeyer.com/threeacts/dominoskyscraper/). Domino gratacels | funció exponencial | anglès | complicat de calcular (per tempteig). no me surt la resposta teòria de 29 | | [DM-35](http://mrmeyer.com/threeacts/shrinkingdollar/). Encollir un dòlar | funció exponencial | | |
produces me a very wide table.
Thanks in advance, Xan.
PS: Please CCme On Mon, 11 Nov 2013, Xan wrote:
Hi,
Is there any way to have a multiline cell in markdown while I run ConTeXt with t-filter module?
Can you please send a complete minimal example?
Ofcourse: prova.tex %% ConTeXt template for exercises %% ConTeXt MIV % Mòdul t-filter \usemodule[filter] \defineexternalfilter [markdown] [filtercommand={pandoc -t context -o \externalfilteroutputfile\space \externalfilterinputfile}] %% el text \starttext \title{Funcions i {\em problem-solving activities}} \processmarkdownfile{./prova.md} \stoptext and prova.md: | Activitat | Conceptes | Idioma | |:----------|:----------|:------:| | Foo | Boo | Roo <br/> Soo | | Foo2 | Boo2 | Roo2 Soo2 | The <br/> is *ignored*. For having two lines, I have to put blank columns: | Activitat | Conceptes | Idioma | |:----------|:----------|:------:| | Foo | Boo | Roo | | | | Soo | | Foo2 | Boo2 | Roo2 Soo2 | If you put a long Roo paragraph, you get a (too much) wider table. @Aditya: can you report the problem or me? I think you have more tech skill to do that. I agree with you: natural tables are more suitable for conversion. And I think that html and natural tables syntax coincidence makes this process easy. Thanks for that, Xan.
This:
| Activitat | Conceptes | idioma | notes | |:----------|:----------|:-------|:------| | [DM-40](http://mrmeyer.com/threeacts/buckythebadger/). Quantes flexions hauria de fer la mascota? | funció lineal? | anglès | complicat d'entendre | | [DM-33](http://mrmeyer.com/threeacts/dominoskyscraper/). Domino gratacels | funció exponencial | anglès | complicat de calcular (per tempteig). no me surt la resposta teòria de 29 | | [DM-35](http://mrmeyer.com/threeacts/shrinkingdollar/). Encollir un dòlar | funció exponencial | | |
produces me a very wide table.
Pandoc uses the old table mechanism for tables. I think that the best way forward is to convert a markdown table to a natural table (\bTABLE etc.). That will make it much easier to control the layout of the table. But this should be raised as a feature request on the pandoc mailing list.
Aditya