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 ms5.migadu.com with LMTPS id CD7MJJ0PUmN06gAAbAwnHQ (envelope-from ) for ; Fri, 21 Oct 2022 05:18:53 +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 XqXyI50PUmOxSgEAG6o9tA (envelope-from ) for ; Fri, 21 Oct 2022 05:18:53 +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 37F41167C7 for ; Fri, 21 Oct 2022 05:18:53 +0200 (CEST) Received: from localhost ([::1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oliYe-0002bP-B8 for larch@yhetil.org; Thu, 20 Oct 2022 23:18:52 -0400 Received: from [::1] (helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oliW4-0001uT-Fe for larch@yhetil.org; Thu, 20 Oct 2022 23:16:12 -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 1oliVy-0001u0-CD for emacs-orgmode@gnu.org; Thu, 20 Oct 2022 23:16:07 -0400 Received: from mout02.posteo.de ([185.67.36.66]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oliVw-0003Si-6j for emacs-orgmode@gnu.org; Thu, 20 Oct 2022 23:16:06 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id 042A4240101 for ; Fri, 21 Oct 2022 05:16:00 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1666322161; bh=vJ3gHhKnGNxDiSd+he4QpTaoh+F4l3jrLadPAFRxypc=; h=From:To:Cc:Subject:Date:From; b=lDX1QijBroS+SSzdljQpcA2ZQJWuxqT2AQ15d+6y6KlGVadzBuC9gVRdbX+qO61kg 1B/ncQcvo2O/oRIJEY6CRTgQHepJsDnTMqifb9C2L0dMmm1NDdR7crjK+vSrvtlGti 9Smdd8yedW2x1UrYHdRJSuO09KRKdq/rLGR84OHsbAZmLwD/hUT95u3I+6xGARp995 lQ+GHzToLHOz6BpiyTOkrQSYSpzhluvA2HthK/D9RqEskuIzuL6/vdSFwEngj35ewM VIvKy3RZKIOu9+pHGLCSofPItytkjXgFFSWFuEmuJZJqja41gMELuBVvRo2/npzS4N +DIOntJinY5uA== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4MtqNv3ZkQz9rxH; Fri, 21 Oct 2022 05:15:58 +0200 (CEST) From: Ihor Radchenko To: Max Nikulin Cc: emacs-orgmode@gnu.org Subject: Re: [BUG] ox-odt fails for org-id links (e.g., from org-roam v2) [9.5.2 (9.5.2-gfbff08 @ /home/moritz/.emacs.d/elpa/27.2/develop/org-9.5.2/)] In-Reply-To: References: <877d0xfu9m.fsf@localhost> <877d0wayn8.fsf@localhost> Date: Fri, 21 Oct 2022 03:16:44 +0000 Message-ID: <87lep97tnn.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=185.67.36.66; envelope-from=yantar92@posteo.net; helo=mout02.posteo.de X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.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, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, 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" X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1666322333; 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:dkim-signature; bh=6uTt+AVNus8DYbxR9IzUhTV4ua6WFp+I7YE0PHdAuhk=; b=CtgxopqRCzabZ96WOYknyjb3ncVHq+w0iI10x9WYgOEdu7g9W35jni+OBR6C9yGWgq8qYL ilSVjtjUa/Ik50I/RR+uJSFaIOuTllxjTDHt2IKua5ls6xwiXiYTFAyIr65fYEqSXAPYtg +ILvHN0BDlGukkOoQALw6FRAJxnaWz4Pj3cT8N0TVmcvs9GUM7YoGOvDuWOF9ZilCfUoMc XpK2MJnqlO70tX/WDDoeQdhW3dramneCPXr+eppvjW4zD78KGxLS5dRpEZI7yBiJZ9yFyY aRklEz4RqE28lEYdpjAv5RIGfzSPf8vPvprzlpwsNi0N75u9Qtq66LTFCFsnmA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1666322333; a=rsa-sha256; cv=none; b=T5CBx0AeRbQC7omgssq/5vPOLPc2D5TotQwbW1g90NKSBWlRUuT5wJ9YSSngEKhWufqPQD /1M6tIcrXgHSD++YdTjRW2mlN4JjI6jE3eyVENWeBEr6swtxOMyNyTzEeqBIDiTPbDbHiI IfcLirf2Za4zM8hPjVOoVyvszhdO/ejRVFlFjqJwlYvZElRbVRqG0Y6zXrYSLBvtadwy4r 7UkBl0mwqlAsPbFKd2nFvlqTabsg3a3mhYv9VXCKYf0Mz586570FGKJZIATNhaT1nbYakP urHxzJlzPjc6UQGsB1ZeeUpv5j4Dg/zJxqo50t1vmiWI21amOMTk7oN9JtZl8w== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=lDX1QijB; dmarc=pass (policy=none) header.from=posteo.net; 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-Spam-Score: -5.44 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=lDX1QijB; dmarc=pass (policy=none) header.from=posteo.net; 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-Queue-Id: 37F41167C7 X-Spam-Score: -5.44 X-Migadu-Scanner: scn0.migadu.com X-TUID: rnvhFMRCPEsR Max Nikulin writes: > I am apologizing if my comments make no sense. I remember a thread on > improper handling on id links in ox-html, so I am a bit surprised that a > link to the whole file (if I got the goal of the patch correctly, of > course) is the only problem with ODT. It is likely not the only problem. But this thread is about one particular problem that should also be fixed regardless of others. If you find other problems, please report them. > - ox-html may transform file suffix from .org to .html. Have I missed > the same code for ox-odt? ox-html does it according to org-html-link-org-files-as-html. ox-odt does not provide such feature. If people need it, it can be added. Here, we at least fix the export error. So that people can at least get some exported .odt file. > - Doesn't destination should be passed through some quoting-escaping > function to avoid characters in file names that may make XML invalid? > (Perhaps id links between .org files will be broken earlier.) > > Max Nikulin. Re: Internal link broken when publishing (was org-id with > ox-html) Tue, 14 Sep 2021 23:33:43 +0700. > https://list.orgmode.org/shqit9$8ds$1@ciao.gmane.io It should be. But, similar to ox-html, it is not escaped. Patches welcome. -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at , or support my work at