From 0248227888120f393abdaa74ef501a8993553df3 Mon Sep 17 00:00:00 2001 From: Caleb Maclennan Date: Sun, 26 Nov 2017 20:28:37 +0300 Subject: [PATCH] Add expected output for test bug #450 --- tests/inline-lua.expected | 32 ++++++++++++++++++++++++++++++++ tests/inline-lua.sil | 9 +++++++++ 2 files changed, 41 insertions(+) create mode 100644 tests/inline-lua.expected create mode 100644 tests/inline-lua.sil diff --git a/tests/inline-lua.expected b/tests/inline-lua.expected new file mode 100644 index 0000000000..6025a1892c --- /dev/null +++ b/tests/inline-lua.expected @@ -0,0 +1,32 @@ +Set paper size 419.5275636 595.275597 +Begin page +Mx 54.8208 +My 76.6203 +Set font Gentium Plus;10;400;;normal;;LTR +T 48 82 71 88 79 88 86 (Modulus) +Mx 90.2798 +T 29 (:) +Mx 95.2377 +T 28 (9) +Mx 102.5979 +T 8 (%) +Mx 112.1652 +T 24 (5) +Mx 119.5254 +T 32 (=) +Mx 126.5829 +T 23 (4) +Mx 54.8208 +My 88.6203 +Set font Gentium Plus;10;400;Italic;normal;;LTR +T 20 19 19 (100) +Mx 66.8765 +T 8 (%) +Mx 75.7264 +T 76 87 68 79 76 70 (italic) +Mx 195.4611 +My 519.8019 +Set font Gentium Plus;10;400;;normal;;LTR +T 20 (1) +End page +Finish diff --git a/tests/inline-lua.sil b/tests/inline-lua.sil new file mode 100644 index 0000000000..89da023d1e --- /dev/null +++ b/tests/inline-lua.sil @@ -0,0 +1,9 @@ +\begin[papersize=a5,class=book]{document} +% A real comment +\begin{script} +answer = tostring(9 \% 2) +\end{script} +Modulus: 9 \% 5 = \script{SILE.typesetter:typeset(answer)} + +\em{100\% italic} +\end{document}