Am 07.07.2010 um 13:12 schrieb Stephan Witt:

> Am 07.07.2010 um 13:02 schrieb Vincent van Ravesteijn:
> 
>>> The import of rtf file fails at the tex2lyx step and there is no output 
>>> from tex2lyx.
>>> Is there any possiblity to make it more verbose and collect the output for 
>>> presentation
>>> in message window?
>> 
>> When tex2lyx is run from the command line, the file is converted
>> correctly right ? So, I think that there is no output of tex2lyx.
> 
> Yes, but tex2lyx fails when run from LyX as converter. The output of this 
> operation I'm looking for.
> E. g. with adding a -v to the converter config line or something similar.
> But possibly there is some output already and it is lost somehow...

I called tex2lyx with illegal parameters: the output is not collected by lyx :(

22:59:34:228ms: (window-new)
22:59:54:410ms: Importiere ~/cvs/lyx/Acknowledgements.lyx...
22:59:54:420ms: 
"/Users/stephan/cvs/lyx/lyx-build/LyX-2.0.0svn.app/Contents/MacOS/tex2lyx" -v 
-f "Acknowledgements.tex" 
"Acknowledgements.lyx"/Users/stephan/cvs/lyx/lyx-devel/src/support/Systemcall.cpp(237):
 Systemcall: 
'"/Users/stephan/cvs/lyx/lyx-build/LyX-2.0.0svn.app/Contents/MacOS/tex2lyx" -v 
-f "Acknowledgements.tex" "Acknowledgements.lyx"' finished with exit code 1
Error: Die Datei kann nicht konvertiert werden
----------------------------------------
Bei der Ausführung von
"/Users/stephan/cvs/lyx/lyx-build/LyX-2.0.0svn.app
ist ein Fehler aufgetreten
23:00:00:035ms: Datei wurde nicht importiert!
23:00:00:035ms: (buffer-import latex)

The same command line call produces an error message:
% /Users/stephan/cvs/lyx/lyx-build/LyX-2.0.0svn.app/Contents/MacOS/tex2lyx -f 
Acknowledgements.tex -v Acknowledgements.lyx
tex2lyx: Unknown option `-v'.

Usage: tex2lyx [options] infile.tex [outfile.lyx]
Options:
        -c textclass       Declare the textclass.
        -e encoding        Set the default encoding (latex name).
        -f                 Force overwrite of .lyx files.
        -help              Print this message and quit.
        -n                 translate a noweb (aka literate programming) file.
        -s syntaxfile      read additional syntax file.
        -sysdir dir        Set system directory to DIR.
        -userdir DIR       Set user directory to DIR.


Stephan

Reply via email to