John MacFarlane
afcdcd747a
Fix more author splitting issues.
...
Ugly without Space element!
2021-10-04 09:47:19 -07:00
John MacFarlane
97ed04f36f
Fixes for Str " ".
2021-10-04 09:07:15 -07:00
John MacFarlane
a553f9fa6a
Fix name splitting in bibliography to work with no space.
2021-10-04 08:50:41 -07:00
John MacFarlane
883dd9f5e9
Another fixed test.
2021-10-03 22:48:07 -07:00
John MacFarlane
17cb684101
Fix task list.
2021-10-03 22:44:37 -07:00
John MacFarlane
6531894b13
More test updates.
2021-10-03 22:27:08 -07:00
John MacFarlane
698e47c6b8
Use latest dev version of commonmark-hs.
2021-10-03 22:26:58 -07:00
John MacFarlane
abe8a434c4
More test case fixes.
2021-10-03 21:46:27 -07:00
John MacFarlane
1989e8dcc2
Fix over-aggressive escaping in writer.markdown test.
2021-10-03 21:42:58 -07:00
John MacFarlane
10b6ee68a4
Fixed more command tests with Space.
2021-10-03 21:32:45 -07:00
John MacFarlane
e468f80252
Update wasteland tests.
...
When we trimmed it down we left out some notes.
2021-10-03 21:21:05 -07:00
John MacFarlane
8c066e4916
Don't run CI on nospace branch for now.
2021-10-03 19:14:08 -07:00
John MacFarlane
5e6421cf8a
Avoid bad wraps in markdown writer.
2021-10-03 19:11:12 -07:00
John MacFarlane
059eaaea51
Markdown writer: escape spaces in Str when needed.
2021-10-03 18:34:20 -07:00
John MacFarlane
58839625e3
autolink uris.
2021-10-03 10:42:39 -07:00
John MacFarlane
63a0363ccd
Start moving bare uri stuff to str.
2021-10-03 09:56:40 -07:00
John MacFarlane
8b2ed691ec
Markdown reader: streamline str parser.
2021-10-03 09:44:08 -07:00
John MacFarlane
d59f120515
Re-implement abbreviations in Markdown reader.
...
Note that with this new implementation, you can defeat the
abbreviationization by using two spaces after the period.
This commit removes support for moving abbreviations
after soft breaks (#4635 ), so the abbreviation support won't
work for abbreviations occuring at the end of a line.
It seems better not to mess with the user's soft breaks,
especially now that we have `--wrap=preserve`.
2021-10-03 09:39:02 -07:00
John MacFarlane
912c7aa230
Revert "Set up to use regex-tdfa in markdown reader (for abbrevs)."
...
This reverts commit 2c7b350823 .
2021-10-03 00:11:18 -07:00
John MacFarlane
a84d5fd205
Revert "Handle abbreviations as AST transform in Markdown reader."
...
This reverts commit 87cf1f01c1 .
2021-10-03 00:11:16 -07:00
John MacFarlane
87cf1f01c1
Handle abbreviations as AST transform in Markdown reader.
2021-10-03 00:10:46 -07:00
John MacFarlane
2c7b350823
Set up to use regex-tdfa in markdown reader (for abbrevs).
2021-10-02 23:28:36 -07:00
John MacFarlane
25bb9ff07b
Use the new version of splitSentences in man/ms.
2021-10-02 23:21:22 -07:00
John MacFarlane
f36e5e719f
T.P.Writers.Shared: Export splitSentences as a Doc Text transform.
...
[API change]
2021-10-02 22:56:55 -07:00
John MacFarlane
4c092f4bae
Remove splitSentences from T.P.Shared [API change].
...
We used to attempt automatic sentence splitting in man and ms
output, since sentence-ending periods need to be followed by
two spaces or a newline in these formats.
But it's just too difficult to do this reliably.
Now that you can set `--wrap=preserve`, that option provides a
better way to ensure that sentences end at the end of a line,
if that's important to you.
2021-10-02 22:13:03 -07:00
John MacFarlane
f58db1d787
Revert "Improve splitSentences."
...
This reverts commit 17219f53ce .
2021-10-02 21:29:21 -07:00
John MacFarlane
17219f53ce
Improve splitSentences.
...
Use regex-tdfa. This may be handy also for bare uris.
2021-10-02 17:54:14 -07:00
John MacFarlane
c61e41063c
Test adjust.
2021-10-02 16:55:04 -07:00
John MacFarlane
5e57da15e3
Fix sentence splitting.
2021-10-02 16:47:43 -07:00
John MacFarlane
abb95af8b1
Updaet mediawiki test.
2021-10-02 16:32:14 -07:00
John MacFarlane
ac8a1264ae
Fixed more tests.
2021-10-02 16:12:13 -07:00
John MacFarlane
08585e9ff4
Minor fixes.
2021-10-02 13:41:14 -07:00
John MacFarlane
7367ebaec3
More test fixes.
2021-10-02 13:36:30 -07:00
John MacFarlane
8c8c11ee6b
More command test fixes.
2021-10-02 13:25:14 -07:00
John MacFarlane
02f1ce769c
More fixes.
2021-10-02 12:41:36 -07:00
John MacFarlane
47c8b713da
Make markdown wrap.
2021-10-02 12:34:54 -07:00
John MacFarlane
338dc5b465
Fix test.
2021-10-02 12:31:57 -07:00
John MacFarlane
28431d31f4
More fixes.
2021-10-02 12:26:30 -07:00
John MacFarlane
33a792ff39
More improvements to breakable.
2021-10-02 12:21:41 -07:00
John MacFarlane
3d3ab57e20
Further improvements.
2021-10-02 12:14:14 -07:00
John MacFarlane
7aca4d1a77
Restore org writer.
2021-10-02 12:04:42 -07:00
John MacFarlane
91238d44fe
Update some docx golden tests.
2021-10-02 12:04:42 -07:00
John MacFarlane
19707a1208
pandoc.lua module: fix Space.
2021-10-02 12:04:42 -07:00
John MacFarlane
650b13e2d6
Docx reader spacing fix: avoid creating Str "".
2021-10-02 12:04:42 -07:00
John MacFarlane
9fa2d0892e
Restore RST writer.
2021-10-02 12:04:42 -07:00
John MacFarlane
460721cec9
Restore markdown writer.
2021-10-02 12:04:42 -07:00
John MacFarlane
920096115d
Use latest pandoc-types.
2021-10-02 12:04:42 -07:00
John MacFarlane
85052334bf
Adjust pptx golden tests.
2021-10-02 12:04:42 -07:00
John MacFarlane
983ec0c8f1
OOXML tests: use pretty-printed form to display diffs.
...
Otherwise everything is on one line and the diff is uninformative.
2021-10-02 12:04:42 -07:00
John MacFarlane
80b1143830
Fix compareXML helper in Tests.Writers.OOXML.
...
Given how it is used, we were getting "mine" and "good"
flipped in the test results.
2021-10-02 12:04:42 -07:00