Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2019-09-02 | LaTeX reader: properly handle optional arguments for macros. | John MacFarlane | 1 | -1/+1 | |
Closes #5682. | |||||
2019-08-14 | LaTeX reader: improve withRaw so it can handle cases where... | John MacFarlane | 1 | -2/+3 | |
the token string is modified by a parser (e.g. accent when it only takes part of a Word token). Closes #5686. Still not ideal, because we get the whole `\t0BAR` and not just `\t0` as a raw latex inline command. But I'm willing to let this be an edge case, since you can easily work around this by inserting a space, braces, or raw attribute. The important thing is that we no longer drop the rest of the document after a raw latex inline command that gobbles only part of a Word token! | |||||
2019-07-19 | Markdown: Ensure that expanded latex macros end with space if original did. | John MacFarlane | 1 | -1/+10 | |
Closes #4442. | |||||
2019-07-16 | LaTeX reader: handle \looseness command values better. | John MacFarlane | 1 | -5/+4 | |
Closes #4439. | |||||
2019-03-01 | Remove license boilerplate. | John MacFarlane | 1 | -18/+0 | |
The haddock module header contains essentially the same information, so the boilerplate is redundant and just one more thing to get out of sync. | |||||
2019-02-04 | Add missing copyright notices and remove license boilerplate (#5112) | Albert Krewinkel | 1 | -2/+2 | |
Quite a few modules were missing copyright notices. This commit adds copyright notices everywhere via haddock module headers. The old license boilerplate comment is redundant with this and has been removed. Update copyright years to 2019. Closes #4592. | |||||
2019-01-31 | LaTeX reader: don't let `\egroup` match `{`. | John MacFarlane | 1 | -3/+3 | |
`braced` now actually requires nested braces. Otherwise some legitimate command and environment definitions can break (see test/command/tex-group.md). | |||||
2018-12-31 | Remove unused HasHeaderMap (#5175) | Alexander | 1 | -6/+0 | |
It is updated by some readers, but never actually used. | |||||
2018-11-19 | LaTeX reader: cleaned up handling of dimension arguments. | John MacFarlane | 1 | -5/+11 | |
Allow decimal points, preceding space. Also require text 1.1+. | |||||
2018-10-15 | LaTeX reader: withVerbatimMode now does nothing if already in | John MacFarlane | 1 | -4/+8 | |
verbatim mode. Previously nested uses wouldn't work properly. | |||||
2018-10-15 | LaTeX reader: simplified type on doMacros'. | John MacFarlane | 1 | -11/+8 | |
2018-10-15 | LaTeX reader: small efficiency improvement. | John MacFarlane | 1 | -1/+2 | |
2018-10-15 | LaTeX reader: tokenize before pulling tokens, | John MacFarlane | 1 | -11/+14 | |
rather than after. This has some performance penalty but is more reliable. Closes #4408. | |||||
2018-10-15 | LaTeX reader: improved parsing of `\def`, `\let`. | John MacFarlane | 1 | -16/+23 | |
We now correctly parse: ``` \def\bar{hello} \let\fooi\bar \def\fooii{\bar} \fooi +\fooii \def\bar{goodbye} \fooi +\fooii ``` | |||||
2018-10-15 | LaTeX reader: Fix small regression in pattern argumnents... | John MacFarlane | 1 | -1/+2 | |
introduced in last commit. | |||||
2018-10-15 | More refactoring of LaTeX reader code. | John MacFarlane | 1 | -33/+36 | |
2018-10-15 | T.P.R.LaTeX.Parsing: moved more functions. | John MacFarlane | 1 | -57/+64 | |
2018-10-15 | T.P.R.LaTeX.Parsing: moved some functions up a level. | John MacFarlane | 1 | -20/+21 | |
2018-10-01 | Moved isArgTok to Readers.LaTeX.Parsing. | John MacFarlane | 1 | -1/+6 | |
2018-09-28 | Added Text.Pandoc.Readers.LaTeX.Parsing (unexported). | John MacFarlane | 1 | -0/+663 | |
This collects some of the general-purpose code from the LaTeX reader, with the aim of making the module smaller. (We've been having out-of-memory issues compiling this module on CI.) |