Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2020-06-14 | Docbook: map <simplesect> to unnumbered section (#6436) | Mathieu Boespflug | 1 | -15/+19 | |
A <simplesect> is a section like any other, except that it never contains an subsection, and is typically rendered unnumbered. | |||||
2020-06-14 | Distinguish between single and double quotes when using enquote package (#6457) | dbecher-ito | 1 | -1/+3 | |
2020-06-13 | Textile reader: support "pre." for code blocks. | John MacFarlane | 1 | -8/+8 | |
Cloess #6454. | |||||
2020-06-09 | Ipynb reader: handle application/pdf output as image. | John MacFarlane | 1 | -1/+1 | |
Closes #6430. | |||||
2020-06-09 | Ipynb reader: properly handle image/svg+xml as an image. | John MacFarlane | 1 | -3/+5 | |
Partially addresses #6430. | |||||
2020-05-30 | Change default revealjs-url to use CDN version of revealjs v4. | John MacFarlane | 1 | -1/+1 | |
See #6408. | |||||
2020-05-28 | Fixed Katex standalone script (#6399) | Lucas Escot | 1 | -0/+2 | |
Global macros are now persistent when using the HTML Writer with the --katex option. | |||||
2020-05-21 | FB2 writer: properly handle cover-image containing spaces. | John MacFarlane | 1 | -2/+2 | |
Closes #6391. | |||||
2020-05-20 | Add "summary" to list of block-level HTML tags. | John MacFarlane | 1 | -1/+1 | |
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. | |||||
2020-05-19 | LaTeX reader: don't parse beyond `\end{document}`. | John MacFarlane | 1 | -13/+25 | |
This required some internal changes to `\subfile` handling. Closes #6380. | |||||
2020-05-18 | Use CSS in favor of <br> for display math (#6372) | Lila | 1 | -13/+10 | |
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. | |||||
2020-05-17 | Org writer: clean-up Div handling | Albert Krewinkel | 1 | -30/+59 | |
2020-05-16 | Docx writer: enable column and row bands for tables. | John MacFarlane | 1 | -1/+6 | |
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. | |||||
2020-05-16 | OpenDocument writer: add custom-style "Abstract" in metadata abstract. | John MacFarlane | 1 | -1/+8 | |
This ensures that the abstract is rendered with style Abstract. | |||||
2020-05-16 | OpenDocument/ODT writer: enable custom-style attribute on a Div. | John MacFarlane | 1 | -2/+6 | |
This allows you to apply a custom style to contained paragraphs. | |||||
2020-05-14 | DocBook writer: add id of figure to enclosed image. | John MacFarlane | 1 | -4/+12 | |
2020-05-14 | Fix underline in RTF writer. | John MacFarlane | 1 | -1/+1 | |
It should be `\ul` not `\pnul`. | |||||
2020-05-12 | LaTeX writer: create hypertarget for links with identifier. | John MacFarlane | 1 | -23/+27 | |
Closes #6360. | |||||
2020-05-12 | Lua: fix regression in package searcher | Albert Krewinkel | 1 | -2/+8 | |
This caused `require 'module'` to fail for third party packages. Fixes: #6361 | |||||
2020-05-08 | Implement implicit_figures extension for commonmark reader. | John MacFarlane | 2 | -1/+7 | |
Closes #6350. | |||||
2020-05-05 | Shared.makeSections: omit number attribute when unnumbered class... | John MacFarlane | 1 | -1/+2 | |
...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. | |||||
2020-05-05 | Avoid unnecessary guard (#6340) | Joseph C. Sible | 1 | -1/+1 | |
2020-05-04 | Fix mediawiki reader with gfm_auto_identifiers. | John MacFarlane | 1 | -1/+4 | |
Previously the `-` was being replaced by `_`. Closes #6335. | |||||
2020-05-02 | LaTeX Writer: Add support for customizable alignment of columns in beamer ↵ | andrebauer | 1 | -5/+24 | |
(#6331) Add support for customizable alignment of columns in beamer. Closes #4805, closes #4150. | |||||
2020-05-02 | Lua filters: improve error messages for failing filters (#6332) | Albert Krewinkel | 1 | -2/+4 | |
Print the Lua error properly instead of displaying their `show` string. | |||||
2020-04-30 | PowerPoint writer: write math input verbatim in speaker notes. | Jesse Rosenthal | 1 | -6/+12 | |
OMML in speaker notes would lead to corrupt PowerPoint output. We now output the OMML verbatim as LaTeX in the speaker notes. Closes #6301. | |||||
2020-04-28 | Support new Underline element in readers and writers (#6277) | Vaibhav Sagar | 42 | -28/+144 | |
Deprecate `underlineSpan` in Shared in favor of `Text.Pandoc.Builder.underline`. | |||||
2020-04-24 | RST writer: properly handle images with same alt text. | John MacFarlane | 1 | -7/+18 | |
Previously we created duplicate references for these in rendering RST. Closes #6194. | |||||
2020-04-22 | AsciiDoc writer: add blank line after Div. | John MacFarlane | 1 | -1/+1 | |
Closes #6308. | |||||
2020-04-20 | Haddock Writer: Support Haddock tables | Joe Hermaszewski | 1 | -1/+1 | |
See this PR on Haddock for details on the table format: https://github.com/haskell/haddock/pull/718 | |||||
2020-04-18 | Fix round-trip bug with HTML tables.... | John MacFarlane | 1 | -9/+13 | |
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.) | |||||
2020-04-18 | HTML reader: parse attributes into table attributes. | John MacFarlane | 1 | -14/+18 | |
2020-04-17 | Markdown writer: avoid unnecessary escapes before intraword `_` | John MacFarlane | 1 | -1/+6 | |
when `intraword_underscores` extension is enabled. Closes #6296. | |||||
2020-04-17 | Merge pull request #6211 from tarleb/lua-pandocerror | John MacFarlane | 20 | -430/+683 | |
API change: create PandocLua type, use PandocError for exceptions | |||||
2020-04-17 | API change: use new type PandocLua for all pandoc Lua operations | Albert Krewinkel | 8 | -207/+244 | |
The new type `PandocLua` is an instance of the `PandocMonad` typeclass and can thus be used in a way similar to `PandocIO`. | |||||
2020-04-17 | Class: generalize PandocIO functions to MonadIO | Albert Krewinkel | 2 | -167/+252 | |
2020-04-17 | LaTeX reader: don't put surrounding Div around Table. | John MacFarlane | 1 | -2/+5 | |
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. | |||||
2020-04-17 | API change: use PandocError for exceptions in Lua subsystem | Albert Krewinkel | 13 | -60/+191 | |
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. | |||||
2020-04-17 | Merge pull request #6224 from despresc/better-tables | John MacFarlane | 58 | -380/+789 | |
2020-04-17 | Revert 0e48a02 and dependency on base-noprelude... | John MacFarlane | 1 | -2/+2 | |
which hasn't been updated for ghc 8.10. See discussion at #6187. | |||||
2020-04-16 | Shared: renderTags': use self-closing tag for col element. | John MacFarlane | 1 | -1/+1 | |
Closes #6295. | |||||
2020-04-15 | Markdown reader: Remove unnecessary qualification | despresc | 1 | -8/+8 | |
2020-04-15 | Lua: support new tables | Albert Krewinkel | 1 | -17/+99 | |
2020-04-15 | Modify toLegacyTable to cut up cells, add tests | despresc | 1 | -8/+43 | |
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. | |||||
2020-04-15 | Use the new builders, modify readers to preserve empty headers | despresc | 24 | -69/+169 | |
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. | |||||
2020-04-15 | Adapt to the removal of the RowSpan, ColSpan, RowHeadColumns accessors | despresc | 1 | -1/+1 | |
2020-04-15 | Adapt to the newest Table type, fix some previous adaptation issues | despresc | 54 | -168/+210 | |
- 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. | |||||
2020-04-15 | Remove the onlySimpleCellBodies function from Shared | despresc | 5 | -18/+7 | |
2020-04-15 | Implement the new Table type | despresc | 56 | -316/+477 | |
2020-04-15 | Markdown Reader: Fix inline code in lists (#6284) | Nikolay Yakimov | 1 | -6/+11 | |
Closes #6284. Previously inline code containing list markers was sometimes parsed incorrectly. |