aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2016-05-11Retake on strut with \minipage inside tablesJose Luis Duran2-74/+74
Reimplement on 4c684561ee0665b014e887ae559b7020e4e9f2d3 The problem with 4c68456 was a space between the cell contents and the `\strut` that affected the alignment.
2016-05-10Add appveyor artefacts for pandoc.exeJan Schulz1-0/+8
2016-05-10Made detection of latex program more robust.John MacFarlane1-2/+5
Catch not-found error. Improves on 285bbf61cf2b21278792e48aee7c25fa0ee62faa to fix #2903.
2016-05-09New method for checking for presence of tex program.John MacFarlane2-3/+5
Now instead of using `findExecutable`, which has limitations on Windows, we just do `progname --version` and see if it returns successfully. Closes #2903.
2016-05-09Merge pull request #2908 from ickc/masterJohn MacFarlane1-1/+1
Use the full MathJax configuration to maximize loading speed
2016-05-09Loading the full MathJax config to maximize loading speedKolenCheung1-1/+1
2016-05-09Merge pull request #1 from jgm/masterickc70-457/+2786
Merge from jgm's master
2016-05-09Avoid lazy foldl in LaTeX writer.John MacFarlane1-4/+5
2016-05-09Change default mathjax setup to use TeX-AMS_CHTML configuration.John MacFarlane1-1/+1
This is designed for cases where the input is always TeX and maximal conformity with TeX is desired. It seems to be smaller and load faster than what we used before. See #2858.
2016-05-09Use new CommonHTML output for MathJax (updated default MathJax URL).John MacFarlane1-1/+1
Closes #2858.
2016-05-09README: clarified documentation of `implicit_header_references`.John MacFarlane1-5/+10
Closes #2904.
2016-05-09Merge pull request #2907 from tarleb/org-fixesJohn MacFarlane3-5/+14
Org fixes (reader and writer)
2016-05-09Org writer: print empty table rowsAlbert Krewinkel1-1/+1
Empty table rows should not be dropped from the output, so row-height is always set to be at least 1.
2016-05-09Org reader: fix inline-LaTeX regressionAlbert Krewinkel2-4/+13
The last fix for whitespace handling of inline LaTeX commands was incorrect, preventing correct recognition of inline LaTeX commands which contain spaces. This fix ensures that only trailing whitespace is cut off.
2016-05-09Merge pull request #2906 from roblabla/feature-mediaWikiTableHeaderSpacesJohn MacFarlane3-1/+14
Allow spaces before '!' in MediaWiki table header
2016-05-09Allow spaces before '!' in MediaWiki table headerroblabla3-1/+14
2016-05-05Merge pull request #2898 from tarleb/org-table-refactoringJohn MacFarlane2-64/+75
Org reader: table parsing code refactoring and fixes
2016-05-05Merge pull request #2900 from tarleb/org-symbol-fixJohn MacFarlane2-5/+11
Org reader: fix spacing after LaTeX-style symbols
2016-05-04Org reader: fix spacing after LaTeX-style symbolsAlbert Krewinkel2-5/+11
The org-reader was droping space after unescaped LaTeX-style symbol commands: `\ForAll \Auml` resulted in `∀Ä` but should give `∀ Ä` instead. This seems to be because the LaTeX-reader treats the command-terminating space as part of the command. Dropping the trailing space from the symbol-command fixes this issue.
2016-05-04Org reader: fix handling of empty table cells, rowsAlbert Krewinkel2-14/+29
This fixes Org mode parsing of some corner cases regarding empty cells and rows. Empty cells weren't parsed correctly, e.g. `|||` should be two empty cells, but would be parsed as a single cell containing a pipe character. Empty rows where parsed as alignment rows and dropped from the output. This fixes #2616.
2016-05-04Org reader: refactor rows-to-table conversionAlbert Krewinkel1-25/+25
This refactores the codes conversing a list table lines to an org table ADT. The old code was simplified and is now slightly less ugly.
2016-05-04Org reader: stop padding short table rowsAlbert Krewinkel2-28/+24
Emacs Org-mode doesn't add any padding to table rows. The first row (header or first body row) is used to determine the column count, no other magic is performed. The org reader was padding rows to the length of the longest table row. This was done due to a misunderstanding of how Org handles tables. This feature reflected how Org-mode handles tables when pressing <TAB>. The Org exporter however, which is what the reader should implement, doesn't do any of this. So this was a mis-feature that made the reader more complex and reduced comparability. It was hence removed.
2016-05-01Added docbook5 templates, test files to pandoc.cabal.John MacFarlane1-0/+3
2016-05-01Bump version to 1.17.1.John MacFarlane1-1/+1
We need a minor version bump because of the addition of `writerDocbook5` to `WriterOptions`.
2016-05-01README: Added docbook5 as output format.John MacFarlane1-22/+22
2016-05-01Added docbook5 template.John MacFarlane1-7/+7
2016-05-01Merge pull request #2890 from bcdevices/docbook5-writerJohn MacFarlane6-6/+1849
Docbook5 write support
2016-05-01Add one more testSidharth Kapur1-0/+14
2016-05-01Use `codeBlockWith`Sidharth Kapur1-6/+6
2016-05-01Add test for RST code directive classSidharth Kapur1-0/+15
2016-05-01Add class option for code block in RST readerSidharth Kapur1-6/+8
According to http://docutils.sourceforge.net/docs/ref/rst/directives.html#code, the code directive supports the ":class:" option.
2016-05-01Binary fmts throw PandocError on zip-archive failJesse Rosenthal2-3/+7
Commit 91dc3342 made `readDocx` throw PandocError if there was an unarchiving error. This extends that fix to `readOdt` and `readEPUB`.
2016-05-01LaTeX writer: use {} around options containing special chars.John MacFarlane1-4/+9
Closes #2892.
2016-05-01Docx Reader: Throw PandocError on unzip failureJesse Rosenthal1-4/+5
Previously, readDocx would error out if zip-archive failed. We change the archive extraction step from `toArchive` to `toArchiveOrFail`, which returns an Either value.
2016-04-29Docbook5 writer: Properly handle ulink/linkIvo Clarysse2-34/+37
2016-04-29Write out Docbook 5 namespaceIvo Clarysse3-7/+10
2016-04-29HTML writer: ensure mathjax link is added when math appears in footnote.John MacFarlane1-3/+2
Previously if a document only had math in a footnote, the MathJax link would not be added. Closes #2881.
2016-04-29Add docbook5 writer supportIvo Clarysse6-3/+1840
2016-04-27Revert "LaTeX writer: Add `\strut` to fix multiline tables"John MacFarlane2-47/+46
This reverts commit 4c684561ee0665b014e887ae559b7020e4e9f2d3. See https://groups.google.com/d/msg/pandoc-discuss/u6J-_aCProU/UufN3IYRAgAJ This should fix uneven spacing issues in multiline tables.
2016-04-26Merge pull request #2735 from mb21/patch-1John MacFarlane2-4/+4
LaTeX Writer: fix polyglossia to babel env mapping
2016-04-26Merge pull request #2829 from adunning/patch-1John MacFarlane2-8/+18
LaTeX writer: Add missing languages.
2016-04-26Merge pull request #2876 from shosti/org-code-indentJohn MacFarlane2-4/+47
Ignore leading space in org code blocks
2016-04-26LaTeX writer: ignore --incremental unless -t beamer.John MacFarlane1-1/+2
Closes #2843.
2016-04-26Ignore leading space in org code blocksEmanuel Evans2-4/+47
Fixes #2862 Also fix up tab handling for leading whitespace in code blocks.
2016-04-20Require texmath 0.8.6.2.John MacFarlane2-2/+2
Closes several texmath-related bugs: #2775, #2310, #2310. This fixes issues with sub/superscript positioning and matrix column alignment in docx.
2016-04-18rtack.yaml: use data-default 0.6.0.John MacFarlane1-0/+2
2016-04-18Allow data-default 0.6.0.John MacFarlane1-1/+1
2016-04-16Docx Reader: Tests for track-changes movingJesse Rosenthal5-0/+22
2016-04-15Docx Reader: parse `moveTo` and `moveFrom`Jesse Rosenthal1-2/+2
`moveTo` and `moveFrom` are track-changes tags that are used when a block of text is moved in the document. We now recognize these tags and treat them the same as `insert` and `delete`, respectively. So, `--track-changes=accept` will show the moved version, while `--track-changes=reject` will show the original version.
2016-04-10Markdown reader: Fix pandoc title blocks with lines ending in 2 spaces.John MacFarlane3-22/+26
Closes #2799. Also added -s to markdown-reader-more test.