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 ms9.migadu.com with LMTPS id eFjbFx8CcGQk/QAASxT56A (envelope-from ) for ; Fri, 26 May 2023 02:49:35 +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 cBYIFx8CcGR5DgAAG6o9tA (envelope-from ) for ; Fri, 26 May 2023 02:49:35 +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 502841102E for ; Fri, 26 May 2023 02:49:33 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1q2LdC-00038t-Ep; Thu, 25 May 2023 20:48:34 -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 1q2Ld8-00038b-RB for emacs-orgmode@gnu.org; Thu, 25 May 2023 20:48:31 -0400 Received: from mail-pf1-x433.google.com ([2607:f8b0:4864:20::433]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1q2Ld6-0006Zv-FF for emacs-orgmode@gnu.org; Thu, 25 May 2023 20:48:30 -0400 Received: by mail-pf1-x433.google.com with SMTP id d2e1a72fcca58-64d2f99c8c3so318974b3a.0 for ; Thu, 25 May 2023 17:48:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=berkeley.edu; s=google; t=1685062105; x=1687654105; h=to:date:message-id:subject:mime-version:content-transfer-encoding :from:from:to:cc:subject:date:message-id:reply-to; bh=WD6pIAfcIyXSqmjbC06G51j1fA4VNdxZ5afTW9eiCNs=; b=Od4oEI28vpvDJoVDyT9esYp4PqM4ZeD8DUfJ/hR3imvauXXfV+gV+Z1FSpCSwOnpTI N8godTOQBcy8P9H2+q6/56C28iwZ7RmwW7mv1rvHMDBMNq1758H76KvNTaTPmXyacVxR A3dE46LMfMHBpAzaJrLgXbM+3n2hlEU+4cMslpghvbk0C0mONkxMom4yyVwTgfO+GG8e msZsece2ytwW697wvevYY1+/YpwcZeViejQokHwWp667P86OAQ+6to4GsMK5TaDKvXrz 8sHeKx5rsmcK8zP/gu6W+yE3kivUD1xNws2Uv4KXa2AqhzOEM4FdR1GY+HjvGiMhzS/u XXLw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1685062105; x=1687654105; h=to:date:message-id:subject:mime-version:content-transfer-encoding :from:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=WD6pIAfcIyXSqmjbC06G51j1fA4VNdxZ5afTW9eiCNs=; b=cccwZQuKgH/WtD3ep7s+NXPnxKHV8zHbvNLVb3rLiqRmN+pv3IZ48CFYsGSy+qLFe9 QQ48STFPe7k5moTaoAequQ/F/5u/3/CPr7kwiaYZV1Gtm0mF5YuUPK5iwmxlJgxubVRi 0xm5rnnGTdSl2Y7Phng6VUcRh5ga+Vcgy02mG5lWJLZAaEAp558aie7jJO58Eis1Bm96 IrmHvsl0AfbdTz+sy3cPe6l7NrfrinG8TRWRe1ywbJzukFTIPKdxW+0GBk7n4gILxulv ty+NXPhHEdq3lqsk+OIVK4FVKr7Db6fa9W8M4thb0MNVxM24qSJlrun178gSrXO7sUre hBYg== X-Gm-Message-State: AC+VfDykyKipg9KpC/m5pWb9wGOBxjVhWeD4bo8Os6lP2HTjXvMhs8SG 56ZQO1mnQtULjquqvnXDJWpLVMbACcEsvdrrNz4= X-Google-Smtp-Source: ACHHUZ6ltylkF4XILtl+r6JuhIgXgnt7/877I8WRSRAl1RXA3GrI2tT1UT1sQFleZVb2agDPNcxwEA== X-Received: by 2002:a05:6a20:8e06:b0:10b:646f:d9f1 with SMTP id y6-20020a056a208e0600b0010b646fd9f1mr176445pzj.5.1685062104399; Thu, 25 May 2023 17:48:24 -0700 (PDT) Received: from smtpclient.apple (mortgage.haas.berkeley.edu. [128.32.75.82]) by smtp.gmail.com with ESMTPSA id oa1-20020a17090b1bc100b0024df90a4c58sm3548036pjb.36.2023.05.25.17.48.23 for (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Thu, 25 May 2023 17:48:23 -0700 (PDT) From: "Richard H. Stanton" Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3731.600.7\)) Subject: LaTeX export ignores caption if table is in a drawer Message-Id: Date: Thu, 25 May 2023 17:48:12 -0700 To: emacs-orgmode@gnu.org X-Mailer: Apple Mail (2.3731.600.7) Received-SPF: pass client-ip=2607:f8b0:4864:20::433; envelope-from=rhstanton@berkeley.edu; helo=mail-pf1-x433.google.com 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, DKIMWL_WL_MED=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, 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 ARC-Seal: i=1; s=key1; d=yhetil.org; t=1685062175; a=rsa-sha256; cv=none; b=npwuwFjYs+7YvNREyEEpUxNyKH34fikCKvLrLN8hgUJM4NEb88dMav/Vl3tNmXPWWI6b6N pDhhqZLEifsC0HjHEvp01gaIS+j0gbjaGeEFdnMFF/mFiFigcg0vHAXkot2eNqyDSc8Bbb WOhSO0xuj/uh4cc+0S31Zd1Co+N3JdYjDH10BJxPUadEfaSBOmddsvhmESGhHcP1R7LlkB OuGcS6n3pm1YovpGOkZyPe4YxSzNUmFVyJChBGPdJbGu3YBbdt466pL8Rv3qrlN8Un1PXK GeV+yr6XduAL6gxqIN8frpjQmIlnzD2BhJCHCvrRTG7oR+U3IwzbTqiiOyT6Eg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=berkeley.edu header.s=google header.b=Od4oEI28; dmarc=pass (policy=none) header.from=berkeley.edu; 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=1685062175; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=WD6pIAfcIyXSqmjbC06G51j1fA4VNdxZ5afTW9eiCNs=; b=cgbwkka9UoYWeO+HvoRMBKnFEQaeJp4Bss5bySJE5AeTXNema+MYMTK3Jsq+ZRNzeFjNYj TMe16Q4WM1q+nRaq90QeCFerswKeYvs3+vIMxm4BOGzIyRkP9TWoUMxFXADkh2NPh/JAOd Gx2gnQYQ/ypak/VxYMhUAwybirjMKuPwKgJzjO+EZwWdrEZUFieSoT83eE/RsVRDimSx0t i417XROqsUA9s4xseG9SFRd0300CLk6Crxps3DWkg+RPv91SbZHX7bQqTeuntxl+gNk9Tl kMd4S1YSyMr2Sj2uJH3U5GGPUfNHCY/tZnusHHuT1jVTtRwXTvIpekB7vlyNWw== X-Migadu-Spam-Score: -8.63 X-Spam-Score: -8.63 X-Migadu-Queue-Id: 502841102E X-Migadu-Scanner: scn0.migadu.com Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=berkeley.edu header.s=google header.b=Od4oEI28; dmarc=pass (policy=none) header.from=berkeley.edu; 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-TUID: 5dJPHh1NT49f I often create tables programatically from within an org code block. To = make sure I don=E2=80=99t produce multiple copies of the output, I like = to enclose the results in a drawer. However, the exporter seems to = ignore any caption I might assign if the table itself is inside a = drawer. For example, if you export the sample org file below to LaTeX, = the first table gets exported with caption, the second without. Would it = be possible for the exporter to keep the caption in the second case as = well?=20 [By the way, this would be particularly helpful at the moment, as for = some reason emacs-jupyter currently seems to put all results in a drawer = regardless of whether you ask it to or not=E2=80=A6). Thanks. Richard Stanton =E2=80=94=E2=80=94=E2=80=94 #+caption: Small table | C1 | C2 | |----+----| #+caption: Small table :results: | C1 | C2 | |----+----| :end: =E2=80=94=E2=80=94=E2=80=94=