summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* Org reader: support Pandocs citation extensionAlbert Krewinkel2014-05-14
| | | | | | | | | | | | | | | Citations are defined via the "normal citation" syntax used in markdown, with the sole difference that newlines are not allowed between "[...]". This is for consistency, as org-mode generally disallows newlines between square brackets. The extension is turned on by default and can be turned off via the default syntax-extension mechanism, i.e. by specifying "org-citation" as the input format. Move `citeKey` from Readers.Markdown into Parsing The function can be used by other readers, so it is made accessible for all parsers.
* Move `citeKey` from Readers.Markdown to ParsingAlbert Krewinkel2014-05-14
| | | | | The function can be used by other readers, so it is made accessible for all parsers.
* Introduce class HasLastStrPosition, generalize functionsAlbert Krewinkel2014-05-14
| | | | | | | | Both `ParserState` and `OrgParserState` keep track of the parser position at which the last string ended. This patch introduces a new class `HasLastStrPosition` and makes the above types instances of that class. This enables the generalization of functions updating the state or checking if one is right after a string.
* LaTeX reader: set `bibliography` in metadata from `\bibliography` cmd.John MacFarlane2014-05-11
|
* LaTeX reader: Don't error on "%foo" with no newline.John MacFarlane2014-05-10
|
* Merge pull request #1290 from tarleb/fix-header-paramsJohn MacFarlane2014-05-10
|\ | | | | Org reader: Fix block parameter reader, relax constraints
| * Org reader: Fix block parameter reader, relax constraintsAlbert Krewinkel2014-05-10
|/ | | | | | | | | The reader produced wrong results for block containing non-letter chars in their parameter arguments. This patch relaxes constraints in that it allows block header arguments to contain any non-space character (except for ']' for inline blocks). Thanks to Xiao Hanyu for noticing this.
* Merge pull request #1288 from tarleb/update-copyrightJohn MacFarlane2014-05-09
|\ | | | | Update copyright notices for 2014, add missing notices
| * Update copyright notices for 2014, add missing noticesAlbert Krewinkel2014-05-09
| |
* | Merge pull request #1289 from tarleb/code-block-headersJohn MacFarlane2014-05-09
|\ \ | |/ |/| Org reader: Support code block headers, fix reading of block content
| * Org reader: Fix parsing of blank lines within blocksAlbert Krewinkel2014-05-09
| | | | | | | | | | Blank lines were parsed as two newlines instead of just one. Thanks to Xiao Hanyu (@xiaohanyu) for pointing this out.
| * Org reader: Support arguments for code blocksAlbert Krewinkel2014-05-09
| | | | | | | | | | | | | | | | | | | | The general form of source block headers (`#+BEGIN_SRC <language> <switches> <header arguments>`) was not recognized by the reader. This patch adds support for the above form, adds header arguments to the block's key-value pairs and marks the block as a rundoc block if header arguments are present. This closes #1286.
| * Org reader: refactor #+BEGIN..#+END block parsing codeAlbert Krewinkel2014-05-09
|/
* OSX package script: cabal init before update.John MacFarlane2014-05-07
|
* Bumped version bound for mtl.John MacFarlane2014-05-07
|
* Require latest texmath.John MacFarlane2014-05-07
|
* Require latest highlighting-kate.John MacFarlane2014-05-07
|
* Small improvement to textile reader fix. Removed 'try'.mpickering2014-05-07
|
* Fix textile reader hanging.mpickering2014-05-07
| | | | | | | | Textile reader hung on pandoc -f textile http://johnmacfarlane.net/pandoc/demo/example25.textile The reader no longer hangs.
* README: Updated Authors.John MacFarlane2014-05-07
|
* Textile reader: Rearranged inline parsers for performance.John MacFarlane2014-05-06
| | | | | This is possible because of the rewrite of simpleInline. Also removed a redundant parser for grouped inlines.
* Textile reader: Rewrote simpleInline for clarity and efficiency.John MacFarlane2014-05-06
| | | | This way we only look once for the opening `[`.
* Textile reader: Disallow blank lines in inline contexts.John MacFarlane2014-05-06
| | | | | | | | @hi there@ should not be a single code span.
* Make `--trace` work with textile reader.John MacFarlane2014-05-06
|
* Textile reader: Rewrote some inline parsing code for clarity.John MacFarlane2014-05-06
| | | | | | (It seems clearer to put the whitespace parsing in the grouped parser. This also uses stateLastStrPos to determine when the border is adjacent to an alphanumeric.)
* Updated tests for template changes.John MacFarlane2014-05-06
|
* Updated changelog.John MacFarlane2014-05-06
|
* LaTeX template: Added linestretch variable.John MacFarlane2014-05-06
| | | | Documented this and fontfamily.
* Added fontfamily variable to latex template. (tlvince)John MacFarlane2014-05-06
|
* Updated templates: conditionalize author/date in latex template.John MacFarlane2014-05-06
|
* Updated changelog.John MacFarlane2014-05-06
|
* Update latex/beamer templates: load upquote after fontenc.John MacFarlane2014-05-06
|
* Merge pull request #1280 from tarleb/org-inline-blocksJohn MacFarlane2014-05-06
|\ | | | | Org reader: Read inline code blocks
| * Org reader: Read inline code blocksAlbert Krewinkel2014-05-06
| | | | | | | | | | | | | | | | | | | | | | Org's inline code blocks take forms like `src_haskell(print "hi")` and are frequently used to include results from computations called from within the document. The blocks are read as inline code and marked with the special class `rundoc-block`. Proper handling and execution of these blocks is the subject of a separate library, rundoc, which is work in progress. This closes #1278.
* | Windows installer: more typos from transition from cabal-dev.John MacFarlane2014-05-06
| |
* | Windows install script: Fixed typo in path.John MacFarlane2014-05-06
| |
* | make_osx_package: install alex, happy, hsb2hs.John MacFarlane2014-05-06
| |
* | Windows install script: install alex, happy.John MacFarlane2014-05-06
|/
* Windows package script: use cabal sandbox, not cabal-dev.John MacFarlane2014-05-05
|
* make_osx_package: Use cpphs to avoid problems with clang cpp.John MacFarlane2014-05-04
| | | | See https://github.com/jgm/pandoc/issues/1172
* Updated changelog.John MacFarlane2014-05-04
|
* Fixed the fix to #1154.John MacFarlane2014-05-04
| | | | We need to strip off up to 4 spaces, not up to 3.
* LaTeX writer: Fixed inconsistencies with reference escaping.John MacFarlane2014-05-04
| | | | | - toLabel is now monadic, and it does the needed string escaping. - Closes #1130.
* README: Clarified citation key syntax.John MacFarlane2014-05-04
|
* Clarified use of `--natbib` and `--biblatex`.John MacFarlane2014-05-04
| | | | Not for use with pandoc-citeproc.
* Docx writer: Fall back on distribution reference.docx.John MacFarlane2014-05-04
| | | | | | | | * Undid changes to parseXml in last commit. * Instead of a string fallback, we have parseXml fall back on the reference.docx that comes with pandoc if the user's reference.docx does not contain a needed file. * Closes #1185.
* Docx writer: Added ability to give fallback in parseXml.John MacFarlane2014-05-04
|
* Added test for #1154.John MacFarlane2014-05-04
|
* Markdown reader: Fixed bug with unwanted code in lists.John MacFarlane2014-05-04
| | | | | | | Closes #1154. When reading a raw list item, we now strip off nonindent spaces.
* Added Tests.Writer.AsciiDoc to repository.John MacFarlane2014-05-03
|