mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-22 10:00:33 +00:00
* lyxpreview-platex2bitmap.py:
- we might call this with 7 args, although the 7th will just be ignored (which is fine). git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37673 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
ccb0a36e08
commit
3634ae6c1f
@ -23,10 +23,11 @@ def usage(prog_name):
|
||||
|
||||
def main(argv):
|
||||
# Parse and manipulate the command line arguments.
|
||||
if len(argv) != 6:
|
||||
if len(argv) != 6 and len(argv) != 7:
|
||||
error(usage(argv[0]))
|
||||
# The arguments of legacy_conversion are the same as
|
||||
# those used in LyX 1.3.x, except for the last argument.
|
||||
# those used in LyX 1.3.x, except for the 6th argument.
|
||||
# The 7th argument is just ignored, since we use platex always
|
||||
vec = [ argv[0], argv[2], argv[3], argv[1], argv[4], argv[5], "platex"]
|
||||
return legacy_conversion(vec)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user