mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-22 01:59:02 +00:00
Fix bug #10273
Although this a problem that only manifests itself on windows the change is general and it works anywhere. The major change is to change the file redirection > to -o the specifies the output file. At the same time it makes the call to lyx2lyx less cryptic, e.g. to revert to the 1.3 format we have: \converter lyx lyx13x "python -tt $$s/lyx2lyx/lyx2lyx -t 221 $$i > $$o" "" now instead of python -tt $$s/lyx2lyx/lyx2lyx -t 221 $$i > $$o we use a call where the version to revert is explicit python -tt $$s/lyx2lyx/lyx2lyx -V 1.3 -o $$o $$i or we could write a longer, but more understandable form: python -tt $$s/lyx2lyx/lyx2lyx --final_version 1.3 --output $$o $$i FWIW I shuffled the order of the arguments just for the sake of readability, to let $$i be the last argument.
This commit is contained in:
parent
312e82876c
commit
7848bdd4fe
@ -1086,19 +1086,19 @@ def checkConverterEntries():
|
||||
\converter csv lyx "python -tt $$s/scripts/csv2lyx.py $$i $$o" ""
|
||||
\converter docbook docbook-xml "cp $$i $$o" "xml"
|
||||
\converter fen asciichess "python -tt $$s/scripts/fen2ascii.py $$i $$o" ""
|
||||
\converter lyx lyx13x "python -tt $$s/lyx2lyx/lyx2lyx -t 221 $$i > $$o" ""
|
||||
\converter lyx lyx14x "python -tt $$s/lyx2lyx/lyx2lyx -t 245 $$i > $$o" ""
|
||||
\converter lyx lyx15x "python -tt $$s/lyx2lyx/lyx2lyx -t 276 $$i > $$o" ""
|
||||
\converter lyx lyx16x "python -tt $$s/lyx2lyx/lyx2lyx -t 345 $$i > $$o" ""
|
||||
\converter lyx lyx20x "python -tt $$s/lyx2lyx/lyx2lyx -t 413 $$i > $$o" ""
|
||||
\converter lyx lyx21x "python -tt $$s/lyx2lyx/lyx2lyx -t 474 $$i > $$o" ""
|
||||
\converter lyx lyx22x "python -tt $$s/lyx2lyx/lyx2lyx -t 508 $$i > $$o" ""
|
||||
\converter lyx clyx "python -tt $$s/lyx2lyx/lyx2lyx -c big5 -t 245 $$i > $$o" ""
|
||||
\converter lyx jlyx "python -tt $$s/lyx2lyx/lyx2lyx -c euc_jp -t 245 $$i > $$o" ""
|
||||
\converter lyx klyx "python -tt $$s/lyx2lyx/lyx2lyx -c euc_kr -t 245 $$i > $$o" ""
|
||||
\converter clyx lyx "python -tt $$s/lyx2lyx/lyx2lyx -c big5 $$i > $$o" ""
|
||||
\converter jlyx lyx "python -tt $$s/lyx2lyx/lyx2lyx -c euc_jp $$i > $$o" ""
|
||||
\converter klyx lyx "python -tt $$s/lyx2lyx/lyx2lyx -c euc_kr $$i > $$o" ""
|
||||
\converter lyx lyx13x "python -tt $$s/lyx2lyx/lyx2lyx -V 1.3 -o $$o $$i" ""
|
||||
\converter lyx lyx14x "python -tt $$s/lyx2lyx/lyx2lyx -V 1.4 -o $$o $$i" ""
|
||||
\converter lyx lyx15x "python -tt $$s/lyx2lyx/lyx2lyx -V 1.5 -o $$o $$i" ""
|
||||
\converter lyx lyx16x "python -tt $$s/lyx2lyx/lyx2lyx -V 1.6 -o $$o $$i" ""
|
||||
\converter lyx lyx20x "python -tt $$s/lyx2lyx/lyx2lyx -V 2.0 -o $$o $$i" ""
|
||||
\converter lyx lyx21x "python -tt $$s/lyx2lyx/lyx2lyx -V 2.1 -o $$o $$i" ""
|
||||
\converter lyx lyx22x "python -tt $$s/lyx2lyx/lyx2lyx -V 2.2 -o $$o $$i" ""
|
||||
\converter lyx clyx "python -tt $$s/lyx2lyx/lyx2lyx -V 1.4 -o $$o -c big5 $$i" ""
|
||||
\converter lyx jlyx "python -tt $$s/lyx2lyx/lyx2lyx -V 1.4 -o $$o -c euc_jp $$i" ""
|
||||
\converter lyx klyx "python -tt $$s/lyx2lyx/lyx2lyx -V 1.4 -o $$o -c euc_kr $$i" ""
|
||||
\converter clyx lyx "python -tt $$s/lyx2lyx/lyx2lyx -c big5 -o $$o $$i" ""
|
||||
\converter jlyx lyx "python -tt $$s/lyx2lyx/lyx2lyx -c euc_jp -o $$o $$i" ""
|
||||
\converter klyx lyx "python -tt $$s/lyx2lyx/lyx2lyx -c euc_kr -o $$o $$i" ""
|
||||
\converter lyxpreview png "python -tt $$s/scripts/lyxpreview2bitmap.py --png" ""
|
||||
\converter lyxpreview ppm "python -tt $$s/scripts/lyxpreview2bitmap.py --ppm" ""
|
||||
''')
|
||||
|
Loading…
Reference in New Issue
Block a user