summaryrefslogtreecommitdiff
path: root/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
commit82b3c03a8fab8130084a6fff7eb58d012c4bc007 (patch)
tree8e5c08113cee95270b69aa816b5820bbc6e3939d /test/functional
parent65d0f268148e10225ef5051759f8e0b0ea98938d (diff)
downloaddocutils-82b3c03a8fab8130084a6fff7eb58d012c4bc007.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/docutils@4797 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
Diffstat (limited to 'test/functional')
-rw-r--r--test/functional/expected/standalone_rst_latex.tex6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/functional/expected/standalone_rst_latex.tex b/test/functional/expected/standalone_rst_latex.tex
index db0fa90c6..efcbb0d8a 100644
--- a/test/functional/expected/standalone_rst_latex.tex
+++ b/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}
%___________________________________________________________________________