From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/28287 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: "christi...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org" 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 14:34:08 -0700 (PDT) Message-ID: <81417776-15c4-4dfb-8229-0dc15614c88dn@googlegroups.com> References: <2ffba3ed-4e84-45ad-9eea-f4fb4b2da636n@googlegroups.com> <0b756db2-f247-49b1-a7dd-e0242e79d956n@googlegroups.com> Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_Part_370_91521367.1620164048378" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="3952"; mail-complaints-to="usenet@ciao.gmane.io" To: pandoc-discuss Original-X-From: pandoc-discuss+bncBCS252WXTEIBBUP3Y2CAMGQEE2BZOIA-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Tue May 04 23:34:12 2021 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane-mx.org Original-Received: from mail-ot1-f59.google.com ([209.85.210.59]) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1le2gF-0000v9-Qe for gtp-pandoc-discuss@m.gmane-mx.org; Tue, 04 May 2021 23:34:11 +0200 Original-Received: by mail-ot1-f59.google.com with SMTP id l103-20020a9d1b700000b02902d308d50aa9sf32594otl.9 for ; Tue, 04 May 2021 14:34:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20161025; h=sender:date:from:to:message-id:in-reply-to:references:subject :mime-version:x-original-sender:reply-to:precedence:mailing-list :list-id:list-post:list-help:list-archive:list-subscribe :list-unsubscribe; bh=/xPbRKlBU582dZRVLACBYxAnaEzI1A0AKd1ilDYC6A4=; b=Am2PfN7M6gVpg+DAvRkXleric24iHX+EuQDuILVpelfHvC8cvTC0r1FTSzK1WME7NA 0iZL0Dopu3VbuXiBDQgFBBOmYcajLSqbiU04VOPN+osmHr1czlYDsPp24vdBcILwzISe RZ5vG0O91JAJNzWbvm5k3qkPOzPZr7QsAGs9GNn1vz57KZgUWXAz4Z0hqvyBea14YD6E 6jeRXn+PsAzPWEgrpWvtGvIOY7tBzMIcY2j4EGpM1Kt/EY9fRnS/5CPK3sWdAE9B+68e Sf7rkBfJnzbr2joitdJeG9uSuUu8UowQMqkoYqTSYBMsKUUjRz/Qcbb538dB5tWQOych +ugQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:message-id:in-reply-to:references:subject:mime-version :x-original-sender:reply-to:precedence:mailing-list:list-id :list-post:list-help:list-archive:list-subscribe:list-unsubscribe; bh=/xPbRKlBU582dZRVLACBYxAnaEzI1A0AKd1ilDYC6A4=; b=hQSXV56Q2btgq7ZLhnWcRN4GLaEqoh6qXEdATX2bX+m+6U0ncPADjfhR5r24c8KYOo m/UCeFgSU3dy0Pzfmsg60Yui8QyzJkNBE3L6Mz86DzCoOkovslxcGZSZjy1gQN6olj5b 8ECYPhMnDfPYIcXW+9/jxwuPpATUH1OvD/v9teOwuoAZ2wyz4ngI/KGYUNkw/r2KC3Gd JAdaApAEnjJYCFeTf8tQF40qA7eZaPcHBzwKVXJ1d7oe+NvlBt3YRNCdLFMmpqKPg+f7 B+YGw/T2npSXuCHBNpomzsNcScJc16peEhKoneTCwruaR4E5Wn4MiI+hnwAmX50/UfJT AKaw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=sender:x-gm-message-state:date:from:to:message-id:in-reply-to :references:subject:mime-version:x-original-sender:reply-to :precedence:mailing-list:list-id:x-spam-checked-in-group:list-post :list-help:list-archive:list-subscribe:list-unsubscribe; bh=/xPbRKlBU582dZRVLACBYxAnaEzI1A0AKd1ilDYC6A4=; b=AE5yVvx/tKyerE/b6Q6VjEz2MlgYMVBnp08WRDXrFii8b5+XAVe2cP4DYqXcwQk0oG 7j5hu+AMMVSVal/zQTiIhOijKVOMWxPXNZic4OEJlA/1l7L/sqSZSjlzg/RrDE4himwE LzvlRePuFX0hsq3FhCqsbTdyzuvPvx+k2+eJ1D/enVvgOPpbXvEeLwkOXv0iAb2URnTM X4T96gOkUx/WkUd6nkmA5UyK9oZTos0pYp5bIKQZLg0MUJdj43xiQfu4ni8VvfRsNMoF kqImvATrrKoy8+7SzdKIryraT0BJApEJ5mBz0eDoeJQjrVwlooybWM/cXaAkwX2IeHMf ewsw== Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: AOAM532Txc0uxrvAexFJZ4gSRSwaT5sPZ0dSMw0Or/A+VH0X5SDe7Qp6 O7v6EIB8LwvNZdENQsmLbQY= X-Google-Smtp-Source: ABdhPJxe6EqcWMykLphrw+gMhQUOvsIKtm2guEvgA8DAm48fhU0NUD7uUxE5GRKOfTNNU3kqm5zCaA== X-Received: by 2002:a9d:65d6:: with SMTP id z22mr11446988oth.116.1620164050827; Tue, 04 May 2021 14:34:10 -0700 (PDT) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 2002:a05:6808:f0d:: with SMTP id m13ls5244919oiw.4.gmail; Tue, 04 May 2021 14:34:09 -0700 (PDT) X-Received: by 2002:aca:4bc2:: with SMTP id y185mr4403046oia.64.1620164048900; Tue, 04 May 2021 14:34:08 -0700 (PDT) In-Reply-To: X-Original-Sender: christian.kolen-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:28287 Archived-At: ------=_Part_370_91521367.1620164048378 Content-Type: multipart/alternative; boundary="----=_Part_371_1341662555.1620164048378" ------=_Part_371_1341662555.1620164048378 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable No worries. I should have mentioned where you could get the info than just= =20 saying it=E2=80=99s there It is mentioned in the manual in a subtle way. After you read this thread= =20 then you=E2=80=99d understand the wordings in the manual means it is not bi= jective.=20 (I forgot what wording it uses, but the problem is that the info is there= =20 but sometimes not immediately recognizable. May be it didn=E2=80=99t use th= e word=20 lossy, but did mention it=E2=80=99s limitation.) It is also frequently mentioned in this pandoc-discuss. And in fact I was= =20 in your shoes asking for this years ago and wrote a summary on this here.= =20 Ie rather than searching the whole web, searching pandoc-discuss would be= =20 more fruitful. But sometimes the search here aren=E2=80=99t great, ironically I think sear= ching in=20 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= =20 out there but just that we can=E2=80=99t discover that. So rather than temp= ting=20 others to correct you (that the info does exist), simply asking it might be= =20 better, and that=E2=80=99s what pandoc-discuss is for. Unlike GitHub issue = where=20 people should obey much stricter rule of not emitting noise (frequently=20 violated in pandoc=E2=80=99s issue tracker unfortunately and people are too= kind to=20 suppress them), pandoc-discuss is for any pandoc related questions,=20 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= =20 > seals the deal. > > In response to "there's actually lots of info about this", I apologize=20 > that Google's search engine was not strong enough to find me this=20 > information. I also apologize that I did not invent Google and add semant= ic=20 > search to it. I promise I have tried hard to search for this information= =20 > before bothering anybody, and I very much appreciate the explicit=20 > clarification. > > Regards, > *Jeffrey Wang* > jeffw...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org > > > On Tue, May 4, 2021 at 3:25 PM christi...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org =20 > wrote: > >> There=E2=80=99s actually lots of info about this. Pandoc is not even ide= mpotent,=20 >> let alone bijective. >> >> So no, you cannot depend on this especially if you want to convert it=20 >> 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 answer= =20 >>> to this question. I ask this to see how much I can depend on using Pand= oc=20 >>> for an application that would convert back and forth between two format= s,=20 >>> one for storage/authoritative purposes and the other for rendering/disp= lay=20 >>> purposes. Thanks! >> >> --=20 >> You received this message because you are subscribed to a topic in the= =20 >> Google Groups "pandoc-discuss" group. >> To unsubscribe from this topic, visit=20 >> https://groups.google.com/d/topic/pandoc-discuss/NFwWouErsf8/unsubscribe= . >> To unsubscribe from this group and all its topics, send an email to=20 >> pandoc-discus...-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org >> To view this discussion on the web visit=20 >> https://groups.google.com/d/msgid/pandoc-discuss/0b756db2-f247-49b1-a7dd= -e0242e79d956n%40googlegroups.com=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/81417776-15c4-4dfb-8229-0dc15614c88dn%40googlegroups.com. ------=_Part_371_1341662555.1620164048378 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable 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 you read this thread then you=E2=80=99d understand t= he 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 immed= iately recognizable. May be it didn=E2=80=99t use the word lossy, but did m= ention it=E2=80=99s limitation.)

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

