From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/85203 Path: news.gmane.org!not-for-mail From: Xan Newsgroups: gmane.comp.tex.context Subject: Re: New line in cell in Markdown processing? (module t-filter) Date: Mon, 11 Nov 2013 22:41:32 +0100 Message-ID: <20131111224132.ba14241ff2096d9fdf5c7621@telefonica.net> References: <20131111153651.9ae5d874f8c8a8ec570e4a0b@telefonica.net> <20131111154821.0990bc6efebc6b74c348e469@telefonica.net> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1384206590 12717 80.91.229.3 (11 Nov 2013 21:49:50 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 11 Nov 2013 21:49:50 +0000 (UTC) Cc: mailing list for ConTeXt users To: Xan Original-X-From: ntg-context-bounces@ntg.nl Mon Nov 11 22:49:56 2013 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([5.39.185.229]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1VfzMq-0003zM-7N for gctc-ntg-context-518@m.gmane.org; Mon, 11 Nov 2013 22:49:56 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 993C310223; Mon, 11 Nov 2013 22:49:55 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id wC482-YB5PXM; Mon, 11 Nov 2013 22:49:52 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id 017B410211; Mon, 11 Nov 2013 22:49:52 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 3E9F210211 for ; Mon, 11 Nov 2013 22:49:50 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id wKjU3-sWRewS for ; Mon, 11 Nov 2013 22:49:47 +0100 (CET) Original-Received: from filter2-ams.mf.surf.net (filter2-ams.mf.surf.net [192.87.102.70]) by balder.ntg.nl (Postfix) with ESMTP id 9E4A31020B for ; Mon, 11 Nov 2013 22:49:47 +0100 (CET) Original-Received: from smtp.movistar.es (smtp09.acens.net [86.109.99.133]) by filter2-ams.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id rABLnjSp028656 for ; Mon, 11 Nov 2013 22:49:46 +0100 X-CTCH-RefID: str=0001.0A0B020A.528150F9.0050, ss=1, re=0.100, recu=0.000, reip=0.000, cl=1, cld=1, fgs=0 X-CTCH-Spam: Unknown Original-Received: from rulot (79.154.190.187) by smtp.movistar.es (8.6.117.02) (authenticated as dxpublica) id 527E8AD600121626; Mon, 11 Nov 2013 21:49:45 +0000 In-Reply-To: <20131111154821.0990bc6efebc6b74c348e469@telefonica.net> X-Mailer: Sylpheed 3.3.0 (GTK+ 2.24.22; i686-pc-linux-gnu) X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=86.109.99.133; country=ES; latitude=40.0000; longitude=-4.0000; http://maps.google.com/maps?q=40.0000,-4.0000&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 0QKMlNKob - f9dada2e41e4 - 20131111 (trained as not-spam) X-Scanned-By: CanIt (www . roaringpenguin . com) on 192.87.102.70 X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.14 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: ntg-context-bounces@ntg.nl Original-Sender: ntg-context-bounces@ntg.nl Xref: news.gmane.org gmane.comp.tex.context:85203 Archived-At: On Mon, 11 Nov 2013 15:48:21 +0100 Xan ha escrit: > 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 ConTe= Xt with t-filter module? > > = > > This: > > = > > | Activitat | Conceptes | idioma | notes | > > |:----------|:----------|:-------|:------| > > | [DM-40](http://mrmeyer.com/threeacts/buckythebadger/). Quantes flexio= ns hauria de fer la mascota? | funci=F3 lineal? | angl=E8s | complicat d'en= tendre | > > | [DM-33](http://mrmeyer.com/threeacts/dominoskyscraper/). Domino grata= cels | funci=F3 exponencial | angl=E8s | complicat de calcular (per temptei= g). no me surt la resposta te=F2ria de 29 | > > | [DM-35](http://mrmeyer.com/threeacts/shrinkingdollar/). Encollir un d= =F2lar | funci=F3 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 ConTe= Xt with t-filter module? > = > Can you please send a complete minimal example? Ofcourse: prova.tex %% ConTeXt template for exercises %% ConTeXt MIV % M=F2dul t-filter \usemodule[filter] \defineexternalfilter [markdown] [filtercommand=3D{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
Soo | | Foo2 | Boo2 | Roo2 Soo2 | The
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 convers= ion. 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 flexio= ns hauria de fer la mascota? | funci=F3 lineal? | angl=E8s | complicat d'en= tendre | > > | [DM-33](http://mrmeyer.com/threeacts/dominoskyscraper/). Domino grata= cels | funci=F3 exponencial | angl=E8s | complicat de calcular (per temptei= g). no me surt la resposta te=F2ria de 29 | > > | [DM-35](http://mrmeyer.com/threeacts/shrinkingdollar/). Encollir un d= =F2lar | funci=F3 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 thi= s = > should be raised as a feature request on the pandoc mailing list. > = > Aditya ___________________________________________________________________________= ________ If your question is of interest to others as well, please add an entry to t= he Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-cont= ext webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________= ________