aboutsummaryrefslogtreecommitdiff
path: root/src/Text
AgeCommit message (Collapse)Author
2021-10-04Fix more author splitting issues.nospaceJohn MacFarlane
Ugly without Space element!
2021-10-04Fixes for Str " ".John MacFarlane
2021-10-04Fix name splitting in bibliography to work with no space.John MacFarlane
2021-10-03Fix task list.John MacFarlane
2021-10-03Avoid bad wraps in markdown writer.John MacFarlane
2021-10-03Markdown writer: escape spaces in Str when needed.John MacFarlane
2021-10-03autolink uris.John MacFarlane
2021-10-03Start moving bare uri stuff to str.John MacFarlane
2021-10-03Markdown reader: streamline str parser.John MacFarlane
2021-10-03Re-implement abbreviations in Markdown reader.John MacFarlane
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-03Revert "Set up to use regex-tdfa in markdown reader (for abbrevs)."John MacFarlane
This reverts commit 2c7b3508233438bd3a1f2577e5320e5198d12012.
2021-10-03Revert "Handle abbreviations as AST transform in Markdown reader."John MacFarlane
This reverts commit 87cf1f01c118fd6abed50f220e397d15979b2e0d.
2021-10-03Handle abbreviations as AST transform in Markdown reader.John MacFarlane
2021-10-02Set up to use regex-tdfa in markdown reader (for abbrevs).John MacFarlane
2021-10-02Use the new version of splitSentences in man/ms.John MacFarlane
2021-10-02T.P.Writers.Shared: Export splitSentences as a Doc Text transform.John MacFarlane
[API change]
2021-10-02Remove splitSentences from T.P.Shared [API change].John MacFarlane
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-02Revert "Improve splitSentences."John MacFarlane
This reverts commit 17219f53ce7c2a6be48829eeaa78ef81b9a5425d.
2021-10-02Improve splitSentences.John MacFarlane
Use regex-tdfa. This may be handy also for bare uris.
2021-10-02Fix sentence splitting.John MacFarlane
2021-10-02Fixed more tests.John MacFarlane
2021-10-02Make markdown wrap.John MacFarlane
2021-10-02More fixes.John MacFarlane
2021-10-02More improvements to breakable.John MacFarlane
2021-10-02Further improvements.John MacFarlane
2021-10-02Restore org writer.John MacFarlane
2021-10-02Docx reader spacing fix: avoid creating `Str ""`.John MacFarlane
2021-10-02Restore RST writer.John MacFarlane
2021-10-02Restore markdown writer.John MacFarlane
2021-10-02Small improvements.John MacFarlane
2021-10-02Use breakable in lots of writers.John MacFarlane
2021-10-02Use breakable in LaTeX writer.John MacFarlane
2021-10-02T.P.Writers.Shared: export breakable [API change].John MacFarlane
This is like literal but it puts in breaking spaces.
2021-09-29More efficient str parser.John MacFarlane
2021-09-29More changes. Compiles.John MacFarlane
A number of writers have been replaced by undefined. Tests won't compile. Wrapping in writers is broken. Abbreviations have been commented out in markdown reader.
2021-09-29More.John MacFarlane
2021-09-29More.John MacFarlane
2021-09-29More progress.John MacFarlane
Temporarily comment out a lot of markdown writer code.
2021-09-29More.John MacFarlane
2021-09-29More.John MacFarlane
2021-09-29More.John MacFarlane
2021-09-29More.John MacFarlane
2021-09-29More.John MacFarlane
2021-09-29More.John MacFarlane
2021-09-29More.John MacFarlane
2021-09-29More.John MacFarlane
2021-09-29More progress.John MacFarlane
2021-09-29Progress removing Space.John MacFarlane
2021-09-29EPUB writer: treat epub:type "frontispiece" as front matter.John MacFarlane
This allows you to include a frontispiece using ``` ![](yourimage.jpg) etc. ``` Closes #7600.
2021-09-28Switch from pretty-simple to pretty-show for native output.John MacFarlane
Update tests. Reason: it turns out that the native output generated by pretty-simple isn't always readable by the native reader. According to https://github.com/cdepillabout/pretty-simple/issues/99 it is not a design goal of the library that the rendered values be readable using 'read'. This makes it unsuitable for our purposes. pretty-show is a bit slower and it uses 4-space indents (non-configurable), but it doesn't have this serious drawback.