]> git.lyx.org Git - features.git/commitdiff
lyx2lyx/lyx_2_0.py: correct LateX units - there are no units named \pagexxxx
authorUwe Stöhr <uwestoehr@web.de>
Sat, 3 Jul 2010 13:05:24 +0000 (13:05 +0000)
committerUwe Stöhr <uwestoehr@web.de>
Sat, 3 Jul 2010 13:05:24 +0000 (13:05 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34747 a592a061-630c-0410-9148-cb99ea01b6c8

lib/lyx2lyx/lyx_2_0.py

index 5b962e5128c5c939192f597682bfca4e39bfd653..0deb737c2fb97802d1e0890eec12bc4b1afa07d5 100644 (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: