From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id iLpeBJ17R2NdPQEAbAwnHQ (envelope-from ) for ; Thu, 13 Oct 2022 04:44:45 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id 6NpWBJ17R2OsngAAauVa8A (envelope-from ) for ; Thu, 13 Oct 2022 04:44:45 +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 BC53B194FB for ; Thu, 13 Oct 2022 04:44:43 +0200 (CEST) Received: from localhost ([::1]:33820 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oioDC-00077X-W5 for larch@yhetil.org; Wed, 12 Oct 2022 22:44:43 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:33250) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oioCd-000779-Px for emacs-orgmode@gnu.org; Wed, 12 Oct 2022 22:44:07 -0400 Received: from mail-pj1-x102c.google.com ([2607:f8b0:4864:20::102c]:35805) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oioCb-0005cG-Q0 for emacs-orgmode@gnu.org; Wed, 12 Oct 2022 22:44:07 -0400 Received: by mail-pj1-x102c.google.com with SMTP id a6-20020a17090abe0600b0020d7c0c6650so3750902pjs.0 for ; Wed, 12 Oct 2022 19:44:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:message-id:date:references:in-reply-to:subject:cc:to :from:from:to:cc:subject:date:message-id:reply-to; bh=A9i6WHo/ld49vbA5uqJyUQVbbq2Kj3RYpg9waNoYcSc=; b=jUh5PUsPaZHZb4PtmQe3nKbech54a64JL9TbNmLJR8lOPFPDpUtEhmZI38hapACwmB GwhIIbFHXSrhSfDIqF6PENv7VKhWxi6ewna9RKzWPv6ejokUPVIojzPl1XPVo2my8J9L 3FZn+iiLtg0Dx+FOEbwpMuSD6G5OAMcU5n5qExqOeVc3lk8NUazwPLODzfB06rXefzFh gKi5ccUvyW9gqn9qOx1xC/fg7KJC1wGCJWbrWxlbWJkKMXQh1HUPWU7DXFXv5sGR7kDk k0HeU8JVbX83GZTX6yGbUESi1N3Ns/8v8Gdjrz0J7HY1qKaTfvWWjGjIjLbti/8ztwXC yysA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=mime-version:message-id:date:references:in-reply-to:subject:cc:to :from:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=A9i6WHo/ld49vbA5uqJyUQVbbq2Kj3RYpg9waNoYcSc=; b=TwLeRYcmRdUQdhvRZaS0efWYxoRpDZ25GZxZ7NJ8CddtPQPMW4FfkdvR8QjSBpYmDH SK0k6eT/9lZm785PdAvzEAatC/7SCUIIeScp0C5CSKnXqSJXhGPwc8zd4AqdQjNHpET5 bvn2TVQ5FpaIqxAnN83whjxYDsi2lfX/1/GctJqGRYjD5+/On4mKU9Pyj7ZI3xt4MY9u b4SC+TjOhUQGFyrlO3e6K73IZpEtDezidyRyhcsPfFXdLeGIj7YZTWNhBY2hsC27BCzT 6+/Np7S9MgZz6IXSuu6Y+LHcTw+/1UDo+EFn58s7oYndUoD7/kIyFxHEPTVPM14+1Fmp Y2hw== X-Gm-Message-State: ACrzQf0pgAv3evhIWx7fxMFsM37QBMh6SteLSKG2qnDgRHA8VpQUzl2Z M9e+2YSMGifO1ps1ElsVS7o= X-Google-Smtp-Source: AMsMyM7ZOXkgGV2oAkDy63NCQ3eWxUZ8ouBPgkkLA0WHDZdodnaHY5sDiMfjHN5LB0mLGuuytbNOlw== X-Received: by 2002:a17:902:c40c:b0:17f:7f60:47ff with SMTP id k12-20020a170902c40c00b0017f7f6047ffmr33505747plk.101.1665629044200; Wed, 12 Oct 2022 19:44:04 -0700 (PDT) Received: from localhost ([2409:8970:af2:32f:6c23:3ad5:f37d:541b]) by smtp.gmail.com with ESMTPSA id x12-20020a170902ec8c00b00178143a728esm11390144plg.275.2022.10.12.19.44.02 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 12 Oct 2022 19:44:03 -0700 (PDT) From: Ihor Radchenko To: Max Nikulin Cc: emacs-orgmode@gnu.org Subject: Re: Export of this table fails LuaLaTeX compilation In-Reply-To: References: <784cf8be450b7d676ddd60214cc847db@posteo.net> <87zge1smmd.fsf@localhost> <7581529d3dbf83cb799b32da863de76b@posteo.net> <877d15sds9.fsf@localhost> Date: Thu, 13 Oct 2022 10:44:51 +0800 Message-ID: <87tu48tpb0.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=2607:f8b0:4864:20::102c; envelope-from=yantar92@gmail.com; helo=mail-pj1-x102c.google.com X-Spam_score_int: -17 X-Spam_score: -1.8 X-Spam_bar: - X-Spam_report: (-1.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, FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, 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=1665629083; 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:dkim-signature; bh=A9i6WHo/ld49vbA5uqJyUQVbbq2Kj3RYpg9waNoYcSc=; b=S0xWRlElhlliqVo2evIo3lj14ZsrYq4pUyTJbYIMP2MHxvIc3WfoT6t95bgOGpnDF3ISc+ WD2SlGcrb3n+0yvYZNRfe8K+4i8RGHFZULiRTkKa/+IqbpT4iqMsxpwVHbVrJSr8sVG2Sc AMP8IgVM4AOdx5UudA74ydjEI+fyLmW9D3m3eeY++I0jU5RBdNuF0Cz7ftRmtoq69IORiN rqxFYfJa86IQLuBbiQd5hMK6Cg6Vwx7EPm5ptjze592XgvmiswnJN3s85ahWRO44rfrHMS bA4c8Cn+1N/t2gPvGc8ADmlvluNpnmJaGhwtHW55acAG3EYkRzXvyq0Ajdu0Aw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1665629083; a=rsa-sha256; cv=none; b=D4UscelAcm0QFhwUNePv6TQUqdcLed1HRQaa91J8idsxQUGz0IYhaxVusPf2qxB7aIXMyP oPyft02AGFTB67jtIwTfnZnlIJKkUmrI8d93l43NbcnJx/xcPl4U7p6tGUEgUJUP/cahlS R08W6YGYFHhkpXcwhpTEqrR/1b203e7+bvmm+nmGaXRhez1wQzBPfieOCsRgiLlWpdG4lC lrB4Y8y7XR0NQ9+4hxvgP4UJFRK0fWsTCAF6lPw8cqSqxVH96IVFleiGUHwRpALGsVAOdp 9wUHvYnxiWjWF2c4uc1fZTSgNdu6TE6J3b/5TT/ohW0ve5R9fI8ggSCjfcxzIw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=jUh5PUsP; dmarc=pass (policy=none) header.from=gmail.com; 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: -1.90 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=jUh5PUsP; dmarc=pass (policy=none) header.from=gmail.com; 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: BC53B194FB X-Spam-Score: -1.90 X-Migadu-Scanner: scn1.migadu.com X-TUID: OHZGBkdil+eN Max Nikulin writes: > On 12/10/2022 14:26, Ihor Radchenko wrote: >> Max Nikulin writes: >>> >>> 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 >>> >>> \\[0pt] >>> >>> has no negative consequences and safe enough. I expect that LaTeX >>> sources are not easy to read when fragile sequences of tokens are involved. >> >> What about adding \relax in front of table rows instead of at the end? >> The hlines are transcoded separately. >> >> All other instances of \\\relax may remain. > > If you see a way to implement it, you may try. Do not forget a space > after it. Spaces at the beginning of line are insignificant, so > insertion of \relax should not cause more ignored spaces than it was > before. I would consider skipping "\relax " in the beginning of rows > where first cell starts from an export snippet. > > I am considering \noalign{} instead of \relax. I was never aware of its > effect, but accordingly to The TeXbook it should keep TeX in vertical > mode without any action due to empty argument. (Actually I surprised > that \relax causes any change of internal state besides parser.) If \noalign has less side effects compared to \relax, I'd prefer \noalign. Can you confirm this? I was also surprised that \relax does anything except escaping. > Unfortunately \noalign{} just as \relax will not allow @@latex:[1cm]@@ > on the next line, perhaps @@latex:\noalign{\vskip 1cm}@@ is a workaround > to introduce additional vertical space. > > \\[0pt] What you are talking about appears to be abusing our exporter. We give no guarantees about how \\ is going to be exported internally into LaTeX. We should have no obligation to keep use-cases like this. > causes insertion of some code for negative vertical skip (of zero height > this case). It should not be really harmful, but I would avoid this hack. > > I never used \\* or \\*[10pt] variants of the command. Current stable > release should has problems when the line next to \\ starts from * that > is not bold marker, besides square brackets. I feel like I am missing what you are talking about here. -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at , or support my work at