lyx2lyx/lyx_2_0.py: correct LateX units - there are no units named \pagexxxx

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34747 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Uwe Stöhr 2010-07-03 13:05:24 +00:00
parent 390b155c49
commit b77c2213cb

View File

@ -231,8 +231,8 @@ def latex_length(string):
# Convert relative lengths to LaTeX units
units = {"text%":"\\textwidth", "col%":"\\columnwidth",
"page%":"\\pagewidth", "line%":"\\linewidth",
"theight%":"\\textheight", "pheight%":"\\pageheight"}
"page%":"\\paperwidth", "line%":"\\linewidth",
"theight%":"\\textheight", "pheight%":"\\paperheight"}
for unit in units.keys():
i = string.find(unit)
if i != -1: