aboutsummaryrefslogtreecommitdiff
path: root/src/Text/Pandoc/CSV.hs
diff options
context:
space:
mode:
authorEmily Bourke <undergroundquizscene@protonmail.com>2021-09-02 16:57:02 +0100
committerJohn MacFarlane <jgm@berkeley.edu>2021-09-10 17:06:45 -0700
commitec7cea294dce270f358594c33018c2d8bdadf8a8 (patch)
tree6043c09f9c11fcda6a36c6935e3aa24dc06e81cf /src/Text/Pandoc/CSV.hs
parent2b98991551a95f9f91fd6b643f52bf6065f5057a (diff)
downloadpandoc-ec7cea294dce270f358594c33018c2d8bdadf8a8.tar.gz
pptx: Fix presentation rel numbering
Before now, the numbering of rIds was inconsistent when making the presentation XML and when making the presentation relationships XML. For the relationships, the slides were inserted into the rId order after the first master, and everything else was moved up out of the way. However, this change was then missed in the presentation XML, I think because `envSlideOffset` was never set. The result was that any slide masters after the first would have the wrong rIds in the presentation XML, clashing with the slides, which would lead PowerPoint to view produced files as corrupt. As well, other relationships (like embedded fonts) would have their rId changed in the relationships XML but not in the presentation XML. This commit: - Removes `envSlideOffset` in favour of directly passed function arguments - Inserts the slides into the rId order after all masters rather than after the first - Updates any other rIds in presentation.xml that need to be changed
Diffstat (limited to 'src/Text/Pandoc/CSV.hs')
0 files changed, 0 insertions, 0 deletions