From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/29652 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: BPJ Newsgroups: gmane.text.pandoc Subject: Re: AW: Raw blocks and markdown content Date: Wed, 1 Dec 2021 09:24:08 +0100 Message-ID: References: Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="0000000000003bd86d05d2116648" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="18618"; mail-complaints-to="usenet@ciao.gmane.io" Cc: John MacFarlane To: pandoc-discuss Original-X-From: pandoc-discuss+bncBCWMVYEK54FRBMHCTSGQMGQESIHLBTI-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Wed Dec 01 09:24:19 2021 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane-mx.org Original-Received: from mail-lj1-f186.google.com ([209.85.208.186]) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1msKuZ-0004gX-5V for gtp-pandoc-discuss@m.gmane-mx.org; Wed, 01 Dec 2021 09:24:19 +0100 Original-Received: by mail-lj1-f186.google.com with SMTP id q13-20020a2e750d000000b00218c953d0b8sf8452584ljc.21 for ; Wed, 01 Dec 2021 00:24:19 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1638347058; cv=pass; d=google.com; s=arc-20160816; b=EnQm0SeIiMnv2iyFABSwg/gb5TyVrq3Kkyq2bw3lF58MIh8aPLrSlwQW6ZoOVdpxu7 G5pEIWZ344vithBH4zvKNc4tE07CDDJfOreawPgoIiMCekYNMdGmcFy0YNqpFMS497db 3aclBiUVq31ii4J/dB69JAIFuD1hoFgl+/gXrP1WB3dk0LEcuuTXrenaBJ3Ur700LdzX oQnj9U8X4vmCrSYiWfRpFiTob1XpqKeB5QrSHppbFKqeMVu60LCzVNYwSd8qpVDw6eOA t8S/zvJGI1JDljqq5y/zFSXYiEZTQ/Pb9dcSDUrqQFbeHnk2xVE9c+3eXYOahZi+ejFZ AcuQ== 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:cc:to:subject:message-id:date:from :reply-to:in-reply-to:references:mime-version:sender:dkim-signature; bh=kGtGvVF/jN7MWnUZ9HoYT8OGRiv7oHP5GODht18ga6g=; b=CN0dCc5Mqsp0J+LTrcy0BVfaUJfcub204Gj9cAfPFgTMRoeY7QgIHLnq/RMRu0i/gg xWGJiEbW6ug54w45OfnR+IseAhWf0Ahk0TijG7jfJSOMXSPyE0v0DEE7/sEvxP6VxPW2 lDcY08tQuj1RYwFTebM6t6OeC9rY3JKzynzY6glTY+VSTGPEEsshEWQJ9XPHa/3jwTux DL+B1ziYJBzyC/S+YAmiJKXLq0h0v/jM2i/61CyP0oBRtRSsuAWWU9rfNWk3JVnCZar/ Vtiy330R9zN0jkwvbvPiRh6tzG2gfB1BZXe/SE0gi9YVNqlMD3j1ZV+NHS063eKJBqBK DU6g== ARC-Authentication-Results: i=2; gmr-mx.google.com; spf=pass (google.com: domain of melroch-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org designates 209.85.208.169 as permitted sender) smtp.mailfrom=melroch-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20210112; h=sender:mime-version:references:in-reply-to:reply-to:from:date :message-id:subject:to:cc:x-original-sender :x-original-authentication-results:precedence:mailing-list:list-id :list-post:list-help:list-archive:list-subscribe:list-unsubscribe; bh=kGtGvVF/jN7MWnUZ9HoYT8OGRiv7oHP5GODht18ga6g=; b=CrYWaGMicPDJM7hM5D40zHC8DxArcImqZRE76H8c9s457lSs73BK4TLmNfIAsQ7o8V 1dqNreq9FhHYt+Ppm12LsptN1IVFOz5DwCMHctMyaEWIhuuyWkHXvdDybnzACFH/b4zP kyHejnuw7lQPPia77LLCvGd+pmXqUwSvAf/UchQIggFsw/QKWWN0/L0vRkjeEtZY82Gm 0Xqlxk287eE/jSlnaK/mz7cTErckNyvCX8D/ij3PXiFJrJM81AXPpYkAXJu6EcJie5lc EzCSGj9cVquiM9Qc8tE2MxKJ5SIP07ekHx6xEWu8HLMQltHYeQRfeMDglIuLDYG2eoJk S6YQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=sender:x-gm-message-state:mime-version:references:in-reply-to :reply-to:from:date:message-id:subject:to:cc:x-original-sender :x-original-authentication-results:precedence:mailing-list:list-id :x-spam-checked-in-group:list-post:list-help:list-archive :list-subscribe:list-unsubscribe; bh=kGtGvVF/jN7MWnUZ9HoYT8OGRiv7oHP5GODht18ga6g=; b=yE3R/GhBqh3XjkHiPwwHoyWT8a5CSWHM5pESKWvB7WzNdu5neIDjzatLcVCipWEac5 tnYb/0Zt6y2WAAbEb8tZ7XrnsVrr+mNZ7ExbWeLGDKfS/vNlfmbA2ctUcpb4VevNyWwE zfMgFWWwSdouOk3RvKOZZ2WkH5EJHrHJfatI9L0nfWTS5gJIgW6uNVuyu86VjhoDie7Z RPAkng6AjNf6NyD5WB7WESfYe/Y0QaoCxPaP0py4hqTA1LJeWSy6S1K2cmr8D/KceNhB hQasGFrNqLaSCfySdTDHzSTTDdY2zGakWxwaChrQHV3ERf0MU2QnLYyr0oK1aUTCJxZS tMBQ== Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: AOAM533id1P8NvhJc4YqK9QR2DRJgJ/OiJ4gLp8kYlqEyNyUFNqlbqAv Kg33miDx8JNJLereyESJNlU= X-Google-Smtp-Source: ABdhPJxCyi2ZXDBjzFgdaO0Y7bFLRxevHqFSurNjuAuAZqrBzyQWcRUnwI+mahh5mLJjme3STS5FFg== X-Received: by 2002:a05:6512:2292:: with SMTP id f18mr4496195lfu.18.1638347058137; Wed, 01 Dec 2021 00:24:18 -0800 (PST) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 2002:a2e:898c:: with SMTP id c12ls219976lji.11.gmail; Wed, 01 Dec 2021 00:24:15 -0800 (PST) X-Received: by 2002:a05:651c:111:: with SMTP id a17mr4445654ljb.456.1638347055461; Wed, 01 Dec 2021 00:24:15 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1638347055; cv=none; d=google.com; s=arc-20160816; b=G6ZB+UPIrmGQgtt6eeKvOv90Vf1guGB8rvd4LCJkhFn8iteZlFMJIPzKIG2HyZnicO dkS3m0RHzBZbMElI9b08l0DKOs5mz+EFSQnKDcfyb3MBfJRRtQ5Wxvd9aZpFI0y44HOg 9lAPiENvrn3MmkAITmfa0vl4dJbpwzdRvgFXr7TwDUPZe9ODksb4VOOYfUwmTwrRDZeT Iq/HnOYHLaZM5qoMZeF8wdK41jdifENvnB+ZoeaXajBiVnn9YgG1yjZYg3MPDSgxoaNh w0bIZAsoIaAwva9EmlSHgPJE71vbx7ZMaK47YMkLb45xhISwqK0h5aKTnbRqscAhqgli slHA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=cc:to:subject:message-id:date:from:reply-to:in-reply-to:references :mime-version; bh=yDM3uqgLoAe6xOaoyEun/zF8igXtuh/RbY6Cd6DAWJg=; b=ZQBYsmp3tve8CmH4QfP466wiOLqnR8yXoUiznkUinU6IOXYCK23HBQjbZxoWfjNlvo nTWiI3s6PuJNk+pLHxI75vdhfa6NuPHcNq/3xvBgeZVY1liU7gd8PzgS3Sa/4633Eny7 YuHI4OLXSRvakaeaOa9/ADvfMI7vAf6U5KC9D/3AJfYiEhDLfFWpvMmOcN7Wf0Q8i2Sh AYu+Yl/26tXOlFDu3gsr3HNp2wmjvzP+wn/c7VayKPdyInewOiSkIwJIjkV3ATMY3xPN gBliHZwYbmp68xf3LsL2aglDS3mTqc0QMxdckoII45sgJ6r34kxfi9FKs58R2gyx19DX 9c6w== ARC-Authentication-Results: i=1; gmr-mx.google.com; spf=pass (google.com: domain of melroch-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org designates 209.85.208.169 as permitted sender) smtp.mailfrom=melroch-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org Original-Received: from mail-lj1-f169.google.com (mail-lj1-f169.google.com. [209.85.208.169]) by gmr-mx.google.com with ESMTPS id r15si1194782ljp.1.2021.12.01.00.24.15 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 01 Dec 2021 00:24:15 -0800 (PST) Received-SPF: pass (google.com: domain of melroch-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org designates 209.85.208.169 as permitted sender) client-ip=209.85.208.169; Original-Received: by mail-lj1-f169.google.com with SMTP id e11so46437827ljo.13 for ; Wed, 01 Dec 2021 00:24:15 -0800 (PST) X-Received: by 2002:a2e:3009:: with SMTP id w9mr4203609ljw.71.1638347055026; Wed, 01 Dec 2021 00:24:15 -0800 (PST) In-Reply-To: X-Original-Sender: melroch-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org X-Original-Authentication-Results: gmr-mx.google.com; spf=pass (google.com: domain of melroch-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org designates 209.85.208.169 as permitted sender) smtp.mailfrom=melroch-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org 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:29652 Archived-At: --0000000000003bd86d05d2116648 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Den tis 30 nov. 2021 23:55 skrev: > > -----Urspr=C3=BCngliche Nachricht----- > > Von: John MacFarlane > > Gesendet: Dienstag, 30. November 2021 21:48 > > An: Maier, Denis Christian (UB) ; pandoc- > > discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org > > Betreff: Re: AW: Raw blocks and markdown content > > > > > > Note that this extension applies only to markdown input. > > It affects HTML chunks embedded as part of a markdown document. It > > won't work with `-f html`. > > > > But perhaps your input document is markdown, and your target is JATS, a= nd > > you want a way to include markdown within JATS tags? > > Yes, this is what I've meant. My source is markdown, but I want to includ= e > tables as raw jats. (The tables are used to present parallel texts, greek > and translation, and that's much easier using tags than with any of the > current tables.) You could use my table-as-list(-of-lists) filter which I have been using exactly for this, as well as for interlinear glosses. https://github.com/bpj/pandoc-list-table > > > > > In this case you could use commonmark, which has a fairly generic way o= f > > triggering this behavior (basically, you leave whitespace around the > tags if > > you want the contents to be interpreted as commonmark). > > That sounds like a good alternative. > But are there any drawbacks? I mean compared to using pandoc's markdown? > > Best, > Denis > > > > > writes: > > > > > I mean the behaviour described here: > > > https://pandoc.org/MANUAL.html#extension-markdown_in_html_blocks > > > > > >> -----Urspr=C3=BCngliche Nachricht----- > > >> Von: John MacFarlane > > >> Gesendet: Dienstag, 30. November 2021 18:11 > > >> An: Maier, Denis Christian (UB) ; pandoc- > > >> discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org > > >> Betreff: Re: Raw blocks and markdown content > > >> > > >> > > >> > > >> > for HTML we already have an option to interpret material between > > >> > tags as > > >> markdown. > > >> > > >> I'm not sure what you mean by this? > > >> Can you give an example? > > > > > > -- > > > 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, sen= d > 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/aa3cfa5bfa4341f3a2cb7166d9f8022d%40unibe.ch. > > -- > 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/a93b409adb504f45a9572ef4= 9f8b02d7%40unibe.ch > . > --=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/CADAJKhBFdmASA8ddZ43P-AK7Zjg9k4OR%3DB0WxwoDd_BQm9-tVw%40mail= .gmail.com. --0000000000003bd86d05d2116648 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable


Den tis 30 nov. 2021 23:55 <denis.maier-NSENcxR/0n0@public.gmane.org> skrev:
> -----Urspr=C3=BCngliche Nachricht-----
> Von: John MacFarlane <jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org>
> Gesendet: Dienstag, 30. November 2021 21:48
> An: Maier, Denis Christian (UB) <denis.maier-NSENcxR/0n0@public.gmane.org>; pa= ndoc-
> discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
> Betreff: Re: AW: Raw blocks and markdown content
>
>
> Note that this extension applies only to markdown input.
> It affects HTML chunks embedded as part of a markdown document.=C2=A0 = It
> won't work with `-f html`.
>
> But perhaps your input document is markdown, and your target is JATS, = and
> you want a way to include markdown within JATS tags?

Yes, this is what I've meant. My source is markdown, but I want to incl= ude tables as raw jats. (The tables are used to present parallel texts, gre= ek and translation, and that's much easier using tags than with any of = the current tables.)

