From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/104378 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Thangalin Newsgroups: gmane.comp.tex.context Subject: Re: Typesetting Markdown Date: Sat, 25 May 2019 12:54:09 -0700 Message-ID: References: <87a7fdk8i5.fsf@atmarama.com> <874l5kpf23.fsf@atmarama.com> Reply-To: mailing list for ConTeXt users Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============3889087602350350620==" Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="41540"; mail-complaints-to="usenet@blaine.gmane.org" To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Sat May 25 21:55:02 2019 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from zapf.boekplan.nl ([5.39.185.232] helo=zapf.ntg.nl) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1hUcku-000Acy-Pf for gctc-ntg-context-518@m.gmane.org; Sat, 25 May 2019 21:55:00 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 7E5AE13DD70; Sat, 25 May 2019 21:54:25 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at zapf.boekplan.nl Original-Received: from zapf.ntg.nl ([127.0.0.1]) by localhost (zapf.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id jhzejUSJyn1t; Sat, 25 May 2019 21:54:24 +0200 (CEST) Original-Received: from zapf.ntg.nl (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id A53F413DDB7; Sat, 25 May 2019 21:54:24 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 8621C13DD70 for ; Sat, 25 May 2019 21:54:23 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at zapf.boekplan.nl Original-Received: from zapf.ntg.nl ([127.0.0.1]) by localhost (zapf.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id oymMmIlfgDga for ; Sat, 25 May 2019 21:54:22 +0200 (CEST) Original-Received: from mail-oi1-f176.google.com (mail-oi1-f176.google.com [209.85.167.176]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by zapf.ntg.nl (Postfix) with ESMTPS id 6BBEF13DDB3 for ; Sat, 25 May 2019 21:54:22 +0200 (CEST) Original-Received: by mail-oi1-f176.google.com with SMTP id w144so9382418oie.12 for ; Sat, 25 May 2019 12:54:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=fkxjfvYsdgzqbP8X0an4WWxibTow4ncJmqzcpCokebY=; b=pC45HbBgsyvGv6t5+IHzAWW+Ekk98TF7lu4wqZfBVYoZ2oqVdXGAicjg++rlVznJwj tSY/e0zDb3GCl8hkpqNE7ue1nT+PurWkn8ox2IW51zJ+ZWOlammBdDGs9TT7X3MKOK1v uu2neZqwG1jR2dF+hTSxSgjpoXtMbbUXRrIOYmEiACTaOZmpQ3SZK49WYo6y0vva5vIu 5VWjKPn8VbBQ5PWJNccCyQZafp8iLPRF8jabJzOT426EJcISKnoNUiIBG+gZoJWHTgOV UH6B1qa06CckyRS7EefX6eXj+SuTiRKbanhLxKu12k4GZKBY2wy3K3s9/ZHpAXn/zlUI 2TpQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=fkxjfvYsdgzqbP8X0an4WWxibTow4ncJmqzcpCokebY=; b=WmPj4Mu3cBSp/Z8Nf5tc2/PD6avDYbWjDtA7gpmhvzOLsaGmmpz3Tkf96rPsfMUMfr ZahyPGj3y4NexqtgOZflnXSVCL2QbBZBk4iHdRfMKVip3FuV7VirvxgAt1HQkrx0RthB uR0RTb26xR3I9WX8Kyn9c4iGOJU7R8d+nfk6jHtIRFnQEd58URRunPLaPa00E1WQgXhJ X8WEF+QkJXxq3RhvxicAtevdnBiA/VSIr8n3NjeXalL4ppuJtbLuVC/PQU4RTE4rYRcX oiZCLPcuPB2s/uFDRZN853UtqVWmEvLSl7r8XPzgN4DA6ZxRIJ3w43G04pfkRsCZzBKw oLoQ== X-Gm-Message-State: APjAAAWH1yuP5dMmLpm1CvvqvJdn5xQKmQXSDlwL9EbmQ/vYsefadOX4 RI520hBInsKEHD2UueSBHbodqcHPhBpwMFkhOxvjUCAV X-Google-Smtp-Source: APXvYqyIIGMdx9F1yTujTwm7ZrXVauF8sOvNyD3pL2YOfttQO+GR77nvD+U4Ti7bsVQt27Wi1J48CGkzlgV/tLWU7BM= X-Received: by 2002:aca:af4a:: with SMTP id y71mr9809287oie.55.1558814060803; Sat, 25 May 2019 12:54:20 -0700 (PDT) In-Reply-To: <874l5kpf23.fsf@atmarama.com> X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.26 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" Xref: news.gmane.org gmane.comp.tex.context:104378 Archived-At: --===============3889087602350350620== Content-Type: multipart/alternative; boundary="0000000000005d7a590589bbae37" --0000000000005d7a590589bbae37 Content-Type: text/plain; charset="UTF-8" > For Markdown --> ConTeXt usage, math is not my primary concern, but > wonder what do you think about the Pandoc's "cons" as stated on > pandoc-xhtml site, iow: > > * Main document language information. > * Markup for language in text portions. > * Any
or elements markup. > For the document language, Pandoc provides language variables: https://pandoc.org/MANUAL.html#language-variables I haven't tried it, so I don't know if it'll handle variations on quotes or hyphenation, but that strikes me as more a presentation layer aspect than a content aspect. That is, ConTeXt (or LaTeX), given a language, is responsible for showing the correct representation; whereas, Markdown is responsible for the prose. Intermixing languages is also possible, as per the above link. Lastly, the above link also shows how to mark up div elements. I'll cover how to create inline images later in the series---it requires a little bit of Lua, depending on the complexity of the problem. See: https://pandoc.org/MANUAL.html#divs-and-spans Cheers! --0000000000005d7a590589bbae37 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

