From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id oIiyGkcvMGR3UgAASxT56A (envelope-from ) for ; Fri, 07 Apr 2023 16:57:11 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id oLOWGkcvMGQ1GAAAauVa8A (envelope-from ) for ; Fri, 07 Apr 2023 16:57:11 +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 11EC918849 for ; Fri, 7 Apr 2023 16:57:11 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pknVZ-0005JF-DE; Fri, 07 Apr 2023 10:56:09 -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 1pknVX-0005J4-Bj for emacs-orgmode@gnu.org; Fri, 07 Apr 2023 10:56:07 -0400 Received: from mail-lj1-x22e.google.com ([2a00:1450:4864:20::22e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pknVV-0004fG-Hd for emacs-orgmode@gnu.org; Fri, 07 Apr 2023 10:56:06 -0400 Received: by mail-lj1-x22e.google.com with SMTP id z42so43729114ljq.13 for ; Fri, 07 Apr 2023 07:56:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; t=1680879363; x=1683471363; h=content-transfer-encoding:in-reply-to:mail-followup-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:sender:from:to:cc:subject:date:message-id:reply-to; bh=O4z2oDj4X4M4TUjdQ4O1QY9BDbPv8trC535mXONCWkE=; b=BslkHoDTHILYqsRuy0sARGnf/gEH/tF86kDsoe8NrbbH+VwmvbAnEz61YjDHpAbTpp 9NW4uhYZKidxTniH/LLg9QbGVjq+GMszk8TVA3dC957PuixZvC4ieK4PhhClkcnVWHM8 TkYk99TeI7P3hUfFuX5z/RTqiN99QmC4QDyv1aGtloGWozeL/NQN23yddKZ1pmWmYFa0 Gn9qsV4rBi8kRr2bfzmyic2MiVVFkgkPZRV+EIEJ2n5xzfbFu31Z+CnDpBwBmWn0HjZc xhld6QuTNFZgpfy3RqboWsYBCdkRE4vW00JmTu1vMbju40TsH4HabrX/OwDntWzIe7x6 nazA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1680879363; x=1683471363; h=content-transfer-encoding:in-reply-to:mail-followup-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:sender:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=O4z2oDj4X4M4TUjdQ4O1QY9BDbPv8trC535mXONCWkE=; b=aWD7ma4tK8xSgv9gC+XQzU6KhETxnHaxpIYkrKlMf9MzBjZkcYz8AwzO+SLzZxizDV RKAkD2Dq2qw5YW3yKv79n7sYT7bV6A/QMJMokOzayNW1Do+ciYGAK+9076oecuE4H9tB Hy+vTr/5u8XHE/7i2rotpj7Q5aMFqKJeHwvPyXcO/MiuWifIsDDcGRyewKsrSpYIi0DS cII7H8ApaqbBpmNVCVluwwHYt8Z6pYWt2SjN9fvSNYvSEf0TS1ecXTZ80w8lfw7cOQse Sgd4Ti7dTvbYp+jjIrzbQpe1iftvAloErdnkvrHIArPhhCwdxi6Ev8m/izWdNXa4kn/j AZFA== X-Gm-Message-State: AAQBX9eTrJD6McBW2CxE9HY36YTu8XGVaNNLOxx/uMdIj0rPcFvpmsi1 OlAEB9HXESiugYusvXoQ6L8= X-Google-Smtp-Source: AKy350aO6C71UTQ5jugfpm4Ndok1fFC3jZXarVzwJBj0D7oOiTeHkssoZZG0y2vF3hKd+XrnYyBo9w== X-Received: by 2002:a2e:860b:0:b0:29f:390:6642 with SMTP id a11-20020a2e860b000000b0029f03906642mr624453lji.7.1680879363431; Fri, 07 Apr 2023 07:56:03 -0700 (PDT) Received: from [192.168.0.101] (nat-0-0.nsk.sibset.net. [5.44.169.188]) by smtp.googlemail.com with ESMTPSA id r19-20020a2e9953000000b002986d306698sm851030ljj.95.2023.04.07.07.56.02 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 07 Apr 2023 07:56:02 -0700 (PDT) Message-ID: <5e277449-fed7-7306-d599-b695eaa6d993@gmail.com> Date: Fri, 7 Apr 2023 21:56:01 +0700 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.9.0 Subject: Re: [BUG] ox-md image captions Content-Language: en-US To: Vladimir Alexiev Cc: emacs-orgmode@gnu.org References: <871qmbym7y.fsf@localhost> <87a5zoav86.fsf@localhost> <871qkzl9j2.fsf@localhost> From: Max Nikulin Mail-Followup-To: Vladimir Alexiev , emacs-orgmode@gnu.org In-Reply-To: <871qkzl9j2.fsf@localhost> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Received-SPF: pass client-ip=2a00:1450:4864:20::22e; envelope-from=manikulin@gmail.com; helo=mail-lj1-x22e.google.com X-Spam_score_int: -40 X-Spam_score: -4.1 X-Spam_bar: ---- X-Spam_report: (-4.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, FREEMAIL_FROM=0.001, NICE_REPLY_A=-2.03, 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=1680879431; a=rsa-sha256; cv=none; b=bSUNyu+sgFx6vZKtlx8/uYjMbQMEOvUGSI0p3em4laLza9G3R9QTLJ3q7a3zl9kigIJ3Py rwkmt1w/8yaMq+S/M+MFQDVxNzfuSn0X63PTigYR7IHY3nFFKAbOHAkWT5jir4xvHmXIVX 1G0FZ2wZulTAKTNr9qQx+BXZYq8rOsv32BcNVteONDFTYvOuwKHMrUQvUCvIAvj93B7L4t IDRhos8IUtN6dOcmLpDEf0ZOEOYuvCrYu1P3kQeUweHrsuf3oQgdsNFLG8yKbfdN9pUdKz 4egptGw0/oiEUxgepShsqgC6Xh3MM16TbqJe4gHViswRKAZp8MlCfrMyVF2L5Q== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=BslkHoDT; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); 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=1680879431; 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: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=O4z2oDj4X4M4TUjdQ4O1QY9BDbPv8trC535mXONCWkE=; b=HOYWF0J9KZL1YGtIR+H8EanjEWopP0ID6qsWtA9uwxj4ronsvRgNX5WUgdgcEeEorD34rA cTVz/uV6N9u/IBmv8+KYe6CWIN28wAJ1qGb3pMArw0QKKrAt3iqhVdGPB61bqnQpcebTnP jqo+gICYEBqX2ddaagX7T5D6iRDUv1CFSx8LSfTxNpW4sKYkYeLVCvK7dLC298IXdjao33 uhWYgZ4nnCEyMh5tnUrByRPhOOiR2Ixuq6RVWKRfROSgF55qRq9zA3TfOq+Hnhg8lactmM WZPeawetppb9uodnoupPw+ioyBWopUy9S/gny3MdAXTnUnuqCS2PMJbhjLiN7g== Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=BslkHoDT; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); 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: -1.22 X-Spam-Score: -1.22 X-Migadu-Queue-Id: 11EC918849 X-TUID: lgTiy0rmp3nn On 05/04/2023 02:41, Ihor Radchenko wrote: > IMHO, it would make more sense if Pandoc had a toggle to treat captions > differently. As an alternative. printf '![Alt](file.jpg "title")\n' | pandoc -f org -t markdown_strict disables generation of
. I think, it is unlikely that users with mobile devices (touchscreen only) have chance to notice title attribute. The only site where I check image titles is https://xkcd.com/1179/ . Alt text describes image for those who do not see image while caption should be apparent for those who see it. I believe that it is Org bug that it places caption as title, but there is no better alternatives besides HTML. Duplicating caption as alt text, as pandoc does, is a bug as well.