From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/28612 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Newsgroups: gmane.text.pandoc Subject: AW: Fenced Div to ConTeXt Environment (was: Markdown Fenced Div to LaTeX Environment) Date: Wed, 16 Jun 2021 15:48:59 +0000 Message-ID: <5db56b4f1d8d4ca2bec612bcebb7a525@unibe.ch> References: <8ba84992-d792-4333-aae0-560147ef79d4n@googlegroups.com> <87pn1uwglb.fsf@zeitkraut.de> <20210616143731.GA29446@sokrates> Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="27629"; mail-complaints-to="usenet@ciao.gmane.io" To: Original-X-From: pandoc-discuss+bncBCZ27W53TUFBB3V2VCDAMGQEMIR63AA-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Wed Jun 16 17:49:06 2021 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane-mx.org Original-Received: from mail-lj1-f188.google.com ([209.85.208.188]) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1ltXmr-0006yD-9c for gtp-pandoc-discuss@m.gmane-mx.org; Wed, 16 Jun 2021 17:49:05 +0200 Original-Received: by mail-lj1-f188.google.com with SMTP id h6-20020a2e85c60000b029014fcff4ccdcsf1447867ljj.11 for ; Wed, 16 Jun 2021 08:49:05 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1623858544; cv=pass; d=google.com; s=arc-20160816; b=T4g+glEBL22rR+nVe/2qbElChuCsnS3VBPICwtikljffIH9lGleA7vtCRY75EkLzgl 6IC0xn9Ra07z6RojOQrwcYiBd4pQdIsZNGuq7FP8iO487F5Xozc2hoc6iRqayVOcMqCk NFLtcgOOI8N2MMcEf+06F150nAKQtzNGUVATLJvi6sGXeJ3MhAIB2VeKq67ahNUQW7Mg gRJaowhARwy6BFJcyfquqR4f+OmppaA41YmNolmnGk78TF8bc2c3+++onAi8186KbupO TTrmHkFB74lnIPur9y8US2exMon1CCLNdF6EQxWDp0ltRYyh1xVenmmbNnnb+FA4/TjT JspA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:reply-to:mime-version :content-transfer-encoding:content-language:accept-language :in-reply-to:references:message-id:date:thread-index:thread-topic :subject:to:from:sender:dkim-signature; bh=uBUJgCZ0dh6BKXL9rV2YV/gGgB3Dt0zKwVCC4u28V80=; b=LP7aHN8FkbQYbTIZp9FIxUBMMsizYNbYjix6o+Dxq3hMjFl/BgxNstUR+xxjwsUtmm VyzMRMeqDWXYHx0b++Wy/xiFg1hQoNYx1AsA/+TsLoL0DtnN//+eJbCaAyNWVhL/sQxZ S9i20lAq+oea9NFZIjJSvyYrRFTwELJf/7H6dBwslQyYmvu0J6X5giOB0c6jI+9BIU9d 90QAB4P8z6iFet6YmGWIujfj7ncoA1H5736sRg/KdK716YEQh68MP2ugmA/nkovoNCvd a/6gN6ytRg1ihe8fJiU0nbiGypAMHylLQQHDbLTtM3FOzf7xh1Uyh3HIY15hsXres91o SDjQ== ARC-Authentication-Results: i=2; gmr-mx.google.com; spf=pass (google.com: domain of denis.maier-NSENcxR/0n0@public.gmane.org designates 130.92.0.84 as permitted sender) smtp.mailfrom=denis.maier-NSENcxR/0n0@public.gmane.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=unibe.ch DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20161025; h=sender:from:to:subject:thread-topic:thread-index:date:message-id :references:in-reply-to:accept-language:content-language :content-transfer-encoding:mime-version:x-original-sender :x-original-authentication-results:reply-to:precedence:mailing-list :list-id:list-post:list-help:list-archive:list-subscribe :list-unsubscribe; bh=uBUJgCZ0dh6BKXL9rV2YV/gGgB3Dt0zKwVCC4u28V80=; b=fW5KCiSe9j6eywAusiAHUEipGiiTHiPuBOhoKvyRwpXiPeJp2GitAREKd86fwO/bQ4 C1uT93QMSJTajXMN4a+B+Co2OzGgIdXa5u2Heol8dAQTBJt9DlkElbPG6Vftjc6PO73H uLBaP6V2xQNa5R91NEJoatd6PuIX/D11fLZcVBymxLz7jA20h97AvK/0j7GSQcVz3ZGo u2hyeYAJVbP9POaKuWGPPrPMVkhBA+t5s65Iy6velszWplGafQ93pEq9ogjf1HLcH7K6 IuOuPeNfaDPT8UKYLj6npABTFp7OKsT7x+MhyozigUCeHgREZG X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=sender:x-gm-message-state:from:to:subject:thread-topic:thread-index :date:message-id:references:in-reply-to:accept-language :content-language:content-transfer-encoding:mime-version :x-original-sender:x-original-authentication-results:reply-to :precedence:mailing-list:list-id:x-spam-checked-in-group:list-post :list-help:list-archive:list-subscribe:list-unsubscribe; bh=uBUJgCZ0dh6BKXL9rV2YV/gGgB3Dt0zKwVCC4u28V80=; b=FYyp5sque5oVpfbsNwoGzk066RCoMe+o1thEx7GCynYsL1q5f2oxyUuEbeu6SbzXJj MYtYYXwUnhfBtP8inpmye7ShOzO9+vPdrUfU+ATKHwMRUa7IqDQOPip4SgQecdaYMzSf Sye3tvwM9zCHfba4nQFrQmYDsM1Ias5uYWiRi0XoUEvjhr+xc1ClUE4tK/PAzME4B9oI kH+BGZKK88eZPEf6dYNDCYpEkfVKuSpmOfMiPyLt5/UNMnDnKOFyB26Iqhb3qz4np1Yd 2fUBH Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: AOAM531TJJzRHpnnouHeaKzAkKW0i/M+RLiZD0FXR677vgkEgy7Profl GyrURO8msazB1CW0eOLV930= X-Google-Smtp-Source: ABdhPJzIXyazdOJujjv2M2taADRQtyMQgFkZcbrQOGkc/B5GKGcp5hWMsoE5FQYfvqqYeTEC7o1umw== X-Received: by 2002:a2e:a7d6:: with SMTP id x22mr492476ljp.18.1623858544811; Wed, 16 Jun 2021 08:49:04 -0700 (PDT) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 2002:a05:6512:3f94:: with SMTP id x20ls696507lfa.0.gmail; Wed, 16 Jun 2021 08:49:02 -0700 (PDT) X-Received: by 2002:ac2:58e3:: with SMTP id v3mr230355lfo.339.1623858541946; Wed, 16 Jun 2021 08:49:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1623858541; cv=none; d=google.com; s=arc-20160816; b=sQdrs29pX+86c4Xat34P1Op5Ym7ZlxdNHDRTI5/niGS1InIb5Vckgj7rnRLkYP3GcV 6A8JoY6bsOmBCuwzQMbRJRMUuQ+iwq1yvdYO2dNLBfhBcNTTCMq+349zTl0Fc9Kje8MA qRHkf8bgwLcThLDSVtVJ4zFeup0eO6k4YaXfJYEO41aFUWkzJUtnla3WX9le/jpShnti XRDAv08whIu2lktwP691t3InPEmbdkwrl4d6DNhiahzPoZSHckxpr81/SXR4l2H41zI+ BsFjqyh1AwV7+Y/5Pb1rhSlGBaVugdoaC0zjfonWSGqrsdJ/fATwO4dwRD2822bIvRrB LyPA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=mime-version:content-transfer-encoding:content-language :accept-language:in-reply-to:references:message-id:date:thread-index :thread-topic:subject:to:from; bh=M/MiqPuon7LFc9WMM4In1Sh85z94djLaY/V8vgPHXOc=; b=EUFZeEjXHDKx6fqg/qu4YFw+9tqMb2u8fw4i+kDolxCO1WdcoSl5x2gxm/AH3Waxqe scZE1C/vjgGJzEhMzez2HMpX4NbYbNsiLVx9idFqRMHOdrVWGulnUaTZ3SI5pY9ukA3n h9uFynpP8ulYtwDuiM12zZVHous+VRJ9eUfFpWXyQLW3v6iu7UM1RL1qBF3Rpcp0YkDA +7LzVy7AhXbrDNI5t9GhBmBkqp+YoDP7yEf9zFBuaivByWTl0Pyb8OYyKniTjDr8ppLy tvE4gP611GG69y8wmGieGPHFxEhpeCKUEj/oNzNpXklU7tj8GXRV7l2aw3UKVtITOfsG mLJw== ARC-Authentication-Results: i=1; gmr-mx.google.com; spf=pass (google.com: domain of denis.maier-NSENcxR/0n0@public.gmane.org designates 130.92.0.84 as permitted sender) smtp.mailfrom=denis.maier-NSENcxR/0n0@public.gmane.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=unibe.ch Original-Received: from mailhub-lb3.unibe.ch (mailhub-lb3.unibe.ch. [130.92.0.84]) by gmr-mx.google.com with ESMTPS id a21si109946lfl.10.2021.06.16.08.49.01 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 16 Jun 2021 08:49:01 -0700 (PDT) Received-SPF: pass (google.com: domain of denis.maier-NSENcxR/0n0@public.gmane.org designates 130.92.0.84 as permitted sender) client-ip=130.92.0.84; X-Virus-Scanned: By University of Bern - MGW Original-Received: from mail.campus.unibe.ch (aai-edge-03.campus.unibe.ch [130.92.13.18]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mailhub-lb3.unibe.ch (Postfix) with ESMTPS id 842D35000AA for ; Wed, 16 Jun 2021 17:49:00 +0200 (CEST) Thread-Topic: Fenced Div to ConTeXt Environment (was: Markdown Fenced Div to LaTeX Environment) Thread-Index: AQHXYr0sGMc1dR8TLUq6O7E+1ZxI1asWyMKA In-Reply-To: <20210616143731.GA29446@sokrates> Accept-Language: de-CH, en-US Content-Language: de-DE x-originating-ip: [172.18.72.2] X-Original-Sender: denis.maier-NSENcxR/0n0@public.gmane.org X-Original-Authentication-Results: gmr-mx.google.com; spf=pass (google.com: domain of denis.maier-NSENcxR/0n0@public.gmane.org designates 130.92.0.84 as permitted sender) smtp.mailfrom=denis.maier-NSENcxR/0n0@public.gmane.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=unibe.ch Precedence: list Mailing-list: list pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org; contact pandoc-discuss+owners-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org List-ID: X-Google-Group-Id: 1007024079513 List-Post: , List-Help: , List-Archive: , List-Unsubscribe: , Xref: news.gmane.io gmane.text.pandoc:28612 Archived-At: Hmm, I cannot even run the latex example. So maybe it has nothing to do wit= h latex vs context. Denis > -----Urspr=C3=BCngliche Nachricht----- > Von: 'juh' via pandoc-discuss > Gesendet: Mittwoch, 16. Juni 2021 16:38 > An: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org > Betreff: Fenced Div to ConTeXt Environment (was: Markdown Fenced Div to > LaTeX Environment) >=20 > Hi Albert, > hi John, > hi all, >=20 > sorry for hijacking the thread. >=20 > I want to insert special context markup like >=20 > \startparagraph[intro] > ... > \stopparagraph >=20 > via >=20 > ::: intro ::: > ... > ::: >=20 > The solution for latex was this: >=20 > Am Sun, Jan 24, 2021 at 03:32:32PM +0100 schrieb Albert Krewinkel: > > Hi, > > > > you'll need a Lua filter for this, which is what R Markdown, and > > thereby Bookdown, is using as well: > > > > > https://github.com/rstudio/rmarkdown/blob/master/inst/rmarkdown/lua/la > > tex-div.lua >=20 > There also was a short snippet from John MacFarlane: >=20 > function latex(s) > return pandoc.RawBlock('latex', s) > end >=20 > function Div(el) > if el.classes[1] =3D=3D 'solution' then > return { latex('\begin{solution}'), el.content, latex('\end{solution}= ') } > end > end >=20 >=20 > How can I achieve this with context output. Simply changing the string "l= atex" > to "context" results in this error. >=20 > Error running filter filter.lua: > ./filter.lua: createProcess: runInteractiveProcess: exec: invalid argumen= t > (Exec format error) > make: *** [Makefile:36: pdf] Fehler 83 >=20 > TIA > Jan Ulrich Hasecke >=20 > -- > You received this message because you are subscribed to the Google Groups > "pandoc-discuss" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > To view this discussion on the web visit > https://groups.google.com/d/msgid/pandoc- > discuss/20210616143731.GA29446%40sokrates. --=20 You received this message because you are subscribed to the Google Groups "= pandoc-discuss" group. To unsubscribe from this group and stop receiving emails from it, send an e= mail to pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To view this discussion on the web visit https://groups.google.com/d/msgid/= pandoc-discuss/5db56b4f1d8d4ca2bec612bcebb7a525%40unibe.ch.