aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2016-06-04Updated man page.John MacFarlane1-47/+66
2016-06-04Updated date in README.John MacFarlane1-1/+1
2016-06-04Updated AUTHORS in README.John MacFarlane1-0/+31
2016-06-04Updated changelog.John MacFarlane1-9/+13
2016-06-04Travis: test with ghc 8.0.1, remove testing with ghc 7.4.John MacFarlane2-4/+13
2016-06-03Fixed windows/stack.yaml.John MacFarlane1-2/+0
Can't set flag on something not in extra-deps.
2016-06-03Use windows/stack.yaml for appveyor build.John MacFarlane4-41/+10
Use released pandoc-citeproc, not git.
2016-06-03appveyor.yml: diagnostics.John MacFarlane1-0/+3
2016-06-03appveyor.yml: Fix check for existing wixtoolset.John MacFarlane1-1/+1
2016-06-03Require latest highlighting-kate.John MacFarlane1-3/+3
2016-06-03appveyor improvements.John MacFarlane1-7/+6
- Create pandoc.msi as artifact. - Don't install wix unless we need to.
2016-06-03Windows build: create pandoc-citeproc on appveyor, so we can put in msi.John MacFarlane2-7/+5
Updated stackage resolver.
2016-06-03appveyor: Fixed spacing issue in VERSION setting.John MacFarlane1-1/+1
2016-06-03appveyor: another attempt to get version set!John MacFarlane1-5/+6
2016-06-03appveyor: another try at setting version.John MacFarlane1-1/+3
2016-06-03Updated changelogJohn MacFarlane1-0/+9
2016-06-03Merge pull request #2962 from tarleb/org-more-export-settingsJohn MacFarlane7-103/+175
Org reader: support more export settings
2016-06-03Org reader: support special strings export optionAlbert Krewinkel4-12/+36
Parsing of special strings (like '...' as ellipsis or '--' as en dash) can be toggled using the `-` option.
2016-06-03Org reader: support emphasized text export optionAlbert Krewinkel3-15/+28
Parsing of emphasized text can be toggled using the `*` option. This influences parsing of text marked as emphasized, strong, strikeout, and underline. Parsing of inline math, code, and verbatim text is not affected by this option.
2016-06-03Org reader: support smart quotes export optionAlbert Krewinkel4-12/+28
Reading of smart quotes can be toggled using the `'` option.
2016-06-02appveyor: Fixed version detection.John MacFarlane1-1/+1
2016-06-02appveyor: cache wixbin directory.John MacFarlane1-1/+2
2016-06-02appveyor: maybe fixed escaping.John MacFarlane1-3/+3
2016-06-02Fixed YAML for appveyor.yml.John MacFarlane1-2/+2
2016-06-02appveyor: fixed set command.John MacFarlane1-3/+3
2016-06-02appveyor: put wix path in quotes.John MacFarlane1-2/+2
2016-06-02appveyor: another attempt to get wix paths right.John MacFarlane1-3/+3
2016-06-02appveyor.yml: try to get paths for candle and light right.John MacFarlane1-1/+5
2016-06-02appveyor: try to create msi as artifact.John MacFarlane1-2/+9
2016-06-02Updated changelog.John MacFarlane1-191/+208
2016-06-02Org reader: drop unused field from parser stateAlbert Krewinkel2-18/+8
The `OrgParserState` contained both an `orgStateMeta` and `orgStateMeta'` field, the former for plain meta information and the latter for F-monad wrapped meta info. The plain meta info is only used to make `OrgParserState` an instance of the `HasMeta` class, which in turn is never used in the reader. The (F Meta) version is hence renamed to the "un-primed" version while the other one is dropped.
2016-06-02Org reader: undo code duplicationAlbert Krewinkel4-55/+84
Some code was duplicated (copy-pasted) or placed in an inappropriate module during the modularization refactoring. Those functions are moved into a `Shared` module, as was originally intended but forgotten. Better documentation of the respective functions is a positive side-effect.
2016-05-31Merge pull request #2950 from tarleb/org-ref-supportJohn MacFarlane3-7/+107
Org reader: support org-ref style citations
2016-05-31Merge pull request #2954 from tarleb/org-export-blocksJohn MacFarlane3-121/+165
Org export blocks
2016-05-31brazilian -> brazil for polyglossia.John MacFarlane1-1/+3
Closes #2953.
2016-05-29Org reader: support new syntax for export blocksAlbert Krewinkel2-1/+24
Org-mode version 9 usees a new syntax for export blocks. Instead of `#+BEGIN_<FORMAT>`, where `<FORMAT>` is the format of the block's content, the new format uses `#+BEGIN_export <FORMAT>` instead. Both types are supported.
2016-05-29Org reader: refactor BEGIN…END block parsingAlbert Krewinkel1-111/+131
- Reorder functions, grouping related functions together. - Demote simple functions to local functions if they are used just once. - Rename and document functions to increase code readability. - Fix handling of whitespace in blocks, allowing content to be indented less then the block header.
2016-05-29Org reader: rename `parseInlines` to `inlines`Albert Krewinkel2-10/+11
Having a function starting with `parse` in a parsing library is overly redundant. Let's use a nicer, shorter name more in line with the rest of the library.
2016-05-27Org reader: support org-ref style citationsAlbert Krewinkel3-7/+107
The *org-ref* package is an org-mode extension commonly used to manage citations in org documents. Basic support for the `cite:citeKey` and `[[cite:citeKey][prefix text::suffix text]]` syntax is added.
2016-05-25Merge pull request #2946 from tarleb/org-modularizationJohn MacFarlane7-1629/+1939
Org-mode reader modularization
2016-05-25Org reader: extract blocks parser to moduleAlbert Krewinkel3-844/+901
Block parsing code is moved to a separate module. This is part of the Org-mode reader cleanup effort.
2016-05-25Org reader: extract inline parser to moduleAlbert Krewinkel5-756/+889
Inline parsing code is moved to a separate module. Parsers for block starts are extracted as well, as those are used in the `endline` parser. This is part of the Org-mode reader cleanup effort.
2016-05-25Org reader: extract parsing function to moduleAlbert Krewinkel4-78/+198
The Org-mode reader uses many functions defined in the `Text.Pandoc.Parsing` utility module. Some of the functions are overwritten with versions adapted to Org-mode idiosyncrasies. These special functions, as well as the normal Pandoc versions, are combined in a single module to increase the ease of use. This leads to decoupling of Org-mode and Pandoc and hence to slightly cleaner code. The downside is code-bloat due to repeated import/export statements.
2016-05-24Merge pull request #2942 from mb21/epub-readerJohn MacFarlane1-2/+4
EPUB Reader: normalise Link id as well
2016-05-24EPUB Reader: normalise Link id as wellmb211-2/+4
2016-05-23Updated changelog.John MacFarlane1-0/+194
2016-05-23RELEASE-CHECKLIST - hint for more useful git log.John MacFarlane1-0/+1
2016-05-23Merge pull request #2941 from tarleb/org-drawer-improvementsJohn MacFarlane5-50/+152
Org drawer improvements
2016-05-23Org writer: add drawer capabilityCarlos Sosa1-0/+11
For the implementation of the Drawer element in the Org Writer, we make use of a generic Block container with attributes. The presence of a `drawer` class defines that the `Div` constructor is a drawer. The first class defines the drawer name to use. The key-value list in the attributes defines the keys to add inside the Drawer. Lastly, the list of Block elements contains miscellaneous blocks elements to add inside of the Drawer. Signed-off-by: Albert Krewinkel <albert@zeitkraut.de>
2016-05-23Org reader: respect drawer export settingAlbert Krewinkel3-13/+103
The `d` export option can be used to control which drawers are exported and which are discarded. Basic support for this option is added here.