From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id yAC0FG6ULWThIgEASxT56A (envelope-from ) for ; Wed, 05 Apr 2023 17:31:58 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id 4Pw8E26ULWTfGwEAG6o9tA (envelope-from ) for ; Wed, 05 Apr 2023 17:31:58 +0200 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id BCC2BAE3F for ; Wed, 5 Apr 2023 17:31:57 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pk56D-0002VR-Uc; Wed, 05 Apr 2023 11:31:01 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pk56C-0002Uz-6S for emacs-orgmode@gnu.org; Wed, 05 Apr 2023 11:31:00 -0400 Received: from mail-pg1-x532.google.com ([2607:f8b0:4864:20::532]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pk569-0002Jg-M2 for emacs-orgmode@gnu.org; Wed, 05 Apr 2023 11:30:59 -0400 Received: by mail-pg1-x532.google.com with SMTP id d22so21970609pgw.2 for ; Wed, 05 Apr 2023 08:30:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ontotext.com; s=google; t=1680708655; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=snKOiE5NQaeoZ3V6BEB9jMPBA82cPNvKT3rW68CV+RY=; b=ZNgls+IUVzwApPz2gdIs9nInNqNob2R6H8M/2uLfAIw9gzYWxhPgwWkGpglb2U++xg SK3TwIoEA0uQCKZ8kHJHFdQDaguSGyl/TeS6AFnfu128DEawwEyTQNrk/XpZrItzlaby dW+CvTb3ZJPzRxmLgGq3W1TPXr+5xmxmiNZy22bllng3fzYIL4EUhZRfgSIAizd8ZRQ/ dmVm6j5cqSX7l9ihNkvQedvDznA1ijd+4WtNR5E64ABNThjsvAx7WNWxyihm7EoNVkXE rKcjdhgrArKgpQI9dHdzQWJIcWJHd3xVnRk3I+LJAdzzzJiXFK8+N5VqApG6zYW18k5B 9i5Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1680708655; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=snKOiE5NQaeoZ3V6BEB9jMPBA82cPNvKT3rW68CV+RY=; b=qbhZCZolS6FFHANaSNEQAYZSAE6ldollXdiEN1jqaSyM1AsfqDWkqCKBjnGZBahaKQ 56NzqGQmHq1uIvJiPWiigDr2HPQ+oqqdLv6phTFQQIxLYzy+S4aZThutUCHvRJ2J0AM+ DY4geqQ8jQFS7dxFvrQ1SUE+JW2xDcrsMvjTIkxxnqKIjB12N+RarSEXcWDPB2s5NUPG wC6ZEnhzHqij6RfBWEOpWSCj1eohvQjxGMogpuQP00uuueJmpabdOYy6alxIBbHFBY7I feQwm9HW6ACcCnCNY0/CGKRkodYz1ktSAVhxMLFACcO4fv6WM+VvPamV1OhCKnUHY7bB 7ucA== X-Gm-Message-State: AAQBX9dEW4OXxoGlw0pavo0nJKR/oXQs3w5D0s8ev3TQi0z3fHScx7UH fzjiCu2rxxOdKh8lDl0IrytMfckvo9XnhD/Bdm5/ww== X-Google-Smtp-Source: AKy350ZA8L9NM4PJAwpbkogkcM64vfdBR0czANBAjth/WiQDpJI9vM3BfOZq8JvXbz747ZJBmJrYCcVN/2ngrtWrefg= X-Received: by 2002:a63:e50d:0:b0:513:86f0:4be3 with SMTP id r13-20020a63e50d000000b0051386f04be3mr2133125pgh.5.1680708655312; Wed, 05 Apr 2023 08:30:55 -0700 (PDT) MIME-Version: 1.0 References: <87a5zoav86.fsf@localhost> <875yaa1x67.fsf@ice9.digital> <877cuqk5kr.fsf@localhost> <871qky1uhk.fsf@ice9.digital> <874jpuk2ov.fsf@localhost> In-Reply-To: <874jpuk2ov.fsf@localhost> From: Vladimir Alexiev Date: Wed, 5 Apr 2023 18:30:43 +0300 Message-ID: Subject: Re: [BUG] ox-md image captions To: Ihor Radchenko Cc: Morgan Willcock , emacs-orgmode@gnu.org Content-Type: multipart/alternative; boundary="0000000000005f116805f8987a30" Received-SPF: permerror client-ip=2607:f8b0:4864:20::532; envelope-from=vladimir.alexiev@ontotext.com; helo=mail-pg1-x532.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: emacs-orgmode-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN ARC-Seal: i=1; s=key1; d=yhetil.org; t=1680708717; a=rsa-sha256; cv=none; b=A/RRSe82vIDMnGBV8NoHd0ibQ9XVgZ9XjdybyzxFq+qFWn2U23dMapS7uPasVQhBnr8a+k qZq2R5z4r3qBgZSer/No7BZgD/XUBPLnNqA/qgSs1jy3UJoo+tVitGTgklHEpYfsSi8VOW WKTF8Jy/JY0nMlyyBlEp9HZB+0Y3kkIzcGLA0D2G6foRGs1Nuv8Sl4u1jo344i8brlKND2 5pL0VUAUGrlebR5OizGW4tBQeewP/30kVg8vL7f5DEswVO2Ysb19HWBqd+gnfoZbL+w4qa lOAcqrdwThsrUcWhyYFS1MyTSdXHZatnhYmkwS/YW5zZWEKCjtFcJ3/hOFnVUA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=ontotext.com header.s=google header.b=ZNgls+IU; dmarc=pass (policy=none) header.from=ontotext.com; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1680708717; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=snKOiE5NQaeoZ3V6BEB9jMPBA82cPNvKT3rW68CV+RY=; b=CdVJWzzWMJpxzmiSWviPMKvLideAdL7q7wrX/8DrId2mSlGXpVo0MbMMPw8+jvfH3bGBQH qMS3zSzeH1YSiRXl4jb0F1TjQDsavcdYOnFuJOjfIROApOdg6Q6tCH8HqPGaj9VXD4mBw1 zR3+M4fAlpZknpsdH8gNoxYGbjBk5UVjwb0KmfYD1ieJH5nIw9ep+zcBrSVBddVMHExu1W oY74SIfF3+hrucFMDZtYi8VcVH+44V+LlngbvGZLXjkebJ3NyIoJsoNdBsSgBRz0jvxOrE 1Rz59j7lfp+SLY57w42cQnNk3C4dJnUx7h3BuQo3+Sp5PFqqJ86jQeJvFV/pBw== Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=ontotext.com header.s=google header.b=ZNgls+IU; dmarc=pass (policy=none) header.from=ontotext.com; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org" X-Migadu-Scanner: scn0.migadu.com X-Migadu-Spam-Score: -9.62 X-Spam-Score: -9.62 X-Migadu-Queue-Id: BCC2BAE3F X-TUID: i791wRQ/RgYm --0000000000005f116805f8987a30 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable I posted a Pandoc request: https://github.com/jgm/pandoc/issues/8752 On Wed, Apr 5, 2023 at 2:04=E2=80=AFPM Ihor Radchenko = wrote: > Morgan Willcock writes: > > > If ox-md is trying to do the same thing as Markdown.pl then it doesn't > > really make sense to compare it to CommonMark. > > Most likely, ox-md is following Markdown.pl simply because there was no > better standard at the time ox-md was written. > > I now looked up a comparison between markdown flavours (see the attached) > and I do not see why we should abandon following the original markdown. > CommonMark and other markdown flavours usually extend things on top of > the original implementation. So, following Markdown.pl should be the > most universal option. We leave more specific exporters for advanced > markdown flavours to external packages. > > > The only point am I trying to make is that both ox-md and Pandoc need t= o > > deal in the same unambiguous specification in order to inter-operate. > > > > For Pandoc, the matching specification needs to be selected to ensure > > that the correct one is used, but nothing based on Markdown.pl can be > > unambiguous in this scenario because Markdown.pl has no unambiguous > > specification. > > Indeed. > I tried to make this point more clear in the attached patch for Org manua= l. > > > -- > Ihor Radchenko // yantar92, > Org mode contributor, > Learn more about Org mode at . > Support Org development at , > or support my work at > --0000000000005f116805f8987a30 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable <= br>
On Wed,= Apr 5, 2023 at 2:04=E2=80=AFPM Ihor Radchenko <yantar92@posteo.net> wrote:
Morgan Willcock <morgan@ice9.digital&g= t; writes:

> If ox-md is trying to do the same thing as Markdown.pl then it doesn&#= 39;t
> really make sense to compare it to CommonMark.

Most likely, ox-md is following Markdown.pl simply because there was no
better standard at the time ox-md was written.

I now looked up a comparison between markdown flavours (see the attached) and I do not see why we should abandon following the original markdown.
CommonMark and other markdown flavours usually extend things on top of
the original implementation. So, following Markdown.pl should be the
most universal option. We leave more specific exporters for advanced
markdown flavours to external packages.

> The only point am I trying to make is that both ox-md and Pandoc need = to
> deal in the same unambiguous specification in order to inter-operate.<= br> >
> For Pandoc, the matching specification needs to be selected to ensure<= br> > that the correct one is used, but nothing based on Markdown.pl can be<= br> > unambiguous in this scenario because Markdown.pl has no unambiguous > specification.

Indeed.
I tried to make this point more clear in the attached patch for Org manual.=


--
Ihor Radchenko // yantar92,
Org mode contributor,
Learn more about Org mode at <https://orgmode.org/>.
Support Org development at <https://liberapay.com/org-mode>,=
or support my work at <https://liberapay.com/yantar92>
--0000000000005f116805f8987a30--