For Markdown --> ConTeXt usage, math is not my primary concern, but
wonder what do you think about the Pandoc's "cons" as stated = on
pandoc-xhtml site, iow:

* Main document language information.
* Markup for language in text portions.
* Any <div> or <span> elements markup.
For the document language, Pandoc provides language variables:<= /div>


I haven't tried it, so I don't know if it'll ha= ndle variations on quotes or hyphenation, but that strikes me as more a pre= sentation layer aspect than a content aspect. That is, ConTeXt (or LaTeX), = given a language, is responsible for showing the correct representation; wh= ereas, Markdown is responsible for the prose.

Inte= rmixing languages is also possible, as per the above link.

Lastly, the above link also shows how to mark up div elements. I&#= 39;ll cover how to create inline images later in the series---it requires a= little bit of Lua, depending on the complexity of the problem. See:
<= div>

Cheers!
--0000000000005d7a590589bbae37-- --===============3889087602350350620== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX18KSWYgeW91ciBxdWVzdGlvbiBpcyBvZiBpbnRlcmVz dCB0byBvdGhlcnMgYXMgd2VsbCwgcGxlYXNlIGFkZCBhbiBlbnRyeSB0byB0aGUgV2lraSEKCm1h aWxsaXN0IDogbnRnLWNvbnRleHRAbnRnLm5sIC8gaHR0cDovL3d3dy5udGcubmwvbWFpbG1hbi9s aXN0aW5mby9udGctY29udGV4dAp3ZWJwYWdlICA6IGh0dHA6Ly93d3cucHJhZ21hLWFkZS5ubCAv IGh0dHA6Ly9jb250ZXh0LmFhbmhldC5uZXQKYXJjaGl2ZSAgOiBodHRwczovL2JpdGJ1Y2tldC5v cmcvcGhnL2NvbnRleHQtbWlycm9yL2NvbW1pdHMvCndpa2kgICAgIDogaHR0cDovL2NvbnRleHRn YXJkZW4ubmV0Cl9fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fCg== --===============3889087602350350620==--