summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* appveyor.yml: try to get paths for candle and light right.John MacFarlane2016-06-02
|
* appveyor: try to create msi as artifact.John MacFarlane2016-06-02
|
* Updated changelog.John MacFarlane2016-06-02
|
* Merge pull request #2950 from tarleb/org-ref-supportJohn MacFarlane2016-05-31
|\ | | | | Org reader: support org-ref style citations
| * Org reader: support org-ref style citationsAlbert Krewinkel2016-05-27
| | | | | | | | | | | | 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.
* | Merge pull request #2954 from tarleb/org-export-blocksJohn MacFarlane2016-05-31
|\ \ | | | | | | Org export blocks
| * | Org reader: support new syntax for export blocksAlbert Krewinkel2016-05-29
| | | | | | | | | | | | | | | | | | | | | 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.
| * | Org reader: refactor BEGIN…END block parsingAlbert Krewinkel2016-05-29
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - 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.
| * | Org reader: rename `parseInlines` to `inlines`Albert Krewinkel2016-05-29
| |/ | | | | | | | | | | 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.
* / brazilian -> brazil for polyglossia.John MacFarlane2016-05-31
|/ | | | Closes #2953.
* Merge pull request #2946 from tarleb/org-modularizationJohn MacFarlane2016-05-25
|\ | | | | Org-mode reader modularization
| * Org reader: extract blocks parser to moduleAlbert Krewinkel2016-05-25
| | | | | | | | | | | | Block parsing code is moved to a separate module. This is part of the Org-mode reader cleanup effort.
| * Org reader: extract inline parser to moduleAlbert Krewinkel2016-05-25
| | | | | | | | | | | | | | 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.
| * Org reader: extract parsing function to moduleAlbert Krewinkel2016-05-25
|/ | | | | | | | | | | | 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.
* Merge pull request #2942 from mb21/epub-readerJohn MacFarlane2016-05-24
|\ | | | | EPUB Reader: normalise Link id as well
| * EPUB Reader: normalise Link id as wellmb212016-05-24
|/
* Updated changelog.John MacFarlane2016-05-23
|
* RELEASE-CHECKLIST - hint for more useful git log.John MacFarlane2016-05-23
|
* Merge pull request #2941 from tarleb/org-drawer-improvementsJohn MacFarlane2016-05-23
|\ | | | | Org drawer improvements
| * Org writer: add drawer capabilityCarlos Sosa2016-05-23
| | | | | | | | | | | | | | | | | | | | | | | | 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>
| * Org reader: respect drawer export settingAlbert Krewinkel2016-05-23
| | | | | | | | | | 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.
| * Org reader/writer: use CUSTOM_ID in propertiesAlbert Krewinkel2016-05-22
| | | | | | | | | | | | | | | | | | The `ID` property is reserved for internal use by Org-mode and should not be used. The `CUSTOM_ID` property is to be used instead, it is converted to the `ID` property for certain export format. The reader and writer erroneously used `ID`. This is corrected by using `CUSTOM_ID` where appropriate.
* | Bumped upper-bounds to build with ghc 8.John MacFarlane2016-05-22
|/
* HTML reader: fixed bug in pClose.John MacFarlane2016-05-21
| | | | | This caused exponential parsing behavior in documnets with unclosed tags in dl, dd, dt.
* Merge pull request #2934 from tarleb/org-properties-drawerJohn MacFarlane2016-05-20
|\ | | | | Org properties drawer
| * Org writer: add :PROPERTIES: drawer supportAlbert Krewinkel2016-05-20
| | | | | | | | | | | | | | | | | | This allows header attributes to be added to org documents in the form of `:PROPERTIES:` drawers. All available attributes are stored as key/value pairs. This reflects the way the org reader handles `:PROPERTIES:` blocks. This closes #1962.
| * Org reader: add :PROPERTIES: drawer supportAlbert Krewinkel2016-05-20
|/ | | | | | | | | | | | | | Headers can have optional `:PROPERTIES:` drawers associated with them. These drawers contain key/value pairs like the header's `id`. The reader adds all listed pairs to the header's attributes; `id` and `class` attributes are handled specially to match the way `Attr` are defined. This also changes behavior of how drawers of unknown type are handled. Instead of including all unknown drawers, those are not read/exported, thereby matching current Emacs behavior. This closes #1877.
* Added pandoc-citeproc to stack-appveyor.yaml extra-deps.John MacFarlane2016-05-19
|
* LaTeX template: support for custom font families.John MacFarlane2016-05-19
| | | | | | | | | | | | | | | | Needed for correct polyglossia operation with Cyrillic fonts and perhaps can find some other usages. Example usage in YAML metadata: ``` fontfamilies: - name: \cyrillicfont font: Liberation Serif - name: \cyrillicfonttt options: Scale=MatchLowercase font: Liberation ``` (vladipus)
* Merge pull request #2927 from tarleb/org-attr-htmlJohn MacFarlane2016-05-19
|\ | | | | Org reader support for ATTR_HTML statements
| * Org reader: add support for ATTR_HTML attributesAlbert Krewinkel2016-05-19
| | | | | | | | | | | | | | | | | | | | | | Arbitrary key-value pairs can be added to some block types using a `#+ATTR_HTML` line before the block. Emacs Org-mode only includes these when exporting to HTML, but since we cannot make this distinction here, the attributes are always added. The functionality is now supported for figures. This closes #1906.
| * Org reader: use custom `anyLine`Albert Krewinkel2016-05-19
| | | | | | | | | | | | | | | | | | | | | | | | | | Additional state changes need to be made after a newline is parsed, otherwise markup may not be recognized correctly. This fixes a bug where markup after certain block-types would not be recognized. E.g. `/emph/` in the following snippet was not parsed as emphasized. foo # comment /emph/
| * Org reader: refactor block attribute handlingAlbert Krewinkel2016-05-19
| | | | | | | | | | | | | | A parser state attribute was used to keep track of block attributes defined in meta-lines. Global state is undesirable, so block attributes are no longer saved as part of the parser state. Old functions and the respective part of the parser state are removed.
* | EPUB reader: unescape URIs in spine.John MacFarlane2016-05-17
| | | | | | | | | | | | | | This should fix #2924. Testing on the epub that caused the problem originally would be welcome.
* | LaTeX writer: Don't escape underscore in labels.John MacFarlane2016-05-17
| | | | | | | | | | | | Previously they were escaped as ux5f. Closes #2921.
* | stack.yamls - make sure proper flags used for texmath, pandoc-citeproc.John MacFarlane2016-05-16
| |
* | Revert "New method for checking for presence of tex program."John MacFarlane2016-05-12
| | | | | | | | This reverts commit 285bbf61cf2b21278792e48aee7c25fa0ee62faa.
* | Revert "Use shell instead of proc to check for latex program."John MacFarlane2016-05-12
| | | | | | | | This reverts commit ee45be5723ef6001ae333110ce45ae2f7b1b17af.
* | Revert "Require process >= 1.2.1."John MacFarlane2016-05-12
| | | | | | | | This reverts commit 07a4320ba97cdd219e5cbb18f21dbbda00bc5543.
* | Merge pull request #2919 from janschulz/masterJohn MacFarlane2016-05-12
|\ \ | |/ |/| Better way to find the artifacts on appveyor
| * Better way to find the artifacts on appveyorJan Schulz2016-05-13
|/
* appveyor - enable automatic builds, fix zip creation.John MacFarlane2016-05-12
|
* Require process >= 1.2.1.John MacFarlane2016-05-12
| | | | We need `createProcess_` to be exported.
* Merge pull request #2894 from sid-kap/rst-code-classJohn MacFarlane2016-05-12
|\ | | | | Add class option for code block in RST reader
| * Add one more testSidharth Kapur2016-05-01
| |
| * Use `codeBlockWith`Sidharth Kapur2016-05-01
| |
| * Add test for RST code directive classSidharth Kapur2016-05-01
| |
| * Add class option for code block in RST readerSidharth Kapur2016-05-01
| | | | | | | | | | According to http://docutils.sourceforge.net/docs/ref/rst/directives.html#code, the code directive supports the ":class:" option.
* | Merge pull request #2913 from jlduran/strut-minipage-tablesJohn MacFarlane2016-05-11
|\ \ | | | | | | Retake on strut with \minipage inside tables
| * | Retake on strut with \minipage inside tablesJose Luis Duran2016-05-11
| | | | | | | | | | | | | | | | | | | | | Reimplement on 4c684561ee0665b014e887ae559b7020e4e9f2d3 The problem with 4c68456 was a space between the cell contents and the `\strut` that affected the alignment.