From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id WIM8AaeeAmGifwAAgWs5BA (envelope-from ) for ; Thu, 29 Jul 2021 14:27:19 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id mCVpOKaeAmHRPQAAbx9fmQ (envelope-from ) for ; Thu, 29 Jul 2021 12:27:18 +0000 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 4F7FA1A5E1 for ; Thu, 29 Jul 2021 14:27:18 +0200 (CEST) Received: from localhost ([::1]:41852 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1m9588-0007ky-2K for larch@yhetil.org; Thu, 29 Jul 2021 08:27:16 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:35306) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1m957m-0007kh-BH for emacs-orgmode@gnu.org; Thu, 29 Jul 2021 08:26:54 -0400 Received: from relay5-d.mail.gandi.net ([217.70.183.197]:60449) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1m957k-0002Ii-C3 for emacs-orgmode@gnu.org; Thu, 29 Jul 2021 08:26:53 -0400 Received: (Authenticated sender: admin@nicolasgoaziou.fr) by relay5-d.mail.gandi.net (Postfix) with ESMTPSA id 83ADC1C0009; Thu, 29 Jul 2021 12:26:46 +0000 (UTC) From: Nicolas Goaziou To: John Kitchin Subject: Re: [BUG] Citations in tables are not exported References: <87o8b45gze.fsf@gmail.com> Date: Thu, 29 Jul 2021 14:26:45 +0200 In-Reply-To: (John Kitchin's message of "Sun, 18 Jul 2021 19:28:21 -0400") Message-ID: <87pmv1i9ve.fsf@nicolasgoaziou.fr> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=217.70.183.197; envelope-from=mail@nicolasgoaziou.fr; helo=relay5-d.mail.gandi.net X-Spam_score_int: -25 X-Spam_score: -2.6 X-Spam_bar: -- X-Spam_report: (-2.6 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7, 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.23 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: emacs-orgmode@gnu.org, Timothy Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1627561638; 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=zS8DodLqZ5we9QToe4uYqIbaQhz30XcXescuxNCMmBo=; b=gOGIan2aA8QOqOmGQo7TCtF/NAZxziwIsZye8GEx80Itd7Yc7OLxxb0AbIArx8im0rB7kw X8VWIjCSRqDjlRQXIWgVy/+iVOOvqBa8C6rHKvBrGw2GgkV72FWxdOJxQuhnnuSw7l4+EZ Bwv14MaFoGLKg+hYEA5vuMaCeKmKiDS+U6brvupBhVqK7FeTSt2kQJKwxIsHTA+e+1u2My KosUivskq+GxeSqOIBZA7lWKLEQyLOhR85IRL00GkzLCQ1UssTDIAjwu598CS8zslK6Mhw nqlOVDhjPfKbCui9lrtAttlW6juh/IURdsrfxLZrOsC9AkrXes5BcuZCyw7RWg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1627561638; a=rsa-sha256; cv=none; b=PzUlEofX13c2o1g4Jo+EJot40mapEX0JjUXs+50bR1/lw/jpNyNZbk2QSkHfv1qt6DMrQx BG0RhxDHl54ajfSLLMZ0NqWNW8npQDFzWlXWOk9B1LvaKa/2rZmhxy/sSNJN19G89Tk6qV 5x+sosPheFO1NoM96eqRwRuy2gFswIJcZg4gP0qPIk9ZFTZ2REzzV088QbKJCsqUA7Q0lw Y+0NCht6cb6au1rU5v76lxYQK98khl/piNEN6j1JcvefKOuIGB3ITnwBp2soYy4fn9bDge bcz2UnRcf7qlG4oR8MCHFGpNSt8y9Oj7XzjMJi3jninpxpBoQwjJXJAYfW9mng== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of emacs-orgmode-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=emacs-orgmode-bounces@gnu.org X-Migadu-Spam-Score: -2.41 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of emacs-orgmode-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=emacs-orgmode-bounces@gnu.org X-Migadu-Queue-Id: 4F7FA1A5E1 X-Spam-Score: -2.41 X-Migadu-Scanner: scn0.migadu.com X-TUID: IAZ0tUrquNqE Hello, John Kitchin writes: > I also see this behavior. I think this should be considered a bug, it is > pretty common to see citations in a table cell. > > Additionally, I cannot insert a citation in a caption that is above a > table (or a figure), I get > "user-error: Cannot insert a citation here". That should be considered a > bug in org-cite--allowed-p I think. It fails because in the caption the > context is a table, and it has :post-affiliated item which causes > org-cite--allowed-p to return nil. > > If I put a citation in the caption anyway, it does seem to get exported > correctly. Fixed. Thank you. Regards, -- Nicolas Goaziou