You could use my table-as-list(-of-lists) filter which I ha= ve been using exactly for this, as well as for interlinear glosses.

https://github.com/bpj/pandoc-list-table

<= blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px= #ccc solid;padding-left:1ex">

>
> In this case you could use commonmark, which has a fairly generic way = of
> triggering this behavior (basically, you leave whitespace around the t= ags if
> you want the contents to be interpreted as commonmark).

That sounds like a good alternative.
But are there any drawbacks? I mean compared to using pandoc's markdown= ?

Best,
Denis

>
> <denis.maier-NSENcxR/0n0@public.gmane.org> writes:
>
> > I mean the behaviour described here:
> > https://pandoc.= org/MANUAL.html#extension-markdown_in_html_blocks
> >
> >> -----Urspr=C3=BCngliche Nachricht-----
> >> Von: John MacFarlane <jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org>
> >> Gesendet: Dienstag, 30. November 2021 18:11
> >> An: Maier, Denis Christian (UB) <denis.maier-NSENcxR/0n0@public.gmane.org>; pandoc-
> >>
discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
> >> Betreff: Re: Raw blocks and markdown content
> >>
> >>
> >>
> >> > for HTML we already have an option to interpret material= between
> >> > tags as
> >> markdown.
> >>
> >> I'm not sure what you mean by this?
> >> Can you give an example?
> >
> > --
> > You received this message because you are subscribed to the Googl= e
> Groups "pandoc-discuss" group.
> > To unsubscribe from this group and stop receiving emails from it,= send an
> email to pandoc-discuss+unsubscribe@googleg= roups.com.
> > To view this discussion on the web visit
> https://groups.google.com/d/msgid/pandoc-
> discuss/aa3cfa5bfa4341f3a2cb7166d9f8022d%
40unibe.ch.

--
You received this message because you are subscribed to the Google Groups &= quot;pandoc-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an e= mail to pandoc-discuss+unsubscribe@googlegroups.= com.
To view this discussion on the web visit https://groups.google.com/d/ms= gid/pandoc-discuss/a93b409adb504f45a9572ef49f8b02d7%40unibe.ch.

--
You received this message because you are subscribed to the Google Groups &= quot;pandoc-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an e= mail to pand= oc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
To view this discussion on the web visit https://group= s.google.com/d/msgid/pandoc-discuss/CADAJKhBFdmASA8ddZ43P-AK7Zjg9k4OR%3DB0W= xwoDd_BQm9-tVw%40mail.gmail.com.
--0000000000003bd86d05d2116648--