Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2019-09-21 | Merge branch 'lierdakil-docx-reader-styles' | John MacFarlane | 17 | -312/+407 | |
2019-09-21 | Update documentation wrt docx reader custom style names | Nikolay Yakimov | 1 | -3/+3 | |
2019-09-21 | [Docx Reader] Update tests | Nikolay Yakimov | 6 | -7/+7 | |
Notice this commit updates lists.docx. The old test file contained references to "ListParagraph" style, which should never leak outside of pandoc, so I'm not sure what that was supposed to test for exactly. | |||||
2019-09-21 | [Docx Writer] Consistently use style names, not style ids | Nikolay Yakimov | 1 | -27/+25 | |
Styles that this change affects: paragraph styles: Author, Abstract, Compact, Figure, Captioned Figure, Image Caption, First Paragraph, Source Code, Table Caption, Definition, Definition Term; character styles: Verbatim Char, token styles (those with names ending in Tok) | |||||
2019-09-21 | [Docx Writer] Code clean-up | Nikolay Yakimov | 1 | -40/+37 | |
Reduce code duplication, remove redundant brackets | |||||
2019-09-21 | [Docx Reader] Use style names, not ids, for assigning semantic meaning | Nikolay Yakimov | 8 | -183/+306 | |
Motivating issues: #5523, #5052, #5074 Style name comparisons are case-insensitive, since those are case-insensitive in Word. w:styleId will be used as style name if w:name is missing (this should only happen for malformed docx and is kept as a fallback to avoid failing altogether on malformed documents) Block quote detection code moved from Docx.Parser to Readers.Docx Code styles, i.e. "Source Code" and "Verbatim Char" now honor style inheritance Docx Reader now honours "Compact" style (used in Pandoc-generated docx). The side-effect is that "Compact" style no longer shows up in docx+styles output. Styles inherited from "Compact" will still show up. Removed obsolete list-item style from divsToKeep. That didn't really do anything for a while now. Add newtypes to differentiate between style names, ids, and different style types (that is, paragraph and character styles) Since docx style names can have spaces in them, and pandoc-markdown classes can't, anywhere when style name is used as a class name, spaces are replaced with ASCII dashes `-`. Get rid of extraneous intermediate types, carrying styleId information. Instead, styleId is saved with other style data. Use RunStyle for inline style definitions only (lacking styleId and styleName); for Character Styles use CharStyle type (which is basicaly RunStyle with styleId and StyleName bolted onto it). | |||||
2019-09-21 | [Docx Reader] Code clean-up | Nikolay Yakimov | 2 | -63/+39 | |
Reduce code duplication, remove redundant brackets, use newtype instead of data where appropriate | |||||
2019-09-21 | Add cabal.project.local to .gitignore | Nikolay Yakimov | 1 | -0/+1 | |
2019-09-21 | Nightlies - another attempt to fix windows build. | John MacFarlane | 1 | -3/+2 | |
2019-09-20 | Nightlies - 6 hour schedule for now. | John MacFarlane | 1 | -1/+1 | |
2019-09-20 | Changes to Slides to be more flexible with Div structure. | John MacFarlane | 1 | -0/+3 | |
Previously if you had ``` ::: #foo c ::: ``` slide level would be 1, not 2. | |||||
2019-09-20 | Preserve built-in styles in DOCX with custom style (#5670) | Ben Steinberg | 6 | -24/+78 | |
This commit prevents custom styles on divs and spans from overriding styles on certain elements inside them, like headings, blockquotes, and links. On those elements, the "native" style is required for the element to display correctly. This change also allows nesting of custom styles; in order to do so, it removes the default "Compact" style applied to Plain blocks, except when inside a table. | |||||
2019-09-20 | Nightly - more windows tweaks. | John MacFarlane | 1 | -2/+3 | |
2019-09-20 | Nightlies - more windows diagnostics. | John MacFarlane | 1 | -2/+2 | |
2019-09-20 | Bug fixes to EPUB chapter splitting. | John MacFarlane | 1 | -15/+16 | |
2019-09-20 | Nightlies - run every hour for debug. | John MacFarlane | 1 | -1/+1 | |
2019-09-20 | nightlies - more windows diagnostics. | John MacFarlane | 1 | -1/+1 | |
2019-09-20 | Nightly - use directory instead of suffix with date. | John MacFarlane | 1 | -13/+7 | |
2019-09-20 | Nightly - fix windows renaming with suffix. | John MacFarlane | 1 | -4/+4 | |
2019-09-19 | MediaWiki: skip optional {{table}} template. | John MacFarlane | 1 | -0/+1 | |
See https://en.wikipedia.org/wiki/Template:Table Closes #5757. | |||||
2019-09-19 | Nightly - windows diagnostics. | John MacFarlane | 1 | -1/+3 | |
2019-09-19 | Windows nightly - avoid double quotes in README.nightly. | John MacFarlane | 1 | -1/+1 | |
2019-09-19 | Clarify warning for missing title. | John MacFarlane | 1 | -3/+3 | |
Closes #5760. | |||||
2019-09-19 | Restore nightly to once per day. | John MacFarlane | 1 | -1/+1 | |
2019-09-19 | Nightly - more windows tweaks. | John MacFarlane | 1 | -4/+5 | |
2019-09-19 | EPUB writer: make --epub-chapter-level work again. | John MacFarlane | 1 | -19/+15 | |
It was temporarily broken by the latest change to chapter splitting code. | |||||
2019-09-19 | EPUB writer: improve splitting into chapters. | John MacFarlane | 2 | -39/+29 | |
+ Use makeSection from T.P.Shared. This deals better with embedded divs. (Closes #5761.) + Remove chapter-title class from chapter h1, for now. (Reverts one change made earlier; we may revisit this in light of #5749.) + Avoid issuing warning multiple times when title not set (see #5760). | |||||
2019-09-19 | Remove admonition-title remnants. | John MacFarlane | 2 | -2/+2 | |
Completes 8e01ccb41dde8a5e6123f5b0746c36f240576047 | |||||
2019-09-19 | Nightly - some windows fixes. | John MacFarlane | 1 | -4/+4 | |
2019-09-19 | Nightly - strip linux executables. | John MacFarlane | 1 | -0/+2 | |
2019-09-19 | Nightly: Fix macos file finding. | John MacFarlane | 1 | -1/+1 | |
2019-09-19 | Nightly - fix date setting on windows. | John MacFarlane | 1 | -3/+3 | |
2019-09-19 | CI workflow - trigger on any push, for now. | John MacFarlane | 1 | -23/+23 | |
2019-09-19 | Nightly improvements. | John MacFarlane | 1 | -2/+2 | |
2019-09-18 | LaTeX writer: use `\hspace{0pt}` for 0-width space U+200B. | John MacFarlane | 1 | -0/+1 | |
Closes #5756. | |||||
2019-09-18 | Nightly fixes. for now, run every 6 hours for debugging. | John MacFarlane | 1 | -3/+5 | |
2019-09-18 | Stop nightly from running every hour. | John MacFarlane | 1 | -1/+1 | |
2019-09-18 | Improvements to nightly.yml. | John MacFarlane | 1 | -11/+20 | |
2019-09-17 | Change nightly timing so it's at night. | John MacFarlane | 1 | -1/+1 | |
2019-09-17 | GitHub nightly - fix linux target. | John MacFarlane | 1 | -2/+2 | |
2019-09-17 | Fixes to nightly workflow. | John MacFarlane | 1 | -20/+10 | |
2019-09-17 | Add nightly, move haskell.yml -> ci.yml. | John MacFarlane | 2 | -7/+108 | |
2019-09-17 | GitHub CI: remove fail-fast and ghc 8.8.1 build. | John MacFarlane | 1 | -3/+3 | |
2019-09-17 | Set fail-fast to false. | John MacFarlane | 1 | -0/+1 | |
So we can see the 8.8.1 failure while checking the others. | |||||
2019-09-17 | GitHub CI - experiment with structured matrix entries. | John MacFarlane | 1 | -18/+12 | |
2019-09-17 | GitHub CI - Ensure that version numbers are parsed as strings. | John MacFarlane | 1 | -15/+15 | |
2019-09-17 | GitHub CI - use cabal 3 with ghc 8.8. | John MacFarlane | 1 | -1/+12 | |
2019-09-16 | GitHub CI - use matrix for linux/cabal build. | John MacFarlane | 1 | -10/+14 | |
2019-09-16 | GitHub CI - take 2 on macos build. | John MacFarlane | 1 | -6/+4 | |
2019-09-16 | GitHub CI - add macos. | John MacFarlane | 1 | -0/+20 | |