From: Vladimir Alexiev <vladimir.alexiev@ontotext.com>
To: Ihor Radchenko <yantar92@posteo.net>
Cc: emacs-orgmode@gnu.org
Subject: Re: [BUG] ox-md image captions
Date: Tue, 4 Apr 2023 22:34:16 +0300 [thread overview]
Message-ID: <CAMv+wg4LePHuh+BvfWAGySW9F6VwAfASqqWLHd2Kt83SpAxPdQ@mail.gmail.com> (raw)
In-Reply-To: <87a5zoav86.fsf@localhost>
[-- Attachment #1: Type: text/plain, Size: 1614 bytes --]
Maybe an option?
Saying "pandoc is in the wrong" doesn't do much to resolve the issue.
Despite my enormous love for orgmode, Pandoc is used a lot more widely for
scholarly publishing and interactive websites. See Quarto and Manubot.
On Tue, Apr 4, 2023, 11:46 Ihor Radchenko <yantar92@posteo.net> wrote:
> Ihor Radchenko <yantar92@posteo.net> writes:
>
> > I am inclined to change ![img](url "caption") to
> > ![caption](url) for links without description (links with description do
> > not obey caption in org export).
> >
> > Any objections?
>
> Upon further investigation, I have found that our base MD reference we
> follow in ox-md is defining image syntax as the following:
>
> ![Alt text](/path/to/img.jpg)
>
> ![Alt text](/path/to/img.jpg "Optional title")
>
> https://daringfireball.net/projects/markdown/syntax#img
>
> Therefore, Org mode is doing everything right within the scope of MD
> specification we follow. Pandoc does not.
>
> In fact, looking closer at https://pandoc.org/MANUAL.html#images, I find
> it very strange that alt text is used as image caption, not actual
> title. In HTML, alt text is supposed to be displayed *instead* of the
> image if the image cannot be viewed -- a feature often used as the base
> of accessibility for blind users. See
> https://www.w3schools.com/TAGS/att_alt.asp
>
> Therefore, I see no bug on Org side.
> Canceled.
>
> --
> 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>
>
[-- Attachment #2: Type: text/html, Size: 2798 bytes --]
next prev parent reply other threads:[~2023-04-04 19:35 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-02-27 10:02 [BUG] ox-md image captions Vladimir Alexiev
2023-02-27 18:52 ` Ihor Radchenko
2023-04-04 8:48 ` Ihor Radchenko
2023-04-04 19:34 ` Vladimir Alexiev [this message]
2023-04-04 19:41 ` Ihor Radchenko
2023-04-07 14:56 ` Max Nikulin
2023-04-07 15:29 ` Vladimir Alexiev
2023-04-07 17:21 ` Max Nikulin
2023-04-08 10:29 ` Ihor Radchenko
2023-04-08 10:25 ` Ihor Radchenko
2023-04-05 9:43 ` Morgan Willcock
2023-04-05 10:04 ` Ihor Radchenko
2023-04-05 10:41 ` Morgan Willcock
2023-04-05 11:07 ` Ihor Radchenko
2023-04-05 15:30 ` Vladimir Alexiev
2023-04-16 15:36 ` Ihor Radchenko
2023-04-05 12:06 ` Max Nikulin
2023-04-05 13:05 ` Ihor Radchenko
2023-04-05 15:15 ` Max Nikulin
2023-04-05 15:22 ` Ihor Radchenko
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CAMv+wg4LePHuh+BvfWAGySW9F6VwAfASqqWLHd2Kt83SpAxPdQ@mail.gmail.com \
--to=vladimir.alexiev@ontotext.com \
--cc=emacs-orgmode@gnu.org \
--cc=yantar92@posteo.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).