mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-09 18:31:04 +00:00
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:
parent
390b155c49
commit
b77c2213cb
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user