Age | Commit message (Collapse) | Author | Files | Lines |
|
A `<replaceable>` is a placeholder that a user is instructed to
replace with a value of their own, like
`<replaceable>prefix</replacable>/bin/foo`. In the standard Docbook
toolchain, this typically appears emphasized, and no other adornement.
But a `<replaceable>` is nearly always in a code element, where
emphasis won't work. So we do the same thing as for `<optional>`:
decorate the content with brackets.
|
|
A <simplesect> is a section like any other, except that it never
contains an subsection, and is typically rendered unnumbered.
|
|
|
|
Cloess #6454.
|
|
Closes #6430.
|
|
Partially addresses #6430.
|
|
See #6408.
|
|
Global macros are now persistent when using the HTML Writer with the --katex
option.
|
|
Closes #6391.
|
|
Closes #6385. (The summary element needs to be the first
child of details and should not be enclosed by p tags.)
NOTE: you need to include a blank line before the closing
`</details>`, if you want the last part of the content to
be parsed as a paragraph.
|
|
This required some internal changes to `\subfile` handling.
Closes #6380.
|
|
Some CSS to ensure that display math is
displayed centered and on a new line is now included
in the default HTML-based templates; this may be
overridden if the user wants a different behavior.
|
|
|
|
This change will not have any effect with the default style.
However, it enables users to use a style (via a reference.docx)
that turns on row and/or column bands.
Closes #6371.
|
|
This ensures that the abstract is rendered with style Abstract.
|
|
This allows you to apply a custom style to contained paragraphs.
|
|
|
|
It should be `\ul` not `\pnul`.
|
|
Closes #6360.
|
|
This caused `require 'module'` to fail for third party packages.
Fixes: #6361
|
|
Closes #6350.
|
|
...is present. Previously the attribute was included but given
an empty value, and this caused the table of contents creation
functions in T.P.Writers.Shared to think these items had numbers,
which meant that they were included in the TOC even if the `unlisted`
class was used.
Closes #6339.
|
|
|
|
Previously the `-` was being replaced by `_`.
Closes #6335.
|
|
(#6331)
Add support for customizable alignment of columns in beamer.
Closes #4805, closes #4150.
|
|
Print the Lua error properly instead of displaying their `show` string.
|
|
OMML in speaker notes would lead to corrupt PowerPoint output. We now
output the OMML verbatim as LaTeX in the speaker notes.
Closes #6301.
|
|
Deprecate `underlineSpan` in Shared in favor of `Text.Pandoc.Builder.underline`.
|
|
Previously we created duplicate references for these
in rendering RST. Closes #6194.
|
|
Closes #6308.
|
|
See this PR on Haddock for details on the table format:
https://github.com/haskell/haddock/pull/718
|
|
introduced by parsing of table attributes. (The writer
always added a style with width, and we would get multiple
such styles through successive round trips.)
|
|
|
|
when `intraword_underscores` extension is enabled.
Closes #6296.
|
|
API change: create PandocLua type, use PandocError for exceptions
|
|
The new type `PandocLua` is an instance of the `PandocMonad` typeclass
and can thus be used in a way similar to `PandocIO`.
|
|
|
|
This reverts a change in the last release; the Div is
no longer needed, because we can now put the id right in
the Table's attributes. However, writers may still need
to be modified to do something with the id in a Table
(e.g. create an anchor), so in the short term we may lose
the ability to link to tables in some writers.
|
|
The PandocError type is used throughout the Lua subsystem, all Lua
functions throw an exception of this type if an error occurs. The
`LuaException` type is removed and no longer exported from
`Text.Pandoc.Lua`. In its place, a new constructor `PandocLuaError` is
added to PandocError.
|
|
|
|
which hasn't been updated for ghc 8.10.
See discussion at #6187.
|
|
Closes #6295.
|
|
|
|
|
|
Now a cell with dimension (h, w) will be cut up into h*w cells of
dimension (1,1), all in the same grid position, with the upper-left
holding the original cell contents and the rest being empty.
|
|
The Builder.simpleTable now only adds a row to the TableHead when the
given header row is not null. This uncovered an inconsistency in the
readers: some would unconditionally emit a header filled with empty
cells, even if the header was not present. Now every reader has the
conditional behaviour. Only the XWiki writer depended on the header
row being always present; it now pads its head as necessary.
|
|
|
|
- Writers.Native is now adapted to the new Table type.
- Inline captions should now be conditionally wrapped in a Plain, not
a Para block.
- The toLegacyTable function now lives in Writers.Shared.
|
|
|
|
|