Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2017-10-19 | LaTeX reader: support `\expandafter`. | John MacFarlane | 1 | -6/+19 | |
Closes #3983. | |||||
2017-10-19 | LaTeX reader: handle `\DeclareRobustCommand`. | John MacFarlane | 1 | -2/+3 | |
Currently it's just treated as a synonym for `\newcommand`. Handles the second case mentioned in #3983. | |||||
2017-10-17 | Latex reader: Skip spaces in image options | Ben Firshman | 1 | -0/+2 | |
2017-10-16 | Improved handling of include files in LaTeX reader. | John MacFarlane | 1 | -57/+77 | |
Previously `\include` wouldn't work if the included file contained, e.g., a begin without a matching end. We've changed the Tok type so that it stores a full SourcePos, rather than just a line and column. So tokens keeep track of the file they came from. This allows us to use a simpler method for includes, which doesn't require parsing the included document as a whole. Closes #3971. | |||||
2017-10-08 | LaTeX reader: don't treat "..." as Quoted. | John MacFarlane | 1 | -2/+0 | |
This caused quotes to be omitted in `\texttt` contexts. Closes #3958. However, a better fix would be to modify the | |||||
2017-10-08 | Small logic fix. | John MacFarlane | 1 | -2/+1 | |
2017-10-06 | LaTeX reader: read polyglossia/babel \text($LANG){...}. | bucklereed | 1 | -113/+129 | |
2017-09-08 | Removed old beamer template. | John MacFarlane | 1 | -0/+1 | |
We now use the default.latex template for both latex and beamer. It contains conditionals for the beamer-specific things. `pandoc -D beamer` will return this template. | |||||
2017-09-05 | LaTeX reader: Better support for ogonek accents. | John MacFarlane | 1 | -0/+10 | |
2017-09-05 | LaTeX reader: Improve handling of accents. | John MacFarlane | 1 | -15/+17 | |
Handle ogonek, and fall back correctly with forms like `\"{}`. | |||||
2017-09-05 | LaTeX reader: support `\k` ogonek accent. | John MacFarlane | 1 | -0/+5 | |
2017-08-25 | LaTeX reader: improved support for \hyperlink, \hypertarget. | John MacFarlane | 1 | -6/+23 | |
Closes #2549. | |||||
2017-08-24 | LaTeX reader: RN and Rn, from biblatex (#3854) | bucklereed | 1 | -1/+29 | |
2017-08-20 | LaTeX reader: Set identifiers on Spans used for \label. | John MacFarlane | 1 | -1/+2 | |
2017-08-20 | LaTeX reader: allow `]` inside group in option brackets. | John MacFarlane | 1 | -3/+2 | |
Closes #3857. | |||||
2017-08-18 | LaTeX reader: implement \newtoggle, \iftoggle, \toggletrue|false | John MacFarlane | 1 | -5/+47 | |
from etoolbox. Closes #3853. | |||||
2017-08-17 | LaTeX reader: support \lq, \rq. | John MacFarlane | 1 | -0/+2 | |
2017-08-17 | LaTeX reader: support \textquoteleft|right, \textquotedblleft|right. | John MacFarlane | 1 | -0/+4 | |
Closes #3849. | |||||
2017-08-16 | LaTeX reader: rudimentary support for `\hyperlink`. | John MacFarlane | 1 | -0/+4 | |
2017-08-16 | LaTeX reader: use Link instead of Span for `\ref`. | John MacFarlane | 1 | -5/+6 | |
This makes more sense semantically and avoids unnecessary Span [Link] nestings when references are resolved. | |||||
2017-08-16 | LaTeX reader: add Support for `glossaries` and `acronym` package (#3589) | schrieveslaach | 1 | -0/+39 | |
Acronyms are not resolved by the reader, but acronym and glossary information is put into attributes on Spans so that they can be processed in filters. | |||||
2017-08-13 | Better handle complex \def macros as raw latex. | John MacFarlane | 1 | -9/+11 | |
2017-08-13 | LaTeX reader: Allow @ as a letter in control sequences. | John MacFarlane | 1 | -2/+8 | |
@ is commonly used in macros using `\makeatletter`. Ideally we'd make the tokenizer sensitive to `\makeatletter` and `\makeatother`, but until then this seems a good change. | |||||
2017-08-13 | LaTeX reader: fix `\let\a=0` case, with single character token. | John MacFarlane | 1 | -13/+18 | |
2017-08-13 | Resolve references to section numbers in LaTeX reader. | John MacFarlane | 1 | -3/+17 | |
2017-08-13 | LaTeX reader: track header numbers and correlate with labels. | John MacFarlane | 1 | -22/+49 | |
2017-08-13 | Put content of \ref, \label commands into span… (#3639) | schrieveslaach | 1 | -3/+17 | |
* Put content of `\ref` and `\label` commands into Span elements so they can be used in filters. * Add support for `\eqref` | |||||
2017-08-12 | LaTeX reader: Fixed space after \figurename etc. | John MacFarlane | 1 | -4/+1 | |
2017-08-12 | LaTeX reader: support \chaptername, \partname, \abstractname, etc. | John MacFarlane | 1 | -0/+20 | |
See #3559. Obsoletes #3560. | |||||
2017-08-12 | LaTeX reader: have `\setmainlanguage` set `lang` in metadata. | John MacFarlane | 1 | -4/+6 | |
2017-08-11 | Added support for translations (localization) (see #3559). | John MacFarlane | 1 | -2/+133 | |
* readDataFile, readDefaultDataFile, getReferenceDocx, getReferenceODT have been removed from Shared and moved into Class. They are now defined in terms of PandocMonad primitives, rather than being primitve methods of the class. * toLang has been moved from BCP47 to Class. * NoTranslation and CouldNotLoudTranslations have been added to LogMessage. * New module, Text.Pandoc.Translations, exporting Term, Translations, readTranslations. * New functions in Class: translateTerm, setTranslations. Note that nothing is loaded from data files until translateTerm is used; setTranslation just sets the language to be used. * Added two translation data files in data/translations. * LaTeX reader: Support `\setmainlanguage` or `\setdefaultlanguage` (polyglossia) and `\figurename`. | |||||
2017-08-09 | LaTeX reader: Use `label` instead of `data-label` for label in caption. | John MacFarlane | 1 | -1/+1 | |
See d441e656db576f266c4866e65ff9e4705d376381, #3639. | |||||
2017-08-07 | Small tweak to previous commit. | John MacFarlane | 1 | -1/+1 | |
2017-08-07 | LaTeX reader: Support simple `\def` macros. | John MacFarlane | 1 | -2/+21 | |
Note that we still don't support macros with fancy parameter delimiters, like \def\foo#1..#2{...} | |||||
2017-08-07 | LaTeX reader: Support `\let`. | John MacFarlane | 1 | -13/+28 | |
Also, fix regular macros so they're expanded at the point of use, and NOT also the point of definition. `\let` macros, by contrast, are expanded at the point of definition. Added an `ExpansionPoint` field to `Macro` to track this difference. | |||||
2017-08-05 | LaTeX reader: plainbreak, fancybreak et al from the memoir class (#3833) | bucklereed | 1 | -0/+9 | |
2017-07-25 | Merge branch 'textcolor-support' of https://github.com/schrieveslaach/pandoc ↵ | John MacFarlane | 1 | -0/+20 | |
into schrieveslaach-textcolor-support | |||||
2017-07-24 | LaTeX reader: support etoolbox's ifstrequal. | John MacFarlane | 1 | -0/+13 | |
2017-07-24 | LaTeX reader: removed code for non-exported 'macro'. | John MacFarlane | 1 | -8/+0 | |
2017-07-24 | LaTeX reader: Removed 'macro'. | John MacFarlane | 1 | -1/+0 | |
It is no longer necessary, since the rawLaTeXBlock parser will parse macro definitions. This also avoids the need for a separate latexMacro parser in the Markdown reader. | |||||
2017-07-24 | LaTeX reader: some improvements in macro parsing. | John MacFarlane | 1 | -19/+19 | |
Fixed applyMacros so that it operates on the whole string, not just the first token! Don't remove macro definitions from the output, even if Ext_latex_macros is set, so that macros will be applied. Since they're only applied to math in Markdown, removing the macros can have bad effects. Even for math macros, keeping them should be harmless. | |||||
2017-07-24 | Refactored some common code in LaTeX reader. | John MacFarlane | 1 | -37/+15 | |
2017-07-21 | LaTeX reader: improved heuristic for raw block/inline. | John MacFarlane | 1 | -2/+18 | |
An unknown command at the beginning of the line that could be either block or inline is treated as block if we have a sequence of block commands followed by a newline or a `\startXXX` command (which might start a raw ConTeXt environment). | |||||
2017-07-21 | LaTeX reader: handle optional args in raw `\titleformat`. | John MacFarlane | 1 | -8/+15 | |
Closes #3804. | |||||
2017-07-19 | LaTeX reader: fixed regression with starred environment names. | John MacFarlane | 1 | -14/+3 | |
Closes #3803. | |||||
2017-07-13 | Add LaTeX xspace support (#3797) | schrieveslaach | 1 | -0/+12 | |
2017-07-13 | Merge branch 'master' of https://github.com/jgm/pandoc into textcolor-support | Marc Schreiber | 1 | -1103/+1671 | |
2017-07-12 | Remove redundant imports (#3796) | Alexander Krotov | 1 | -1/+1 | |
2017-07-12 | Make sure \write18 is parsed as raw LaTeX. | John MacFarlane | 1 | -7/+9 | |
The change is in the LaTeX reader's treatment of raw commands, but it also affects the Markdown reader. | |||||
2017-07-07 | Use takeP in LaTeX reader. | John MacFarlane | 1 | -4/+4 | |