From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id wNanBzQg0WMaBQEAbAwnHQ (envelope-from ) for ; Wed, 25 Jan 2023 13:27:32 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id UOOnBjQg0WP8/wAAG6o9tA (envelope-from ) for ; Wed, 25 Jan 2023 13:27:32 +0100 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 C79A32A8C5 for ; Wed, 25 Jan 2023 13:27:31 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pKerQ-0008JN-Gn; Wed, 25 Jan 2023 07:26:40 -0500 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 1pKerP-0008J7-8G for emacs-orgmode@gnu.org; Wed, 25 Jan 2023 07:26:39 -0500 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 1pKerL-0001oA-CU for emacs-orgmode@gnu.org; Wed, 25 Jan 2023 07:26:38 -0500 Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id 62A9024014E for ; Wed, 25 Jan 2023 13:26:29 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1674649592; bh=vBmCBnWzKm4U7b1wyrJgRjHrXDZ+qW9sc168pP+o1V0=; h=From:To:Cc:Subject:Date:From; b=ZXpK90kVrpEIFyzUo4El4dpIh/tympXw1J7xmyyWIo3YluJquxER3KBEVuHZOgG1A 7Rry9CQ7Ws4ihsApOe8GmHD3g6d1mtXzxym+4XawL0vnN28yLfNgJQnWAM2/Ekwugm AgXOu1sX9cGXqEQPd2Bzm0Praenjinhl99DZ+A7CztAaJbsI5v4sCb8d8f1KNqP8wT exwdKtgBXTPA8YEQ73kx/T+VRh4E+lBs8dNlcfqFIp+FGYI1RWEfmg7SDgvqk1Wd3N hp3PlOIc/AXi8LRdlSfXb9RWpDjVbR5CNxLOmxwRE3nLAFBW1CFa0VmKV8oxDN4dDJ hi2lhRuDrHBlQ== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4P233k5jPfz6tmB; Wed, 25 Jan 2023 13:26:26 +0100 (CET) From: Ihor Radchenko To: Stanislav Vlasov Cc: "emacs-orgmode@gnu.org" Subject: Re: [BUG] Org citations do not render in tables [9.5.5 (9.5.5-g8ef620 @ /home/stas/.emacs.d/straight/build/org/)] In-Reply-To: <87tu0f50af.fsf@disroot.org> References: <87tu0f50af.fsf@disroot.org> Date: Wed, 25 Jan 2023 12:26:59 +0000 Message-ID: <87edrin6jw.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: -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_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-bounces+larch=yhetil.org@gnu.org 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=1674649651; 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=c8+psS10cVsXb+GDaUwePBTAXv4wYAOy20woYUDTjck=; b=C3rN86Z05CdANFwah6OYdgQoFd7DsrqVEvqQsUKzMH6/+IYm7bqV2fCxIUDAWDt6I1PhKS DDlix5OA2kPNj2Fti4IYmLr4qPwx91CthGmeHplSLLiZsfze1TrpenN0S5C3bLr+KnPvHI XM6FzTTuS7umnEtx1hMmwrAgq6QCEET9EYOi4Dj1IO2SHksp9+K5U9G5FEmoXy4NlRER6z zIMs4Oy9SZjxdsRBMEiWW1w2VYrVflEmNJQW4JbvPhnzurpI/87t/fhcjEZRP7k7+Ysv8e 7+SS5m+fceW6/OiibdrJ4Ub18zhJVa6snnm3ItO6ZS+iO/itwO+99he0LtTcAw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=ZXpK90kV; 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=1674649651; a=rsa-sha256; cv=none; b=G9QkX4OpmJ2HRqWol9MXhxu66wRcNoe2myviIABsV235FWodpInnOFDGPiukwdOZSbcNEQ uq1EBYv1J9k+bk7EOomKOpaA1hXDtQURoOTCIuRhXAmrikjuEXk+KxtouvFKfxrx5/zJnA EWY491BdeA/q9tg3ha9KlAwqmUhYmNaiCtINTBXXQT+jogmn2DAfEeur4g9z8YVkDUjB+u Aajk3FNi8Rzzvh1FoJmcz9KmuJoPX8EPyvwQ66gmmhC2EDT/FaQF8Rv2XEFQ+aE3n6+t3q YzEMAOA/TJKRGIQIEE9BwzyQuOVQvJjAG6BcyhUZEEEKee1awZbGwSLUHJb2uQ== X-Migadu-Scanner: scn1.migadu.com Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=ZXpK90kV; 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 X-Migadu-Spam-Score: -6.04 X-Spam-Score: -6.04 X-Migadu-Queue-Id: C79A32A8C5 X-TUID: WMe2qKQoi5GU Stanislav Vlasov writes: > #+BEGIN_SRC emacs-lisp :results table replace > "Prior research [cite:@paper] suggests that..." > #+END_SRC > > #+RESULTS: > | Prior research suggests that... | > > The expected outcome should be: > > #+RESULTS: > | Prior research [cite:@paper] suggests that... | > > It seems that this does not depend on src language (I have also tried with R and got the same issue). Confirmed. The problem is rather fundamental one. Citation processing is supposed to be independent from the export backends. However, `orgtbl-to-generic' is bypassing the citation processing and calls `org-export-data-with-backend` directly with ox-org backend not handling citation objects. There are multiple issues revealed here: 1. ox.el currently treats missing transcoder info as "export all the unknown elements/objects and empty strings" - this is rather forward-incompatible design that may catch users by surprise when Org adds new syntax elements (as it happened here, with citations) May ox.el treat missing transcoders as `identity' and only export empty string when transcoder is set to nil explicitly? 2. Does it even make sense to apply the default oc-basic when exporting to org? Should we instead introduce something like oc-identity that does nothing and simply leaves the citations in the original Org syntax, later possibly processed by the specific export backend? Then, we can use this oc-identity in the default value of `org-cite-export-processors': (org identity)? -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at , or support my work at