Age | Commit message (Collapse) | Author | Files | Lines |
|
Previously `\( \frac{1}{a} < \frac{1}{b} \)` was not parsed as math
in `markdown` or `html` `+tex_math_single_backslash`.
|
|
|
|
Now wrapping can be preserved with --wrap=preserve
|
|
even for chapter sections in epubs.
This causes problems because writers aren't set up to
expect these.
This fixes the most immediate problem in #4076.
It would be good to think more about how to propagate
the information that top-level headers are chapters
from the reader to the writer.
|
|
The `text` module is preloaded in lua. The module contains some UTF-8
aware string functions, implemented in Haskell. The module is loaded on
request only, e.g.:
text = require 'text'
function Str (s)
s.text = text.upper(s.text)
return s
end
|
|
Footnote end is indicated by indentation,
so footnotes can be placed anywhere in the text,
not just at the end of it.
|
|
+ Added new `HasSyntaxExtensions` typeclass for `ReaderOptions` and `WriterOptions`.
+ Reimplemented `isEnabled` function from `Options.hs` to accept both `ReaderOptions`
and `WriterOptions`.
+ Replaced `enabled` from `CommonMark.hs` with new `isEnabled`.
|
|
Fixes #4067.
|
|
This fixes a bug where pandoc would stop parsing a URI with an
empty attribute: for example, `&a=&b=` wolud stop at `a`.
(The uri parser tries to guess which punctuation characters
are part of the URI and which might be punctuation after it.)
Closes #4068.
|
|
Create a div, incorporate name attribute and classes.
Closes #4066.
|
|
It was previously `media/media/imagename`, and should have
been `media/imagename`.
|
|
Closes #4069.
|
|
Closes #4062.
|
|
Closes #4061.
|
|
It makes clear that extension is related to Muse markup.
|
|
|
|
This is equivalent to `rr`. We now expand it like a macro.
Closes #4056.
|
|
See #4056.
|
|
Emacs Muse does not require indentation.
|
|
|
|
|
|
Refactored some code from Text.Pandoc.Lua.PandocModule
into new internal module Text.Pandoc.Lua.Filter.
Add `walk_inline` and `walk_block` in pandoc lua module.
|
|
Previously if a YAML block under `|-` contained
a blank line, pandoc would not parse it as metadata.
|
|
|
|
|
|
|
|
This brings our handling of them into alignment with
CommonMark's.
Closes #??.
|
|
|
|
It should replace a metadata value set in the document
itself, rather than creating a list including a new value.
Closes #4054.
|
|
(src, poster, etc.) This had not been updated for the
new EPUB container layout, with a separate text/ subdirectory.
Closes #4050. Closes #4055.
|
|
`--latexmathml`,
`--gladtex`,
`--mimetex`,
`--jsmath`
|
|
The structure of the EPUBs was messed up, and #3720 was
improperly implemented. This commit fixes things.
|
|
|
|
|
|
Normally this is not a situation requiring a fix from the user,
so a warning is inappropriate.
|
|
This reverts commit 1a81751cef330d875cc34f11cde4a0d478969db7.
|
|
See #4036.
Close examination by org experts needed, to ensure that
nothing breaks.
|
|
Previously we got a crash, because we were trying to print
a native cmark STRIKETHROUGH node, and the commonmark writer
in cmark-github doesn't support this. Work around this by
using a raw node to add the strikethrough delimiters.
Closes #4038.
|
|
* 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
|
|
FB2 writer: make bullet lists consistent with ordered lists
|