Stylictic-only changes to lyxpreview.

Whitespace and line endings only, in preparation for some serious work.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39655 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Julien Rioux 2011-09-11 18:22:12 +00:00
parent 796bcb8c25
commit 2dfa11904f
3 changed files with 42 additions and 43 deletions

View File

@ -391,7 +391,7 @@ def main(argv):
filter_pages(latex_file, legacy_latex_file, ps_pages) filter_pages(latex_file, legacy_latex_file, ps_pages)
# Pass the new LaTeX file to the legacy method # Pass the new LaTeX file to the legacy method
vec = [ argv[0], latex_file_re.sub("_legacy.tex", argv[2]), \ vec = [ argv[0], latex_file_re.sub("_legacy.tex", argv[2]),
argv[3], argv[1], argv[4], argv[5], latex ] argv[3], argv[1], argv[4], argv[5], latex ]
legacy_metrics = legacy_conversion(vec, True)[1] legacy_metrics = legacy_conversion(vec, True)[1]

View File

@ -264,7 +264,6 @@ def join_metrics_and_rename(original_metrics, new_metrics, new_page_indexes, ori
while legacy_index < len(original_metrics) and original_metrics[legacy_index][0] < index: while legacy_index < len(original_metrics) and original_metrics[legacy_index][0] < index:
legacy_index += 1 legacy_index += 1
# Add or update the metric for this page # Add or update the metric for this page
if legacy_index < len(original_metrics) and original_metrics[legacy_index][0] == index: if legacy_index < len(original_metrics) and original_metrics[legacy_index][0] == index:
original_metrics[legacy_index] = (index, metric) original_metrics[legacy_index] = (index, metric)