aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2015-05-09ImageSize: make jpeg header parsing routines return Either.John MacFarlane1-29/+34
See #1834.
2015-05-09ImageSize: make imageSize return an Either, not a Maybe.John MacFarlane4-16/+22
This will give us better error reporting options. This is part of a fix for #1834.
2015-05-09Revert "EPUB writer: stylesheet changes. Closes #2040."John MacFarlane3-32/+20
This reverts commit 1c2951dfd9ee72e5270cb974a06098adb9178f89. See #2040. The semantics was too squishy. `--css` takes a URL, but for EPUB we need files that we can read. I prefer keeping the old system for now, with `--epub-stylesheet`.
2015-05-08EPUB writer: stylesheet changes. Closes #2040.John MacFarlane3-20/+32
* Allow `--css` to be used to specify stylesheets. * Deprecated `--epub-stylesheet` and made it a synoynym of `--css`. * If a code block with class "css" is given as contents of the `stylesheet` metadata field, use its literal code as contents of the epub stylesheet. Otherwise, treat it as a filename and read the file. * Note: `--css` and `stylesheet` in metadata are not compatible. `stylesheet` takes precedence.
2015-05-07Merge pull request #2138 from lierdakil/backtick-code-blocksJohn MacFarlane1-6/+11
README: Add documentation on backtick_code_blocks
2015-05-07README: Add documentation on backtick_code_blocksNikolay Yakimov1-6/+11
Closes #2135
2015-05-05Deal with deprecation warning in Custom.John MacFarlane1-2/+10
2015-05-05UTF8: Better handling of bare CRs in input files.John MacFarlane1-2/+8
Previously we just stripped them out; now we convert other line ending styles to LF line endings. Closes #2132.
2015-05-05Merge pull request #2131 from nickbart1980/patch-2John MacFarlane1-0/+6
Update README on in-field markup in biblio databases
2015-05-05Merge pull request #2134 from jlmuir/fix-user-guide-typosJohn MacFarlane1-3/+3
Fix typos in User's Guide
2015-05-05Fix typos in User's GuideJ. Lewis Muir1-3/+3
2015-05-05Update README on in-field markup in biblio databasesnickbart19801-0/+6
Motivated by https://github.com/jgm/pandoc-citeproc/issues/124.
2015-05-04SelfContained: properly handle data URIs in css urls.John MacFarlane2-32/+49
Also use a proper css parser (adds dependency on text-css). Closes #2129.
2015-05-04Test updates for 15d16e84567ca74c18448c60a2499e484581798f.John MacFarlane3-0/+12
2015-05-03LaTeX template: degrade gracefully if `\paragraph` not defined.John MacFarlane1-7/+7
2015-05-03Make sure a closing `</div>` doesn't get included in a defn list item.John MacFarlane2-0/+5
Closes #2127.
2015-05-02LaTeX writer: Add a `\label` in `\hyperdef` for Div, Span.John MacFarlane1-2/+4
Otherwise links don't work.
2015-05-02Fixed tests for change to latex template.John MacFarlane3-3/+3
2015-05-02latex template: use providecommand for tightlist.John MacFarlane1-6/+7
This avoids a conflict when memoir class is used. Thanks to Joseph Harriott.
2015-05-01EPUB writer: Use plain writer for metadata dc: fields.John MacFarlane1-2/+5
This gives better results when we have, e.g. multiple paragraphs. Note that tags aren't allowed in these fields. Closes #2121.
2015-05-01SelfContained: cssURLs no longer tries to fetch fragment URLs.John MacFarlane1-7/+11
The current test is: does the URL start with a `#`? Closes #2121.
2015-04-29Merge pull request #2123 from hellofloat/masterJohn MacFarlane1-0/+1
Added woff2 to MIME types
2015-04-29Added woff2 to MIME typesAlfred Wechselberger1-0/+1
2015-04-29HTML reader: Allow multiple colgroups in table.John MacFarlane1-1/+1
Closes #2122.
2015-04-26appveyor - removed a diagnostic echo.John MacFarlane1-1/+0
2015-04-26appveyor - use cmd for 'git submodule update'.John MacFarlane1-1/+1
2015-04-26appveyor - attempt to fix yml errors.John MacFarlane1-3/+3
2015-04-26appveyor - use powershell for commands.John MacFarlane1-10/+17
Another try at getting path setting to work properly.
2015-04-26appveyor - another attempt at setting the paths.John MacFarlane1-1/+2
2015-04-26appveyor.yml - set path in shell in addition to registry.John MacFarlane1-0/+1
2015-04-26EPUB writer: Remove linear=no from cover itemref.John MacFarlane1-1/+1
Closes #1609.
2015-04-26appveyor - force rewrite of path in registry.John MacFarlane1-1/+1
2015-04-26appveyor - set paths in registry.John MacFarlane1-1/+1
2015-04-26appveyor.yml - specify full ghc path.John MacFarlane1-2/+2
2015-04-26appveyor.yml - rearranged install and build scripts.John MacFarlane1-9/+5
2015-04-26Added appveyor.yml for Windows CI.John MacFarlane1-0/+17
2015-04-26Fixed regression with lists inside defintiion lists.John MacFarlane2-1/+4
This fixes a regression (not in any released version) on things like hi : - there Closes #2098.
2015-04-26Merge pull request #2112 from lierdakil/issue2101John MacFarlane1-33/+29
Custom Writer: Set foreign encoding to UTF-8
2015-04-26Updated copyright notices to -2015. Closes #2111.John MacFarlane52-106/+106
2015-04-26Custom Writer: Set foreign encoding to UTF-8Nikolay Yakimov1-33/+29
Closes #2101, #1634 Also factored out ByteString, since it's only used as an intermediate representation.
2015-04-25Added JOPTS to travis.John MacFarlane1-7/+7
This way we can set -j2 only for GHC > 7.4.
2015-04-25Use -j2 for travis builds. (See #2110.)John MacFarlane1-2/+2
2015-04-25Merge pull request #2110 from timtylin/patch/travis-new-apt-syntaxJohn MacFarlane1-10/+15
Use the new Travis sudo-less syntax for APT dependencies
2015-04-25updates travis apt installs to the new sudo-less syntaxTim Lin1-10/+15
New syntax is specified here: http://docs.travis-ci.com/user/apt/
2015-04-22EPUB tests: don't use joinPath, which varies across platforms.John MacFarlane1-2/+5
Instead, use a forward-slash to join paths, regardless of the platform. This matches the way MediaBag now works. See https://github.com/jgm/pandoc/commit/56e4ecab20613d86a6660547ed87e7ff4b80d632#commitcomment-10858449
2015-04-22LaTeX reader: recognize `\newpage` as a block command.John MacFarlane1-0/+1
2015-04-21Custom writer: use UTF-8 aware bytestring conversion.John MacFarlane1-7/+8
This might help with #2101.
2015-04-20Merge pull request #2099 from RyanGlScott/masterJohn MacFarlane1-1/+1
Bump zlib upper version bounds
2015-04-20Bump zlib upper version boundsRyanGlScott1-1/+1
2015-04-20Merge pull request #2095 from pombreda/patch-1John MacFarlane1-1/+1
Fixed typo in URL for dzslides