From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/70338 Path: news.gmane.org!not-for-mail From: Aditya Mahajan Newsgroups: gmane.comp.tex.context Subject: Re: Processing markdown Date: Fri, 29 Jul 2011 22:59:04 -0400 (EDT) Message-ID: References: <003c01cc4956$c1e18820$45a49860$@gmx.de> <64AF744D-BEA6-420C-B5CF-8A62A45499F1@googlemail.com> <4E331A39.7040600@wxs.nl> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: MULTIPART/MIXED; BOUNDARY="8323328-1285704774-1311994746=:18663" X-Trace: dough.gmane.org 1311994708 10180 80.91.229.12 (30 Jul 2011 02:58:28 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sat, 30 Jul 2011 02:58:28 +0000 (UTC) Cc: mailing list for ConTeXt users To: Hans Hagen Original-X-From: ntg-context-bounces@ntg.nl Sat Jul 30 04:58:19 2011 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([195.12.62.10]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Qmzko-000134-GG for gctc-ntg-context-518@m.gmane.org; Sat, 30 Jul 2011 04:58:18 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id B93CFCAE9D; Sat, 30 Jul 2011 04:58:16 +0200 (CEST) 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 cJeb6YeIVOaj; Sat, 30 Jul 2011 04:58:13 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 4E77FCAE9A; Sat, 30 Jul 2011 04:58:13 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 39A7FCAE9A for ; Sat, 30 Jul 2011 04:58:11 +0200 (CEST) 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 18n1jqO5uMuO for ; Sat, 30 Jul 2011 04:57:58 +0200 (CEST) Original-Received: from filter5-til.mf.surf.net (filter5-til.mf.surf.net [194.171.167.221]) by balder.ntg.nl (Postfix) with ESMTP id 72BBBCAE56 for ; Sat, 30 Jul 2011 04:57:58 +0200 (CEST) Original-Received: from hackers.mr.itd.umich.edu (smtp.mail.umich.edu [141.211.14.81]) by filter5-til.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id p6U2vs76018779 for ; Sat, 30 Jul 2011 04:57:57 +0200 Original-Received: FROM adi-netbook (bas3-montreal02-1096679828.dsl.bell.ca [65.94.1.148]) By hackers.mr.itd.umich.edu ID 4E33732F.3EA62.12908 ; Authuser adityam; 29 Jul 2011 22:57:51 EDT In-Reply-To: <4E331A39.7040600@wxs.nl> User-Agent: Alpine 2.02 (LNX 1266 2009-07-14) X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=141.211.14.81; country=US; region=MI; city=Ann Arbor; postalcode=48109; latitude=42.2923; longitude=-83.7145; metrocode=505; areacode=734; http://maps.google.com/maps?q=42.2923,-83.7145&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 0xFe2VTEs - dd941fbe1cb0 - 20110730 X-Scanned-By: CanIt (www . roaringpenguin . com) on 194.171.167.221 X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.12 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: ntg-context-bounces@ntg.nl Errors-To: ntg-context-bounces@ntg.nl Xref: news.gmane.org gmane.comp.tex.context:70338 Archived-At: This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. --8323328-1285704774-1311994746=:18663 Content-Type: TEXT/PLAIN; charset=windows-1252; format=flowed Content-Transfer-Encoding: QUOTED-PRINTABLE On Fri, 29 Jul 2011, Hans Hagen wrote: > On 29-7-2011 8:08, Aditya Mahajan wrote: >> On Thu, 28 Jul 2011, Wolfgang Schuster wrote: >>=20 >>>=20 >>> Am 28.07.2011 um 00:21 schrieb Aditya Mahajan: >>>=20 >>>> @Hans: do you think that it is a good idea to include something like >>>> this in the m-markdown module so that a user could say >>>>=20 >>>> context --usemodule=3Dmarkdown --mode=3Dprocess file.markdown >>>>=20 >>>> and get a pdf output. >>>=20 >>> It=92s already there: >>>=20 >>> context --extra=3Dmarkdown file.markdown >>=20 >> Does not work. `context --extra=3Dmarkdown filename` just gives a list o= f >> available extras (including markdown), but the file is not processed. > > Is there a mtx-context-markdown.tex file on your system? Yes. But I needed to run mtxrun --generate (my update scripts were not=20 running this). After that everything works fine. If I compile a file called 1.md, the output file is called=20 context-extra.pdf. I think it will be better if the default output is=20 .pdf. > In due time we can extend the parser (given that I know the specs). Btw, = the=20 > more extensions you have, the more one can consider other approached (con= text=20 > with export or just xml). Agreed. Personally, I have now moved from markdown to TeX markup for big=20 projects (although I have thoroughly tested the xml export). Aditya --8323328-1285704774-1311994746=:18663 Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________ --8323328-1285704774-1311994746=:18663--