Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2021-03-03 | Remove T.P.Readers.LaTeX.Accent. | John MacFarlane | 3 | -82/+69 | |
Incorporate accentCommands into T.P.Readers.LaTeX.Inline. | |||||
2021-03-03 | Move enquote commands to T.P.LaTeX.Lang. | John MacFarlane | 3 | -24/+34 | |
2021-03-03 | Moved more into T.P.Readers.LaTeX.Lang. | John MacFarlane | 3 | -82/+97 | |
2021-03-03 | Split out T.P.Readers.LaTeX.Inline. | John MacFarlane | 2 | -336/+413 | |
2021-03-02 | Split out T.P.Writers.LaTeX.Util. | John MacFarlane | 2 | -243/+285 | |
2021-03-02 | Split out T.P.Writers.LaTeX.Citation. | John MacFarlane | 2 | -142/+187 | |
2021-03-02 | Split out T.P.Writers.LaTeX.Lang. | John MacFarlane | 2 | -180/+203 | |
2021-03-02 | Split up T.P.Writers.Markdown... | John MacFarlane | 3 | -591/+688 | |
with T.P.Writers.Markdown.Types and T.P.Writers.Markdown.Inline. The module was difficult to compile on low-memory system.s | |||||
2021-03-01 | Make T.P.Readers.LaTeX.Types an unexported module. | John MacFarlane | 1 | -1/+1 | |
[API change] This is really an implementation detail that shouldn't be exposed in the public API. | |||||
2021-03-01 | Factor out T.P.Readers.LaTeX.Macro. | John MacFarlane | 2 | -139/+155 | |
2021-03-01 | Jira writer: use Span identifiers as anchors | Albert Krewinkel | 1 | -1/+3 | |
Closes: tarleb/jira-wiki-markup#3. | |||||
2021-02-28 | Removed unnecessary pragmas. | John MacFarlane | 1 | -2/+0 | |
2021-02-28 | Change T.P.Readers.LaTeX.SIunitx to export a command map... | John MacFarlane | 2 | -16/+16 | |
instead of individual commands. | |||||
2021-02-28 | T.P.Readers.LaTeX: Don't export tokenize, untokenize. | John MacFarlane | 2 | -2/+9 | |
[API change] These were only exported for testing, which seems the wrong thing to do. They don't belong in the public API and are not really usable as they are, without access to the Tok type which is not exported. Removed the tokenize/untokenize roundtrip test. We put a quickcheck property in the comments which may be used when this code is touched (if it is). | |||||
2021-02-28 | LaTeX writer: use function instead of map for accent lookup. | John MacFarlane | 1 | -27/+25 | |
2021-02-28 | Factor out T.P.Readers.LaTeX.Math. | John MacFarlane | 2 | -193/+229 | |
2021-02-28 | Fix bug in last commit. | John MacFarlane | 1 | -1/+1 | |
2021-02-28 | Markdown reader efficiency improvements. | John MacFarlane | 1 | -182/+208 | |
Benchmarks show that these make the reader 13-17% faster, depending on extensions. | |||||
2021-02-28 | LaTeX reader: another small efficiency improvement. | John MacFarlane | 1 | -6/+12 | |
2021-02-28 | LaTeX reader efficiency improvements. | John MacFarlane | 1 | -31/+42 | |
In conjunction with other changes this makes the reader almost twice as fast on our benchmark as it was on Feb. 10. | |||||
2021-02-28 | Move setDefaultLanguage to T.P.Readers.LaTeX.Lang. | John MacFarlane | 2 | -16/+22 | |
2021-02-28 | LaTeX reader: remove two unnecessary parsers in inline. | John MacFarlane | 1 | -2/+0 | |
These are handled anyway by regularSymbol. | |||||
2021-02-28 | Factor out T.P.Readers.LaTeX.Citation. | John MacFarlane | 3 | -186/+231 | |
2021-02-27 | Factor out T.P.Readers.LaTeX.Table. | John MacFarlane | 3 | -363/+411 | |
2021-02-27 | Split off T.P.Readers.LaTeX.Accent. | John MacFarlane | 2 | -60/+86 | |
To help reduce memory demands compiling the main LaTeX reader. | |||||
2021-02-27 | Lua: use strict evaluation when retrieving AST value from the stack | Albert Krewinkel | 1 | -79/+77 | |
Fixes: #6674 | |||||
2021-02-26 | Fix/update URLs and use HTTP**S** where possible (#7122) | Salim B | 4 | -7/+7 | |
2021-02-22 | T.P.CSV: fix parsing of unquoted values. | John MacFarlane | 1 | -2/+1 | |
Previously we didn't allow unescaped quotes in unquoted values, but they are allowed. Closes #7112. | |||||
2021-02-22 | Fall back to latin1 if UTF-8 decoding fails... | John MacFarlane | 1 | -1/+7 | |
...when handling URL argument served with no charset in the mime type. The assumption is that most pages that don't specify a charset in the mime type are either UTF-8 or latin1. I think that's a good assumption, though I'm not sure. | |||||
2021-02-22 | When downloading content from URL arguments, be sensitive to... | John MacFarlane | 1 | -1/+9 | |
the character encoding. We can properly handle UTF-8 and latin1 (ISO-8859-1); for others we raise an error. See #5600. | |||||
2021-02-22 | T.P.Error: Add PandocUnsupportedCharsetError constructor... | John MacFarlane | 1 | -0/+4 | |
...for PandocError. [API change] | |||||
2021-02-22 | Text.Pandoc.MIME: add exported function getCharset. | John MacFarlane | 1 | -2/+15 | |
[API change] | |||||
2021-02-22 | Text.Pandoc.UTF8: change IO functions to return Text, not String. | John MacFarlane | 8 | -64/+65 | |
[API change] This affects `readFile`, `getContents`, `writeFileWith`, `writeFile`, `putStrWith`, `putStr`, `putStrLnWith`, `putStrLn`. `hPutStrWith`, `hPutStr`, `hPutStrLnWith`, `hPutStrLn`, `hGetContents`. This avoids the need to uselessly create a linked list of characters when emiting output. | |||||
2021-02-21 | LaTeX reader: further optimizations in satisfyTok. | John MacFarlane | 1 | -5/+5 | |
Benchmarks show 2/3 of the run time and 2/3 of the allocation of the Feb. 10 benchmarks. | |||||
2021-02-21 | LaTeX reader: removed sExpanded in state. | John MacFarlane | 1 | -7/+2 | |
This isn't actually needed and checking it doesn't change anything. Also remove an unnecessary `doMacros` before `satisfyTok`, which does it anyway. | |||||
2021-02-21 | LaTeX reader: further performance optimization. | John MacFarlane | 1 | -23/+19 | |
Avoid unnecessary 'doMacros'. | |||||
2021-02-20 | HTML reader: small performance tweak. | John MacFarlane | 1 | -9/+5 | |
2021-02-20 | T.P.Shared: remove some obsolete functions [API change]. | John MacFarlane | 1 | -43/+1 | |
Removed: - `splitByIndices` - `splitStringByIndicies` - `substitute` - `underlineSpan` None of these are used elsewhere in the code base. | |||||
2021-02-20 | HTML reader: small efficiency improvements. | John MacFarlane | 1 | -25/+18 | |
Also, remove exported class NamedTag(..) [API change]. This was just intended to smooth over the transition from String to Text and is no longer needed. The functions isInlineTag and isBlockTag are no longer polymorphic. | |||||
2021-02-20 | LaTeX reader: Another small improvement to macro handling. | John MacFarlane | 1 | -4/+3 | |
2021-02-20 | LaTeX reader: avoid macro resolution code if no macros defined. | John MacFarlane | 1 | -16/+19 | |
2021-02-20 | T.P.Readers.LaTeX.Parsing: improve braced'. | John MacFarlane | 1 | -16/+13 | |
Remove the parameter, have it parse the opening brace, and make it more efficient. | |||||
2021-02-20 | HTML reader: efficiency improvements. | John MacFarlane | 1 | -81/+129 | |
Do a lookahead to find the right parser to use. Benchmarks from 34ms to 23ms, with less allocation. Also speeds up the epub reader. | |||||
2021-02-18 | DocBook, JATS, OPML readers: performance optimization. | John MacFarlane | 3 | -64/+8 | |
With the new XML parser, we can avoid the expensive tree normalization step we used to do. This gives a significant speed boost in docbook and JATS parsing (e.g. 9.7 to 6 ms). | |||||
2021-02-18 | T.P.XML Improve fromEntities. | John MacFarlane | 1 | -17/+13 | |
2021-02-18 | T.P.PDF: disable `smart` when building PDF via LaTeX. | John MacFarlane | 1 | -1/+5 | |
This is to prevent accidental creation of ligatures like `` ?` `` and `` !` `` (especially in languages with quotations like German), and similar ligature issues. See jgm/citeproc#54. | |||||
2021-02-18 | LaTeX writer: adjust hypertargets to beginnings of paragraphs. | John MacFarlane | 1 | -2/+3 | |
Use `\vadjust pre` so that the hypertarget takes you to the beginning of the paragraph rather than one line down. Closes #7078. This makes a particular difference for links to citations using `--citeproc` and `link-citations: true`. | |||||
2021-02-18 | T.P.Shared: cleanup. | John MacFarlane | 1 | -11/+26 | |
Cleanup up some functions and added deprecation pragmas to funtions no longer used in the code base. | |||||
2021-02-18 | Org reader: fix bug in org-ref citation parsing. | Albert Krewinkel | 1 | -1/+1 | |
The org-ref syntax allows to list multiple citations separated by comma. This fixes a bug that accepted commas as part of the citation id, so all citation lists were parsed as one single citation. Fixes: #7101 | |||||
2021-02-17 | Docx reader: use Map instead of list for Namespaces. | John MacFarlane | 2 | -20/+20 | |
This gives a speedup of about 5-10%. The reader is now approximately twice as fast as in the last release. |