From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/28288 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Jeffrey Wang Newsgroups: gmane.text.pandoc Subject: Re: Do Pandoc's conversion functions which exist in both directions guarantee/aim for bijectivity? Date: Tue, 4 May 2021 16:35:51 -0500 Message-ID: References: <2ffba3ed-4e84-45ad-9eea-f4fb4b2da636n@googlegroups.com> <0b756db2-f247-49b1-a7dd-e0242e79d956n@googlegroups.com> <81417776-15c4-4dfb-8229-0dc15614c88dn@googlegroups.com> Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="0000000000004974e605c187debe" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="14410"; mail-complaints-to="usenet@ciao.gmane.io" To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-X-From: pandoc-discuss+bncBCLO36PRYMIRBU74Y2CAMGQEI57O36Y-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Tue May 04 23:36:22 2021 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane-mx.org Original-Received: from mail-ej1-f63.google.com ([209.85.218.63]) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1le2iL-0003aq-Fd for gtp-pandoc-discuss@m.gmane-mx.org; Tue, 04 May 2021 23:36:21 +0200 Original-Received: by mail-ej1-f63.google.com with SMTP id w23-20020a1709061857b029039ea04b02fdsf3675936eje.22 for ; Tue, 04 May 2021 14:36:21 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1620164181; cv=pass; d=google.com; s=arc-20160816; b=LyVSB48AYS62rzrVE8sUAf/Jjv/YapfBxfxwYXOOc2nDRQOGUe+oLS3koyYHUp7S28 fE5h11xfZ7a3gjl6vPDK9/vO1YWWeqAuLOzbfDbfCcm9xHwEOG7aXEdJ4hDI0lTYfDYx h4gIA1y2l/MceTYD8y9qwOZAfWOJwPmtzDtFSOgxomtWskzqT352659z/R0Zr6WW4epo PujiinX6GgnvOLJLDg7wCMX+CFpECs6qdMPxDbv5UFNik+9tBla7tolBqP5lt0eOt5CT 4Xfp5PSv/V5zQ16XT1XOeT9spDos86rxVAb28Z4UtaZbumhIGPY3eTQ6I5AMZ1OdtZyE GNFw== 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:to:subject:message-id:date :from:in-reply-to:references:mime-version:sender:dkim-signature :dkim-signature; bh=xMddCNloa+c9gVhDW/b5hK+gq85Tg9WHQj0oz/LTX4w=; b=H3R6gHSGXAAim7FuTGSz3+TTVio3M/VT094fdo39GpTE/YFztajq4vPhI6g6XSC+1/ z47mHwUVGxSqchMlTM5MC+W2nIuRIkDddi8jmgNMgufZ8bcAL783K4R0j7IIgwegXxu2 9nBj7DjGWr6Pr2WCZ6q8uPSDsSkABnS4xBOfnPsUBfBoAOkC1mezFQjj7DXL/smyzuzp oYmFWnclRDNXPJGYnm0M6eEXzCNWknXmzr0cvawjts7/6qvLezDqrVBwqbcO08dMkkWQ 4kL4GKi+nofT0CMAGAus7RtFKD9fC7ONDPo6jemVM+vOxXx0p2U8Ag+pKpFYodLpmjC0 ETYQ== ARC-Authentication-Results: i=2; gmr-mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=lFIYyU+c; spf=pass (google.com: domain of jeffwang16-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org designates 2a00:1450:4864:20::335 as permitted sender) smtp.mailfrom=jeffwang16-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20161025; h=sender:mime-version:references:in-reply-to:from:date:message-id :subject:to: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=xMddCNloa+c9gVhDW/b5hK+gq85Tg9WHQj0oz/LTX4w=; b=Lw5hWVv52eb2gJ1JA10+HAalp+Tb6VMEas8v1dysQJ3lTkHVv/VrLwa00QAufrzMbt +K8N9Sl/TgvimdDXExId2PL+6Pw2CWyGoR3tbnGocZCD2SkkrPHexpC26L4BmuyoP9iC VczNbHglBZnESPVdZ2c/85lUm5W8xnHU4t52Ov35tAaTGcxhaYqSyxwbXezhhSdvTyby IgOM8wgH+ya0J3v7tegso3iuQWr30TjFHN3RAHbsEO9yMkNLTNWQ4I+15HhaHSNSils3 +uompj8gQz0gLzoNZlEdpOoCd/cdFBYoMvi7IYdkLTikJspHto3GV+vznanBZVMW2Dp6 aT7w== 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 :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=xMddCNloa+c9gVhDW/b5hK+gq85Tg9WHQj0oz/LTX4w=; b=EOfDFs6Ts1mdGO0T1YxGziTUJ+Q65iLNif+cHdjS/Tz3ilvhRQuULKFci3C+H/wKK2 jOpVY1o9hQhzLcgindnhYEQb6VbDqVHUJudDYqU7DCVkc4rfJfp8LEeMOHVorUtsQoPQ FAE9MzhM75z2HPTSjLqpvh8gK/yhknw0yj4YxwpM6Kb20vLxl4TvCUSw9bksWXHkU5TR q2vwI0sNbeUT5qoHxTBBxnrfU9NJE6vdiy3enfEfhsK2Ncn3tQdj7/rsAc50TBSgcp7N rar1qViTSCE4u4SG7+Zeu0cKGQJTOeEc4Amj3MQc5KvqZDugepxhwc8kxocckf5n4Cth uckQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=sender:x-gm-message-state:mime-version:references:in-reply-to:from :date:message-id:subject:to: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=xMddCNloa+c9gVhDW/b5hK+gq85Tg9WHQj0oz/LTX4w=; b=C6kLvfKRczdMZhPhlh/F4aRIRWPa8V7mnt0+b8JypkvIwwugB8qwkyBdlJEESdPyx7 doB1IahvOLiHIMjE050KAG7xz5qq5P6A2M5lD4XB82Py2BI6+BV7FcAdUJ7DuDIy+Si4 icBpXdS++vw+grltNX3vRZ5ohVXjSUr4j6mf37DGQEHTBL8cqlXla6YdmLbk4QdvCFCm qqIKTMA8aIYLLG6/mqK2dzFdyU4lK/g+PmYRIn3IgYZgo8WiSPWH6KIu9TA5Ne+jACui HfNHdgMxlXPQV/LDeArSkZpAUeE1k9DjExT0a2n6iqu7OjspnYxV6rRn2+ZJNUCzdlax gKrQ== Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: AOAM533/mZAURhUpe7NDUocxu7ZOnocV76d7iASJoWHX97ZCbWuol4pS F4HULuKgy2IW+Bt/oTWKpxY= X-Google-Smtp-Source: ABdhPJz/P/F1FjnKTfN8WBgKHKewoVvvUP7Sb8v6ZvXtoXJYcyAkLNpC+fYla8V+QXjBLP4DoxUJFw== X-Received: by 2002:a17:906:b7d3:: with SMTP id fy19mr23763067ejb.269.1620164181184; Tue, 04 May 2021 14:36:21 -0700 (PDT) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 2002:a17:906:1901:: with SMTP id a1ls8639152eje.0.gmail; Tue, 04 May 2021 14:36:18 -0700 (PDT) X-Received: by 2002:a17:906:3453:: with SMTP id d19mr19458070ejb.545.1620164178379; Tue, 04 May 2021 14:36:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1620164178; cv=none; d=google.com; s=arc-20160816; b=WZqNXIaYczhTLN2HeCGC2nqf1xl37ajIg2E/JtIFE1tdCURmQryUhVfsHsHhoxx0h8 2qhaE640aaS6nDm+uq8AO9pJ0gno3c1Syad06waqZwMy0vdNgqaCxnSgvlQgP3yVT4Rx Ogymn3oUT5myKdA7wGlUMUM1WLXDu8bFFpYevoaVBM4y3SeP322OESnRwqq7b/CQEOzB S9+fqvCdIsL0RCqK2+Jle+Vwp2aF6YQ+UjL7gHbSbTA9Js8qGilaa685xUf4g7Hx2ben MKo+FATizWuZZR8hh0hhrC9UlAr7Yi9TuwIYMK0I8jCUofK3DNA8QwmM+R8XKuTh1hUE ILBA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=to:subject:message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=LSOGpsdep2WUIu9RFlXeDXaBYJRXVY1fO1gtiPYSLBQ=; b=Q8obR5+wpoCIwv+hgI6OticSV2421HxXVBDipJOMpDLykPDgmc8i0dZI+Et7ZExvNJ dp2v02MdpsuLmp6AkRRcqlzB8+3bJyO6Vm9+WzKKrwqyy1qXfADA2rLdskoMBbuN2w2s XlmQQ4mnkekN8/WCNBpMmbCn8Q5uFpN2nwJoHIPFAzDBmvxfl88EaAHVP1xMehzooI/8 CejmaFHqZjds9TH3O5YCosfw6NTmar8rkYE6m1PeIg0UI2y2qG09MDpcqM/2P6KIbpft R3AqdKewaa9euOaCD4RX7YMPFXzHvNZCfFQcacyu5+t2zLaUaWxDO64hCJnPosLh3yMB nuiA== ARC-Authentication-Results: i=1; gmr-mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=lFIYyU+c; spf=pass (google.com: domain of jeffwang16-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org designates 2a00:1450:4864:20::335 as permitted sender) smtp.mailfrom=jeffwang16-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Original-Received: from mail-wm1-x335.google.com (mail-wm1-x335.google.com. [2a00:1450:4864:20::335]) by gmr-mx.google.com with ESMTPS id n3si182548edv.4.2021.05.04.14.36.18 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 04 May 2021 14:36:18 -0700 (PDT) Received-SPF: pass (google.com: domain of jeffwang16-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org designates 2a00:1450:4864:20::335 as permitted sender) client-ip=2a00:1450:4864:20::335; Original-Received: by mail-wm1-x335.google.com with SMTP id s5-20020a7bc0c50000b0290147d0c21c51so2292439wmh.4 for ; Tue, 04 May 2021 14:36:18 -0700 (PDT) X-Received: by 2002:a1c:9dd3:: with SMTP id g202mr26771573wme.145.1620164177653; Tue, 04 May 2021 14:36:17 -0700 (PDT) In-Reply-To: <81417776-15c4-4dfb-8229-0dc15614c88dn-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org> X-Original-Sender: jeffwang16-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org X-Original-Authentication-Results: gmr-mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=lFIYyU+c; spf=pass (google.com: domain of jeffwang16-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org designates 2a00:1450:4864:20::335 as permitted sender) smtp.mailfrom=jeffwang16-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com 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:28288 Archived-At: --0000000000004974e605c187debe Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Thank you so much! Glad I found the right place to ask :) Regards, *Jeffrey Wang* jeffwang16-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org On Tue, May 4, 2021 at 4:34 PM christi...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org < christian.kolen-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > No worries. I should have mentioned where you could get the info than jus= t > saying it=E2=80=99s there > > It is mentioned in the manual in a subtle way. After you read this thread > then you=E2=80=99d understand the wordings in the manual means it is not = bijective. > (I forgot what wording it uses, but the problem is that the info is there > but sometimes not immediately recognizable. May be it didn=E2=80=99t use = the word > lossy, but did mention it=E2=80=99s limitation.) > > It is also frequently mentioned in this pandoc-discuss. And in fact I was > in your shoes asking for this years ago and wrote a summary on this here. > Ie rather than searching the whole web, searching pandoc-discuss would be > more fruitful. > > But sometimes the search here aren=E2=80=99t great, ironically I think se= arching > in google with a phase of pandoc-discuss might help narrow it down better= . > > Also, I share your frustration that stuffs we ask/mention are almost > always out there but just that we can=E2=80=99t discover that. So rather = than > tempting others to correct you (that the info does exist), simply asking = it > might be better, and that=E2=80=99s what pandoc-discuss is for. Unlike Gi= tHub issue > where people should obey much stricter rule of not emitting noise > (frequently violated in pandoc=E2=80=99s issue tracker unfortunately and = people are > too kind to suppress them), pandoc-discuss is for any pandoc related > questions, repeated or not. > > On Tuesday, May 4, 2021 at 2:22:48 PM UTC-7 Jeffrey Wang wrote: > >> Great, thanks for the insight everybody, especially John's confirmation >> seals the deal. >> >> In response to "there's actually lots of info about this", I apologize >> that Google's search engine was not strong enough to find me this >> information. I also apologize that I did not invent Google and add seman= tic >> search to it. I promise I have tried hard to search for this information >> before bothering anybody, and I very much appreciate the explicit >> clarification. >> >> Regards, >> *Jeffrey Wang* >> jeffw...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org >> >> >> On Tue, May 4, 2021 at 3:25 PM christi...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org >> wrote: >> >>> There=E2=80=99s actually lots of info about this. Pandoc is not even id= empotent, >>> let alone bijective. >>> >>> So no, you cannot depend on this especially if you want to convert it >>> back and forth a lot of times. >>> >>> On Monday, May 3, 2021 at 3:23:12 PM UTC-7 Jeffrey Wang wrote: >>> >>>> I was not able to find any concrete information establishing the answe= r >>>> to this question. I ask this to see how much I can depend on using Pan= doc >>>> for an application that would convert back and forth between two forma= ts, >>>> one for storage/authoritative purposes and the other for rendering/dis= play >>>> purposes. Thanks! >>> >>> -- >>> You received this message because you are subscribed to a topic in the >>> Google Groups "pandoc-discuss" group. >>> To unsubscribe from this topic, visit >>> https://groups.google.com/d/topic/pandoc-discuss/NFwWouErsf8/unsubscrib= e >>> . >>> To unsubscribe from this group and all its topics, send an email to >>> pandoc-discus...-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org >>> To view this discussion on the web visit >>> https://groups.google.com/d/msgid/pandoc-discuss/0b756db2-f247-49b1-a7d= d-e0242e79d956n%40googlegroups.com >>> >>> . >>> >> -- > You received this message because you are subscribed to a topic in the > Google Groups "pandoc-discuss" group. > To unsubscribe from this topic, visit > https://groups.google.com/d/topic/pandoc-discuss/NFwWouErsf8/unsubscribe. > To unsubscribe from this group and all its topics, 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/81417776-15c4-4dfb-8229-= 0dc15614c88dn%40googlegroups.com > > . > --=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/CACZurRdvqjzcik3R9mphkDA94Wgfg5%2B01zQBO7yEixx5YVitvQ%40mail= .gmail.com. --0000000000004974e605c187debe Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Thank= you so much! Glad I found the right place to ask :)



