| Commit message (Collapse) | Author | Age |
|
|
|
|
|
| |
Not when `bibliography` field in metadata is specified.
Closes #1849.
|
| |
|
|
|
|
|
|
|
|
|
|
| |
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`.
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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.
|
| |
|
|\
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
mpickering-errortype
Conflicts:
benchmark/benchmark-pandoc.hs
src/Text/Pandoc/Readers/Markdown.hs
src/Text/Pandoc/Readers/Org.hs
src/Text/Pandoc/Readers/RST.hs
tests/Tests/Readers/LaTeX.hs
|
| | |
|
|\ \
| | |
| | | |
Clarify JSON input and output in usage message
|
| |/ |
|
|/ |
|
| |
|
|
|
|
|
| |
Closes #1840.
Closes #1653.
|
| |
|
|
|
|
| |
Closes #1683.
|
|
|
|
| |
Closes #1626
|
|
|
|
| |
See jgm/pandoc-templates#67.
|
| |
|
|
|
|
|
|
|
|
|
|
| |
This cause problems on Windows 8, where the variable is called
`Path`.
Instead, simply trap the exception that will be raised by
`findExecutable` if path is not set.
This should fix #1542.
|
|
|
|
|
|
| |
We need this information for relative URLs!
This should resolve the continuing problem noted in #750.
|
|\
| |
| | |
Very minor cleanup and readability changes
|
| | |
|
|\ \
| |/
|/|
| |
| |
| |
| | |
mpickering-epubend
Conflicts:
pandoc.cabal
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| | |
* mkSelfContained now takes just two arguments, WriterOptions and
the string.
* It no longer looks in data files. This only made sense when we
had copies of slidy and S5 code there.
* Shared.fetchItem' is used instead of the nearly duplicate getItem.
|
|/ |
|
| |
|
|
|
|
|
|
|
| |
Moved `MediaBag` definition and functions from Shared:
`lookupMedia`, `mediaDirectory`, `insertMedia`, `extractMediaBag`.
Removed `emptyMediaBag`; use `mempty` instead, since `MediaBag`
is a Monoid.
|
|
|
|
|
|
|
|
|
|
| |
Shared now exports functions for interacting with a MediaBag:
- `emptyMediaBag`
- `lookuMedia`
- `insertMedia`
- `mediaDirectory`
- `extractMediaBag`
|
|
|
|
| |
Get latest modification time.
|
|
|
|
| |
Added a parameter to makeSelfContained (API change).
|
|
|
|
|
| |
The MediaBag is thread through from the reader, with no need
to extract to files.
|
|
|
|
|
|
| |
This will make it available to docx and epub readers, etc.,
so we don't have to extract media to a directory when going
from docx -> epub.
|
|
|
|
|
|
| |
This has been documented to affect the epub and docx readers, so
we should either add the epub reader before the next release or
change the documentation.
|
|
|
|
|
| |
Note that at the moment the mediabag is discarded. This will have to be
changed to make use of it.
|
| |
|
| |
|
|\ |
|
| |
| |
| |
| | |
Closes #1389.
|
|\| |
|
| |
| |
| |
| |
| | |
This fixed a bug wherein `--filter ./caps.py` would run `caps.py` from
the system path, even if there was a `caps.py` in the working directory.
|
| | |
|
| | |
|
| |
| |
| |
| |
| | |
Previously pandoc would say that a filter was not found,
even in a case where the filter had a syntax error.
|
| |
| |
| |
| |
| | |
Changes also include generalising the types of reader allowed. The
mechanism now mimics the more general output mechanism.
|
| | |
|
| |
| |
| |
| | |
It already worked for writer.
|
| |
| |
| |
| |
| |
| |
| | |
We now check the writerName for a lua script in pandoc.hs, so that
lowercasing and format parsing aren't done. Note this behavior
change: getWriter in Text.Pandoc no longer returns a custom writer on
input "foo.lua".
|
| |
| |
| |
| | |
In preparation for a fix to #1267.
|
| |
| |
| |
| | |
Closes #1155.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Pandoc first tries to find the executable (searching the path
if path isn't given). If it fails, but the file exists and has
a .py, .pl, .rb, .hs, or .php extension, pandoc runs the filter
using the appropriate interpreter.
This should make it easier to use filters on Windows, and make
it more convenient for everyone.
Closes #1096.
|