summaryrefslogtreecommitdiff
path: root/docutils/test/functional
diff options
context:
space:
mode:
authorgrubert <grubert@929543f6-e4f2-0310-98a6-ba3bd3dd1d04>2006-11-02 12:30:40 +0000
committergrubert <grubert@929543f6-e4f2-0310-98a6-ba3bd3dd1d04>2006-11-02 12:30:40 +0000
commitae73e65d3df75f6be9feaa99f66bfdddbe6e8767 (patch)
treec808eb3c0672533973bdc3a72304d508e3b2af54 /docutils/test/functional
parent696d4f8e102c7da7d35d893e46c12125a9bd9ead (diff)
downloaddocutils-ae73e65d3df75f6be9feaa99f66bfdddbe6e8767.tar.gz
- Image width unit ``px`` is translated to ``pt``:
- Add image height support. - Fix: image width ``70%`` is converted ``0.700\linewidth``. bug #1457388 git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk@4797 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
Diffstat (limited to 'docutils/test/functional')
-rw-r--r--docutils/test/functional/expected/standalone_rst_latex.tex6
1 files changed, 3 insertions, 3 deletions
diff --git a/docutils/test/functional/expected/standalone_rst_latex.tex b/docutils/test/functional/expected/standalone_rst_latex.tex
index db0fa90c6..efcbb0d8a 100644
--- a/docutils/test/functional/expected/standalone_rst_latex.tex
+++ b/docutils/test/functional/expected/standalone_rst_latex.tex
@@ -959,15 +959,15 @@ An image 2 em wide:
An image 2 em wide and 30 pixel high:
-\includegraphics[width=2em]{../../../docs/user/rst/images/biohazard.png}
+\includegraphics[width=2em,height=30pt]{../../../docs/user/rst/images/biohazard.png}
An image occupying 70{\%} of the line width:
-\includegraphics[width=70%]{../../../docs/user/rst/images/biohazard.png}
+\includegraphics[width=0.700\linewidth]{../../../docs/user/rst/images/biohazard.png}
An image 3 cm high:
-\includegraphics{../../../docs/user/rst/images/biohazard.png}
+\includegraphics[height=3cm]{../../../docs/user/rst/images/biohazard.png}
%___________________________________________________________________________