aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2016-07-22Fix MANUAL.txt path in make-windows-installer.txt.John MacFarlane1-1/+1
2016-07-22Merge pull request #3033 from tarleb/github-readmeJohn MacFarlane12-26/+145
PoC: GitHub-optimized README
2016-07-22Textile reader: disallow empty URL in explicit link.John MacFarlane3-1/+4
Closes #3036.
2016-07-22Added test for extended code block in textile.John MacFarlane2-0/+7
Closes #3037.
2016-07-22Textile reader: support `bc..` extended code blocks.John MacFarlane3-15/+33
Also, remove trailing newline in code blocks (consistently with Markdown reader).
2016-07-22Removed flag setting for texmath in stack.full.yaml.John MacFarlane1-2/+0
2016-07-21stack.full.yaml - only build pandoc, pandoc-types, pandoc-citeproc.John MacFarlane1-4/+0
2016-07-21Updated stack.full.yaml.John MacFarlane1-3/+6
2016-07-21make_deb.sh: get pandoc-citeproc LICENSE from github.John MacFarlane1-1/+1
2016-07-21make_deb.sh: get pandoc-citeproc.1 directly from github.John MacFarlane1-10/+5
2016-07-21deb Vagrantfile: install curl.John MacFarlane1-1/+1
2016-07-20Small changes in debian package creation.John MacFarlane2-3/+2
Use more recent resolver, no longer need custom stack.yaml for hsb2hs
2016-07-20Add Github-friendly README.mdAlbert Krewinkel1-0/+119
2016-07-20Rename README to MANUAL.txtAlbert Krewinkel11-26/+26
2016-07-20LaTeX reader: be more forgiving of non-standard characters.John MacFarlane1-1/+1
E.g. `^` outside of math. Some custom environments give these a meaning, so we should try not to fall over when we encounter them.
2016-07-20LaTeX reader: more robust parsing of unknown environments.John MacFarlane1-2/+9
We no longer fail on things like `^` inside options for tikz. Closes #3026.
2016-07-20Restored whitespace between paragraphs in beamer template.John MacFarlane1-7/+9
See jgm/pandoc-templates#207.
2016-07-20RST reader: use Div for admonitions.John MacFarlane1-8/+6
Previously blockquotes were used. Now a Div is used with class `admonition` and (if relevant) one of the following: `attention`, `caution`, `danger`, `error`, `hint`, `important`, `note`, `tip`, `warning`. `sidebar` is also put into a Div. Note: This will change rendering of RST documents! It should provide much more flexibility. Closes #3031.
2016-07-19Textile reader: improve definition list parsing.John MacFarlane1-6/+13
- Allow multiple terms (which we concatenate with linebreaks). - Fix exponential parsing bug (closes #3020 for real this time).
2016-07-18Textile reader: improved table parsing.John MacFarlane1-22/+62
We now handle cell and row attributes, mostly by skipping them. However, alignments are now handled properly. Since in pandoc alignment is per-column, not per-cell, we try to devine column alignments from cell alignments. Table captions are also now parsed, and textile indicators for thead and tfoot no longer cause parse failure. (However, a row designated as tfoot will just be a regular row in pandoc.)
2016-07-18LaTeX template: Added dummy definition for `\institute`.John MacFarlane1-7/+7
This isn't a standard command, and we want to avoid a crash when `institute` is used with the default template.
2016-07-17Fixd README date.John MacFarlane1-1/+1
2016-07-16Use cmark-0.5.3.1 with stack.lts6.yaml.John MacFarlane1-0/+1
2016-07-16Add aeson-pretty to stack.yaml for deb, windows.John MacFarlane2-0/+2
2016-07-16Use cmark-0.5.3.1 in stack.yaml.John MacFarlane4-4/+4
2016-07-15Updated changelog.John MacFarlane1-0/+258
2016-07-15Added aeson-pretty to osx/stack.yaml.John MacFarlane1-0/+1
2016-07-15Use cmark-0.5.3 in stack.yaml.John MacFarlane4-0/+4
2016-07-15Don't require haddock-library 1.4.John MacFarlane2-1/+5
Instead use CPP to work around version differences.
2016-07-15Use liftM since otherwise Functor type constraint needen in ghc 7.8.John MacFarlane1-1/+1
2016-07-14Fixed compiler warnings.John MacFarlane6-14/+11
2016-07-14Haddock reader - support math.John MacFarlane1-0/+4
The Haddock document model added elements for math in 1.4.
2016-07-14Require haddock-library >= 1.4.John MacFarlane1-1/+1
This has math support, DocMathInline and DocMathDisplay.
2016-07-14Use pandoc-citeproc-0.10.1 for packages.John MacFarlane4-6/+5
2016-07-14Updated man page.John MacFarlane1-47/+60
2016-07-14Fixed duplicate reference in README.John MacFarlane1-2/+0
2016-07-14Docx Writer: Use actual creation time as doc propJesse Rosenthal1-4/+3
Previously, we had used the user-supplied date, if available, for Word's document creation metadata. This could lead to weird results, as in cases where the user post-dates a document (so the modification might be prior to the creation). Here we use the actual computer time to set the document creation.
2016-07-14Shared: improve year sanity check in normalizeDateJesse Rosenthal1-6/+6
Previously we parsed a list of dates, took the first one, and then tested its year range. That meant that if the first one failed, we returned nothing, regardless of what the others did. Now we test for sanity before running `msum` over the list of Maybe values. Anything failing the test will be Nothing, so will not be a candidate.
2016-07-14Shared: normalizeDate should reject illegal years.Jesse Rosenthal1-5/+10
We only allow years between 1601 and 9999, inclusive. The ISO 8601 actually says that years are supposed to start with 1583, but MS Word only allows 1601-9999. This should stop corrupted word files if the date is out of that range, or is parsed incorrectly.
2016-07-14Shared: Add further formats for `normalizeDate`Jesse Rosenthal1-1/+2
We want to avoid illegal dates -- in particular years with greater than four digits. We attempt to parse series of digits first as `%Y%m%d`, then `%Y%m`, and finally `%Y`.
2016-07-14Added resolver clause to stack.lts6.yaml.John MacFarlane1-0/+1
2016-07-14Added winpkg target to Makefile.John MacFarlane1-0/+7
This downloads the windows package from appveyor and signs it using the key. This way we needn't mess with a Windows VM to build the package.
2016-07-14make_oxs_package.sh - use OSX env variable.John MacFarlane1-7/+7
2016-07-14Version to 1.17.2.John MacFarlane1-1/+1
2016-07-14Removed some redundant class constraints.John MacFarlane7-11/+11
2016-07-14Fixed lts6 travis build.John MacFarlane2-2/+15
2016-07-14Merge pull request #3019 from tarleb/org-verbatim-fixJohn MacFarlane2-2/+7
Org reader: fix parsing of verbatim inlines
2016-07-14Fixed exponential parsing bug in textile reader.John MacFarlane1-0/+1
Closes #3020.
2016-07-14Org reader: fix parsing of verbatim inlinesAlbert Krewinkel2-2/+7
Org rules for allowed characters before or after markup chars were not checked for verbatim text. This resultet in wrong parsing outcomes of if the verbatim text contained e.g. space enclosed markup characters as part of the text (`=is_substr = True=`). Forcing the parser to update the positions of allowed/forbidden markup border characters fixes this. This fixes #3016.
2016-07-13stack.yaml - use ghc 8.01 and nightly.John MacFarlane1-1/+2