Am 19.01.2016 um 20:10 schrieb Scott Kostyshak <skost...@lyx.org>:
> 
> On Tue, Jan 19, 2016 at 08:10:59AM +0100, Stephan Witt wrote:
> 
>> I have this:
>> 
>> $ cat 
>> /Users/stephan/git/lyx-build/cmake/2.2.0dev/Testing/.lyx/layouts/testalgorithm2e.layout
>>  
>> #% Do not delete the line below; configure depends on this
>> #  \DeclareLaTeXClass{testalgorithm2e}
>> Format 55
>> Input algorithm2e.module
>> 
>> Do you have the same in /home/scott/lyxbuilds/master/CMakeBuild/Testing/.lyx?
> 
> Yes:
> 
> $ cat Testing/.lyx/layouts/testalgorithm2e.layout
> #% Do not delete the line below; configure depends on this
> #  \DeclareLaTeXClass{testalgorithm2e}
> Format 55
> Input algorithm2e.module
> 
>> BTW, when debugging tex2lyx it complains about missing USERDIR and I have to 
>> add
>> -userdir /Users/stephan/git/lyx-build/cmake/2.2.0dev/Testing/.lyx explicitly.
>> Is it passed via environment in ctest runs? Or is it simply not printed?
>> Shouldn't these options passed via command line when calling tex2lyx?
> 
> I do not have to do this (unless I set something up automatically
> so long ago that I forgot) so maybe this could be the problem. Kornel or
> Georg will probably have an idea.
> 
>> Other possible differences except the OS? :)
>> - version or availability of algorithm2e.sty?
> 
> I've tested on latest TeX Live 2015 and also with an older TeX Live 2015
> (the file says "algorithm2e.sty,v 5.0 2013/01/06 14:40:35“)

Nearly the same here:
"$Id: algorithm2e.sty,v 5.0 2013/01/06 14:40:35 cfiorio Exp $“

> 
>> - remnants of previous runs somewhere?
> 
> I use a clean build directory.

Me too - I really meant *somewhere* - 
perhaps tex2lyx reads some file from outside the build directory. 

Tracing Preamble::handle_package I have two calls with:

package: fontenc, options = T1
package: inputenc, options = latin1

As you already noticed I don’t have the "Ignoring options…“ active.
There are never any options left at the end of handle_package.

Georg, do you have an idea what I can do to find the explanation for this?

Stephan

Reply via email to