From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/31598 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: =?UTF-8?Q?V=C3=ADt_Novotn=C3=BD?= Newsgroups: gmane.text.pandoc Subject: Re: Plain TeX writer Date: Wed, 19 Oct 2022 09:21:09 -0700 (PDT) Message-ID: <5e9dfe75-ea0e-4287-a6a0-47842700f292n@googlegroups.com> References: <51539828-c876-437b-bb1e-a5efcf752762n@googlegroups.com> <84C142C7-20EF-411E-AF94-D0AA008FA9DA@gmail.com> Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_Part_5982_1318093654.1666196469251" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="35083"; mail-complaints-to="usenet@ciao.gmane.io" To: pandoc-discuss Original-X-From: pandoc-discuss+bncBDONFQGBUMIRB5WHYCNAMGQEQDW2XNA-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Wed Oct 19 18:21:15 2022 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane-mx.org Original-Received: from mail-oi1-f183.google.com ([209.85.167.183]) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1olBoh-0008tg-1i for gtp-pandoc-discuss@m.gmane-mx.org; Wed, 19 Oct 2022 18:21:15 +0200 Original-Received: by mail-oi1-f183.google.com with SMTP id t39-20020a05680815a700b003554487412asf3401390oiw.11 for ; Wed, 19 Oct 2022 09:21:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20210112; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:reply-to:x-original-sender :mime-version:subject:references:in-reply-to:message-id:to:from:date :sender:from:to:cc:subject:date:message-id:reply-to; bh=XPNsorda3HhEPXXpk8nr7Ye0uzzM+Zhod5DJ7I6Ub3Q=; b=fszy/YeXV5Gvv1NqMA99GiLNHj6Z/BT9Wi29AfqcwCOM7pPFz7JPUYJC3aDQ1Vntll vOaTLJY0mOTtpVDNepuvNCvVjo5J6pJTIlc/iBzjiIy2V6ZdVJ6QHZbefNaTr79/rkW9 s/qRKUzycFqd1PmnBkkIPpOSCEfMzowzune/b1/SpIrYB3NSz31UhKn/NdU5Gt2nEmkK b5DJ6ArMSgrrdvRxoculA5/XU5x7BJHqyDaFi0aRun71ywg5AeJdjWeLP+iTwU3+T1FA QQlIte6zkkTBfESbdcrMLhs5L5BNU3m3OTpggc1l5np5WqwzxLs61RRDteTka65CUHdH LQJg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:reply-to:x-original-sender :mime-version:subject:references:in-reply-to:message-id:to:from:date :from:to:cc:subject:date:message-id:reply-to; bh=XPNsorda3HhEPXXpk8nr7Ye0uzzM+Zhod5DJ7I6Ub3Q=; b=bFe6jg0/4eYgLEkgvpSN+yxN4HXDLzdaRzPIy4r5HRg+MBCEpF1BhjGrmD6bG4MFP7 Y0kVilT1SltzXAaYFyfke2lXtolIciIwzkEa7Upvi2UXXXVuTr3oT1+IPIipl5PA7EWD T9IEbfTNhle1MtqeUIIWWuU1vStqDWx7wpHR1Zw0sI/JyskhR9I4EJiUuHtWSRtSHew8 hsJ1k08VpQVtxUUdJAi4ghlGosWJxMnT/V6YrOFXGHfxAhbYDdnL1tk29qroOUOONPJf SWClkvyfllJFnrVst/3hDp9W6fxfAGIIHa3wzip7Gyha+STwxTAwCJKu1xOczbj0CKH5 0llg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :x-spam-checked-in-group:list-id:mailing-list:precedence:reply-to :x-original-sender:mime-version:subject:references:in-reply-to :message-id:to:from:date:x-gm-message-state:sender:from:to:cc :subject:date:message-id:reply-to; bh=XPNsorda3HhEPXXpk8nr7Ye0uzzM+Zhod5DJ7I6Ub3Q=; b=irJr8Qdipf+zz3Miva7qvLO8vwEL/hqDf9AzTcFrM4l22Kq7MujW260THOjEkfrZeY bm/d7nxHeGJtQGPMfgzWC7qqZp0Cq+btCuu8X92c6aZ5jWjGxZcjLcKn1PB5lzD5cIB6 PoLNf0kj4xYQV9XmAwB+BOVGTngolELs67zqAH2Zpv9IAA5vOvGTX9tCLH8eUx3X+QjX RKHYvsNLLrd5hRFHaSYwTfmBgiblrCki2ihqqSWhOT7zZdEpds6KiBIT/ITTllI2ZRY9 J8FsIS8lFardcjXuYLgz6rDyEYsdsMy6vwMS4TYvXL5gUab8I9ajHxH099b5ufClMP1G aN5Q== Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: ACrzQf2/T3P2lic9lgfRHIRUnrfxiJpANYwzR8QXdMn7BJ0LdIV+iQ/J LL6TRTbARgWQeJcQCYwV2ts= X-Google-Smtp-Source: AMsMyM5vHt/Apfj4YGggyj+m0iqisJlAlVDY23U1gOdq+MbZHXQcxTHiDvl1I3as02r2Smrs6mNv5g== X-Received: by 2002:a05:6830:3910:b0:63b:2195:31a9 with SMTP id br16-20020a056830391000b0063b219531a9mr4659320otb.91.1666196473863; Wed, 19 Oct 2022 09:21:13 -0700 (PDT) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 2002:aca:c282:0:b0:354:4a36:cf2d with SMTP id s124-20020acac282000000b003544a36cf2dls513378oif.10.-pod-prod-gmail; Wed, 19 Oct 2022 09:21:10 -0700 (PDT) X-Received: by 2002:a54:4090:0:b0:354:94a9:e7f9 with SMTP id i16-20020a544090000000b0035494a9e7f9mr18033848oii.104.1666196470181; Wed, 19 Oct 2022 09:21:10 -0700 (PDT) In-Reply-To: <84C142C7-20EF-411E-AF94-D0AA008FA9DA-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> X-Original-Sender: witiko-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:31598 Archived-At: ------=_Part_5982_1318093654.1666196469251 Content-Type: multipart/alternative; boundary="----=_Part_5983_617488623.1666196469251" ------=_Part_5983_617488623.1666196469251 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Dne st=C5=99eda 19. =C5=99=C3=ADjna 2022 v 17:43:31 UTC+2 u=C5=BEivatel fid= dlosopher napsal: > What would you think about replacing \pandocSpace with a regular space=20 > character? IT would make the output a lot more readable. Similarly,=20 > SoftBreak could be a regular newline character. > The input processor of TeX will fold one or more spaces into a single space= =20 and consume all spaces at the end of a line. Making spaces and soft breaks= =20 into commands avoids this at the cost of lesser readability. =20 > It would be nice to see some examples involving arguments and attributes,= =20 > e.g. links and headers. > As stated in my original post, attributes are currently discarded by the=20 writer. However, the Markdown package supports attributes on headers=20 and attributes on=20 divs and spans , links,=20 images, and inline code as= =20 well as raw attributes are= =20 planned for the next release (2.18.0). Therefore, adding support for=20 attributes on many types of elements should be straightforward. =20 > Why is the package called "pandoc-to-markdown"? That would lead me to=20 > expect that it produces markdown output. > The implementation rests on my Markdown package for TeX=20 , which provides formatting for most=20 elements of the Pandoc AST across different TeX formats such as plain TeX,= =20 LaTeX, and ConTeXt. Dominik's proof of concept bridges Pandoc with the=20 Markdown package and hence the (somewhat confusing) name. =20 > John > Best, Vit=20 --=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/5e9dfe75-ea0e-4287-a6a0-47842700f292n%40googlegroups.com. ------=_Part_5983_617488623.1666196469251 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Dne st=C5= =99eda 19. =C5=99=C3=ADjna 2022 v 17:43:31 UTC+2 u=C5=BEivatel fi= ddlosopher napsal:
What would you think about replacing \pandocSpace with a regular space cha= racter? IT would make the output a lot more readable. Similarly, SoftBreak= could be a regular newline character.

= The input processor of TeX will fold one or more spaces into a single = space and consume all spaces at the end of a line. Making spaces and soft b= reaks into commands avoids this at the cost of lesser readability.
 
It would = be nice to see some examples involving arguments and attributes, e.g. links= and headers.

As stated in my original = post, attributes are currently discarded by the writer. However, the Markdo= wn package supports attributes on headers and attributes on divs and spans, links, images, and inline code&= nbsp;as well as raw attributes are planned for the next release (2.18.0). Ther= efore, adding support for attributes on many types of elements should be st= raightforward.
 
Why is the package called "pandoc-to-markdown"? That would l= ead me to expect that it produces markdown output.
The implementation rests on my Markdown package for TeX, which provides formatting for = most elements of the Pandoc AST across different TeX formats such as plain = TeX, LaTeX, and ConTeXt. Dominik's proof of concept bridges Pandoc with the= Markdown package and hence the (somewhat confusing) name.
&n= bsp;
John

Best,
Vit 

--
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://groups.google.com/d= /msgid/pandoc-discuss/5e9dfe75-ea0e-4287-a6a0-47842700f292n%40googlegroups.= com.
------=_Part_5983_617488623.1666196469251-- ------=_Part_5982_1318093654.1666196469251--