-# -*- coding: utf-8 -*-
-
# file tex_copy.py
# This file is part of LyX, the document processor.
# Licence details can be found in the file COPYING.
# tex_copy.py <from file> <to file> <latex name>
# This script will copy a file <from file> to <to file>.
-# <to file> is no exact copy of <from file>, but any occurence of <basename>
+# <to file> is no exact copy of <from file>, but any occurrence of <basename>
# where <basename> is <from file> without directory and extension parts is
# replaced by <latex name> without extension.
error("%s is no absolute file name.\n%s"\
% abs_to_file, usage(argv[0]))
to_dir, rel_to_file = os.path.split(abs_to_file)
- to_base, to_ext = os.path.splitext(rel_to_file)
# latex file name
latex_file = argv[3]