From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stefan Nobis Subject: Re: very strange LaTeX error Date: Fri, 20 Dec 2019 15:29:16 +0100 Message-ID: References: <87immbp5ww.fsf@ucl.ac.uk> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:60561) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iiJHS-0000dq-Bl for emacs-orgmode@gnu.org; Fri, 20 Dec 2019 09:29:27 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iiJHO-0007Vw-Me for emacs-orgmode@gnu.org; Fri, 20 Dec 2019 09:29:23 -0500 Received: from basilikum.nobis-admin.de ([89.238.71.130]:51992) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1iiJHM-0007TC-I9 for emacs-orgmode@gnu.org; Fri, 20 Dec 2019 09:29:21 -0500 Received: from bohne (p200300CD670FAF00954500DBCC2E19F1.dip0.t-ipconnect.de [IPv6:2003:cd:670f:af00:9545:db:cc2e:19f1]) by basilikum.nobis-admin.de (Postfix) with ESMTPSA id C87127E6D72 for ; Fri, 20 Dec 2019 15:29:16 +0100 (CET) In-Reply-To: (Joost Kremers's message of "Fri, 20 Dec 2019 13:33:43 +0100") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: "Emacs-orgmode" To: emacs-orgmode@gnu.org "Joost Kremers" writes: > The solution I usually opt for is to enclose the brackets in an > additional set of braces: `{[...]}`. Whether Org export can and > should automate that, I can't say. In the generated LaTeX adding a '\relax' (so each line ends with '\\\relax') would be a another solution. The \relax ends the macro-expansion and thus '\\' does not look further for optional arguments. As the org-table does not support all the fancy features of LaTeX tables and the LaTeX row/line break is generated implicitly, I would say the LaTeX export should always emit the additional \relax. -- Until the next mail..., Stefan.