| Commit message (Collapse) | Author | Age |
... | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Org's inline code blocks take forms like `src_haskell(print "hi")` and
are frequently used to include results from computations called from
within the document. The blocks are read as inline code and marked with
the special class `rundoc-block`. Proper handling and execution of
these blocks is the subject of a separate library, rundoc, which is
work in progress.
This closes #1278.
|
| | |
|
| | |
|
| | |
|
|/ |
|
| |
|
|
|
|
| |
See https://github.com/jgm/pandoc/issues/1172
|
| |
|
|
|
|
| |
We need to strip off up to 4 spaces, not up to 3.
|
|
|
|
|
| |
- toLabel is now monadic, and it does the needed string escaping.
- Closes #1130.
|
| |
|
|
|
|
| |
Not for use with pandoc-citeproc.
|
|
|
|
|
|
|
|
| |
* Undid changes to parseXml in last commit.
* Instead of a string fallback, we have parseXml fall back
on the reference.docx that comes with pandoc if the user's
reference.docx does not contain a needed file.
* Closes #1185.
|
| |
|
| |
|
|
|
|
|
|
|
| |
Closes #1154.
When reading a raw list item, we now strip off nonindent
spaces.
|
| |
|
| |
|
|
|
|
| |
Closes #1246.
|
| |
|
|
|
|
| |
Closes #1245.
|
|
|
|
|
|
|
|
| |
* Use isTightList from Shared.
* Adjust writer test, since isTightList is a bit different from what
was used before.
Closes #1250.
|
|
|
|
| |
Determined by the first block of the first item being Plain.
|
|
|
|
| |
Tests now pass again.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Closes #1274.
Rewrote handleIncludes.
We now report the actual source file and position where the error
occurs, even if it is included. We do this by inserting special
commands, `\PandocStartInclude` and `\PandocEndInclude`, that encode
this information in the preprocessing phase.
Also generalized the types of a couple functions from
`Text.Pandoc.Parsing`.
|
|
|
|
| |
Includes test.
|
|
|
|
| |
Closes #1218.
|
|\
| |
| | |
Org reader: add support for custom link types
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Org allows users to define their own custom link types. E.g., in a
document with a lot of links to Wikipedia articles, one can define a
custom wikipedia link-type via
#+LINK: wp https://en.wikipedia.org/wiki/
This allows to write [[wp:Org_mode][Org-mode]] instead of the
equivallent [[https://en.wikipedia.org/wiki/Org_mode][Org-mode]].
|
| | |
|
| | |
|
| |
| |
| |
| | |
In pandoc and beamer templates. Thanks to Yihui Xie.
|
| |
| |
| |
| | |
(in metadata)
|
| |
| |
| |
| |
| |
| |
| | |
* We now correctly handle field lists that are indented more than
3 spaces.
* We treat an "aafig" directive as a code block with attributes,
so it can be processed in a filter. (Closes #1212.)
|
| |
| |
| |
| | |
Closes #1270.
|
| |
| |
| |
| | |
Fixes #1269.
|
| |
| |
| |
| | |
See #1269. This reveals some test failures.
|
|/ |
|
|\
| |
| | |
Copyright housekeeping
|
| |
| |
| |
| |
| | |
The documented default values of variables now agree with their true
default values as defined in Writer/HTML.hs.
|
| |
| |
| |
| |
| | |
Some files are no longer distributed with pandoc, the respective
copyright and licensing information is removed.
|
| |
| |
| |
| |
| |
| |
| |
| | |
All code in pandoc licensed under the GPL version 2 or later is just
marked as being licensed under the GPL. There are multiple versions of
the GPL, most notably version 2, version 3 and the Affero GPL. As to
avoid possible confusion, licensing info is updated to be more specific
about the GPL and its version.
|
| |
| |
| |
| | |
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.
|
| |
| |
| |
| | |
We use 'author' for metadata, not 'authors'.
|
| |
| |
| |
| |
| |
| |
| | |
This adds nocite citations to a metadata field, `nocite`.
These will appear in the bibliography but not in the text
(unless you use a `$nocite$` variable in your template, of
course).
|
| |
| |
| |
| |
| | |
Previously image links with queries were not recognized,
leading to use of an embed tag rather than an img tag.
|
| | |
|
|/ |
|