org-mode/lisp
Max Nikulin 892df429f4
ox-latex: Use \empty instead of \relax after \\
* lisp/ox-latex.el (org-latex-line-break-safe, org-latex-table-row):
* testing/lisp/test-org-table.el (test-org-table/to-latex): Use \empty
instead of \relax to prevent interpreting following "*" and "[" as
optional parts of \\*[LENGTH] command.

Fix regression introduced by 3f60acff77. \\\relax\hline caused
misaligned \noalign error. Org markup:

    | a |
    |---|

\hline is allowed only immediately after \cr while \relax has some side
effects. Hope, \empty just expands to nothing.

Those who used \\ optional argument to adjust amount of space between
lines may add the following tricks:

    First,\\
    @@latex:{\vskip1em}@@second.

    | First                               |
    | @@latex:\noalign{\vskip1em}@@second |

Reported in
gerard.vermeulen, Wed, 12 Oct 2022 03:15:49 +0000.
https://list.orgmode.org/784cf8be450b7d676ddd60214cc847db@posteo.net
2022-10-14 10:27:14 +08:00
..
Makefile Move link-related core functions out of "org.el" 2019-03-10 18:00:27 +01:00
ob-C.el ob-C: do not swallow double quotes on raw output 2022-09-27 16:20:57 +02:00
ob-R.el Assert all the Org files to load the same Org version 2022-09-04 12:24:55 +08:00
ob-awk.el Begin messages about executing code blocks with a capital letter 2022-10-07 13:51:35 +08:00
ob-calc.el Assert all the Org files to load the same Org version 2022-09-04 12:24:55 +08:00
ob-clojure.el lisp/ob-clojure.el: Fix :backend override not work with `org-babel-clojure-backend' 2022-10-13 10:51:19 +08:00
ob-comint.el Merge branch 'km/from-emacs-master' 2022-10-04 18:37:42 -04:00
ob-core.el org-babel-script-escape: Turn empty lists into nil 2022-10-12 19:46:14 +08:00
ob-css.el Assert all the Org files to load the same Org version 2022-09-04 12:24:55 +08:00
ob-ditaa.el Assert all the Org files to load the same Org version 2022-09-04 12:24:55 +08:00
ob-dot.el Assert all the Org files to load the same Org version 2022-09-04 12:24:55 +08:00
ob-emacs-lisp.el ob-emacs-lisp: Don't print arguments of post-process arguments to stdout 2022-10-07 13:50:21 +08:00
ob-eshell.el Assert all the Org files to load the same Org version 2022-09-04 12:24:55 +08:00
ob-eval.el Assert all the Org files to load the same Org version 2022-09-04 12:24:55 +08:00
ob-exp.el org-export-copy-buffer: Update declarations 2022-10-07 13:15:17 +08:00
ob-forth.el Assert all the Org files to load the same Org version 2022-09-04 12:24:55 +08:00
ob-fortran.el Assert all the Org files to load the same Org version 2022-09-04 12:24:55 +08:00
ob-gnuplot.el org-babel: Fix usage of `org-babel-temporary-directory' 2022-10-09 12:30:00 +08:00
ob-groovy.el Begin messages about executing code blocks with a capital letter 2022-10-07 13:51:35 +08:00
ob-haskell.el Assert all the Org files to load the same Org version 2022-09-04 12:24:55 +08:00
ob-java.el org-babel: Fix usage of `org-babel-temporary-directory' 2022-10-09 12:30:00 +08:00
ob-js.el Assert all the Org files to load the same Org version 2022-09-04 12:24:55 +08:00
ob-julia.el Assert all the Org files to load the same Org version 2022-09-04 12:24:55 +08:00
ob-latex.el Assert all the Org files to load the same Org version 2022-09-04 12:24:55 +08:00
ob-lilypond.el Merge branch 'km/from-emacs-master' 2022-10-04 18:37:42 -04:00
ob-lisp.el Assert all the Org files to load the same Org version 2022-09-04 12:24:55 +08:00
ob-lob.el ob-core: Display type of element babel executes 2022-09-24 17:10:46 +08:00
ob-lua.el Assert all the Org files to load the same Org version 2022-09-04 12:24:55 +08:00
ob-makefile.el Assert all the Org files to load the same Org version 2022-09-04 12:24:55 +08:00
ob-matlab.el Assert all the Org files to load the same Org version 2022-09-04 12:24:55 +08:00
ob-maxima.el Begin messages about executing code blocks with a capital letter 2022-10-07 13:51:35 +08:00
ob-ocaml.el Assert all the Org files to load the same Org version 2022-09-04 12:24:55 +08:00
ob-octave.el Merge branch 'km/from-emacs-master' 2022-10-04 18:37:42 -04:00
ob-org.el Assert all the Org files to load the same Org version 2022-09-04 12:24:55 +08:00
ob-perl.el Assert all the Org files to load the same Org version 2022-09-04 12:24:55 +08:00
ob-plantuml.el Assert all the Org files to load the same Org version 2022-09-04 12:24:55 +08:00
ob-processing.el org-babel: Fix usage of `org-babel-temporary-directory' 2022-10-09 12:30:00 +08:00
ob-python.el Assert all the Org files to load the same Org version 2022-09-04 12:24:55 +08:00
ob-ref.el Allow returning empty list from post-processing block 2022-10-07 12:06:30 +08:00
ob-ruby.el Assert all the Org files to load the same Org version 2022-09-04 12:24:55 +08:00
ob-sass.el Assert all the Org files to load the same Org version 2022-09-04 12:24:55 +08:00
ob-scheme.el Assert all the Org files to load the same Org version 2022-09-04 12:24:55 +08:00
ob-screen.el Assert all the Org files to load the same Org version 2022-09-04 12:24:55 +08:00
ob-sed.el Begin messages about executing code blocks with a capital letter 2022-10-07 13:51:35 +08:00
ob-shell.el ob-shell: Use `process-file' when stdin or cmdline 2022-09-05 18:31:39 +08:00
ob-sql.el Assert all the Org files to load the same Org version 2022-09-04 12:24:55 +08:00
ob-sqlite.el Assert all the Org files to load the same Org version 2022-09-04 12:24:55 +08:00
ob-table.el Assert all the Org files to load the same Org version 2022-09-04 12:24:55 +08:00
ob-tangle.el ob-tangle: New tangle-finished hook 2022-09-23 20:14:52 +08:00
ob.el Assert all the Org files to load the same Org version 2022-09-04 12:24:55 +08:00
oc-basic.el Backport commit 48aacbf29 from Emacs 2022-10-04 17:18:04 -04:00
oc-biblatex.el Assert all the Org files to load the same Org version 2022-09-04 12:24:55 +08:00
oc-bibtex.el Assert all the Org files to load the same Org version 2022-09-04 12:24:55 +08:00
oc-csl.el Assert all the Org files to load the same Org version 2022-09-04 12:24:55 +08:00
oc-natbib.el Assert all the Org files to load the same Org version 2022-09-04 12:24:55 +08:00
oc.el Backport commit f94e93a6e from Emacs 2022-10-04 17:10:50 -04:00
ol-bbdb.el Assert all the Org files to load the same Org version 2022-09-04 12:24:55 +08:00
ol-bibtex.el Fix Emacs 29 compiler warnings 2022-09-06 20:50:59 +08:00
ol-docview.el Assert all the Org files to load the same Org version 2022-09-04 12:24:55 +08:00
ol-doi.el Merge branch 'km/from-emacs-master' 2022-10-04 18:37:42 -04:00
ol-eshell.el ol-eshell: Make recently ported change compatible with Emacs < 29 2022-10-04 18:38:25 -04:00
ol-eww.el Backport commit cc8b6101f from Emacs 2022-10-04 17:10:50 -04:00
ol-gnus.el Assert all the Org files to load the same Org version 2022-09-04 12:24:55 +08:00
ol-info.el ol-info: Use org function instead of subr-x 2022-09-05 14:33:32 +08:00
ol-irc.el Merge branch 'km/from-emacs-master' 2022-10-04 18:37:42 -04:00
ol-man.el Merge branch 'km/from-emacs-master' 2022-10-04 18:37:42 -04:00
ol-mhe.el Assert all the Org files to load the same Org version 2022-09-04 12:24:55 +08:00
ol-rmail.el Assert all the Org files to load the same Org version 2022-09-04 12:24:55 +08:00
ol-w3m.el Backport commit cc8b6101f from Emacs 2022-10-04 17:10:50 -04:00
ol.el Merge branch 'km/from-emacs-master' 2022-10-04 18:37:42 -04:00
org-agenda.el lisp/org-agenda.el: Remove unused `org-agenda-last-dispatch-buffer' 2022-10-12 15:39:54 +08:00
org-archive.el Assert all the Org files to load the same Org version 2022-09-04 12:24:55 +08:00
org-attach-git.el Assert all the Org files to load the same Org version 2022-09-04 12:24:55 +08:00
org-attach.el lisp/ox.el: Rename abnormal hook names to end with "-functions" 2022-09-06 21:42:11 +08:00
org-capture.el org-capture: Add template hook properties 2022-10-07 13:38:52 +08:00
org-clock.el org-clock-sum: Do not err when have malformed clock lines 2022-10-13 14:12:36 +08:00
org-colview.el Backport commit 8ef37913d from Emacs 2022-10-04 16:59:15 -04:00
org-compat.el compat: Load subr-x for Emacs < 28 compatibility 2022-10-08 01:40:07 -04:00
org-crypt.el org-crypt-key-for-heading: Handle CRYPTKEY nil value 2022-10-14 10:16:47 +08:00
org-ctags.el Assert all the Org files to load the same Org version 2022-09-04 12:24:55 +08:00
org-cycle.el org-cycle-set-visibility-according-to-property: Do not change ancestor visibility 2022-10-12 13:47:41 +08:00
org-datetree.el Assert all the Org files to load the same Org version 2022-09-04 12:24:55 +08:00
org-duration.el Assert all the Org files to load the same Org version 2022-09-04 12:24:55 +08:00
org-element.el org-export: Suppress cache persistence in buffer copies during export 2022-10-07 13:15:17 +08:00
org-entities.el Assert all the Org files to load the same Org version 2022-09-04 12:24:55 +08:00
org-faces.el Assert all the Org files to load the same Org version 2022-09-04 12:24:55 +08:00
org-feed.el Merge branch 'km/from-emacs-master' 2022-10-04 18:37:42 -04:00
org-fold-core.el Clean up spacing to pass Emacs's pre-commit check 2022-10-03 17:57:03 -04:00
org-fold.el Clean up spacing to pass Emacs's pre-commit check 2022-10-03 17:57:03 -04:00
org-footnote.el Assert all the Org files to load the same Org version 2022-09-04 12:24:55 +08:00
org-goto.el Assert all the Org files to load the same Org version 2022-09-04 12:24:55 +08:00
org-habit.el Backport commit b7e867b84 from Emacs 2022-10-04 17:18:04 -04:00
org-id.el Merge branch 'km/from-emacs-master' 2022-10-04 18:37:42 -04:00
org-indent.el Assert all the Org files to load the same Org version 2022-09-04 12:24:55 +08:00
org-inlinetask.el Merge branch 'km/from-emacs-master' 2022-10-04 18:37:42 -04:00
org-keys.el Assert all the Org files to load the same Org version 2022-09-04 12:24:55 +08:00
org-lint.el compat: Use org- wrapper for string-equal-ignore-case compatibility 2022-10-04 18:38:25 -04:00
org-list.el Merge branch 'km/from-emacs-master' 2022-10-04 18:37:42 -04:00
org-macro.el Merge branch 'km/from-emacs-master' 2022-10-04 18:37:42 -04:00
org-macs.el Merge branch 'km/from-emacs-master' 2022-10-04 18:37:42 -04:00
org-mobile.el Merge branch 'km/from-emacs-master' 2022-10-04 18:37:42 -04:00
org-mouse.el org-mouse: Make recently ported change compatible with Emacs < 29 2022-10-04 18:38:25 -04:00
org-num.el Assert all the Org files to load the same Org version 2022-09-04 12:24:55 +08:00
org-pcomplete.el org-pcomplete: Fix completion inside bracketed link 2022-10-07 15:49:46 +08:00
org-persist.el Assert all the Org files to load the same Org version 2022-09-04 12:24:55 +08:00
org-plot.el Merge branch 'km/from-emacs-master' 2022-10-04 18:37:42 -04:00
org-protocol.el testing: Make all files use `lexical-binding` 2022-09-15 19:17:19 +08:00
org-refile.el compat: Add compatibility wrapper for format-prompt 2022-10-04 18:38:25 -04:00
org-src.el org-src-font-lock-fontify-block: Do not fold links inside src blocks 2022-10-09 11:45:44 +08:00
org-table.el org-export: Suppress cache persistence in buffer copies during export 2022-10-07 13:15:17 +08:00
org-tempo.el Assert all the Org files to load the same Org version 2022-09-04 12:24:55 +08:00
org-timer.el Assert all the Org files to load the same Org version 2022-09-04 12:24:55 +08:00
org.el org-up-element: Fix jumping up from inlinetask 2022-10-13 11:06:36 +08:00
ox-ascii.el Assert all the Org files to load the same Org version 2022-09-04 12:24:55 +08:00
ox-beamer.el ox-latex: Remove unused argument 2022-09-17 18:29:55 +08:00
ox-html.el org-export-with-buffer-copy: Allow safe reusable buffer copy 2022-10-10 17:36:10 +08:00
ox-icalendar.el ox-icalendar: Fix time zone construct from recently ported commit 2022-10-04 18:38:25 -04:00
ox-koma-letter.el Assert all the Org files to load the same Org version 2022-09-04 12:24:55 +08:00
ox-latex.el ox-latex: Use \empty instead of \relax after \\ 2022-10-14 10:27:14 +08:00
ox-man.el Assert all the Org files to load the same Org version 2022-09-04 12:24:55 +08:00
ox-md.el Assert all the Org files to load the same Org version 2022-09-04 12:24:55 +08:00
ox-odt.el Assert all the Org files to load the same Org version 2022-09-04 12:24:55 +08:00
ox-org.el Assert all the Org files to load the same Org version 2022-09-04 12:24:55 +08:00
ox-publish.el Assert all the Org files to load the same Org version 2022-09-04 12:24:55 +08:00
ox-texinfo.el ox-texinfo: Include LaTeX in Texinfo exports 2022-09-21 15:29:50 +08:00
ox.el org-export-with-buffer-copy: Allow safe reusable buffer copy 2022-10-10 17:36:10 +08:00