From 3bf53628984a91d9456d40b1202e9d15f1ad3088 Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Thu, 7 Nov 2019 23:08:05 -0800 Subject: DocBook reader: Fix bug with entities in mathphrase element. Closes #5885. --- test/command/5885.md | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 test/command/5885.md (limited to 'test/command') diff --git a/test/command/5885.md b/test/command/5885.md new file mode 100644 index 000000000..451929b5b --- /dev/null +++ b/test/command/5885.md @@ -0,0 +1,20 @@ +``` +% pandoc -f docbook -t latex + + + J(x, y) = \left\{ \begin{array}{ll} + 0 & \text{if $I(x, y) < t$} \\ + 1 & \text{if $I(x, y) \ge t$} + \end{array} + \right. + + +^D +\[ + J(x, y) = \left\{ \begin{array}{ll} + 0 & \text{if $I(x, y) < t$} \\ + 1 & \text{if $I(x, y) \ge t$} + \end{array} + \right. + \] +``` -- cgit v1.2.3