summaryrefslogtreecommitdiff
path: root/src/Text
Commit message (Collapse)AuthorAge
* Muse reader: simplify listItemContents' with sepBy1Alexander Krotov2018-02-04
|
* C -> c.John MacFarlane2018-02-03
|
* Muse writer: write image width specified in percent in Text::Amuse modeAlexander Krotov2018-02-03
|
* Determine image size for PDFs.John MacFarlane2018-02-02
| | | | Closes #4322.
* TEI writer: Use height instead of depth for images.John MacFarlane2018-02-01
| | | | Closes #4331.
* Muse reader: replace ParserState with MuseStateAlexander Krotov2018-01-31
|
* Export list marker parsers from Text.Pandoc.ParsingAlexander Krotov2018-01-31
|
* Muse writer: don't wrap displayMath into <verse>Alexander Krotov2018-01-30
| | | | | | <verse> is a block tag and displayMath is an inline element. Writing <verse> around displayMath could result in nested <verse> tags.
* Muse writer: escape nonbreaking space ("~~")Alexander Krotov2018-01-29
|
* Muse reader: simplify block tag parsing codeAlexander Krotov2018-01-29
|
* Muse reader: parse inline <literal> without parseFromStringAlexander Krotov2018-01-29
|
* Muse reader: parse <comment> and <verbatim> without parseFromStringAlexander Krotov2018-01-29
|
* Muse reader: parse verse tag contents without parseFromStringAlexander Krotov2018-01-28
|
* Muse reader: make verseLine return Inlines, not StringAlexander Krotov2018-01-28
|
* Muse reader: parse directives without parseFromStringAlexander Krotov2018-01-28
|
* Muse reader: fix parsing of trailing whitespaceAlexander Krotov2018-01-28
| | | | | Newline after whitespace now results in softbreak instead of space.
* Muse reader: simplify paragraph parsingAlexander Krotov2018-01-28
| | | | Blank lines are already handled by blockElements.
* Docx writer: make more deterministic to facilitate testingJesse Rosenthal2018-01-27
| | | | | | | | | | | | | This will allow us to compare files directly in a golden test. Times are still based on IO, but we will be able to safely skip those. Changes: - `getUniqueId` now calls to the state to get an incremented digit, instead of calling to P.uniqueHash. - we always start the PRNG in mkNumbering/mkAbstractNum with the same seed (1848), so our randoms should be the same each time.
* Docx writer: Fix ids in comment writingJesse Rosenthal2018-01-27
| | | | | | | | | | | Comments from `--track-changes=all` were producing corrupt docx, because the writer was trying to get id from the `(ID,_,_)` field of the attributes, and ignoring the "id" entry in the key-value pairs. We now check both. There is a larger conversation to be had about the right way to treat "id" and "class" entries in kvs, but this fix will correctly interpret the output of the docx reader work.
* ConTeXt writer: new section syntax and --section-divs (#4295)Henri Menke2018-01-25
| | | | | | | | Fixes #2609. This PR introduces the new-style section headings: `\section[my-header]{My Header}` -> `\section[title={My Header},reference={my-header}]`. On top of this, the ConTeXt writer now supports the `--section-divs` option to write sections in the fenced style, with `\startsection` and `\stopsection`.
* Dock writer: Fix deletion track changesJesse Rosenthal2018-01-25
| | | | | | This had been mistakenly written as a second insertion function. Closes: #4303
* Muse reader: fix matching of closing inline tagsAlexander Krotov2018-01-24
|
* Muse reader: remove `block` functionAlexander Krotov2018-01-24
|
* Lua filters: store constructors in registryAlbert Krewinkel2018-01-23
| | | | | | | Lua functions used to construct AST element values are stored in the Lua registry for quicker access. Getting a value from the registry is much faster than getting a global value (partly to idiosyncrasies of hslua); this change results in a considerable performance boost.
* Lua: move getTag from StackInstances to UtilAlbert Krewinkel2018-01-23
| | | | Change: minor
* ConTeXt writer: xtables: correct wrong usage of captionHenri Menke2018-01-23
|
* Muse writer: join code with different attributes during normalizationAlexander Krotov2018-01-22
|
* Muse writer: indent lists inside DivAlexander Krotov2018-01-22
|
* Merge pull request #4237 from sitewisely/header_and_footerJohn MacFarlane2018-01-21
|\ | | | | Add header and footer parameters for wkhtmltopdf
| * Add header and footer parametersnewmana2018-01-10
| |
* | Muse reader: embed parseBlocks into parseMuseAlexander Krotov2018-01-21
| |
* | Muse reader: make listItem genericAlexander Krotov2018-01-21
| |
* | Markdown reader: Fix parsing bug with nested fenced divs.John MacFarlane2018-01-20
| | | | | | | | | | | | | | | | | | Closes #4281. Previously we allowed "nonindent spaces" before the opening and closing `:::`, but this interfered with list parsing, so now we require the fences to be flush with the margin of the containing block.
* | Muse reader: simplify paragraph parsingAlexander Krotov2018-01-21
| | | | | | | | | | Blanklines are already consumed during block parsing, there is no need to check for them specifically.
* | RST reader: fix parsing of headers with trailing space.John MacFarlane2018-01-20
| | | | | | | | | | | | This was a regression in pandoc 2.0. Closes #4280.
* | Docx reader: Use already imported operatorJesse Rosenthal2018-01-20
| | | | | | | | This fixes an import error in the last commit.
* | Docx reader: small change to Fields hyperlink parserJesse Rosenthal2018-01-20
| | | | | | | | | | | | Previously, unquoted string required a space at the end of the line (and consumed it). Now we either take a space (and don't consume it), or end of input.
* | Conditional import to avoid warning.John MacFarlane2018-01-19
| |
* | hlint code improvements.John MacFarlane2018-01-19
| |
* | Merge pull request #4259 from italia/4248John MacFarlane2018-01-19
|\ \ | | | | | | in RST writer insert comment between lists and quotes, closes #4248
| * | remove `blockToRST'` moving its logic into `fixBlocks`danse2018-01-19
| | |
| * | in RST writer insert comment between lists and quotes, closes #4248danse2018-01-19
| | |
* | | Muse reader: fix parsing of nested definition listsAlexander Krotov2018-01-20
| | |
* | | LaTeX reader: fixed parsing of tabular* environment.John MacFarlane2018-01-19
| | | | | | | | | | | | | | | | | | This was just a typo in the source. Closes #4279.
* | | Muse reader: remove duplicate variable in definitionListItemAlexander Krotov2018-01-19
|/ /
* | Muse writer: support definitions with multiple descriptionsAlexander Krotov2018-01-19
| | | | | | | | | | Muse reader does not support this syntax yet, but Emacs Muse parses it correctly.
* | Muse reader: require only one space for nested definition list indentationAlexander Krotov2018-01-19
| |
* | Muse reader: parse verse without parseFromStringAlexander Krotov2018-01-19
| |
* | Muse reader: remove commented out codeAlexander Krotov2018-01-19
| |
* | Muse reader: parse Emacs Muse directives without parseFromStringAlexander Krotov2018-01-19
| | | | | | | | Also require space (not newline) after directive name.