=
No worries. I should have= mentioned where you could get the info than just saying it=E2=80=99s there=

It is mentioned in the manual in a subtle way. After yo= u read this thread then you=E2=80=99d understand the wordings in the manual= means it is not bijective. (I forgot what wording it uses, but the problem= is that the info is there but sometimes not immediately recognizable. May = be it didn=E2=80=99t use the word lossy, but did mention it=E2=80=99s limit= ation.)

It is also frequently mentioned in this pa= ndoc-discuss. And in fact I was in your shoes asking for this years ago and= wrote a summary on this here. Ie rather than searching the whole web, sear= ching pandoc-discuss would be more fruitful.

But s= ometimes the search here aren=E2=80=99t great, ironically I think searching= in google with a phase of pandoc-discuss might help narrow it down better.=

Also, I share your frustration that stuffs we ask= /mention are almost always out there but just that we can=E2=80=99t discove= r that. So rather than tempting others to correct you (that the info does e= xist), simply asking it might be better, and that=E2=80=99s what pandoc-dis= cuss is for. Unlike GitHub issue where people should obey much stricter rul= e of not emitting noise (frequently violated in pandoc=E2=80=99s issue trac= ker unfortunately and people are too kind to suppress them), pandoc-discuss= is for any pandoc related questions, repeated or not.

