From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/70213 Path: news.gmane.org!not-for-mail From: Wolfgang Schuster Newsgroups: gmane.comp.tex.context Subject: Re: markdown Date: Thu, 21 Jul 2011 21:31:27 +0200 Message-ID: References: <4E258F19.1050301@wxs.nl> <20110719170848.GB4758@khaled-laptop> <4E25BB81.3050607@wxs.nl> <91CAD91A-6D77-4B8F-A9B2-E554A9194975@googlemail.com> <4E26C917.2040903@wxs.nl> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (Apple Message framework v1244.3) Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1311276714 30335 80.91.229.12 (21 Jul 2011 19:31:54 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 21 Jul 2011 19:31:54 +0000 (UTC) Cc: mailing list for ConTeXt users To: Hans Hagen Original-X-From: ntg-context-bounces@ntg.nl Thu Jul 21 21:31:49 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 1QjyyL-0007T1-JW for gctc-ntg-context-518@m.gmane.org; Thu, 21 Jul 2011 21:31:49 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id BA268CAE60; Thu, 21 Jul 2011 21:31:48 +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 13sVD08KbQrZ; Thu, 21 Jul 2011 21:31:46 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 23B45CAE55; Thu, 21 Jul 2011 21:31:46 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 2D639CAE55 for ; Thu, 21 Jul 2011 21:31:44 +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 Iq1CKn5+FI6E for ; Thu, 21 Jul 2011 21:31:33 +0200 (CEST) Original-Received: from filter2-til.mf.surf.net (filter2-til.mf.surf.net [194.171.167.218]) by balder.ntg.nl (Postfix) with ESMTP id 21BFBCAE4E for ; Thu, 21 Jul 2011 21:31:33 +0200 (CEST) Original-Received: from mail-fx0-f42.google.com (mail-fx0-f42.google.com [209.85.161.42]) by filter2-til.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id p6LJVWnF024046 for ; Thu, 21 Jul 2011 21:31:32 +0200 Original-Received: by fxe23 with SMTP id 23so3604978fxe.15 for ; Thu, 21 Jul 2011 12:31:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=subject:mime-version:content-type:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to:x-mailer; bh=ci4U1RhJqvazohXofiDVoewshF/j2oiKAy/OqYsowEo=; b=FUDGxqUiwOXLRkmXyQW8bKfENvYPdDf6U6C4GEt0G/r+iSJwJlmTYpABBAkbF0Szv4 hm7f01LpNbLDNmydxZg++nC5uIwrOg1ufrCNr9q+ji+qcnf5i8Sx2d77c31evEncN6iM X+oMM/0VaU00x3LFM21MKH/zJ5XRpsN5OjRWE= Original-Received: by 10.223.143.67 with SMTP id t3mr752567fau.105.1311276691856; Thu, 21 Jul 2011 12:31:31 -0700 (PDT) Original-Received: from [192.168.2.31] (p5B0EFE91.dip.t-dialin.net [91.14.254.145]) by mx.google.com with ESMTPS id w15sm1591150faj.23.2011.07.21.12.31.29 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 21 Jul 2011 12:31:30 -0700 (PDT) In-Reply-To: <4E26C917.2040903@wxs.nl> X-Mailer: Apple Mail (2.1244.3) X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=209.85.161.42; country=US; region=CA; city=Mountain View; postalcode=94043; latitude=37.4192; longitude=-122.0574; metrocode=807; areacode=650; http://maps.google.com/maps?q=37.4192,-122.0574&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 0bFaHvwjA - fcc44d248aee - 20110721 X-Scanned-By: CanIt (www . roaringpenguin . com) on 194.171.167.218 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:70213 Archived-At: Am 20.07.2011 um 14:24 schrieb Hans Hagen: > On 19-7-2011 7:25, Wolfgang Schuster wrote: > >> Can you then also add a few features: >> >> - Headings use \startstructurelevel >> - Paragraphs are enclosed in startparagraph/stopparagraph >> - emphasis and bold styles use \definehiglight command >> >> to make it possible to change the layout of markdown documents >> where ConTeXt is only used to produce a PDF. > > I uploaded a beta with a markdown module. Not being a user myself I leave it to others to provide documentation and examples. > > \starttext > \startmarkdown > % some examples needed > \stopmarkdown > \stoptext m-markdown.mkiv \definedelimitedtext [markdownblockquote] - [markdownquotation] + [quotation] % blockquote How about a parameter to change the output of the rule: %\unexpanded\def\markdownrule % {\hairline\par} \unexpanded\def\markdownrule {\markdownparameter\c!rule} Wolfgang ___________________________________________________________________________________ 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 ___________________________________________________________________________________