Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2017-06-01 | LaTeX reader: handle some width specifiers on table columns. | John MacFarlane | 2 | -5/+15 | |
Currently we only handle the form `0.9\linewidth`. Anything else would have to be converted to a percentage, using some kind arbitrary assumptions about line widths. See #3709. | |||||
2017-06-01 | LaTeX reader: more table refactoring. | John MacFarlane | 1 | -12/+13 | |
2017-06-01 | LaTeX reader: Small refactoring of table parsing code. | John MacFarlane | 1 | -16/+18 | |
This makes room for doing something with widths. | |||||
2017-06-01 | LaTeX reader: Handle block structure inside table cells. | John MacFarlane | 1 | -18/+18 | |
minipage is no longer required. Closes #3709. | |||||
2017-06-01 | Merge pull request #3714 from tarleb/odt-reader-cleanup | John MacFarlane | 7 | -902/+4 | |
Odt reader: remove dead code | |||||
2017-06-01 | Add \colorbox support | Marc Schreiber | 3 | -70/+139 | |
2017-05-31 | Org reader: respect export option for tags | Albert Krewinkel | 4 | -2/+14 | |
Tags are appended to headlines by default, but will be omitted when the `tags` export option is set to nil. Closes: #3713 | |||||
2017-05-31 | Org reader: include tags in headlines | Albert Krewinkel | 2 | -23/+35 | |
The Emacs default is to include tags in the headline when exporting. Instead of just empty spans, which contain the tag name as attribute, tags are rendered as small caps and wrapped in those spans. Non-breaking spaces serve as separators for multiple tags. | |||||
2017-05-31 | Org reader: recognize babel result blocks with attributes | Albert Krewinkel | 3 | -22/+66 | |
Babel result blocks can have block attributes like captions and names. Result blocks with attributes were not recognized and were parsed as normal blocks without attributes. Fixes: #3706 | |||||
2017-05-31 | Org reader: fix module names in haddock comments | Albert Krewinkel | 7 | -9/+8 | |
Copy-pasting had lead to haddock module descriptions containing the wrong module names. | |||||
2017-05-31 | Odt reader: remove dead code | Albert Krewinkel | 7 | -902/+4 | |
The ODT reader contained a lot of general code useful for working with arrows. However, many of these utils weren't used and are hence removed. | |||||
2017-05-30 | Added eastAsianLineBreakFilter to Shared. | John MacFarlane | 2 | -11/+13 | |
This used to live in the Markdown reader. | |||||
2017-05-29 | LaTeX reader: handle escaped & inside table cell. | John MacFarlane | 2 | -3/+20 | |
Closes #3708. | |||||
2017-05-29 | LaTeX reader: don't crash on empty enumerate environment. | John MacFarlane | 1 | -1/+1 | |
Closes #3707. | |||||
2017-05-29 | Merge pull request #3704 from labdsf/anylinenewline | John MacFarlane | 1 | -4/+3 | |
Markdown reader: use anyLineNewline | |||||
2017-05-29 | Merge pull request #3699 from herwigstuetz/org-ref-cites | John MacFarlane | 5 | -9/+54 | |
Org: Fix reading of citations before punctuation | |||||
2017-05-28 | Markdown reader: use anyLineNewline | Alexander Krotov | 1 | -4/+3 | |
2017-05-28 | Org reader: Fix cite parsing behaviour | Herwig Stuetz | 2 | -2/+46 | |
Until now, org-ref cite keys included special characters also at the end. This caused problems when citations occur right before colons or at the end of a sentence. With this change, all non alphanumeric characters at the end of a cite key are ignored. This also adds `,` to the list of special characters that are legal in cite keys to better mirror the behaviour of org-export. | |||||
2017-05-28 | Parsing: `many1Till`: Check for the end condition before parsing | Herwig Stuetz | 4 | -7/+8 | |
By not checking for the end condition before the first parse, the parser was applied too often, consuming too much of the input. This fixes the behaviour of `testStringWith (many1Till (oneOf "ab") (string "aa")) "aaa"` which before incorrectly returned `Right "a"`. With this change, it instead correctly fails with `Left (PandocParsecError ...)` because it is not able to parse at least one occurence of `oneOf "ab"` that is not `"aa"`. Note that this only affects `many1Till p end` where `p` matches on a prefix of `end`. | |||||
2017-05-28 | Update criterion upper bound. | John MacFarlane | 1 | -1/+1 | |
2017-05-28 | RST reader: use anyLineNewline in rawListItem (#3702) | Alexander Krotov | 1 | -2/+2 | |
2017-05-27 | Markdown writer: changes to `--reference-links`. | John MacFarlane | 3 | -17/+110 | |
With `--reference-location` of `section` or `block`, pandoc will now repeat references that have been used in earlier sections. The Markdown reader has also been modified, so that *exactly* repeated references do not generate a warning, only references with the same label but different targets. The idea is that, with references after every block, one might want to repeat references sometimes. Closes #3701. | |||||
2017-05-27 | Pretty: Eq instance for Doc. | John MacFarlane | 1 | -2/+2 | |
2017-05-27 | Org reader: subject full doc tree to headline transformations | Albert Krewinkel | 3 | -8/+53 | |
Emacs parses org documents into a tree structure, which is then post-processed during exporting. The reader is changed to do the same, turning the document into a single tree of headlines starting at level 0. Fixes: #3695 | |||||
2017-05-26 | HTML writer: Removed unused parameter in dimensionsToAttributeList. | John MacFarlane | 1 | -3/+3 | |
2017-05-25 | Allow em for image height/width in HTML, LaTeX. | John MacFarlane | 5 | -42/+69 | |
- Export `inEm` from ImageSize [API change]. - Change `showFl` and `show` instance for `Dimension` so extra decimal places are omitted. - Added `Em` as a constructor of `Dimension` [API change]. - Allow `em`, `cm`, `in` to pass through without conversion in HTML, LaTeX. Closes #3450. | |||||
2017-05-25 | Added `spaced_reference_links` extension. | John MacFarlane | 34 | -216/+1101 | |
This is now the default for pandoc's Markdown. It allows whitespace between the two parts of a reference link: e.g. [a] [b] [b]: url This is now forbidden by default. Closes #2602. | |||||
2017-05-25 | Docx writer: Use Table rather than "Table Normal" for table style. | John MacFarlane | 3 | -4/+5 | |
"Table Normal" is the default table style and can't be modified. Closes #3275, further testing welcome. | |||||
2017-05-25 | Update command tests to include stderr output. | John MacFarlane | 7 | -5/+23 | |
2017-05-25 | Test.Command: put stderr output at front, so it can be tested. | John MacFarlane | 1 | -3/+3 | |
2017-05-25 | Markdown reader: warn for notes defined but not used. | John MacFarlane | 3 | -8/+29 | |
Closes #1718. Parsing.ParserState: Make stateNotes' a Map, add stateNoteRefs. | |||||
2017-05-25 | MediaWiki reader: don't do curly quotes inside `<tt>` contexts. | John MacFarlane | 2 | -1/+26 | |
Even if `+smart`. See #3585. | |||||
2017-05-25 | MediaWiki reader: Make smart double quotes depend on `smart` extension. | John MacFarlane | 1 | -1/+3 | |
Closes #3585. | |||||
2017-05-24 | Markdown reader: fixed smart quotes after emphasis. | John MacFarlane | 2 | -5/+12 | |
E.g. in *foo*'s 'foo' Closes #2228. | |||||
2017-05-24 | LaTeX reader: Fixed failures on \ref{}, \label{} with `+raw_tex`. | John MacFarlane | 1 | -6/+9 | |
Now these commands are parsed as raw if `+raw_tex`; otherwise, their argument is parsed as a bracketed string. | |||||
2017-05-24 | Makefile: fixed filename for windows package download. | John MacFarlane | 1 | -1/+1 | |
2017-05-24 | Revert "appveyor.yml: don't use matrix." | John MacFarlane | 1 | -9/+5 | |
This reverts commit d4ccd1e001bce84f1bae338cd07d4e8e2e7875cb. | |||||
2017-05-24 | Parsing: Provide parseFromString'. | John MacFarlane | 8 | -62/+88 | |
This is a verison of parseFromString specialied to ParserState, which resets stateLastStrPos at the end. This is almost always what we want. This fixes a bug where `_hi_` wasn't treated as emphasis in the following, because pandoc got confused about the position of the last word: - [o] _hi_ Closes #3690. | |||||
2017-05-24 | appveyor.yml: don't use matrix. | John MacFarlane | 1 | -5/+9 | |
2017-05-24 | LaTeX reader: parse tikzpicture as raw verbatim environment... | John MacFarlane | 1 | -0/+14 | |
if `raw_tex` extension is selected. Otherwise skip with a warning. This is better than trying to parse it as text! Closes #3692. | |||||
2017-05-24 | Logging: Made SkippedContent WARNING not INFO. | John MacFarlane | 1 | -1/+1 | |
2017-05-24 | HTML reader: Add `details` tag to list of block tags. | John MacFarlane | 1 | -1/+2 | |
Closes #3694. | |||||
2017-05-24 | appveyor: turn off 64-bit build for now. | John MacFarlane | 1 | -3/+3 | |
2017-05-24 | appveyor.yml: added fast_finish, fails if either job fails. | John MacFarlane | 1 | -0/+3 | |
2017-05-23 | Add another test to make sure that textcolor parsing is working in the ↵ | Marc Schreiber | 1 | -0/+8 | |
inside of a paragraph | |||||
2017-05-23 | Add suggestions of @jgm: parse bracketed stuff as inlines | Marc Schreiber | 2 | -3/+26 | |
2017-05-23 | RST reader: reformatting (code line length). | John MacFarlane | 1 | -23/+47 | |
2017-05-23 | RST Reader: parse list table directive (#3688) | keiichiro shikano | 2 | -1/+317 | |
Closes #3432. | |||||
2017-05-23 | Fixed handling of soft hyphen (0173) in docx writer. | John MacFarlane | 1 | -7/+19 | |
Closes #3691. | |||||
2017-05-23 | Shared.isURI: allow uppercase versions of known schemes. | John MacFarlane | 1 | -1/+2 | |