From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id +Hm5GqMWuWYhqQAAe85BDQ:P1 (envelope-from ) for ; Sun, 11 Aug 2024 19:53:07 +0000 Received: from aspmx1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2.migadu.com with LMTPS id +Hm5GqMWuWYhqQAAe85BDQ (envelope-from ) for ; Sun, 11 Aug 2024 21:53:07 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=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=1723405986; 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; bh=U1HRS4DfNt7HqwPmdix1Gr6BvUXB94/AaFxUgz1FDRY=; b=XUaiKSzN/ymGQbRI739zimPCb/zApicW0MBE5AqXsGFBIU8xPEHrYEaal6NE0BTs/slYEi Id/k0J1TLirWvO+WsCh4PoIfV3Th2Jsn6bbVVS9wYiftrnaffFtcbCAZm9OVavQBHOF6gD klmd+1tV/ImiotRVTDlsgbmltuyXvw6YR7Yomo80+/iy+afOtOsqAK1cFz9hJVG5LPUpkA qgLXJ2la17e/+L6Ke1+ZlLQ8bAQChZrkwxIr6+Egk9Gm4dqALLY5IePF7NKeTK6DEPH6Tp rJDgEOQ/ywgKsUeJPpVykbc2ZjVrZKjiHQopyPdZzDNVbQyKbj1QFZ6rrwQBeQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1723405986; a=rsa-sha256; cv=none; b=dAPIeTsWVyJVcmZGW1JEaR/9oK/odRdsgi1DgPuYezHsG7pLVryw6HM/XEWSmlRBcWFy0w c3Gf+Ta+l4B2ShgzE7/Qk5ckveY9D4m1cKfvGFb1DiU+QGAMijZrs5i5O2T/gX7Zw+q974 MlCmg9qA/JJ2cULOx1lGeUHrvWdc/GkjIPqb3inEtFN8QWJVimg4LUc6JyeL0h4vstXwUG a38cZcBNTHs67UBJwIce3WqTYjLfaWVCwYwjgJnFhKRK4h993gOUpKjEguk3hRgf+Qjggq Jebo1AV5Uq0+mFTTs4YfAV+IPxq1BGy/Q1j4RsCNa/YPzgkwXOTmCCovsMiZNw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=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" 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 633E81A85A for ; Sun, 11 Aug 2024 21:53:05 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sdEc6-0000Mm-SJ; Sun, 11 Aug 2024 15:52:26 -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 1sdEc4-0000MY-Ju for emacs-orgmode@gnu.org; Sun, 11 Aug 2024 15:52:24 -0400 Received: from 96-100-31-185.ftth.cust.kwaoo.net ([185.31.100.96] helo=k-7.ch) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sdEc2-00080E-TJ for emacs-orgmode@gnu.org; Sun, 11 Aug 2024 15:52:24 -0400 Received: from van (_gateway [192.168.1.1]) (Authenticated sender: seb) by k-7.ch (Postfix) with ESMTPSA id 764A1E8120; Sun, 11 Aug 2024 21:52:17 +0200 (CEST) From: =?utf-8?Q?S=C3=A9bastien_Gendre?= To: Ihor Radchenko Cc: General discussions about Org-mode Subject: Re: Org-publish and attachment links In-Reply-To: <87le13jd5x.fsf@localhost> (Ihor Radchenko's message of "Sun, 11 Aug 2024 15:24:10 +0000") References: <87h6br4wa2.fsf@k-7.ch> <87le13jd5x.fsf@localhost> User-Agent: mu4e 1.12.1; emacs 29.4 Date: Sun, 11 Aug 2024 21:52:15 +0200 Message-ID: <87o75y3ki8.fsf@k-7.ch> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" Received-SPF: pass client-ip=185.31.100.96; envelope-from=seb@k-7.ch; helo=k-7.ch X-Spam_score_int: -8 X-Spam_score: -0.9 X-Spam_bar: / X-Spam_report: (-0.9 / 5.0 requ) BAYES_00=-1.9, RDNS_DYNAMIC=0.982, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, TVD_RCVD_IP=0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=no 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-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Queue-Id: 633E81A85A X-Migadu-Scanner: mx12.migadu.com X-Migadu-Spam-Score: -8.55 X-Spam-Score: -8.55 X-TUID: rQwSdG7DThps --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable It work. Thank you very much. I didn't know that org-attach have it's own library and that it was not loaded with org. I found nothing about it in the Org-attach section of the manual. Ihor Radchenko writes: > S=C3=A9bastien Gendre writes: > >> # TL;DR >> >> When I export Org-mode documents with org-publish, it cannot resolve >> links in format "[[attachment:image.png]]". >> >> But when I export manually the same document with the export dispatcher, >> the export work correctly and the attachment link is correctly resolved. >> >> I don't know if it's a bug, or if it's planned to work like this and a >> feature suggestion is needed. So, I post a message here. > > In your script, you do not load org-attach library. So, attachment: > links are simply not recognized. > >> ;; Package load and configuration >>=20=20=20=20=20=20=20=20 >> ;; Use org >> (use-package org) >>=20=20=20=20=20=20=20=20 >> ;; Use ox-publish >> (use-package ox-publish) > > Add (require 'org-attach) here. --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQI/BAEBCAApFiEEaA9vw9ypVj1kP0tAtYb3x3I54p4FAma5Fm8LHHNlYkBrLTcu Y2gACgkQtYb3x3I54p7ZYQ//bhvUF2DaGzg+JuUq6GtH1mOXaVx24rWkquZkxdid Cc48TBicrcAmR51GXC7NBDz9rMSCNO5ZvlqMyTSz1h9913xGEbdx/+bagRv+EUjT CxDKTrOP0YnUyOB7Rc1lq0Srg5yoG4f9DP1gbIhPUcs+NI5HvSumleZVFMpkjxsO 9Hf1JZePATk+/uoUZfFg4YGtt6FiI8ENLZHaoWCP2oDeZnKWZVw+yXToKbWMMdVn ksQ/UxrXpv+lbjy1v3VdNE2KIFtHYCkEVgxJsF0PFUXNjcHuukUCOVldz8KYH723 4iYGRt3gbDOgDz9jFwwj8+8sO9J7yHoODrJV7l24Xry0mBbB5Ixiy2e5EUKKuypG 8nQmF7sctiQHeT4PXssBNoT8IIfBPQeRSmkBQij7g6wiO5jbPUa6DaiGeKTUYbv5 QzRQ0uBwJ+FcMcjEBs1LbffltcaAkItbQ/dxw2jH98QgVffnFUYa8oW/v35bUYqB yoYIeUzmlKiGhn8Ujn7flXPHZHT8Wyhhmtc9V5IMTG85UyZHcxAJvht1JcrcxwPd lgsjb0rYcWoioQeLf42WR6EXtnEYR/ih1W9tD8mzb10pld+2mOcAKb6TjcXQCBLk 5INMgC+BIlkKeL+K9Sa6kDFW9CuV+dNcVWLeKwn3R/WlGRuL2vq2x0RzaaPWRLQl oK8= =XwKt -----END PGP SIGNATURE----- --=-=-=--