| Commit message (Collapse) | Author | Age |
|
|
|
|
|
| |
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.
|
| | |
|
| |
| |
| |
| |
| | |
The basic structure of org-mode documents is recognized; however,
org-mode features like todo markers, tags etc. are not supported yet.
|
| |
| |
| |
| |
| |
| | |
This is to debug backtracking-related parsing bugs.
So far it is only implemented for markdown, but it would
be good to extend it to latex and html readers.
|
| |
| |
| |
| |
| | |
So, if you're using `--natbib` or `--biblatex`, you can just use
`--bibliography=foo.bib` instead of `-V bibliofiles=foo`.
|
| |\
| | |
| | | |
Don't add pandoc-citeproc filter if natbib or biblatex is used
|
| | |
| | |
| | |
| | | |
How could this happend? sry
|
| | |
| | |
| | |
| | | |
See https://github.com/jgm/pandoc-templates/issues/42
|
| | |
| | |
| | |
| | | |
Remove parens enclosing a single element.
|
| | |
| | |
| | |
| | | |
Replaces long conditional chains with calls to `elem` and `notElem`.
|
| | |
| | |
| | |
| | | |
(Use openURL from Shared instead of simpleHTTP.)
|
| | | |
|
| |/ |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Note that anything not parseable as a YAML boolean or string
is treated as a literal string.
Note that you can still get a string value with "yes" or any
of the strings interpretable as booleans:
-M boolvalue=yes -M stringvalue='"yes"'
|
| |
| |
| |
| | |
No more "resource vanished (broken pipe)"!
|
| |
| |
| |
| |
| | |
This also has the effect that `--bibliography` can be repeated,
as before.
|
| | |
|
| |
| |
| |
| | |
But only if pandoc-citeproc isn't already specified as a filter.
|
| |
| |
| |
| |
| | |
This could lead to double filtering if the user specifies `-F`
too.
|