Am 22.01.2016 um 12:16 schrieb Kornel Benko <kor...@lyx.org>:
> 
> Am Donnerstag, 21. Januar 2016 um 22:24:58, schrieb Georg Baum 
> <georg.b...@post.rwth-aachen.de>
>> Stephan Witt wrote:
>> 
>>> $ lyx-build/cmake/2.2.0dev/bin/Debug/tex2lyx
>>> tex2lyx: Not enough arguments.
>>> Usage: tex2lyx [options] infile.tex [outfile.lyx]
>>> …
>>> -sysdir SYSDIR     Set system directory to SYSDIR.
>>> Default: /Users/stephan/git/lyx/lib/
>>> -userdir USERDIR   Set user directory to USERDIR.
>>> Default: /Users/stephan/Library/Application Support/LyX/tex2lyx/LyX/
>> 
>> Ah, now we are getting somewhere. The systemdir is fine, the userdir is 
>> wrong. It should be
>> 
>> /Users/stephan/Library/Application Support/LyX/
> 
> Wrong. For tests we use _own_ userdir "<build-dir>/Testing.lyx"
> We do not want to modify anything outside the build directory.

No. It’s not wrong. You’re right with the use of the _own_ userdir
for tests. But the real life matters too. It’s the wrong userdir
for standard orpeation. And this is Georg message, IMO.
 
> 
>> if you compiled without version suffix and
>> 
>> /Users/stephan/Library/Application Support/LyX2.2/
>> 
>> if you compiled with version suffix.
>> 
>>> With autotools build I get:
>>> $ lyx-build/LyX-2.2.0dev.build/src/tex2lyx/tex2lyx
>>> lyx-build/cmake/2.2.0dev/src/tex2lyx/test/test-modules.tex tex2lyx: User
>>> directory does not exist. …
>>> -sysdir SYSDIR     Set system directory to SYSDIR.
>>> Default: /Users/stephan/git/lyx/lib/
>>> -userdir USERDIR   Set user directory to USERDIR.
>>> Default: /Users/stephan/Library/Application
>>> Support/LyX/tex2lyx-2.2/LyX-2.2/
>> 
>> This is wrong as well. This looks as if you compiled with version suffix 
>> "-2.2", so I guess the correct path would be
> 
> Not important to tests.

See above.

Stephan

Reply via email to