aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2017-06-01 12:08:28 +0200
committerJohn MacFarlane <jgm@berkeley.edu>2017-06-01 12:08:28 +0200
commit9396f1fb6766cc4b08fb7b7c97ef2c02e9f0f700 (patch)
tree82486016ca569221513184e11a7f9f024090652a /test
parentaf6e8414c7d39d80831720d35a6d0d5f6e09bbd5 (diff)
downloadpandoc-9396f1fb6766cc4b08fb7b7c97ef2c02e9f0f700.tar.gz
LaTeX reader: handle some width specifiers on table columns.
Currently we only handle the form `0.9\linewidth`. Anything else would have to be converted to a percentage, using some kind arbitrary assumptions about line widths. See #3709.
Diffstat (limited to 'test')
-rw-r--r--test/command/tabularx.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/command/tabularx.md b/test/command/tabularx.md
index 9e6069542..bf7670e9c 100644
--- a/test/command/tabularx.md
+++ b/test/command/tabularx.md
@@ -57,7 +57,7 @@
\hline
\end{tabularx}
^D
-[Table [] [AlignLeft,AlignCenter,AlignLeft] [0.0,0.0,0.0]
+[Table [] [AlignLeft,AlignCenter,AlignLeft] [0.0,0.0,0.25]
[[Plain [Str "Column",Space,Str "Heading",Space,Str "1"]]
,[Plain [Str "Column",Space,Str "Heading",Space,Str "2"]]
,[Plain [Str "Column",Space,Str "Heading",Space,Str "3"]]]
@@ -94,7 +94,7 @@
\hline
\end{tabularx}
^D
-[Table [] [AlignLeft,AlignCenter,AlignLeft] [0.0,0.0,0.0]
+[Table [] [AlignLeft,AlignCenter,AlignLeft] [0.25,0.0,0.25]
[[Plain [Str "Column",Space,Str "Heading",Space,Str "1"]]
,[Plain [Str "Column",Space,Str "Heading",Space,Str "2"]]
,[Plain [Str "Column",Space,Str "Heading",Space,Str "3"]]]