| Commit message (Collapse) | Author | Age |
|
|
|
|
|
|
|
|
|
| |
* Move as much as possible to the CSS in the template.
* Ensure that all the HTML-based templates (including epub)
contain the CSS for columns.
* Columns default to 50% width unless they are given a width
attribute.
Closes #4028.
|
| |
|
|
|
|
|
|
|
|
| |
The line identifiers are built using the code block's identifier
as a prefix. If the code block has null identifier, we use
"cb1", "cb2", etc.
Closes #4031.
|
|
|
|
|
|
|
|
|
| |
* Remove "width" attribute which is not allowed on div.
* Remove space between `<div class="column">` elements,
since this prevents columns whose widths sum to 100%
(the space takes up space).
Closes #4028.
|
| |
|
|
|
|
| |
This fixes `--self-contained` with s5. Closes #4026.
|
|
|
|
|
| |
The previous fix only worked in certain cases.
Other cases with `>` in an HTML attribute broke.
|
| |
|
|
|
|
| |
XML schema requires at least one genre.
|
|
|
|
|
|
| |
<annotation> is not allowed inside <body> according to FictionBook2 XML schema. Besides that, the same information is already placed inside <description>.
Related bug: #2424
|
|\
| |
| | |
HTML Writer: consistently use dashed class-names
|
| |
| |
| |
| | |
see #3556
|
|\ \
| | |
| | | |
FB2 writer: make bullet lists consistent with ordered lists
|
| |/
| |
| |
| |
| |
| |
| |
| |
| | |
Previously bullet lists interacted in odd way with ordered lists.
For example, bullet lists nested in ordered list had incorrect
indentation. Besides that, indentation with spaces is not rendered
by FBReader and fbless. To avoid this problem, bullet lists are
indented by appending bullets to marker just the same way it is
done for ordered lists.
|
| |
| |
| |
| | |
Closes #4020.
|
| |
| |
| |
| |
| |
| |
| |
| | |
and other non-HTML formats (`Text.Pandoc.Readers.HTML.htmlTag`).
The parser stopped at the first `>` character, even if it wasn't
the end of the comment.
Closes #4019.
|
|\ \
| | |
| | | |
Creole Reader: fix lists with triling white space
|
| | | |
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Minor API change.
Now sizes given in 'mm' are no longer converted to 'cm'.
Closes #4012.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
For example
\emph%
{hi}
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Example:
```
<div class="columns">
<div class="column" width="40%">
- Item
</div>
<div class="column" width="60%">
- Item
</div>
</div>
```
Closes #4016.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Previously the following failed:
::: {.class}
1. one
2. two
:::
and you needed a blank line before the closing `:::`.
|
|/ /
| |
| |
| | |
If `fenced_divs` is enabled, fenced divs will be used.
|
|/ |
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
- Ensure that epub2 is recognized as a non-text format,
so that a template is used.
- Don't include "prefix" attribute for ibooks for epub2.
It doesn't validate.
- Fix stylesheet paths; previously we had an incorrect
stylesheet path for the cover page and nav page.
|
|
|
|
|
|
|
| |
Sometimes we need to insert a space after a control sequence
to prevent it merging with a following letter.
Closes #4007.
|
|
|
|
| |
See #4007.
|
|
|
|
|
|
|
|
| |
e.g.
\newcommand\arrow\to
See #4007.
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
According to FB2 XML schema <empty-line /> cannot be placed inside
<p>. Linux FBReader can't display such paragraphs, e.g. any "loose"
lists produced by pandoc prior to this commit. Besides that,
FB2 writer placed <p> inside <p> when writing nested lists,
this commit fixes the bug.
Also this commit removes leading non-breaking space from ordered
lists for consistency with bullet lists.
Definition lists are not affected at all.
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|