From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.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 wHRpG7+cR2NykwAAbAwnHQ (envelope-from ) for ; Thu, 13 Oct 2022 07:06:07 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id 6K2PG7+cR2NHPAAAauVa8A (envelope-from ) for ; Thu, 13 Oct 2022 07:06:07 +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 DBF7813586 for ; Thu, 13 Oct 2022 07:06:06 +0200 (CEST) Received: from localhost ([::1]:41320 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oiqQ1-0007Pa-Ml for larch@yhetil.org; Thu, 13 Oct 2022 01:06:05 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:39000) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oiqNL-0007NH-Mh for emacs-orgmode@gnu.org; Thu, 13 Oct 2022 01:03:24 -0400 Received: from mout01.posteo.de ([185.67.36.65]:48329) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oiqNI-0007eR-Qo for emacs-orgmode@gnu.org; Thu, 13 Oct 2022 01:03:19 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id 80D65240028 for ; Thu, 13 Oct 2022 07:03:11 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1665637391; bh=1dXN+rwPfddYcJAS9zkQsZfc6YubiueWOhR6ud+V+YE=; h=Date:From:To:Subject:From; b=lzmdPQ8p4WuCKX6e5r+/zpiZ0K4r8P79aG9w19d4QIPizJC1vdHb69ugdBMNJBNog 0XtFUqu9DdzIZyoweOj73y5Ashn3+UkHu0yJQIgMzxNjXEtee6dRM9g622RcaNRnvc lX3erQTmLhzLSs/TaoMTzVGme97KvJYgIgD+8IzP2A36BSVVW39d2ZpYevnutIqAxK I5Z2oJi4hsSkclMp15/x9913gFNq5MN7nxY20NyVehFr4Cw68WevVoNrn17mppotYc fM4hM9ZUV4gBt/BnKFeWZKSLcw/N5I2gRGWJbLAtxRSX8/9Y30FpAPklJww00Jk/w5 HAcJhntrviBgQ== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4Mny8G6Vk0z6tpW; Thu, 13 Oct 2022 07:03:10 +0200 (CEST) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: quoted-printable Date: Thu, 13 Oct 2022 05:03:10 +0000 From: gerard.vermeulen@posteo.net To: emacs-orgmode@gnu.org, Emacs-orgmode Subject: Re: Export of this table fails LuaLaTeX compilation In-Reply-To: References: <784cf8be450b7d676ddd60214cc847db@posteo.net> <87zge1smmd.fsf@localhost> <7581529d3dbf83cb799b32da863de76b@posteo.net> <5dc57c74c7a7817440b244a374c4a50c@posteo.net> Message-ID: Received-SPF: pass client-ip=185.67.36.65; envelope-from=gerard.vermeulen@posteo.net; helo=mout01.posteo.de X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 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_LOW=-0.7, 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=1665637567; 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=1dXN+rwPfddYcJAS9zkQsZfc6YubiueWOhR6ud+V+YE=; b=lZpnJT1SsQPs/LBM4RsIIhzK3VP9Zul+KB8BmN7rhkIV5IYe7MiZO6FTZZxrOz4RFNz6gr EeGThmBeam/SIyYOslZpWwczTPp2m6MlnIK+BuZAhvJzLEpPM+dDIDkGLleYOjbFK4E3tg 7cObYhAcudRO4gQlBsYwkJOdP8jbEmjG6UXEjbiFutlWKECUTvX+uYkrQ6u2JZH39YX0lT CgPYEVbvvnOV4qvmFOCkcWoFqXHnNtfz5Lvy81+PlSs0uap5Oyyh7mFOjDZoyNyerIIPyX qh+Qu3Hl1VUqTuESy7pqUFgI1R3gAc3XpFJTHgj3tZm3GBFoibC59E7eGew+gg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1665637567; a=rsa-sha256; cv=none; b=W9QnS78+fEZGn0PAI1yntsDNdfxgAQyZw4o+X1gAsZoHYqUSwDnrIcT9vcqEIJmau1b/pN wN775o545HAQE2U9EujJpmc1sTPWWQWbNFFv7LueO0fYIFYa7CWH3Gvyg5M5F+kTFaLjkY CDoQl5m9VJ54tZLjxGBuILHJRy4y+Cp505LxAuvsARc6riyxelrRzawKf0k/LJmAne34zO iLCB4mnyxJgC4sQ6k2JVULjYrKb1x+JyksXoQdFraqIfHR9yqQPlvXDzTfWehvWyGDpw9R hWhYqaoLehAPAGDAU3yqcNnyWidD3e3PJX3+ncTkjuHOtKzEdhmdwCjcU5Cgyw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=lzmdPQ8p; 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: -2.50 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=lzmdPQ8p; 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: DBF7813586 X-Spam-Score: -2.50 X-Migadu-Scanner: scn1.migadu.com X-TUID: xR7bh7V/nDvo On 12.10.2022 18:21, Max Nikulin wrote: [...] >>> Stewart Thomas. [BUG] Tables with square brackets do not compile in >>> PDF (latex) export. Wed, 10 Nov 2021 11:16:10 -0500. >>> https://list.orgmode.org/CAO12V+wB18nAN0FuDPAeN94GHdt_2nbdJtc4u7n4W3HAZ= baZsA@mail.gmail.com >>>=20 >>> I can not figure out an easy way to separate \\ from [b] text but to >>> prevent the problem you have discovered. I am unsure if >>>=20 >>> =C2=A0=C2=A0=C2=A0 \\[0pt] >>>=20 >>> has no negative consequences and safe enough. I expect that LaTeX >>> sources are not easy to read when fragile sequences of tokens are >>> involved. >>>=20 >>> I just have realized that some users might take advantage of earlier >>> behavior as a feature: >>>=20 >>> - item \\ >>> =C2=A0 [1cm] >>> - item >>>=20 >>> I think that [1cm] should be treated as text, however I have no idea >>> how to allow users to specify amount of vertical space and to not >>> limit line break to LaTeX only. @@latex:\\[1cm]@@ is not suitable=20 >>> when >>> the same text should be exported to ascii, html, etc. [...] > Adding \relax is my fault, I did not expect that it may break \hline. > Such behavior should be stable over decades. The question is how to > allow users to have square brackets in the beginning of the line > following \\ and not break some use case. >=20 >> 2. On my systems ws-butler removes the trailing whitespace. >> 3. I edited your example with nano to add the trailing space after=20 >> \relax, but it still does not compile. >=20 > Sorry, I did not get your point with trailing space. LaTeX ignores > spaces after commands (e.g. "a\relax b" becomes "ab") and in the > beginning of the line. What I am afraid of is unintentionally > introduce white space at the beginning of the line, e.g. if > | a | > | b | > |---| > is exported as > {} a \\ > {} b \\ > \hline > then cell contents will be " a" and " b", not "a" and "b". > \relax a \\ > \relax b \\ > \hline > has no such problem. Sorry, I have misread or misunderstood what \relax does with spaces. Thank you for your patient explanation -- Gerard