summaryrefslogtreecommitdiff
path: root/src/Text/Pandoc
Commit message (Collapse)AuthorAge
...
* Powerpoint writer: Read speaker note templates conditionallyJesse Rosenthal2018-02-18
| | | | | If there are speaker notes in the presentation, we read in the notesMasters templates from the reference pptx file.
* Powerpoint writer: Move notes slides into data tree.Jesse Rosenthal2018-02-18
|
* Powerpoint writer: Read notes into powerpoint Presentatation type.Jesse Rosenthal2018-02-18
| | | | We record notes in a map in state while processing.
* Powerpoint writer: Change references to Notes to SpeakerNotesJesse Rosenthal2018-02-18
| | | | This is to avoid confusion with {foot,end}notes.
* EMF Image size support (#4375)Andrew Pritchard2018-02-18
|
* LaTeX reader: Fixed comments inside citations. Closes #4374.John MacFarlane2018-02-17
|
* Markdown writer: properly escape @ to avoid capture as citation.John MacFarlane2018-02-16
| | | | Closes #4366.
* Make image size detection for PDFs more robust.John MacFarlane2018-02-16
| | | | See #4322.
* TEI writer: more attribute fixes.John MacFarlane2018-02-16
| | | | | | - Ensure that id prefix is always used. - Don't emit `role` attribute; that was a leftover from the Docbook writer.
* TEI writer: Use 'xml:id', not 'id' attribute.John MacFarlane2018-02-16
| | | | Closes #4371.
* Muse reader: prioritize lists with roman numerals over alphabetical listsAlexander Krotov2018-02-16
| | | | | This is to make sure "i." starts a roman numbered list, instead of a list with letter "i" (followed by "j", "k", ...").
* Docx reader: Pick table width from the longest row or headerdanse2018-02-15
| | | | | | | This change is intended to preserve as much of the table content as possible Closes #4360
* Muse reader: fix directive parsingAlexander Krotov2018-02-15
| | | | This fixes bugs introduced in commit 4bfab8f04c105f111d8d4e1c3ed7f7b5c75dbd19.
* Muse writer: use unicode quotes for quoted textAlexander Krotov2018-02-15
|
* AsciiDoc writer: do not output implicit heading IDsAlexander Krotov2018-02-13
| | | | | | Convert to asciidoc-auto_identifiers for old behaviour. Fixes #4363
* Muse reader: remove listItemContents functionAlexander Krotov2018-02-13
|
* Muse reader: hlintAlexander Krotov2018-02-13
|
* Muse reader: parse definition lists with multiple descriptionsAlexander Krotov2018-02-13
|
* Muse reader: parse next list item before parsing more item contentsAlexander Krotov2018-02-13
|
* Muse reader: refactor to avoid reparsingAlexander Krotov2018-02-12
| | | | | | | | | Lists are parsed in linear instead of exponential time now. Contents of block tags, such as <quote>, is parsed directly, without storing it in a string and parsing with parseFromString. Fixed a bug: headers did not terminate lists.
* Muse reader: move indentation parsing from definitionListItem to definitionListAlexander Krotov2018-02-12
|
* Muse reader: paragraph indentation does not indicate nested quoteAlexander Krotov2018-02-12
| | | | | | | | | | Muse allows indentation to indicate quotation or alignment, but only on the top level, not within a <quote> or list. This patch also simplifies the code by removing museInQuote and museInList fields from the state structure. Headers and indented paragraphs are attempted to be parsed only at the topmost level, instead of aborting parsing with guards.
* Muse reader: replace optionMaybe with optionalAlexander Krotov2018-02-12
|
* Muse reader: move para definition into blockElementsAlexander Krotov2018-02-11
|
* Muse reader: move end-of-line parsing to paraUntilAlexander Krotov2018-02-11
|
* Muse reader: rename "literal" to "literalTag"Alexander Krotov2018-02-06
|
* Muse reader: avoid reparsing at the top levelAlexander Krotov2018-02-06
| | | | | | Blocks following paragraphs are parsed only once at the top level. Lists still take exponential time to parse, but this time is not doubled anymore when this list terminates paragraph.
* Muse reader: implement paraUntilAlexander Krotov2018-02-06
| | | | | paraUntil does not discard the result of the following block parsing. This change is a part of Muse reader refactoring to avoid reparsing.
* Muse reader: avoid parsing newline after paragraph twiceAlexander Krotov2018-02-05
| | | | Removed lookAhead from blankline, so it is consumed.
* Muse reader: make block parsers responsible for parsing newlineAlexander Krotov2018-02-05
| | | | Block parsers must always stop after newline or at the end of file.
* 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`.