| Commit message (Collapse) | Author | Age |
|
|
|
|
| |
A new module `pandoc.utils` has been created. It holds utility functions
like `sha1`, which was moved from the main `pandoc` module.
|
|
|
|
|
|
|
| |
Definitions for the `pandoc.mediabag` modules are moved to a separate
Haskell module.
Change: minor
|
|
|
|
|
|
|
| |
The Haskell module defining the Lua `pandoc` module is moved to
Text.Pandoc.Lua.Module.Pandoc.
Change: minor
|
| |
|
|
|
|
|
|
|
| |
Material following `^^` was dropped if it wasn't a character
escape. This only affected invalid LaTeX, so we didn't see it
in the wild, but it appeared in a QuickCheck test failure
https://travis-ci.org/jgm/pandoc/jobs/319812224
|
|
|
|
|
| |
It is no longer needed now that we have `--print-highlight-style`.
See #4096.
|
|
|
|
|
|
|
|
|
|
|
| |
This currently prints all notes on a final slide.
Note that at the moment, there is a danger of text overflowing the
note slide, since there is no logic for adding further slides. A
future commit will shrink the font size on these notes, but that won't
take care of the problem altogether. (We might have to implement some
sort of clumsy page-breaking logic here based on font size and
text-box dimensions, though that seems like a can of worms.)
|
|
|
|
|
| |
When we encounter a note, we write it to the state directory of notes,
and input a superscript.
|
|
|
|
| |
First step toward implementing notes in pptx writer.
|
|
|
|
|
|
| |
These are currently implemented in terms of a Bold para for the terms,
and then blockquotes for the definitions. THis can be refined a bit in
the future.
|
|
|
|
|
|
|
| |
When using readerStandalone, this keeps us from looking for a
non-existent template pptx file.
Closes #4181
|
|
|
|
| |
This is used to check standalone and not writing to the terminal.
|
|
|
|
| |
Also add TODO for ordered lists.
|
| |
|
|
|
|
|
|
| |
The `pipe` and `read` utility functions are converted from hybrid
lua/haskell functions into full Haskell functions. This avoids the need
for intermediate `_pipe`/`_read` helper functions, which have dropped.
|
|
|
|
|
|
| |
The functions `sha1`, `read`, and `pipe` are now tested.
Change: minor
|
|
|
|
| |
In hopes this will help with the OOM problems.
|
| |
|
|
|
|
|
|
| |
A parsing error was fixed which caused the org reader to fail when
parsing a paragraph starting with two or more asterisks.
Fixes: #4180
|
| |
|
| |
|
|
|
|
| |
Closes #4172.
|
| |
|
|
|
|
|
| |
This was a bug introduced in version 2.0.4 (commit
3f1f9536d4817bbdd797c01050a887fe4cdf347c).
|
| |
|
|
|
|
|
|
| |
Otherwise they can be interpreted as footnote definitions.
Closes #4171.
|
|
|
|
| |
Change: minor
|
|
|
|
|
|
|
|
|
| |
This fixes a regression in 2.0.
Note that extensions can now be individually disabled, e.g.
`-f opml-smart-raw_html`.
Closes #4164.
|
| |
|
|
|
|
|
| |
This avoids a clash with a deprecated \textlatin command defined
in Babel. Closes #4161.
|
|
|
|
| |
This should help prevent regressions like #4159.
|
|
|
|
| |
Mainly so they can be tested.
|
|
|
|
|
| |
This mainly affects the Markdown reader when parsing
raw LaTeX with escaped spaces. Closes #4159.
|
|\ |
|
| |
| |
| |
| | |
Closes jgm/pandoc-website#16.
|
|/ |
|
|
|
|
|
|
|
|
|
|
|
| |
Previously we erroneously included the enclosing
backticks in a reference ID (closes #4156).
This change also disables interpretation of
syntax inside references, as in docutils.
So, there is no emphasis in
`my *link*`_
|
|\
| |
| | |
fig, table-wrap & caption Divs for JATS writer
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Support writing <fig> and <table-wrap> elements with <title> and
<caption> inside them by using Divs with class set to on of
fig, table-wrap or cation. The title is included as a Heading
so the constraint on where Heading can occur is also relaxed.
Also leaves out empty alt attributes on links.
|
| |
| |
| |
| |
| |
| |
| | |
A caption starts with a `:` which can't be followed
by punctuation. Otherwise we can falsely interpret
the start of a fenced div, or even a table header line
like `:--:|:--:`, as a caption.
|
| |
| |
| |
| |
| |
| |
| | |
The old template produced numbered sections with some recent
versions of beamer.
Thanks to Thomas Hodgson.
|
| | |
|
|\ \
| | |
| | | |
Unify lua initalization
|
| | |
| | |
| | |
| | |
| | |
| | | |
The same init file (`data/init`) that is used to setup the Lua
interpreter for Lua filters is also used to setup the interpreter of
custom writers.lua.
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
The custom writer used its own `ToLuaStack` instance definitions, which
made it difficult to share code with Lua filters, as this could result
in conflicting instances. A `Stringify` wrapper is introduced to avoid
this problem.
|
| | | |
|
|/ /
| |
| |
| |
| |
| |
| |
| |
| | |
Docx expects that lists will continue where they left off after an
interruption and introduces a new id if a list is starting again. So
we keep track of the state of lists and use them to define a "start"
attribute, if necessary.
Closes #4025
|
| |
| |
| |
| | |
Because `--smart/-S` has been removed.
Maybe ` -f markdown+smart` shoud also be added?
|