From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id WPp3IaPSj2FIRQEAgWs5BA (envelope-from ) for ; Sat, 13 Nov 2021 15:58:43 +0100 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id EBw5HaPSj2G3AgAAB5/wlQ (envelope-from ) for ; Sat, 13 Nov 2021 14:58:43 +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 DAA6C23A9E for ; Sat, 13 Nov 2021 15:58:42 +0100 (CET) Received: from localhost ([::1]:57318 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mluUL-0007Gj-EC for larch@yhetil.org; Sat, 13 Nov 2021 09:58:41 -0500 Received: from eggs.gnu.org ([209.51.188.92]:43152) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mluTY-0007GR-NH for emacs-orgmode@gnu.org; Sat, 13 Nov 2021 09:57:52 -0500 Received: from [2a00:1450:4864:20::131] (port=34479 helo=mail-lf1-x131.google.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mluTU-0006uw-KU for emacs-orgmode@gnu.org; Sat, 13 Nov 2021 09:57:50 -0500 Received: by mail-lf1-x131.google.com with SMTP id n12so20531148lfe.1 for ; Sat, 13 Nov 2021 06:57:48 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=sender:subject:to:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=jI/BnHvl7uXww4B1W4MUUWg1nraotDbs8m2FJE4Sum4=; b=APU7poqCvaCT2apdV8F9qXzsYngpXkORhhLcNIKObz41sG7lI3jvuqJIs+H/iDyG1B wwmZwl8GW+Igm2pWHho4E1BpuTNEzSWx4nhbOwBbybUJr3vjIe+NsOfGozbJBl/6cVY+ 7Lqn7tKHnJLMMVwpKNqnz+JYq9xzWEUDqRs+U2fLN/I1nH5mqU8KUMytZOyMgL996KLs hLCehqNy75q4NEY+OdU+6m/6Z2qMaW3OHPEOn4Hmdx7fROI7wEy2SjzeyfFarPasMPWy uGoMzO2iKSCytjbkiRwc8P5HTKzLIemWLeI+b/HePX/ijqztvJTbAPE6k06hH5zgxKGb YXIA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:sender:subject:to:references:from:message-id :date:user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=jI/BnHvl7uXww4B1W4MUUWg1nraotDbs8m2FJE4Sum4=; b=ajL2wvBMQAsojctgRJbbMolTOP4nQPPByW85XDX7N2EWPjySD7GetEb2THC6jIQcP/ /7UNeRkHGa9cJ2mLUPXYAcmJlLujKyD8MaPXkEB/piIA93fu2pkOzytzdhDO1jHn6NZt bqIuIpVqXImARk3lBs+aNkKR7fdUWTuUsLeDYCcvlFEFmypV/JATbs0ToByfEcIH4OBA b65YMJpXR28NKjKakJYSjkx92voDgS+pHa3HP5jf3Q+HZ5xe9Z6AwoBAF0GYX7Lhwf2f 7iDwyKanx5ierUIVVlaUMnKa1Ese+dw3dOGaelDavFEbPciryB7bwUzhYCpKGnjLX3sa w43g== X-Gm-Message-State: AOAM531upEYWGE3hFPV0EVYKew7BHsrgESLOoGo9hbhkNjUB6fr/KGYo fLTnpmDTAIbE/u+L+1V9d1l/J/ga2dw= X-Google-Smtp-Source: ABdhPJxSrgJT+2DOPPt1ptk6zs/nIFqrDk7N+U0sg/tK4e9pz2jvzxU2oZ+Y7ma/WcjrzuH2TYRM0g== X-Received: by 2002:ac2:4bc2:: with SMTP id o2mr14411941lfq.660.1636815466406; Sat, 13 Nov 2021 06:57:46 -0800 (PST) Received: from [192.168.0.101] (nat-0-0.nsk.sibset.net. [5.44.169.188]) by smtp.googlemail.com with ESMTPSA id p10sm948349lja.0.2021.11.13.06.57.45 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sat, 13 Nov 2021 06:57:46 -0800 (PST) Subject: Re: [BUG] Tables with square brackets do not compile in PDF (latex) export [9.5 (release_9.5-59-g52e6f1 @ /home/sjt015/repo/emacs/lisp/org/)] To: Stewart Thomas , emacs-orgmode@gnu.org References: From: Max Nikulin Message-ID: Date: Sat, 13 Nov 2021 21:57:44 +0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.13.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Host-Lookup-Failed: Reverse DNS lookup failed for 2a00:1450:4864:20::131 (failed) Received-SPF: pass client-ip=2a00:1450:4864:20::131; envelope-from=manikulin@gmail.com; helo=mail-lf1-x131.google.com X-Spam_score_int: -31 X-Spam_score: -3.2 X-Spam_bar: --- X-Spam_report: (-3.2 / 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, FREEMAIL_FROM=0.001, NICE_REPLY_A=-1.852, PDS_HP_HELO_NORDNS=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RDNS_NONE=0.793, 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 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1636815522; 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: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=jI/BnHvl7uXww4B1W4MUUWg1nraotDbs8m2FJE4Sum4=; b=uIzspOWv8l7mhLmZWBwux2Ogl4/ofN8yNjpF9Nr8JqGTpg1AttgDTMcJtQIoUUR6zT1l0A nd8M2zlKL9bE5/DlS4pb4+5dJ/xi1lSVB7iLpN+3BHtbVC8WdVOProRTovbu1OKAewoZnx Cb7HbsQ6B/0meyYmCa1mGk24287BFNIkh0dpTUTRu134nFfhHFrhEEvoDi6AO2smsS+k5w rYVRJtXrl98grp8cKy6KQ/fbQtnamIrV5R9ALpV/3YyzL/AsymiwqHUsSHgEQTPNoSdc/C stsvF3m+QaQnOUzDZIPoUyDpF9ePfwkdCgMhY5rd1zP5Wc8hdBWKn6J3zXhOjg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1636815522; a=rsa-sha256; cv=none; b=UR5GLDavbcDJrQ6UKGXYFPPPRfsiOHjATtkJOZwSiHdsAUqqeiU+7TmHbZDvidxI3VlIss fwQB55ZNhFyST+bwJbWEBq58ClQ1dGGXat32TNcpRp+QCPzwCQ08r3CKzyGdrFEUcck2KI MziDBYa2VnqIYyHGplkoR2QLIYFiepZotIL68MWUG6QfwkQuddhbr+OlCn/j+L7vF07BXN xEojra3ulPAEyfBh01RGuFRriG+WkSM3C//WnF0JpuxQKtYaJEkkERHVP9XQM7T3vNmJhU TALNXlbAVPIBc94JB+BpPnAfjZzo5U+sfjyEr1RanPElYcWanpDK1/Dqa3yVGw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=APU7poqC; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=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: 1.57 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=APU7poqC; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=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: DAA6C23A9E X-Spam-Score: 1.57 X-Migadu-Scanner: scn1.migadu.com X-TUID: WJ6HOZ7czRxp On 10/11/2021 23:16, Stewart Thomas wrote: > > A table in which a first column begins with square brackets is not > compiling. The square bracket is interpreted by latex as an argument > to the preceding line break. Confirmed Thank you for reporting the issue. Example of a workaround ---- >8 ---- #+macro: tr @@latex:\relax @@ | one | | {{{tr}}}[2] | Ref \\ {{{tr}}} [2] ---- 8< ----- To fix the bug newline (in tables and paragraphs) should be exported as "\\\relax" or "\\{}". I do not suggest curly brackets in the beginning of line to avoid issues with spurious spaces. Percent character (comment) at the end of line should be considered for a fix since it is usually used in the opposite way: to suppress newline character and spaces at the beginning of next source line.