Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2018-04-05 | LaTEX reader: properly resolve section numbers with \ref and chapters. | John MacFarlane | 2 | -1/+43 | |
Closes #4529. | |||||
2018-04-05 | FB2 writer: represent HorizontalRule as empty line | Alexander Krotov | 5 | -62/+82 | |
HorizontalRule corresponds to <hr> element in the default output format, HTML. Current HTML standard defines <hr> element as "paragraph-level thematic break". In typography it is often represented by extra space or centered asterism ("⁂"), but since FB2 does not support text centering, empty line (similar to extra space) is the only solution. Line breaks, on the other hand, don't generate <empty-line /> anymore. Previously line breaks generated <empty-line /> element inside paragraph, which is not allowed. So, this commit addresses issue #2424 ("FB2 produced by pandoc doesn't validate"). FB2 does not have a way to represent line breaks inside paragraphs. They are replaced with LF character, which is not rendered by FB2 readers, but at least preserves some information. | |||||
2018-04-05 | Muse writer: escape horizontal rule only if at the beginning of the line | Alexander Krotov | 2 | -4/+11 | |
2018-04-05 | Muse writer: simplify escaping in inlineToMuse Image{} | Alexander Krotov | 1 | -2/+1 | |
2018-04-05 | CommonMark writer: correctly ignore LaTeX raw blocks when not raw_tex (#4533) | quasicomputational | 2 | -1/+22 | |
Issue #4527. | |||||
2018-04-04 | FB2 writer: allow emphasis and notes in titles | Alexander Krotov | 4 | -95/+107 | |
Only <p> and <empty-line /> are allowed in titles, but <p> has the same type as an ordinary paragraphs. Therefore, there is no need to remove emphasis from titles. Also, don't intersperse paragraph with empty lines. | |||||
2018-04-03 | Muse reader: code cleanup | Alexander Krotov | 1 | -34/+17 | |
2018-04-03 | Muse reader: rewrite museOrderedListMarker without "do" | Alexander Krotov | 1 | -10/+9 | |
2018-04-03 | Muse reader: refactor parseAnchor | Alexander Krotov | 1 | -3/+1 | |
2018-04-03 | Muse reader: rewrite parseDirectiveKey without do | Alexander Krotov | 1 | -3/+1 | |
2018-04-03 | Muse writer: rewrite noteToMuse without do | Alexander Krotov | 1 | -4/+4 | |
2018-04-02 | Fix typo. | John MacFarlane | 1 | -3/+3 | |
2018-04-02 | LaTeX reader: parse sloppypar environment (#4517) | Marc Schreiber | 2 | -0/+24 | |
2018-04-02 | Muse reader: add <math> tag support | Alexander Krotov | 2 | -0/+7 | |
2018-04-02 | hlint Muse writer | Alexander Krotov | 1 | -6/+6 | |
2018-04-02 | Muse writer: place header IDs before header | Alexander Krotov | 4 | -7/+7 | |
See https://github.com/melmothx/text-amuse/issues/39 | |||||
2018-04-01 | Muse writer: only escape brackets when necessary | Alexander Krotov | 3 | -17/+43 | |
It includes cases when they can be mistaken for footnotes and links, as well as inside link description. | |||||
2018-03-31 | Muse writer: do not escape list markers unless preceded by space | Alexander Krotov | 3 | -22/+37 | |
2018-03-30 | Textile reader: fixed tables with no body rows. | John MacFarlane | 2 | -1/+10 | |
Previously these raised an exception. Closes #4513. | |||||
2018-03-30 | Powerpoint writer: code cleanup | Jesse Rosenthal | 1 | -4/+1 | |
Since we're using mapM_ instead of mapM, we can get rid of the return statement. We also don't need the `unless` statement anymore. | |||||
2018-03-30 | Set default extensions for "beamer" same as "latex". | John MacFarlane | 1 | -0/+4 | |
2018-03-30 | EPUB writer: add epub:type="footnotes" to notes section in EPUB3. | John MacFarlane | 1 | -0/+5 | |
Closes #4489. | |||||
2018-03-30 | Add -V beameroption variable (#4359) | Étienne BERSAC | 2 | -0/+7 | |
* LaTeX template: Use `pgfpages` package; this is needed for notes on second screen in beamer * LaTeX template: Add `beameroption` variable in template | |||||
2018-03-29 | Removed unused extensions (#4506) | Anabra | 10 | -28/+16 | |
2018-03-28 | Mediawiki reader: improve table parsing. | John MacFarlane | 2 | -14/+29 | |
This fixes detection of table attributes and also handles `!` characters in cells. Closes #4508. | |||||
2018-03-28 | Muse writer: implement Default for WriterState | Alexander Krotov | 1 | -8/+11 | |
2018-03-28 | Muse writer: move options, stTopLevel and stInsideBlock to WriterEnv | Alexander Krotov | 1 | -30/+33 | |
2018-03-28 | Muse writer: define Muse type | Alexander Krotov | 1 | -16/+18 | |
2018-03-28 | Muse writer: escape semicolons and markers after line break | Alexander Krotov | 3 | -2/+3 | |
2018-03-27 | MANUAL: clarify template vs metadata variables (#4501) | Mauro Bieg | 1 | -10/+11 | |
2018-03-26 | Cleanup Muse reader and writer | Alexander Krotov | 2 | -42/+24 | |
2018-03-25 | Muse writer: remove unused binding | Alexander Krotov | 1 | -6/+6 | |
2018-03-25 | Muse reader: enable round-trip test | Alexander Krotov | 1 | -3/+2 | |
Close #4468 | |||||
2018-03-25 | Muse reader: allow links to have empty descriptions | Alexander Krotov | 2 | -1/+4 | |
2018-03-25 | Muse writer: escape ordered list markers | Alexander Krotov | 3 | -20/+59 | |
Also reduced amount of <verbatim> tags in output to avoid escaping every "-" and word that ends in a full stop. | |||||
2018-03-25 | Muse writer: enable --wrap=preserve for all tests by default | Alexander Krotov | 1 | -5/+5 | |
2018-03-25 | Muse reader: require block <literal> tags to be on separate lines | Alexander Krotov | 2 | -2/+11 | |
2018-03-25 | Powerpoint writer: code cleanup. | Jesse Rosenthal | 1 | -39/+17 | |
2018-03-25 | Muse writer: improve span writing | Alexander Krotov | 2 | -5/+13 | |
Test more cases when span has or hasn't anchor, class and contents in different combinations. | |||||
2018-03-25 | Muse writer: do not join Span's doing normalization | Alexander Krotov | 2 | -2/+4 | |
Separate spans may have different semantics, for example if spans indicate syllables in a word. | |||||
2018-03-24 | Powerpoint writer: simplify code with `ParseXml` | Jesse Rosenthal | 1 | -23/+2 | |
There were some artifact code blocks around from before `reference-doc` functionality was implemented. This led to ignoring the reference-doc in places. Though I fixed this, I kept the old hacked-up functions instead of replacing them with `parseXml` (imported from Writers.OOXML) which does this in a consistent manner. This commit corrects that oversight. | |||||
2018-03-24 | Don't depend on latest haddock-library in stack.yaml. | John MacFarlane | 1 | -1/+1 | |
For now. Because of a bug in the library, it must be rebuilt every time we do 'stack install. See #4482. | |||||
2018-03-24 | Update powerpoint golden tests: | Jesse Rosenthal | 8 | -0/+0 | |
Some internal changes in templating produced slightly different xml. All have been checked, are not corrupt, and have output as expected. | |||||
2018-03-24 | Powerpoint writer: Allow fallback options when looking for placeholder type. | Jesse Rosenthal | 1 | -9/+17 | |
2018-03-24 | Revert "Powerpoint writer: Remove spPr tag from non-body layouts" | Jesse Rosenthal | 1 | -5/+1 | |
This reverts commit 99fa850a37cc3e56b415754c70ea2d98da709584. | |||||
2018-03-24 | Powerpoint reader: Check reference-doc for all layouts. | Jesse Rosenthal | 1 | -2/+6 | |
There were a few layouts where we were still just checking the built in pptx doc, instead of the supplied reference doc. | |||||
2018-03-23 | Powerpoint writer: Remove spPr tag from non-body layouts | Jesse Rosenthal | 1 | -1/+5 | |
This was causing headers to be misaligned when some templates were used. | |||||
2018-03-23 | PDF: with xelatex, don't compress images til the last run. | John MacFarlane | 1 | -1/+6 | |
This saves time for image-heavy documents. Closes #4484. | |||||
2018-03-23 | EPUB writer: ensure that pagetitle is always set... | John MacFarlane | 1 | -6/+12 | |
even when structured titles are used. This prevents spurious warnings about empty title elements. Closes #4486. | |||||
2018-03-23 | Powepoint writer: Simplify speaker notes | Jesse Rosenthal | 1 | -27/+31 | |
We now pull the filtered blocks and speaker notes out at the top of the `blocksToSlide` function, and then make SpeakerNotes into a parameter of the `blocksToSlide'` subfunction. The output is the same, but the logic should be easier to follow now. |