But sometimes the search here aren=E2=80=99t great, iro= nically I think searching in google with a phase of pandoc-discuss might he= lp narrow it down better.

Also, I share your frust= ration 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 GitHub issue where people sho= uld obey much stricter rule of not emitting noise (frequently violated in p= andoc=E2=80=99s issue tracker unfortunately and people are too kind to supp= ress 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 w= rote:
Great, thank= s for the=C2=A0insight everybody, especially John's confirmation seals = the deal.

In response to &quo= t;there's actually lots of info about this", I apologize that=C2= =A0Google's search engine was not strong enough to find me this informa= tion. I also apologize that=C2=A0I did not invent Google and add semantic s= earch to it. I promise I have tried hard to search for this information bef= ore bothering anybody, and I very much appreciate the explicit clarificatio= n.

=

There=E2=80=99s actually lots of info about this. Pandoc = is not even idempotent, 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 answer to this ques= tion. I ask this to see how much I can depend on using Pandoc for an applic= ation that would convert back and forth between two formats, one for storag= e/authoritative purposes and the other for rendering/display purposes. Than= ks!

--
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= /unsubscribe.
To unsubscribe from this group and all its topics, send an email to pandoc-discus...-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.<= br> To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/0b75= 6db2-f247-49b1-a7dd-e0242e79d956n%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://groups.google.com/d= /msgid/pandoc-discuss/81417776-15c4-4dfb-8229-0dc15614c88dn%40googlegroups.= com.
------=_Part_371_1341662555.1620164048378-- ------=_Part_370_91521367.1620164048378--