From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id CK7kD6hWMGR8wQAASxT56A (envelope-from ) for ; Fri, 07 Apr 2023 19:45:12 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id GKXyDqhWMGS2HwAAG6o9tA (envelope-from ) for ; Fri, 07 Apr 2023 19:45:12 +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 D04F3AF6D for ; Fri, 7 Apr 2023 19:45:11 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pkpmt-0008Bg-NA; Fri, 07 Apr 2023 13:22:11 -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 1pkpmm-00089B-Ks for emacs-orgmode@gnu.org; Fri, 07 Apr 2023 13:22:04 -0400 Received: from mail-lf1-x12e.google.com ([2a00:1450:4864:20::12e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pkpmg-0004bb-St for emacs-orgmode@gnu.org; Fri, 07 Apr 2023 13:22:02 -0400 Received: by mail-lf1-x12e.google.com with SMTP id c9so44811142lfb.1 for ; Fri, 07 Apr 2023 10:21:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; t=1680888115; x=1683480115; h=content-transfer-encoding:in-reply-to:mail-followup-to:from :references:to:content-language:subject:user-agent:mime-version:date :message-id:sender:from:to:cc:subject:date:message-id:reply-to; bh=J57zt3GtQAMg7RkcDJdGPMSIP5JIoeLKIjObqXm9zSg=; b=nurzeQPBXKVOtlzizyh5CNHE/4b0zoDXe7TnstQjp8qMY+3tMsVLijxpG31dc6izOV Q6WMtO3VYTFrpBTBhjQh5382J91Xw6f9qOVAK5ZGmmBbrhz/rjGhTRFi/NGbELwd1bkj sgF0pFqmdSQ298GqaUjKrLcLKrqtoCh/+IM2YiyRhHDErkmI0qKvZvIAba5CWYMq7tgm gFD3KAJagrdysKBnFautQaizYbsl5zhmEw3hIPKqer6uzBHOfhJLKuaQV47vq0Q1nqZ/ LV9g60EKmPaEvopxWKRa1D04DTz58cGdxdIpU9QLWyZdhkJMOOUVL6nM8L3IaE7fFaNh xy+w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1680888115; x=1683480115; h=content-transfer-encoding:in-reply-to:mail-followup-to:from :references: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=J57zt3GtQAMg7RkcDJdGPMSIP5JIoeLKIjObqXm9zSg=; b=5CmWHA0YY9J1EtiPbYPZtIHeu+jka6yvwS+MZEgnPtzcjytBQK7HKwu69Gk6kcyU1f NQDorL79H6ZnbKUmawIpd1/VEoesoa7aWWdE4ugrtLLeinyIdx1r9TkezxZLbZDabJ2z E35qw6oo5EfFJkwP6vCk71PtaMw+rN757OC+1O3s3UXLwrbstWHDB3p4nb6NFXScX71E 0tOSLeevd5vSGEuXmoG9DrLlFXnAz4yiIb9pbYad0PzG58z9b1hE1ZDwF9If4rbnAtYj RYUQ8weIOqTtPoIKWizr+JuhtH4ubcY1Syg7uFndpbJDjcSuhV7Ii/SUgRMf6Sb9zMyL JQJQ== X-Gm-Message-State: AAQBX9dDl+bIZHnWJoZhuYyP8RZaFWcUm+bqL5nlPhSNKjU1j0mCtyVf 8MwtjWy0DaTMOPCJfAXnkpA= X-Google-Smtp-Source: AKy350a9YrCR/VqSfjR1ItNSS90+fLZEAeq38E7gpapjYgbTM9prkEKSkFjUnWBDrCvKRd4bYeO9Jw== X-Received: by 2002:ac2:57cf:0:b0:4eb:f6d:653 with SMTP id k15-20020ac257cf000000b004eb0f6d0653mr770939lfo.50.1680888115240; Fri, 07 Apr 2023 10:21:55 -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 u14-20020ac24c2e000000b0048afb8b8e53sm799783lfq.80.2023.04.07.10.21.54 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 07 Apr 2023 10:21:54 -0700 (PDT) Message-ID: Date: Sat, 8 Apr 2023 00:21:53 +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 , emacs-orgmode@gnu.org References: <871qmbym7y.fsf@localhost> <87a5zoav86.fsf@localhost> <871qkzl9j2.fsf@localhost> <5e277449-fed7-7306-d599-b695eaa6d993@gmail.com> From: Max Nikulin Mail-Followup-To: Vladimir Alexiev , emacs-orgmode@gnu.org In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Received-SPF: pass client-ip=2a00:1450:4864:20::12e; envelope-from=manikulin@gmail.com; helo=mail-lf1-x12e.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=1680889511; a=rsa-sha256; cv=none; b=QFBX7Vl1e6kBDavHAHKqal9rAkiV3b34y9vtXmtR3o4b7BMiv4WyAtSipH554j/6oT9itO ZtCXs7+/XN26U4ri6GccwEYjlFLx6ThD76tP+/jwhMOji4+bpMAjpKGXf55DFRex4BA1Jy XFTP3EP5zmlOJ2DZFKSixfBKbVM4NXaCxAu1QWHO3o6n4IRp8l6z+84cUlmcMgiSpGVhVf qlyRZDB9WL/uMe2EG/AQ95pg4srAy4Rruw4PV2dBVIjmyPVZ2yGJ5fu4hvdlAMedJIb5HL hSAPG5kkss0n93n2/NnHombrfPKzCCoVCnRONHxK3ZSqWVh9oY0WfttHHW3Cyg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=nurzeQPB; 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=1680889511; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to: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=J57zt3GtQAMg7RkcDJdGPMSIP5JIoeLKIjObqXm9zSg=; b=hcws0CawOFLzC9UEwsX4crd22c72yeIA0i/lPe1Z0APGawD6CjvnpcMAzj0Cri6d/ryb7I dujGakeywGJbNtutPCZyF3VFvZ23wYUtFnIvveLoZWRC+DG3SJC0W/euUZ2opnsqkBYzzF cZr9hV4fhdDrfHxEVN5Kl2rWZmczSn+uYDvh9aF/eJ7svaPOvcHxUHBBg6UTMPiRQt1r1O F7+XNVNoamF6PU3vBj+5BI84j3PXwMDUc0NuY4VMJIEw6vDwgM4cM8Lm5t9APYygyW7087 ZwECfFpN2L427EZM3sN87LNjuhsMA9QW/Av3MKzorMpY9qbFB/+aRA+gSg6ztA== Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=nurzeQPB; 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: D04F3AF6D X-TUID: JBuRQLny2ofQ On 07/04/2023 22:29, Vladimir Alexiev wrote: > It's not about the tooltip in HTML: > figure captions are very important in scholarly publishing. I see and I do not like that Org exports caption as title (tooltip). On the other hand neither original markdown nor GitHub flavored markdown have notion of figure caption. Pandoc extension has the issue with duplicated text in caption and alt. I have seen mention of
block in commonmark, but I have never tried it. MarkDown is rather basic format and the closest approach it a paragraph below an image despite they are not grouped into figure. ![](fig.jpg) Figure 1. Caption A workaround for Org is export snippet or block for the paragraph with caption #+md: Figure 1. Caption