From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id wLmiGsXnRGOOKAAAbAwnHQ (envelope-from ) for ; Tue, 11 Oct 2022 05:49:25 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id wKXVGcXnRGPrVgEAG6o9tA (envelope-from ) for ; Tue, 11 Oct 2022 05:49:25 +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 E4AB71375C for ; Tue, 11 Oct 2022 05:49:24 +0200 (CEST) Received: from localhost ([::1]:57184 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oi6Gh-0005TZ-51 for larch@yhetil.org; Mon, 10 Oct 2022 23:49:24 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:56922) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oi63o-0003R1-Gf for emacs-orgmode@gnu.org; Mon, 10 Oct 2022 23:36:04 -0400 Received: from mail-pg1-x52f.google.com ([2607:f8b0:4864:20::52f]:34758) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oi63m-0006Bd-OL for emacs-orgmode@gnu.org; Mon, 10 Oct 2022 23:36:04 -0400 Received: by mail-pg1-x52f.google.com with SMTP id 128so4052357pga.1 for ; Mon, 10 Oct 2022 20:36:02 -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=WxCHqSMA6RgciMizFXkAPuqYBp3zgnmX34MEhb73f4I=; b=IBlf/fx3zIqyzZx+kbEu4W6biGZJCWAJc3WboB8Toc1xcZ65qCV0sm5M5ec6D5kaE8 J19RBl0zjxOMolE064Wcf1Zlm8eg5fDV2D/14I/y0hXwGV1ai1azt0cRM1pKWtj4F21U cwbtDrDURzm5PM5TwXoxgd+rSeQg+AI5AJu2fPnNqKXD60Mdh+9QiirWa091ctTrWFlo lHC4DY3t3rzUoxQ9zDY9yWy91n9Z6t2nhERPWm3ksRgjeAa0mryEl0416POnprl35oau dshyGgVKiYGjbRzGrRTPdAQITlUyBL4AmN63ZeMpEH8fdF/Em8vM1U3tE5CMy+XLEjpf 7wvw== 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=WxCHqSMA6RgciMizFXkAPuqYBp3zgnmX34MEhb73f4I=; b=ERxgPBOyJ9Vaxd1KLT9sNH3KICCvfnhDCpovkv+0GapyU/hEU7pOWCSpO50XQNaMK3 7JEfxxaypw3jGAuzb6OMaMd8N6HTu7coRvbPArMq3reqgAEXKfqNizrgDOhONEdasSq+ 9mwOQZJdvqDPSJW3is72kn9HcoAcHf9Bfn3cUMULrPBTxz7DmqZId/KQHPiCowDgr1HN ZuOB/q/MMUEoRtlf9wwCgcACxMFbnij4BCDVyguuwZIsjJvCClCUBtgu7a9sHU0k5Ii8 Bm3lZkRxjee5kSb3yeDb7MlHr4SR8beI4JkApJWAWT6jmBA8NqCm22dy13di3CSh6U65 ZwpA== X-Gm-Message-State: ACrzQf1P2NJ7dlXpVykiB6fQm/oFJyTghFPxwy9ApSCxgzl2ZJCEhw7/ BY77W+7XfrutVyfEgi/yv2k= X-Google-Smtp-Source: AMsMyM6+0WiN/f22+p9eC4OwrZlgJzibC252aK6SH60GUt0i8b6LwXtHpmpbWYKnI8sAStclsxdoJg== X-Received: by 2002:aa7:911a:0:b0:561:c9ef:771a with SMTP id 26-20020aa7911a000000b00561c9ef771amr22998055pfh.82.1665459360143; Mon, 10 Oct 2022 20:36:00 -0700 (PDT) Received: from localhost ([115.154.175.57]) by smtp.gmail.com with ESMTPSA id e17-20020a17090301d100b00177f4ef7970sm7450433plh.11.2022.10.10.20.35.58 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 10 Oct 2022 20:35:59 -0700 (PDT) From: Ihor Radchenko To: Max Nikulin Cc: emacs-orgmode@gnu.org Subject: Re: [PATCH v2] 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/)] In-Reply-To: References: <8735c0kpb9.fsf@localhost> <87lepqlwrl.fsf@localhost> Date: Tue, 11 Oct 2022 11:36:52 +0800 Message-ID: <874jwbuj3f.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=2607:f8b0:4864:20::52f; envelope-from=yantar92@gmail.com; helo=mail-pg1-x52f.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=1665460164; 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=WxCHqSMA6RgciMizFXkAPuqYBp3zgnmX34MEhb73f4I=; b=BwCLRLS5pUgHMHJxveinIbAOdJeW7aeJ90YL9qRaHgw+MCvYIVfAcikIQIcSC7vEU2xaoI FG4ZH+mBZqJlbYGoDDbyLwR98akoxRpAZ9uwIvEgCDc3EK7V/F3mZjmsn3ySxwUVRWLU2t V65Qs/lhevcLFs8NL3e9umTS9kuDfA9CBn1vbMYCewiYMYZr+geWGdA+/yB209Z/yB3+p8 8KaJejFRv2EMLEA5xPLD15zoX7KpAPWJLVK23kc5nPB/QNbyyn9d6QULgKzmdiOIznBefJ DSaDUY6QrE0lvpR5CmE05FAp6dz0HPmxmc9G+9ShgBjuOxhsndQmxorhM11dXg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1665460164; a=rsa-sha256; cv=none; b=AMEukMSCKeTIj4xh2/fNscX8zCI/544K0ZQMtOvh/vpJxu1CAyf+7qNzjTbiqbIgUi06pW RfTWwPTuGO0KMXyFqxb6+FhalbzPSOIQLRuwOlF0C57eTVT4p7ovUwCZ0AbpiL29vmEKv3 XcyNq/j70cB/yNuTQvV0tP3fKETk87eEwOeFRWTxmZGI4Lobb2d4WX3zDxsd41vtq8f4YO N9MiMjRrx2O86d5+Vyeg2T9SzzLcttuam3ryTfe8WcEio6Nunoge3kRGP3R+Lbkz1BAPL5 C6U8HvI0d+VVipGmV1ud8lK+XDPRpvZnU5OAInY7jhQkI++0erlMZ2D7F3EWGg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b="IBlf/fx3"; 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: -4.69 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b="IBlf/fx3"; 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: E4AB71375C X-Spam-Score: -4.69 X-Migadu-Scanner: scn0.migadu.com X-TUID: Wmwcbo1Jfw9Q Max Nikulin writes: > Ihor, I have tried your patch (v2). With a tiny test file it works as > expected. I have not managed to add some text immediately after \relax > to break this command. > ... > Reading with more attention, I do not think that second constant really > makes the code more clear. I had a hope that it is enough to introduce a > single constant, but it seems it is not the case. I did not expect that > newline should not be added e.g. planning export handler. Perhaps it is > better to commit v1. > ... > A minor naming inconsistency: "line-break" and "linebreak". Thanks for testing! I applied the version 1 of the patch onto main changing the org-latex-linebreak-safe to org-latex-line-break-safe. https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=3f60acff7717e472d06833e9cf9fff6ca3d59337 Fixed. -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at , or support my work at