pandoc/test/Tests
Emily Bourke 72823ad947 pptx: Select layouts from reference doc by name
Until now, users had to make sure that their reference doc contains
layouts in a specific order: the first four layouts in the file had to
have a specific structure, or else pandoc would error (or sometimes
successfully produce a pptx file, which PowerPoint would then fail to
open).

This commit changes the layout selection to use the layout names rather
than order: users must make sure their reference doc contains four
layouts with specific names, and if a layout with the right name isn’t
found pandoc will output a warning and use the corresponding layout from
the default reference doc as a fallback.

I believe the use of names rather than order will be clearer to users,
and the clearer errors will help them troubleshoot when things go wrong.

- Add tests for moved layouts
- Add tests for deleted layouts
- Add newly included layouts to slideMaster1.xml to fix tests
2021-08-17 09:35:25 -07:00
..
Lua Lua: add module "pandoc.path" 2021-02-02 21:04:30 -08:00
Readers Multimarkdown sub- and superscripts (#5512) (#7188) 2021-08-15 21:57:57 -07:00
Writers pptx: Select layouts from reference doc by name 2021-08-17 09:35:25 -07:00
Command.hs Add RTF reader. 2021-08-10 10:48:55 -07:00
Helpers.hs Tests.Helpers: export testGolden and use it in RTF reader. 2021-08-10 22:07:48 -07:00
Lua.hs Avoid unnecessary use of NoImplicitPrelude pragma (#7089) 2021-02-07 10:02:35 -08:00
Old.hs Add RTF reader. 2021-08-10 10:48:55 -07:00
Shared.hs Avoid unnecessary use of NoImplicitPrelude pragma (#7089) 2021-02-07 10:02:35 -08:00