From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/28622 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: "'juh' via pandoc-discuss" Newsgroups: gmane.text.pandoc Subject: Re: Fenced Div to ConTeXt Environment (was: Markdown Fenced Div to LaTeX Environment) Date: Thu, 17 Jun 2021 08:27:00 +0200 Message-ID: <493d0aa9-47f5-ca8d-2ef5-8e63f965c529@mailbox.org> References: <8ba84992-d792-4333-aae0-560147ef79d4n@googlegroups.com> <87pn1uwglb.fsf@zeitkraut.de> <20210616143731.GA29446@sokrates> <5db56b4f1d8d4ca2bec612bcebb7a525@unibe.ch> Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8"; format=flowed Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="26604"; mail-complaints-to="usenet@ciao.gmane.io" To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-X-From: pandoc-discuss+bncBDO25H455QHRBOWWVODAMGQE7CAEAZQ-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Thu Jun 17 08:27:08 2021 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane-mx.org Original-Received: from mail-ej1-f64.google.com ([209.85.218.64]) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1ltlUZ-0006h2-TJ for gtp-pandoc-discuss@m.gmane-mx.org; Thu, 17 Jun 2021 08:27:07 +0200 Original-Received: by mail-ej1-f64.google.com with SMTP id f1-20020a1709064941b02903f6b5ef17bfsf1717494ejt.20 for ; Wed, 16 Jun 2021 23:27:07 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1623911227; cv=pass; d=google.com; s=arc-20160816; b=yhQ9Oxz4FCc6ms6IciPkoaazyGZH0JkFp/KRpXgQ1jHeO7OMFDJ/ZgMA6OKFC+PlR8 5sXp7woMfMJKHHwsIiLFCJYgxolP4eafiSaj/GYrId0NZpw8t9kyy5iKBai9PmDCbcCZ S1NgWtxq+61aGKNUYFOuBsmjQULfkpNrlazRQEyv0+sJ1XQh1oxYo9pPOGan1v7kofdP Pz+3VkNg64FkajMAM1h6vtunzULSuQaX7NHzPW1n88CFaOBA8nNDIp9vY/debE2iYCo4 uNYXOwmr/15KMb6kjYn0JvqPo7RFbkpzhRLvybHM4dBjRx+TwDTUn/CTYOAL8V++QWyy hHCg== 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:content-language :in-reply-to:mime-version:date:message-id:subject:from:references:to :dkim-signature; bh=63T6pZAF8blJrjtX2QUWWm6qHWGWajNMjvUZHKf+OlE=; b=PgtQmhG3VcQ0jL60EoETHsjXG68ki9NdyusOWMUt3wUfJKzEOe7uW+Pqp+Xo/Hy0ee zJZAba7oWU8QXd1xiazx7frDEt3LPxqXKq1glOtscSZifkmSR6JSN6SSHxU8bKD5d7t0 +oMfE8qHWZfU1nyV1URnyQQhtsadNTriic9dFhbgxRo3Z68a2P2L21X7EjU9au9w620m dxiqiHn6tl9NF44EaBFL8j55oGsELCRDiYfNQ38ZTx8Tof39ciNStmpUmE7JixD1B26B IR+Z/pZk9TlvoAutynqMsf6GXv3WCC8Zz3xej0Peb/eH6xELePr08fueNfIf7arM2+sD EPDA== ARC-Authentication-Results: i=2; gmr-mx.google.com; dkim=pass header.i=@mailbox.org header.s=mail20150812 header.b=GHtNX5L8; dkim=pass header.i=@mailbox.org header.s=mail20150812 header.b="C1/xdua0"; spf=pass (google.com: domain of juh-cl+VPiYnx/1AfugRpC6u6w@public.gmane.org designates 2001:67c:2050::465:201 as permitted sender) smtp.mailfrom=juh-cl+VPiYnx/1AfugRpC6u6w@public.gmane.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=mailbox.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20161025; h=to:references:from:subject:message-id:date:mime-version:in-reply-to :content-language: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=63T6pZAF8blJrjtX2QUWWm6qHWGWajNMjvUZHKf+OlE=; b=rDFSsEFylh6erKSUQw0YEk1g7VG0OXy4YtNw1i/xZUZtRinyot28Mr+BPQA3N7Z4Po igfApBLZSGiPZfNRkYldLqwO5Gv4aUCXxJTLr4q1eCaG+YKQkRKwwsYs3N0M0m44OBcK d/6IpbwecrAktVXvjqcGd2AyviYZB6fPd9UR2r3AtchMJUPCjZxPDXEbntlx139G2O1d 4gv7I0kr569T2/sIowSs7V51X3+i6jv/YBDhSx8xciWQ+Tpd4Y/Ecfhxxa9+MctGRl02 PfwvX4JP5huOQr0fk0QVVbR5fgjg1KNOOiTB8QjQivTIjBqrGA9f1PQjOPn1Zx+mYzio V0gw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:to:references:from:subject:message-id:date :mime-version:in-reply-to:content-language: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=63T6pZAF8blJrjtX2QUWWm6qHWGWajNMjvUZHKf+OlE=; b=aEbJu0wR5OIwIxmZSUPiBMn+3258i7bf8uwfYqThE0TgGYgiQng2GU8DhyJegVs5f1 vpoxE9wGY8hdVYz4OMFzx9IRdy/B9JNoQEaokRgwJ3nBQ6HGmUI7Ny9NwPkfI/PGQBS/ kEyNPeC5GWPVeebb/3Gs0s9hvWWncP4LZ21x6JU1uoCVxOxJD2QeOV9M5tmaTAVkfsjw NF0eY5nJHXm0E7Ww1cdBbI1tHdezy3LfmMP/jYm/QNZx/7XSqmT6L2aIdipQmMwoyYno CbEkyHSd3ZzN/5asQFrYqtwBNPD0jwJKE1ZTC024HBrfZqC0apo1sHPyxN4u4+n1NFXM Gy8Q== X-Gm-Message-State: AOAM532Odc0dD7Ydvn9Y8RIzer2TYmnr9GdcuyA75nDC4yFk5WsNFXe9 yYt3JG7SY1rKQIzaNtaTELs= X-Google-Smtp-Source: ABdhPJw0apLxsLIyamCn3SZgVfzdlElkMck7M8UH5rZNIVqXFpU15vnQW/OxwkSHE6TyPmp5dIeCrQ== X-Received: by 2002:a17:906:4882:: with SMTP id v2mr3546232ejq.134.1623911227642; Wed, 16 Jun 2021 23:27:07 -0700 (PDT) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 2002:a17:906:4796:: with SMTP id cw22ls2098966ejc.3.gmail; Wed, 16 Jun 2021 23:27:05 -0700 (PDT) X-Received: by 2002:a17:906:ecb9:: with SMTP id qh25mr3508038ejb.283.1623911225417; Wed, 16 Jun 2021 23:27:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1623911225; cv=none; d=google.com; s=arc-20160816; b=nGRmb6tlJJKufrsFymCqTO4WF/op4eDi7+pxbEE7ottBGooEbSkAEczdwIddaG+Wp8 XfFbYvsgqTjBL0PJVSjUxFveOFBy5XNIRAbgNz68cQ+0B518fv87ohZ+ys/9QLapugbU BTVBMIleFXmDOj2xAchRAAQ4I6BiFSFTU81Rxp3OZ5vvfiDHVYvwNIRFp8Wyr56bnUso wQhOUtKkDUR/JCzR3HFf3o+iBlJK7nL9SHPN9mIQJzBg1FQtfAnzV/Aig1gLlk3z0V0s aB84R+/u8NMTwrTy/ThLg4QCcu8aerHL09c8DOV0HKrSj5gWz3NSkdtC0Zlwro80m8sJ wLrQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:content-language:in-reply-to:mime-version :date:message-id:subject:from:references:to:dkim-signature :dkim-signature; bh=m+hQSMGXfuTMiomo7x3tobbzMyXjTMRYDIxgsqVBMK0=; b=fzcqiYPdkhRQw0YeSVclTgABN4yyPsLWHMzJvHPlBRX7haOXBSOSqYJmBppLTS1mJT c0MAdHaIDZBlBi8/5FIQLoTWLat7jM0+1wUWEdIpXuJQM6jhIoZJ05xLF7wYpkA01wkF EWJdOOM3XbYv0ySsrMEA0W8gGqfXD2Fc/Y7EgQuMKC/M9LyFmrVU+L11C8NZ0lG1cui1 BZ9xGS7ckaK18tYtbJ2maB+EFZNki11pbHBZHzWdT+kvhFMnx7gYEGVOgYxeQ34y0dnB v+rgV1lYItzij71VzhX90IVpeiFWXrNNB67BSvGFrYCuElZkTcg2uPSgR7h2vntPkBC9 CrBA== ARC-Authentication-Results: i=1; gmr-mx.google.com; dkim=pass header.i=@mailbox.org header.s=mail20150812 header.b=GHtNX5L8; dkim=pass header.i=@mailbox.org header.s=mail20150812 header.b="C1/xdua0"; spf=pass (google.com: domain of juh-cl+VPiYnx/1AfugRpC6u6w@public.gmane.org designates 2001:67c:2050::465:201 as permitted sender) smtp.mailfrom=juh-cl+VPiYnx/1AfugRpC6u6w@public.gmane.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=mailbox.org Original-Received: from mout-p-201.mailbox.org (mout-p-201.mailbox.org. [2001:67c:2050::465:201]) by gmr-mx.google.com with ESMTPS id o12si85660edc.0.2021.06.16.23.27.05 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 16 Jun 2021 23:27:05 -0700 (PDT) Received-SPF: pass (google.com: domain of juh-cl+VPiYnx/1AfugRpC6u6w@public.gmane.org designates 2001:67c:2050::465:201 as permitted sender) client-ip=2001:67c:2050::465:201; Original-Received: from smtp2.mailbox.org (smtp2.mailbox.org [80.241.60.241]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-384) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mout-p-201.mailbox.org (Postfix) with ESMTPS id 4G5Bt10SWJzQk90 for ; Thu, 17 Jun 2021 08:27:05 +0200 (CEST) X-Virus-Scanned: amavisd-new at heinlein-support.de Original-Received: from smtp2.mailbox.org ([80.241.60.241]) by hefe.heinlein-support.de (hefe.heinlein-support.de [91.198.250.172]) (amavisd-new, port 10030) with ESMTP id WA6cUJerZibv for ; Thu, 17 Jun 2021 08:27:01 +0200 (CEST) In-Reply-To: Content-Language: en-US X-Rspamd-Score: -3.09 / 15.00 / 15.00 X-Rspamd-Queue-Id: BD45A1819 X-Rspamd-UID: da1323 X-Original-Sender: juh-cl+VPiYnx/1AfugRpC6u6w@public.gmane.org X-Original-Authentication-Results: gmr-mx.google.com; dkim=pass header.i=@mailbox.org header.s=mail20150812 header.b=GHtNX5L8; dkim=pass header.i=@mailbox.org header.s=mail20150812 header.b="C1/xdua0"; spf=pass (google.com: domain of juh-cl+VPiYnx/1AfugRpC6u6w@public.gmane.org designates 2001:67c:2050::465:201 as permitted sender) smtp.mailfrom=juh-cl+VPiYnx/1AfugRpC6u6w@public.gmane.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=mailbox.org X-Original-From: juh 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:28622 Archived-At: Thanks Bastien, Am 16.06.21 um 23:59 schrieb Bastien DUMONT: > Maybe it's only part of the solution, but backslashes should be escaped: > > return { latex('\\begin{solution}'), el.content, latex('\\end{solution}') } while this sounds familiar, it does not change the error message. I guess that I miss something fundamental with applying filters. The filter is called with --filter filter.lua. I also tried the filter cited in the original thread with the same error: https://github.com/rstudio/rmarkdown/blob/master/inst/rmarkdown/lua/latex-div.lua Any other idea how I can achieve this? \startparagraph[intro] ... \stopparagraph by using this in the md-file? ::: intro ::: ... ::: TIA juh