|
From: | Max Nikulin |
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/)] |
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 |
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.
[Prev in Thread] | Current Thread | [Next in Thread] |