Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2019-05-03 | LaTeX reader: Allow newlines in `\mintinline`. | John MacFarlane | 1 | -3/+7 | |
2019-04-10 | LaTeX reader: add braces when resolving `\DeclareMathOperator`. | John MacFarlane | 1 | -1/+2 | |
These seem to be needed for xelatex but not pdflatex. Closes #5441. | |||||
2019-03-10 | LaTeX reader: support `\underline`, `\ul`, `\uline` (#5359) | Paul Tilley | 1 | -0/+5 | |
These are parsed as a Span with class `underline`, as with other readers. | |||||
2019-03-07 | Add inNote to Footcite and Footcites | John MacFarlane | 1 | -2/+2 | |
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-22 | LaTeX reader: support `\endinput`. Closes #5233. | John MacFarlane | 1 | -0/+1 | |
2019-01-20 | LaTeX reader: allow includes with dots like cc_by_4.0. | John MacFarlane | 1 | -3/+5 | |
Previously the `.0` was interpreted as a file extension, leading pandoc not to add `.tex` (and thus not to find the file). The new behavior matches tex more closely. | |||||
2019-01-20 | LaTeX reader: cleaned up 'input' code. | John MacFarlane | 1 | -10/+5 | |
2019-01-08 | Removed superfluous sourceCode class on code blocks. | John MacFarlane | 1 | -2/+1 | |
* These were added by the RST reader and, for literate Haskell, by the Markdown and LaTeX readers. There is no point to this class, and it is not applied consistently by all readers. See #5047. * Reverse order of `literate` and `haskell` classes on code blocks when parsing literate Haskell. Better if `haskell` comes first. | |||||
2018-12-17 | LaTeX reader: Support `\DeclareMathOperator`. | John MacFarlane | 1 | -1/+11 | |
Closes #5149. | |||||
2018-11-29 | LaTeX reader: Support \inputminted (closes #5103). | John MacFarlane | 1 | -2/+21 | |
2018-11-22 | Hlint suggestions. | John MacFarlane | 1 | -1/+1 | |
2018-11-19 | LaTeX reader: cleaned up handling of dimension arguments. | John MacFarlane | 1 | -1/+1 | |
Allow decimal points, preceding space. Also require text 1.1+. | |||||
2018-11-18 | LaTeX reader: don't allow arguments for verbatim, etc. | John MacFarlane | 1 | -1/+0 | |
2018-11-18 | LaTeX reader: Allow space before bracketed options. | John MacFarlane | 1 | -1/+2 | |
2018-11-18 | LaTeX reader: allow optional arguments after \\ in tables. | John MacFarlane | 1 | -1/+2 | |
2018-11-18 | LaTeX reader: improve parsing of `\tiny`, `scriptsize`, etc. | John MacFarlane | 1 | -4/+18 | |
Parse as raw, but know that these font changing commands take no arguments. | |||||
2018-10-29 | LaTeX reader: allow space at end of math after `\`. | John MacFarlane | 1 | -2/+2 | |
Closes #5010. Expose trimMath from T.P.Shared. | |||||
2018-10-22 | LaTeX reader: add support for `nolinkurl` command. (#4992) | Brian Leung | 1 | -0/+2 | |
2018-10-15 | LaTeX reader: small verbatim mode cleanups. | John MacFarlane | 1 | -17/+15 | |
2018-10-15 | LaTeX reader: simplified type on doMacros'. | John MacFarlane | 1 | -1/+1 | |
2018-10-15 | LaTeX reader: tokenize before pulling tokens, | John MacFarlane | 1 | -4/+2 | |
rather than after. This has some performance penalty but is more reliable. Closes #4408. | |||||
2018-10-15 | LaTeX reader: more care with verbatim mode in macro definitions. | John MacFarlane | 1 | -17/+20 | |
This solves some of the issues in #4408, but it is fragile and may introduce new problems. We really need to change the approach fundamentally and expand macros before pulling tokens from the stream, rather than after. | |||||
2018-10-15 | LaTeX reader: more careful placement of withVerbatimMode. | John MacFarlane | 1 | -14/+16 | |
for macros | |||||
2018-10-15 | LaTeX reader: make macroDef polymorphic and allow in inline context. | John MacFarlane | 1 | -10/+4 | |
Otherwise we can't parse something like ``` \lowercase{\def\x{Foo}} ``` I have actually seen tex like this in the wild. | |||||
2018-10-15 | LaTeX reader: improved parsing of `\def`, `\let`. | John MacFarlane | 1 | -11/+18 | |
We now correctly parse: ``` \def\bar{hello} \let\fooi\bar \def\fooii{\bar} \fooi +\fooii \def\bar{goodbye} \fooi +\fooii ``` | |||||
2018-10-15 | More refactoring of LaTeX reader code. | John MacFarlane | 1 | -1/+1 | |
2018-10-15 | LaTeX reader: improve parsing of `\def` argspec. | John MacFarlane | 1 | -4/+4 | |
2018-10-14 | LaTeX reader: skip `\PackageError` commands. | John MacFarlane | 1 | -0/+2 | |
See #4408. But this doesn't fix the issue. | |||||
2018-10-07 | LaTeX reader: fix bugs omitting raw tex. | John MacFarlane | 1 | -2/+7 | |
The default is `-raw_tex`, so no raw tex should result unless we explicitly say `+raw_tex`. Previously some raw commands did make it through. Closes #4527. | |||||
2018-10-01 | Moved isArgTok to Readers.LaTeX.Parsing. | John MacFarlane | 1 | -4/+0 | |
2018-10-01 | Moved babelLangToBCP, polyglossiaLangToBCP to new module... | John MacFarlane | 1 | -134/+2 | |
Text.Pandoc.Readers.LaTeX.Lang (unexported). | |||||
2018-09-30 | LaTeX reader: simplified accent code using unicode-transforms. | John MacFarlane | 1 | -322/+33 | |
New dependency on unicode-transforms package for normalization. | |||||
2018-09-29 | LaTeX reader: allow verbatim blocks ending with blank lines. | John MacFarlane | 1 | -1/+14 | |
Closes #4624. | |||||
2018-09-29 | LaTeX reader: support breq math environments: dmath, dgroup, darray. | John MacFarlane | 1 | -0/+6 | |
2018-09-28 | Added Text.Pandoc.Readers.LaTeX.Parsing (unexported). | John MacFarlane | 1 | -557/+3 | |
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.) | |||||
2018-09-25 | Add support for multiprenote and multipostnote arguments in LaTeX. (#4930) | Brian Leung | 1 | -1/+34 | |
* Add support for multiprenote and multipostnote arguments. The multiprenotes occur before the first prefix of a multicite, and the multipostnotes follow the last suffix. * Add test for multiprenote and multipostnote. | |||||
2018-09-09 | LaTeX reader: resolve `\ref` for figure numbers. | John MacFarlane | 1 | -12/+41 | |
2018-08-29 | LaTeX reader: fixed parsing of \texorpdfstring. | John MacFarlane | 1 | -1/+1 | |
We were returning the wrong argument as the content. | |||||
2018-08-21 | LaTeX reader: support blockcquote, foreignblockquote from csquotes. | John MacFarlane | 1 | -5/+19 | |
Also foreigncblockquote, hyphenblockquote, hyphencblockquote. Closes #4848. But note: currently foreignquote will be parsed as a regular Quoted inline (not using the quotes appropriate to the foreign language). | |||||
2018-08-21 | LaTeX reader: support enquote*, foreignquote, hypphenquote... | John MacFarlane | 1 | -6/+24 | |
from csquotes. See #4848. Still TBD: blockquote, blockcquote, foreignblockquote. | |||||
2018-08-18 | Fix compiler warning. | John MacFarlane | 1 | -1/+1 | |
2018-08-17 | LaTeX reader: Support more text-mode accents. | John MacFarlane | 1 | -1/+91 | |
Add support for `\|`, `\b`, `\G`, `\h`, `\d`, `\f`, `\r`, `\t`, `\U`, `\i`, `\j`, `\newtie`, `\textcircled`. Also fall back to combining characters when composed characters are not available. Closes #4652. | |||||
2018-08-17 | LaTeX reader: use combining characters when needed for accents. | John MacFarlane | 1 | -1/+4 | |
For example, there is no unicode code point corresponding to \"{X}, so we use a combining accent. | |||||
2018-08-17 | Add support for latex mintinline (#4365) | Marc Schreiber | 1 | -0/+11 | |
2018-08-17 | LaTeX reader: fix siunitx unit commands... | John MacFarlane | 1 | -174/+182 | |
...they should only be recognized in siunitx contexts. For example, `\l` outside of an siunitx context should be l-slash, not l (for liter)! Closes #4842. | |||||
2018-08-16 | LaTeX reader: fix double `unnumbered` class. | John MacFarlane | 1 | -21/+20 | |
The `unnumbered` class was being included twice for starred sections. Closes #4838. | |||||
2018-08-14 | LaTeX reader: handle parameter patterns for `\def`. | John MacFarlane | 1 | -22/+45 | |
For example: `\def\foo#1[#2]{#1 and #2}`. Closes #4768. Also fixes #4771. API change: in Text.Pandoc.Readers.LaTeX.Types, new type ArgSpec added. Second parameter of Macro constructor is now `[ArgSpec]` instead of `Int`. | |||||
2018-08-12 | LaTeX reader: Allow `%` characters in URLs. | John MacFarlane | 1 | -13/+31 | |
This affects `\href` and `\url`. Closes #4832. |