mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-12 16:50:39 +00:00
small cleanup after the no-sh patch
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@14580 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
ccc943ac88
commit
86a656c8e3
@ -1,4 +1,4 @@
|
||||
#!/usr/bin/env python -tt
|
||||
#!/usr/bin/env python
|
||||
# -*- coding: iso-8859-1 -*-
|
||||
|
||||
# file TeXFiles.py
|
||||
|
@ -4,7 +4,7 @@
|
||||
file clean_dvi.py
|
||||
This file is part of LyX, the document processor.
|
||||
Licence details can be found in the file COPYING
|
||||
or at http://www.lyx.org/about/licence.php3
|
||||
or at http://www.lyx.org/about/licence.php
|
||||
|
||||
author Angus Leeming
|
||||
Full author contact details are available in the file CREDITS
|
||||
|
@ -21,7 +21,7 @@
|
||||
import os, sys
|
||||
|
||||
if len(sys.argv) != 3:
|
||||
print >> sys.stderr, "Usage: fig_copy.sh <from file> <to file>"
|
||||
print >> sys.stderr, "Usage: fig_copy.py <from file> <to file>"
|
||||
sys.exit(1)
|
||||
|
||||
if not os.path.isfile(sys.argv[1]):
|
||||
|
@ -306,7 +306,7 @@ bool Converters::convert(Buffer const * buffer,
|
||||
QuoteName(to_ext + ':' + to_file);
|
||||
lyxerr[Debug::FILES]
|
||||
<< "No converter defined! "
|
||||
"I use convertDefault.sh:\n\t"
|
||||
"I use convertDefault.py:\n\t"
|
||||
<< command << endl;
|
||||
Systemcall one;
|
||||
one.startscript(Systemcall::Wait, command);
|
||||
|
@ -57,7 +57,7 @@ void FormTexinfo::build() {
|
||||
str = _("Show full path or only file name.");
|
||||
tooltips().init(dialog_->check_fullpath, str);
|
||||
|
||||
str = _("Runs the script \"TexFiles.sh\" to rebuild the file lists.");
|
||||
str = _("Runs the script \"TexFiles.py\" to rebuild the file lists.");
|
||||
tooltips().init(dialog_->button_rescan, str);
|
||||
|
||||
str = _("Double click to view contents of file.");
|
||||
|
@ -174,7 +174,7 @@ Converter::Impl::Impl(string const & from_file, string const & to_file_base,
|
||||
QuoteName(to_format + ':' + to_file_);
|
||||
|
||||
lyxerr[Debug::GRAPHICS]
|
||||
<< "\tNo converter defined! I use convertDefault.sh\n\t"
|
||||
<< "\tNo converter defined! I use convertDefault.py\n\t"
|
||||
<< script_command_ << endl;
|
||||
|
||||
} else {
|
||||
|
@ -105,7 +105,7 @@ public:
|
||||
|
||||
/** @c command should be of the form
|
||||
* <code>
|
||||
* sh $$s/scripts/fig_copy.sh $$i $$o $$l
|
||||
* python $$s/scripts/fig_copy.py $$i $$o $$l
|
||||
* </code>
|
||||
* where $$s is a placeholder for the lyx support directory,
|
||||
* $$i is a placeholder for the name of the file to be moved,
|
||||
|
Loading…
Reference in New Issue
Block a user