Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2018-09-15 | Markdown Reader: rename yamlToMeta to yamlToMetaValue | mb21 | 1 | -9/+9 | |
2018-09-12 | Muse writer: never wrap definition list terms | Alexander Krotov | 1 | -1/+1 | |
2018-09-11 | Muse writer: set envInsideBlock = True when rendering notes | Alexander Krotov | 1 | -1/+2 | |
2018-09-11 | HTML writer: always output <dt> element, even if it is empty | Alexander Krotov | 1 | -3/+1 | |
Fixes #4883 | |||||
2018-09-11 | Muse writer: use "" instead of [] for empty String | Alexander Krotov | 1 | -1/+1 | |
2018-09-11 | Muse writer: check for whitespace in the beginning and end of Str's | Alexander Krotov | 1 | -0/+2 | |
2018-09-11 | Muse writer: escape -, ; and > in the beginning of strings | Alexander Krotov | 1 | -3/+6 | |
2018-09-11 | Muse writer: escape list markers in the beginning of notes | Alexander Krotov | 1 | -1/+4 | |
2018-09-11 | Muse writer: normalize inline list before testing if tags should be used | Alexander Krotov | 1 | -19/+18 | |
2018-09-11 | Muse writer: use tags instead of lightweight markup for empty strings | Alexander Krotov | 1 | -4/+9 | |
2018-09-09 | LaTeX reader: resolve `\ref` for figure numbers. | John MacFarlane | 1 | -12/+41 | |
2018-09-09 | Org writer: don't escape literal `_`, `^`. | John MacFarlane | 1 | -1/+1 | |
Org doesn't recognize these escapes. Closes #4882. | |||||
2018-09-07 | Fix percentage image scaling in ODT (#4881) | Nils Carlson | 2 | -2/+4 | |
Image scaling in ODT was broken when a width was set to a percentage. The width was passed to the svg:width field as a pecentage, which is not correct according to the ODT standard. Instead the real dimensions should be passed as width and height and the style:rel-width attribute should be set to the percentage while style:rel-heigh attribute should be set to "scale". The converse is true if a percentage height is given. This is now fixed and documents produced are now properly scaled. | |||||
2018-09-07 | HTML reader: parse `<script type="math/tex` tags as math. | John MacFarlane | 1 | -0/+12 | |
These are used by MathJax. Closes #4877. | |||||
2018-09-06 | Org reader: respect export option `p` for planning info | Albert Krewinkel | 3 | -2/+28 | |
Inclusion of planning info (*DEADLINE*, *SCHEDULED*, and *CLOSED*) can be controlled via the `p` export option: setting the option to `t` will add all planning information in a *Plain* block below the respective headline. | |||||
2018-09-06 | Org reader internals: disable some GHC extensions | Albert Krewinkel | 1 | -26/+32 | |
The RecordWildCards and ViewPatterns language extensions can be used to shorten code, but usually also makes it harder to read. The DocumentTree module was hence refactored and no longer relies on these extensions. | |||||
2018-09-05 | Org reader: strip planning info from output | Albert Krewinkel | 1 | -1/+35 | |
Planning info is parsed, but not included in the output (as is the default with Emacs Org-mode). Fixes: #4867 | |||||
2018-09-04 | hlint some writers | Alexander Krotov | 9 | -25/+21 | |
2018-09-02 | Muse reader: autonumber sections in the correct order | Alexander Krotov | 1 | -4/+16 | |
Parsing now stops at each section header to ensure the header is registered before parsing of the next section starts. | |||||
2018-09-02 | Muse reader: move duplicate code into "headingStart" function | Alexander Krotov | 1 | -9/+10 | |
2018-09-02 | Muse writer: hlint | Alexander Krotov | 1 | -4/+4 | |
2018-09-02 | Muse writer: use lightweight markup when possible | Alexander Krotov | 1 | -19/+123 | |
2018-09-02 | Muse writer: add more comments | Alexander Krotov | 1 | -2/+2 | |
2018-09-02 | Muse writer: escape empty strings | Alexander Krotov | 1 | -1/+2 | |
This guarantees that conditionalEscapeString never returns empty string. | |||||
2018-09-02 | Muse reader: allow newline after opening "*" or "**" | Alexander Krotov | 1 | -1/+9 | |
Emacs Muse allows this. | |||||
2018-09-01 | Muse writer: wrap conditionalEscapeString result into "Muse" type | Alexander Krotov | 1 | -22/+28 | |
This removes the need to pass envInsideLinkDescription to it. | |||||
2018-09-01 | Muse writer: separate "shouldEscapeString" function | Alexander Krotov | 1 | -6/+11 | |
2018-08-31 | Muse writer: simplify inline list rendering | Alexander Krotov | 1 | -15/+12 | |
2018-08-31 | Muse reader: parse <verse> tag in one pass | Alexander Krotov | 1 | -8/+11 | |
instead of using parseFromString. This change makes it possible to have verbatim </verse> tag inside verse. | |||||
2018-08-30 | Muse reader: hlint | Alexander Krotov | 1 | -2/+2 | |
2018-08-29 | LaTeX reader: fixed parsing of \texorpdfstring. | John MacFarlane | 1 | -1/+1 | |
We were returning the wrong argument as the content. | |||||
2018-08-29 | RSTR reader: don't skip link definitions after comments. | John MacFarlane | 1 | -0/+1 | |
Closes #4860. | |||||
2018-08-28 | EPUB writer: set epub:type on body element intelligently. | John MacFarlane | 1 | -6/+22 | |
epub:type of first section epub:type of body -------------------------- ------------------ prologue frontmatter abstract frontmatter acknowledgments frontmatter copyright-page frontmatter dedication frontmatter foreword frontmatter halftitle, frontmatter introduction frontmatter preface frontmatter seriespage frontmatter titlepage frontmatter afterword backmatter appendix backmatter colophon backmatter conclusion backmatter epigraph backmatter Otherwise body will have epub:type 'bodymatter'. This only affects epub3. See http://www.idpf.org/epub/profiles/edu/structure/#h.l0bzsloklt10 Closes #4823. | |||||
2018-08-24 | FB2 writer: put coverpage element between title and date... | John MacFarlane | 1 | -2/+3 | |
...rather than in document-info element. Closes #4854. | |||||
2018-08-24 | HTML reader: allow enabling `raw_tex` extension. | John MacFarlane | 1 | -3/+28 | |
This now allows raw LaTeX environments, `\ref`, and `\eqref` to be parsed (which is helpful for translation HTML documents using MathJaX). Closes #1126. | |||||
2018-08-24 | PDF: fix reference to rsvg-convert (#4855) | Antonio Terceiro | 1 | -1/+1 | |
When rsvg-convert is not available, pandoc would tell the user to check for rsvg2pdf instead | |||||
2018-08-22 | HTML reader: extract spaces inside links instead of trimming them | Alexander Krotov | 1 | -3/+3 | |
Fixes #4845 | |||||
2018-08-21 | LaTeX reader: support blockcquote, foreignblockquote from csquotes. | John MacFarlane | 1 | -5/+19 | |
Also foreigncblockquote, hyphenblockquote, hyphencblockquote. Closes #4848. But note: currently foreignquote will be parsed as a regular Quoted inline (not using the quotes appropriate to the foreign language). | |||||
2018-08-21 | LaTeX reader: support enquote*, foreignquote, hypphenquote... | John MacFarlane | 1 | -6/+24 | |
from csquotes. See #4848. Still TBD: blockquote, blockcquote, foreignblockquote. | |||||
2018-08-19 | Markdown writer: escape `~` if strikeout extension enabled. | John MacFarlane | 1 | -1/+2 | |
See #4840. | |||||
2018-08-18 | Fix compiler warning. | John MacFarlane | 1 | -1/+1 | |
2018-08-17 | LaTeX reader: Support more text-mode accents. | John MacFarlane | 1 | -1/+91 | |
Add support for `\|`, `\b`, `\G`, `\h`, `\d`, `\f`, `\r`, `\t`, `\U`, `\i`, `\j`, `\newtie`, `\textcircled`. Also fall back to combining characters when composed characters are not available. Closes #4652. | |||||
2018-08-17 | LaTeX reader: use combining characters when needed for accents. | John MacFarlane | 1 | -1/+4 | |
For example, there is no unicode code point corresponding to \"{X}, so we use a combining accent. | |||||
2018-08-17 | Docx writer: properly handle display math in spans. | John MacFarlane | 2 | -6/+10 | |
Closes #4826. This isn't a complete solution, since other nestings of display math may still cause problems, but it should work for what is by far the most common case. Note that this also involves an API change: `isDisplayMath` is now exported from Text.Pandoc.Writers.Shared. | |||||
2018-08-17 | Add support for latex mintinline (#4365) | Marc Schreiber | 1 | -0/+11 | |
2018-08-17 | Haddock Writer: Use proper format for latex math in haddock (#4571). | Joe Hermaszewski | 1 | -6/+4 | |
Inline math in `\(..\)`, display math in `\[..\]`, tex is now used. Previously we'd "fake it with unicode" and fall back to tex when that didn't work. But as of https://github.com/haskell/haddock/commit/3f50b955324bd4b42f88a421f0203bc46a3ccf64 haddock supports latex math. | |||||
2018-08-17 | LaTeX reader: fix siunitx unit commands... | John MacFarlane | 1 | -174/+182 | |
...they should only be recognized in siunitx contexts. For example, `\l` outside of an siunitx context should be l-slash, not l (for liter)! Closes #4842. | |||||
2018-08-16 | LaTeX reader: fix double `unnumbered` class. | John MacFarlane | 1 | -21/+20 | |
The `unnumbered` class was being included twice for starred sections. Closes #4838. | |||||
2018-08-16 | TEI improvements. | John MacFarlane | 1 | -14/+1 | |
- Ensure that title element is always present, even if empty. - Put author tags in the template, rather than adding them in the writer. Closes #4839. | |||||
2018-08-16 | LaTeX writer/template: be sensitive to `filecolor` variable. | John MacFarlane | 1 | -1/+2 | |
`linkcolor` only affects internal links, and `urlcolor` only affects linked URLs. For external links, the option to use is `filecolor`. Closes #4822. |