From 985db7b0a8a090e7654642651c75bffcf53f8d38 Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Tue, 6 Nov 2018 22:53:56 -0800 Subject: ICML writer: consolidate adjacent strings, inc. spaces. This avoids chunking up the output unnecessarily into separate elements. --- test/writer.icml | 151 +++++++++---------------------------------------------- 1 file changed, 23 insertions(+), 128 deletions(-) (limited to 'test') diff --git a/test/writer.icml b/test/writer.icml index 6e070e264..5fdf450fb 100644 --- a/test/writer.icml +++ b/test/writer.icml @@ -945,10 +945,7 @@ These should not be escaped: \$ \\ \> \[ \{
- - - - Item 1. graf two. The quick brown fox jumped over the lazy dog’s back. + Item 1. graf two. The quick brown fox jumped over the lazy dog’s back.
@@ -1122,10 +1119,7 @@ These should not be escaped: \$ \\ \> \[ \{
- - - - with a continuation + with a continuation
@@ -1897,13 +1891,7 @@ These should not be escaped: \$ \\ \> \[ \{
- - - - Hello, - - - + “Hello,” said the spider. @@ -1912,55 +1900,28 @@ These should not be escaped: \$ \\ \> \[ \{ - + ‘Shelob’ - Shelob - - - - - - is my name. - - - + is my name.”
- - - - A - - - + ‘A’ , - - - - B - - - + ‘B’ , and - - - - C - - - + ‘C’ are letters. @@ -1969,67 +1930,34 @@ These should not be escaped: \$ \\ \> \[ \{
- - - - Oak, - - - + ‘Oak,’ - - - - elm, - - - + ‘elm,’ and - - - - beech - - - + ‘beech’ are names of trees. So is - - - - pine. - - - + ‘pine.’
- - - - He said, - - - + ‘He said, - I want to go. - - - + “I want to go.” @@ -2231,13 +2159,7 @@ These should not be escaped: \$ \\ \> \[ \{ of money. So is $34,000. (It worked if - - - - lot - - - + “lot” is emphasized.) @@ -2818,13 +2740,7 @@ These should not be escaped: \$ \\ \> \[ \{ From - - - - Voyage dans la Lune - - - + “Voyage dans la Lune” by Georges Melies (1902): @@ -2916,10 +2832,7 @@ These should not be escaped: \$ \\ \> \[ \{ - - - - Here is the footnote. It can go anywhere after the footnote reference. It need not be placed at the end of the document. + Here is the footnote. It can go anywhere after the footnote reference. It need not be placed at the end of the document. @@ -2936,19 +2849,13 @@ These should not be escaped: \$ \\ \> \[ \{
- - - - Here’s the long note. This one contains multiple blocks. + Here’s the long note. This one contains multiple blocks.
- - - - Subsequent blocks are indented to show that they belong to the footnote (as with list items). + Subsequent blocks are indented to show that they belong to the footnote (as with list items).
@@ -2960,10 +2867,7 @@ These should not be escaped: \$ \\ \> \[ \{
- - - - If you want, you can indent every line, but you can also be lazy and just indent the first line of each block. + If you want, you can indent every line, but you can also be lazy and just indent the first line of each block. @@ -2986,10 +2890,7 @@ These should not be escaped: \$ \\ \> \[ \{ - - - - This is + This is easier @@ -3029,10 +2930,7 @@ These should not be escaped: \$ \\ \> \[ \{ - - - - In quote. + In quote. @@ -3052,10 +2950,7 @@ These should not be escaped: \$ \\ \> \[ \{ - - - - In list. + In list. -- cgit v1.2.3