diff options
author | John MacFarlane <jgm@berkeley.edu> | 2015-11-19 22:41:12 -0800 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2015-11-19 23:14:23 -0800 |
commit | 244cd5644b44f43722530379138bd7bb9cbace9b (patch) | |
tree | 771cf6688ca92dc054616318372e6759fb594587 /tests/writer.icml | |
parent | 1ad296dc69d0e901ce26d446b57758feea5a52c6 (diff) | |
parent | 08243d53a68239fe60fdcb59ee71f6562b16f5c7 (diff) |
Merge branch 'new-image-attributes' of https://github.com/mb21/pandoc into mb21-new-image-attributes
* Bumped version to 1.16.
* Added Attr field to Link and Image.
* Added `common_link_attributes` extension.
* Updated readers for link attributes.
* Updated writers for link attributes.
* Updated tests
* Updated stack.yaml to build against unreleased versions of
pandoc-types and texmath.
* Fixed various compiler warnings.
Closes #261.
TODO:
* Relative (percentage) image widths in docx writer.
* ODT/OpenDocument writer (untested, same issue about percentage widths).
* Update pandoc-citeproc.
Diffstat (limited to 'tests/writer.icml')
-rw-r--r-- | tests/writer.icml | 30 |
1 files changed, 14 insertions, 16 deletions
diff --git a/tests/writer.icml b/tests/writer.icml index cd71fa86b..b7444ef22 100644 --- a/tests/writer.icml +++ b/tests/writer.icml @@ -2544,27 +2544,26 @@ These should not be escaped: \$ \\ \> \[ \{</Content> </ParagraphStyleRange> <ParagraphStyleRange AppliedParagraphStyle="ParagraphStyle/Paragraph"> <CharacterStyleRange AppliedCharacterStyle="$ID/NormalCharacterStyle"> - <Rectangle Self="uec" ItemTransform="1 0 0 1 75 -50"> + <Rectangle Self="uec" StrokeWeight="0" ItemTransform="1.00000 0 0 1.00000 75.00000 -75.00000"> <Properties> <PathGeometry> <GeometryPathType PathOpen="false"> <PathPointArray> - <PathPointType Anchor="-75 -50" LeftDirection="-75 -50" RightDirection="-75 -50" /> - <PathPointType Anchor="-75 50" LeftDirection="-75 50" RightDirection="-75 50" /> - <PathPointType Anchor="75 50" LeftDirection="75 50" RightDirection="75 50" /> - <PathPointType Anchor="75 -50" LeftDirection="75 -50" RightDirection="75 -50" /> + <PathPointType Anchor="-75.00000 -75.00000" LeftDirection="-75.00000 -75.00000" RightDirection="-75.00000 -75.00000" /> + <PathPointType Anchor="-75.00000 75.00000" LeftDirection="-75.00000 75.00000" RightDirection="-75.00000 75.00000" /> + <PathPointType Anchor="75.00000 75.00000" LeftDirection="75.00000 75.00000" RightDirection="75.00000 75.00000" /> + <PathPointType Anchor="75.00000 -75.00000" LeftDirection="75.00000 -75.00000" RightDirection="75.00000 -75.00000" /> </PathPointArray> </GeometryPathType> </PathGeometry> </Properties> - <Image Self="ue6" ItemTransform="1.0 0 0 1.0 -75 -50"> + <Image Self="ue6" ItemTransform="1.00000 0 0 1.00000 -75.00000 -75.00000"> <Properties> <Profile type="string"> $ID/Embedded - <GraphicBounds Left="0" Top="0" Right="150" Bottom="100" /> </Profile> </Properties> - <Link Self="ueb" LinkResourceURI="file:lalune.jpg" /> + <Link Self="ueb" LinkResourceURI="file://./lalune.jpg" /> </Image> </Rectangle> </CharacterStyleRange><Br /> @@ -2574,27 +2573,26 @@ These should not be escaped: \$ \\ \> \[ \{</Content> <Content>Here is a movie </Content> </CharacterStyleRange> <CharacterStyleRange AppliedCharacterStyle="$ID/NormalCharacterStyle"> - <Rectangle Self="uec" ItemTransform="1 0 0 1 75 -50"> + <Rectangle Self="uec" StrokeWeight="0" ItemTransform="1.00000 0 0 1.00000 10.00000 -11.00000"> <Properties> <PathGeometry> <GeometryPathType PathOpen="false"> <PathPointArray> - <PathPointType Anchor="-75 -50" LeftDirection="-75 -50" RightDirection="-75 -50" /> - <PathPointType Anchor="-75 50" LeftDirection="-75 50" RightDirection="-75 50" /> - <PathPointType Anchor="75 50" LeftDirection="75 50" RightDirection="75 50" /> - <PathPointType Anchor="75 -50" LeftDirection="75 -50" RightDirection="75 -50" /> + <PathPointType Anchor="-10.00000 -11.00000" LeftDirection="-10.00000 -11.00000" RightDirection="-10.00000 -11.00000" /> + <PathPointType Anchor="-10.00000 11.00000" LeftDirection="-10.00000 11.00000" RightDirection="-10.00000 11.00000" /> + <PathPointType Anchor="10.00000 11.00000" LeftDirection="10.00000 11.00000" RightDirection="10.00000 11.00000" /> + <PathPointType Anchor="10.00000 -11.00000" LeftDirection="10.00000 -11.00000" RightDirection="10.00000 -11.00000" /> </PathPointArray> </GeometryPathType> </PathGeometry> </Properties> - <Image Self="ue6" ItemTransform="1.0 0 0 1.0 -75 -50"> + <Image Self="ue6" ItemTransform="1.00000 0 0 1.00000 -10.00000 -11.00000"> <Properties> <Profile type="string"> $ID/Embedded - <GraphicBounds Left="0" Top="0" Right="150" Bottom="100" /> </Profile> </Properties> - <Link Self="ueb" LinkResourceURI="file:movie.jpg" /> + <Link Self="ueb" LinkResourceURI="file://./movie.jpg" /> </Image> </Rectangle> </CharacterStyleRange> |