aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2019-04-01PowerPoint writer: Make default placeholder type for template lookupJesse Rosenthal1-18/+42
This is the first step toward making templating work better. It seems that content shapes have a default ph type. In other words, shapes with *NO PH TYPE* should be considered to have an "obj" ph type, and used as content shapes. see https://github.com/scanny/python-pptx/blob/master/docs/dev/analysis/placeholders/slide-placeholders/placeholders-in-new-slide.rst
2019-04-01Dokuwiki Reader fix: parse single curly brace (#5417)Mauro Bieg2-1/+12
fixes #5416
2019-03-31PowerPoint writer: add test for speaker notes after metadata.Jesse Rosenthal4-0/+9
2019-03-31Pptx writer: Apply speaker snotes to metadata slide if applicable.Jesse Rosenthal1-15/+35
If the slide deck has a metadata slide (with author, title, etc) and has speaker notes before any body content, the speaker notes will be applied to the metadata slide. If there is no metadata slide, pandoc will behave as before.
2019-03-31Docs: Specify that templates from PPT 2013 are known to work.Jesse Rosenthal1-3/+3
There have been problems reported with other recent versions. Starts to address #5402
2019-03-30Pptx writer: test for speaker notes after breaking header.Jesse Rosenthal4-0/+7
2019-03-30Pptx writer: Correctly handle notes after section-title headerJesse Rosenthal1-3/+4
Previously, if notes came after a section-title header (ie, a level-1 header in a slide-level=2 presentation), they would go on the next slide. This keeps them on the slide with the header.
2019-03-30ipynb reader/writer: use format 'ipynb' for raw cell where no format given.John MacFarlane2-5/+9
According to nbformat docs, this is supposed to render in every format. We don't do that, but we at least preserve it as a raw block in markdown, so you can round-trip.
2019-03-29MANUAL: add paragraph on options affecting markdown in ipynb.John MacFarlane1-0/+6
2019-03-29ipynb writer - consolidate adjacent raw blocks.John MacFarlane1-2/+10
Sometimes pandoc creates two HTML blocks, e.g. one for the open tag and one for a close tag. If these aren't consolidated, only one will show up in output cell.
2019-03-29LaTeX writer: Avoid inadvertently creating ?` or !` ligatures.John MacFarlane2-0/+22
These are upside down ? and !, resp. Closes #5407.
2019-03-28Update data/jats.csl to avoid commas between name-part elements.John MacFarlane1-2/+2
Closes #5397.
2019-03-28HTML writer: Don't add data- prefix to RDFa attributes.John MacFarlane1-2/+19
Closes #5403.
2019-03-28Markdown reader: fenced div takes priority over setext header.John MacFarlane2-2/+11
For ::: {.cell} --- :::
2019-03-28Ipynb reader: use `html` for a raw cell with no format.John MacFarlane1-1/+1
The nbformat spec says that when no format is specified, the raw cell will be rendered in every markup format. Pandoc doesn't have a construct that works this way, so we just fall back to `html`.
2019-03-28Ipynb writer: fixed carry-over of nbformat from metadata.John MacFarlane1-1/+1
Previously we wrongly assumed it would be in a MetaString. It's an a MetaInlines.
2019-03-28stack.yml - remove -Wmissing-home-modulesJohn MacFarlane1-1/+1
This seems to cause problems with stack ghci.
2019-03-28Shared - improve metaToJSON with numbers.John MacFarlane1-5/+8
We now do a better job marshalling numbers from MetaString OR MetaInlines into JSON Number.
2019-03-28Markdown writer: better rendering of numbers.John MacFarlane1-1/+4
If the number is integral, we render it as an integral not a float. Closes #5398.
2019-03-28Markdown writer: proper rendering of empty map in YAML metadata.John MacFarlane1-1/+3
Should be `{}` not empty string. Partially addresses #5398.
2019-03-28Use strict instead of lazy sum.John MacFarlane2-5/+5
sum is lazy; replace with `foldl' (+) 0` to avoid stack overflow in Text.Pandoc.Pretty with very long strings. Closes #5401.
2019-03-28Revert "appveyor - just build dependencies."John MacFarlane1-18/+18
This reverts commit f520c4dfbb1c63123a9a088d560d16dee8e0d686.
2019-03-28stack.yaml: remove RTS optionsJohn MacFarlane1-1/+1
2019-03-28appveyor - just build dependencies.John MacFarlane1-18/+18
This should build up our cache so we can build the whole thing.
2019-03-27appveyor - save cache on error.John MacFarlane1-0/+1
Hopefully this will allow new ghc builds to complete within 60 minutes, after a try or two.
2019-03-27ipynb writer: preserve nbformat_minor if it's given.John MacFarlane1-2/+10
This helps with round-tripping.
2019-03-27Writers.Shared.metaValueToJSON: use Number Values for integers.John MacFarlane1-4/+9
Pandoc's MetaValue doesn't have a distinguished number type, so numbers are put in MetaStrings. If the MetaString consists entirely of digits, we convert it to a Number. We should probably consider adding a MetaNumber constructor to MetaValue, for better round-tripping with JSON etc. This change aids round-tripping in ipynb metadata fields, like `toc_depth`.
2019-03-27ipynb reader: avoid introducing spurious `.0` on integers in metadata.John MacFarlane2-1/+5
2019-03-27circleci - drop test on ghc 7.10, add ghc 8.6.4.John MacFarlane1-10/+3
2019-03-27Drop support for ghc < 8.John MacFarlane5-18/+2
2019-03-27CONTRIBUTING: replace reference to travis with circleci.John MacFarlane1-2/+1
2019-03-27circleci: back to -j2.John MacFarlane1-3/+3
2019-03-27circleci: recognize both Warning: and warning:.John MacFarlane1-1/+1
2019-03-27circelci: try using -j1.John MacFarlane1-3/+3
2019-03-27Remove install step from make quick-cabal.John MacFarlane1-2/+0
2019-03-27Add ghc-options to cabal.project.John MacFarlane2-2/+4
2019-03-27Quote RTS options in stack.yaml.John MacFarlane1-1/+1
2019-03-27circleci config - remove GHC_OPTS.John MacFarlane1-5/+4
Build into stack.yaml and cabal.project.local instead.
2019-03-27Add nice default ghc options to stack.yaml.John MacFarlane1-1/+1
2019-03-27Another try at circleci config.John MacFarlane1-4/+4
2019-03-27circleci config - don't use 'all' for cabal test.John MacFarlane1-2/+2
2019-03-27circleci - ensure that config doesn't change between build and test.John MacFarlane1-3/+3
Print test output directly.
2019-03-26circleci tweak - move up cabal v2-test.John MacFarlane1-1/+1
2019-03-26circleci - explicitly specify ghc version for cabal builds.John MacFarlane1-4/+4
2019-03-26JATS writer: Ensure that plain strings go inside `<pub-id>` tag.John MacFarlane1-1/+9
See #5397.
2019-03-26circleci - set path to use installed ghc.John MacFarlane1-6/+1
2019-03-26Fixed typo in circleci config.John MacFarlane1-1/+1
2019-03-26more circleci diagnosticsJohn MacFarlane1-1/+4
2019-03-26circleci tweaks - mostly diagnostic.John MacFarlane1-20/+25
2019-03-26circleci: explicitly specify ghc version to use.John MacFarlane1-5/+7