=
On Tuesda= y, May 4, 2021 at 2:22:48 PM UTC-7 Jeffrey Wang wrote:
Great, thanks for the=C2=A0insight= everybody, especially John's confirmation seals the deal.

In response to "ther= e's actually lots of info about this", I apologize that=C2=A0Googl= e's search engine was not strong enough to find me this information. I = also apologize that=C2=A0I did not invent Google and add semantic search to= it. I promise I have tried hard to search for this information before both= ering anybody, and I very much appreciate the explicit clarification.

<= div>

There=E2=80= =99s actually lots of info about this. Pandoc is not even idempotent, let a= lone bijective.

So no, you cannot depend on this especia= lly if you want to convert it back and forth a lot of times.

<= div class=3D"gmail_quote">
On Monday,= May 3, 2021 at 3:23:12 PM UTC-7 Jeffrey Wang wrote:
I was not able to find any concrete in= formation establishing the answer to this question. I ask this to see how m= uch I can depend on using Pandoc for an application that would convert back= and forth between two formats, one for storage/authoritative purposes and = the other for rendering/display purposes. Thanks!

--
You received this message because you are subscribed to a topic in the Goog= le Groups "pandoc-discuss" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/pandoc-discuss/NFwWouErsf8/unsubs= cribe.
To unsubscribe from this group and all its topics, send an email to pandoc-discus...-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/0b756db2-f247-= 49b1-a7dd-e0242e79d956n%40googlegroups.com.

--
You received this message because you are subscribed to a topic in the Goog= le Groups "pandoc-discuss" group.
To unsubscribe from this topic, visit https://g= roups.google.com/d/topic/pandoc-discuss/NFwWouErsf8/unsubscribe.
To unsubscribe from this group and all its topics, send an email to p= andoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
To view this discussion on the web visit https= ://groups.google.com/d/msgid/pandoc-discuss/81417776-15c4-4dfb-8229-0dc1561= 4c88dn%40googlegroups.com.

--
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/CACZurRdvqjzcik3R9mphkDA94Wgfg5%2B01zQB= O7yEixx5YVitvQ%40mail.gmail.com.
--0000000000004974e605c187debe--