aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2017-02-24Fixed link to mac uninstaller script.John MacFarlane1-2/+2
2017-02-24Removed unnecessary import.John MacFarlane1-1/+0
2017-02-24Use catchError instead of runExceptT.John MacFarlane3-57/+68
2017-02-24Implemented `\graphicspath` in LaTeX reader.John MacFarlane2-69/+86
Closes #736.
2017-02-24Removed useless TEXINPUTS stuff for context2pdf.John MacFarlane1-7/+2
mkiv context doesn't use TEXINPUTS.
2017-02-24Shared: remove 'warn'.John MacFarlane3-19/+17
PDF writer: Use 'report' instead of 'warn', make it sensitive to verbosity settings.
2017-02-24Logging: Remove UsingResourceFrom, add CouldNotConvertImageJohn MacFarlane1-8/+9
2017-02-24Class: Add stResourcePath to CommonState, getResourcePath, setResourcePath.John MacFarlane2-8/+40
To be used in implementing `\graphicspath` in LaTeX, and possibly in things like PDF production via context. Use resource path in fetchItem. Issue an info message if we get a resource from somewhere other than ".". Added UsingResourceFrom to log message.
2017-02-24EPUB reader: minor refactoring, avoiding explicit MediaBag handling.John MacFarlane1-8/+6
This all works behind the scenes in CommonState plumbing.
2017-02-24Some fixes to the preceding revisions in SelfContained.John MacFarlane1-27/+42
Make sure we don't duplicate end tags for script or link.
2017-02-24SelfContained: don't use data URIs for script or style.John MacFarlane2-11/+37
Instead, just use script or style tags with the content inside. The old method with data URIs prevents certain optimizations outside pandoc. Exception: data URIs are still used when a script contains `</script>` or a style contains `</`. Closes #3423. Also, in MIME, use application/javascript (not application/x-javascript).
2017-02-24Refactored getData from getDataURI in SelfContained.John MacFarlane1-5/+15
2017-02-23Updated table tests.John MacFarlane1-36/+36
2017-02-23Removed `\strut` at beginning of table cells.John MacFarlane1-1/+1
This fixes a problem with alignment of lists in table cells (closes #3436). The `\strut` at the end seems to be enough to avoid the too-close spacing that motivated addition of the strut in #1573.
2017-02-23Removed unnecessary import.John MacFarlane1-5/+1
2017-02-23Special-case .stretch class for images in reveal.js.John MacFarlane2-6/+25
Now in reveal.js, an image with class `stretch` in a paragraph by itself will stretch to fill the whole screen, with no caption or figure environment. Closes #1291.
2017-02-23Fix compiler warning for older GHC versions.John MacFarlane1-2/+5
2017-02-23Restore "Fetching..." message with openURL if --verbose.John MacFarlane1-1/+3
2017-02-23Use PandocIOError in Class.John MacFarlane2-41/+24
2017-02-23Error: Changed PandocFileReadError to PandocIOErrorJohn MacFarlane1-2/+3
2017-02-23Shared.openURL: Changed type from an Either.John MacFarlane1-6/+9
Now it will just raise an exception to be trapped later.
2017-02-23PDF: make sure that verbosity is respected when we fetch items.John MacFarlane1-10/+19
2017-02-23Put makeSelfContained in PandocMonad instead of IO.John MacFarlane3-49/+58
This removes the need to pass MediaBag around and improves exceptions. It also opens up the possibility of using makeSelfContained purely.
2017-02-23Use latest pandoc-citeproc commit in pkg.yaml.John MacFarlane1-1/+1
2017-02-23Pretty: simplified definition of realLength.John MacFarlane1-1/+1
2017-02-22Added emf to mimeTypes with type application/x-msmetafile.John MacFarlane1-0/+1
See #1713.
2017-02-22When parsing raw LaTeX commands, include trailing space.John MacFarlane3-3/+9
Otherwise things like `\noindent foo` break and turn into `\noindentfoo`. Affects `-f latex+raw_tex` and `-f markdown` (and other formats that allow `raw_tex`). Closes #1773.
2017-02-22Merge pull request #3464 from mb21/determine-svg-sizeMauro Bieg5-22/+54
make imageSize recognize basic SVG dimensions, see #3462
2017-02-22imageSize interface changemb215-10/+9
`imageSize img` is now `imageSize opts img`
2017-02-22make imageSize recognize basic SVG dimensions, see #3462mb212-16/+49
2017-02-22MANUAL: Document that content above slide-level will be omitted...John MacFarlane1-3/+8
in slide shows. See #3460, #2265.
2017-02-21MediaWiki reader: ensure that list starts begin at left margin.John MacFarlane2-9/+76
Including when they're in tables or other list items. Closes #2606.
2017-02-21MediaWiki writer: Remove newline before `</ref>`.John MacFarlane2-9/+5
Closes #2652.
2017-02-21MediaWiki writer: add display attribute on `<math>` tags.John MacFarlane2-9/+12
This allows display math to be rendered properly. Closes #3452.
2017-02-21MediaWiki reader: fixed more table issues.John MacFarlane2-9/+116
Closes #2649.
2017-02-21MediaWiki reader: Allow blank line after table start.John MacFarlane1-1/+1
See #2649.
2017-02-21MediaWiki tables: allow extra hyphens after `|-` in tables.John MacFarlane1-1/+1
I didn't see this documented anywhere, but it seems to be allowed (and common). See #2649. This addresses some of the cases there, but not all.
2017-02-21MediaWiki writer: Updated list of syntax highlighting languages.John MacFarlane1-17/+641
Now 'r' gets you `<source>` rather than `<code>` (among others). Closes #3461.
2017-02-20Use lazy loading for reveal.js slide shows.John MacFarlane2-8/+19
* In HTML writer, with reveal.js we use data-src instead of src for images. * In SelfContained, we also load resources from data-src. Closes #2283.
2017-02-20default.revealjs template: make 'history' default to true.John MacFarlane1-1/+3
2017-02-20Modified documentation now that submodule fetching isn't needed.John MacFarlane3-27/+21
2017-02-20Merge commit '9e52ac6bb02afd7b4ed5dad61021a1fa33051203' as 'data/templates'John MacFarlane547-117852/+2242
2017-02-20Merge commit '9e52ac6bb02afd7b4ed5dad61021a1fa33051203' as 'data/templates'John MacFarlane33-0/+2242
2017-02-20Squashed 'data/templates/' content from commit 12d9650John MacFarlane33-0/+2242
git-subtree-dir: data/templates git-subtree-split: 12d96508c62189b4ff8c8b797d34cc9ef177f5ee
2017-02-20Removed data/templates submodule.John MacFarlane1-9/+0
2017-02-20We need process >= 1.2.3 for readCreateProcessWithExitCode.John MacFarlane1-2/+2
2017-02-20Travis: move 7.8.4 out of allowed-failures.John MacFarlane1-1/+0
2017-02-20Updated test-with field.John MacFarlane1-1/+1
2017-02-20Travis: remove 8.0.1 build.John MacFarlane1-5/+0
2017-02-20Added Functor constraint to keep ghc 7.8.4 happy.John MacFarlane1-1/+1