From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id uLiFJ5DXuGa2cwAA62LTzQ:P1 (envelope-from ) for ; Sun, 11 Aug 2024 15:24:00 +0000 Received: from aspmx1.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1.migadu.com with LMTPS id uLiFJ5DXuGa2cwAA62LTzQ (envelope-from ) for ; Sun, 11 Aug 2024 17:24:00 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=hmS4Lpay; 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"; dmarc=pass (policy=none) header.from=posteo.net ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1723389840; 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=VwIKhGnmNaqFuPB5pHsJMKXvJPISJbTL/bObYBAYPy4=; b=YQgnuWR4wwTGRuAh9PRNhY9CbwmwPZTpalGBADrnH9+urO9fC/sPMhzb2tkvAdDdniU0k8 7kEwtyWRxQBuS+TrMQQDKKj8XMYyvRWxk/kwK2p/DkdNZYu0z1AT6xAp/XgIRR28x5yEBT NlK0lGSax1fSIZFymK4vARiuo/CV8mOudVrfTgXRoAP2Ez+oezXVJ/Ai8IWVKcWrxY0i6n 77PnWZHSH5LUIxv1zved315ojhC8ru8EiI/kNJBP5vCcGStBwixcSDYYwnKmxazFfDLkxU 7xPDKNJSjBowfL5fa9lMpgDKeL69LHr3HZAb82R+BionspEFANyriNnWUK13Gw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=hmS4Lpay; 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"; dmarc=pass (policy=none) header.from=posteo.net ARC-Seal: i=1; s=key1; d=yhetil.org; t=1723389840; a=rsa-sha256; cv=none; b=afZnvekEAJz9gH4a5TSXAlefQn0WYFivBaB7rLmB558PUXJAF+t/c81h/UPKXo7bcyegDX fWlHjZuxgwIkyqJMseKJVdyZmQrFludBzIzafwnkJ130IxBhNGuhapXIqpv/ru5/Lx1GCv KzocInlM4g4My0ib/kba27M7WINUsbUv1u/fZhftQx7mUhHudzEfKbivo2/Ch54vjZ5fjE szziixcSWCmwEIibkDQyaHf86mDHOV7CORAe2wfzJ5vPj92sYUOtDiqdNV/TnhtuKAsbuh AWgAUOu+PPbEe8paCuLb3WDi83RVLK2V+OFkA4Xv40hG/Y6OP/ASTX0vdm8GOQ== 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 6E5CB6194B for ; Sun, 11 Aug 2024 17:24:00 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sdAPV-0001zO-J5; Sun, 11 Aug 2024 11:23: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 1sdAPS-0001z0-3Y for emacs-orgmode@gnu.org; Sun, 11 Aug 2024 11:23:06 -0400 Received: from mout01.posteo.de ([185.67.36.65]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sdAPP-00075L-NB for emacs-orgmode@gnu.org; Sun, 11 Aug 2024 11:23:05 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id 17464240028 for ; Sun, 11 Aug 2024 17:23:00 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1723389780; bh=6o657ThLgCCr55hQ9u0wGSJkF9tmd8nDVdizDIO2oZE=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:Content-Type: Content-Transfer-Encoding:From; b=hmS4LpayHigcDi73OZkHEAPFrD9E4GHm8IKaQd2ZglsYvqhG/poMceZ5W4YtyYCeD KS4J0sxMhcmEFviCgS9RYw4wmYbjQvfIf4uEB23Frdvx7GALjSgvoS/k8U/WmHR8KK zL7w2sIgZzuvlnjrvVqTqNnFDkDcwzn8csh25B0S6nP6gWpOa2qwr/Fy0Cjj6H8nhr 5CuXAs2uinVug1FyYHEU7fufIfuiusCQQJAtst792wmSVyMmUWvaJ99KqUIvI7+nKM xOSa2C5G2Dp//4wPnaSu4/kdnaMQ1l26Vz1qFd65lCErxvz/J5a+orGqQhb6AnJky9 gbncwQrDiRgKQ== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4WhhH75C9Sz6twM; Sun, 11 Aug 2024 17:22:59 +0200 (CEST) From: Ihor Radchenko To: =?utf-8?Q?S=C3=A9bastien?= Gendre Cc: General discussions about Org-mode Subject: Re: Org-publish and attachment links In-Reply-To: <87h6br4wa2.fsf@k-7.ch> References: <87h6br4wa2.fsf@k-7.ch> Date: Sun, 11 Aug 2024 15:24:10 +0000 Message-ID: <87le13jd5x.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=185.67.36.65; envelope-from=yantar92@posteo.net; helo=mout01.posteo.de X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 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, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 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 X-Migadu-Queue-Id: 6E5CB6194B X-Migadu-Scanner: mx13.migadu.com X-Migadu-Spam-Score: -9.67 X-Spam-Score: -9.67 X-TUID: vL4SPpx/SmW2 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. --=20 Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at , or support my work at