org-mode/testing/lisp
Max Nikulin ec7c16a060 ox-latex: Allow percent sign in 'src-block' caption
* lisp/ox-latex.el (org-latex-src-block): Prevent leak of percent sign
from caption to `format' first argument causing export failure due to
insufficient argument number.  The fix covers only the case of verbatim
environment.
* testing/lisp/test-ox.el
(test-org-export/latex-src-block-verbatim-caption): New test for src
block LaTeX export with cases of various formatting of caption and
verbatim environment.  Check that percent signs in caption and source
block body do not lead to errors.

Reported-by: Charest, Luc <charest.luc@hydroquebec.com>
<https://lists.gnu.org/archive/html/emacs-orgmode/2021-08/msg00017.html>
2021-09-25 18:02:08 +02:00
..
test-ob-awk.el Update copyright year 2019-01-01 11:50:56 +01:00
test-ob-C.el Add test case for symbol coercion in C Babel blocks 2020-05-28 22:32:31 -04:00
test-ob-clojure.el Update copyright year to 2021 2021-01-01 14:59:01 -05:00
test-ob-emacs-lisp.el Update copyright year to 2021 2021-01-01 14:59:01 -05:00
test-ob-eshell.el ob-eshell.el: Add Eshell support for Babel 2018-10-03 18:44:34 +02:00
test-ob-exp.el ob-exp: Do not comma-escape inline source code 2021-04-13 09:55:29 +02:00
test-ob-fortran.el Update copyright year 2019-01-01 11:50:56 +01:00
test-ob-header-arg-defaults.el Update copyright year 2019-01-01 11:50:56 +01:00
test-ob-lilypond.el testing/lisp/test-ob-lilypond.el: Delete test 2020-02-11 10:42:49 +01:00
test-ob-lob.el ob-exp: Restore evaluation query for lob calls during export 2020-11-01 18:34:16 -05:00
test-ob-lua.el Update copyright year 2019-01-01 11:50:56 +01:00
test-ob-maxima.el Update copyright year 2019-01-01 11:50:56 +01:00
test-ob-octave.el Update copyright year 2019-01-01 11:50:56 +01:00
test-ob-perl.el Update copyright year 2019-01-01 11:50:56 +01:00
test-ob-plantuml.el Update copyright year 2019-01-01 11:50:56 +01:00
test-ob-python.el ob-python: fix startup messages leaking into output 2020-09-06 18:15:04 -07:00
test-ob-R.el Update copyright year 2019-01-01 11:50:56 +01:00
test-ob-ruby.el Ruby tests 2019-05-16 10:43:14 +02:00
test-ob-scheme.el Update copyright year 2019-01-01 11:50:56 +01:00
test-ob-sed.el Update copyright year 2019-01-01 11:50:56 +01:00
test-ob-shell.el Fix tests wrt 2f53429413 2020-09-06 22:37:32 +02:00
test-ob-sqlite.el Fix typos 2019-11-16 17:17:36 -05:00
test-ob-table.el Update copyright year 2019-01-01 11:50:56 +01:00
test-ob-tangle.el ob-core: Fix handling of multiple noweb refs in same line 2020-09-15 23:45:16 -04:00
test-ob-vala.el Update copyright year 2019-01-01 11:50:56 +01:00
test-ob.el Fix tests wrt 2f53429413 2020-09-06 22:37:32 +02:00
test-ol-bbdb.el Prefix link-related libraries filenames with "ol" 2019-03-10 18:00:36 +01:00
test-ol.el Improve org-link-plain-re 2021-05-15 10:33:23 +02:00
test-org-agenda.el agenda: Restore org-agenda-goto-date's date argument 2021-02-21 01:18:07 -05:00
test-org-archive.el testing/lisp/test-org-archive.el: Fix test 2021-01-14 00:15:34 -05:00
test-org-attach-git.el Fix problems with org-attach-git, failed tests 2019-09-08 14:43:46 +02:00
test-org-attach.el Make tests robust with respect to mailcap entries 2020-06-03 00:11:46 -04:00
test-org-capture.el Fix capturing plain text with :unnarrowed property and no "%?" marker 2020-05-07 22:35:13 +02:00
test-org-clock.el test-org-clock: Avoid daylight saving time failure 2021-03-14 22:06:22 -04:00
test-org-colview.el colview: Display active time stamps as inactive 2020-05-12 22:44:57 -04:00
test-org-datetree.el org-datetree.el: Respect `org-blank-before-new-entry' 2020-09-09 10:07:29 +02:00
test-org-duration.el org-duration: Read and write duration in compact form 2020-01-04 18:39:05 +01:00
test-org-element.el element: Fix drawer parsing 2021-05-16 10:14:54 +02:00
test-org-feed.el Update copyright year 2019-01-01 11:50:56 +01:00
test-org-footnote.el footnote: Allow new footnotes in empty cells 2021-05-20 15:44:27 +02:00
test-org-info.el Update copyright year 2019-01-01 11:50:56 +01:00
test-org-inlinetask.el testing/lisp/test-org-inlinetask.el: Fix test 2020-09-06 23:35:32 +02:00
test-org-lint.el ox: Do not choke on incomplete OPTIONS items 2021-04-09 22:47:57 +02:00
test-org-list.el list: Fix item insertion when split point is near blanks 2020-08-16 11:42:53 +02:00
test-org-macro.el org-macro: Fix {{{author}}} expansion without AUTHOR keyword 2020-03-11 16:24:26 +01:00
test-org-macs.el org-macs: Add basic tests for org-matcher-time 2021-01-24 22:16:45 -05:00
test-org-num.el org-num: Add tests 2020-08-28 08:45:41 +02:00
test-org-pcomplete.el pcomplete: improve header arguments completion 2020-05-14 14:52:30 +02:00
test-org-protocol.el test-org-protocol.el: Fix the case for parse parameters with complex argument 2021-04-28 09:11:05 +02:00
test-org-src.el src: Do not undo edit buffers back to empty state 2020-07-02 19:30:14 +02:00
test-org-table.el table: Allow collapsing header into single line 2020-06-28 23:02:26 +02:00
test-org-tempo.el Update copyright year 2019-01-01 11:50:56 +01:00
test-org-timer.el When testing, fake the current time more robustly 2019-02-12 19:34:08 -05:00
test-org.el Set org-adapt-indentation explicitly in some tests 2021-05-15 14:45:23 +02:00
test-ox-publish.el Update copyright year 2019-01-01 11:50:56 +01:00
test-ox.el ox-latex: Allow percent sign in 'src-block' caption 2021-09-25 18:02:08 +02:00
test-property-inheritance.el org-test, test-org-element, test-org, test-ox, test-property-inheritance 2019-07-07 19:42:50 +02:00