Am Donnerstag, 19. April 2012 um 20:53:45, schrieb Georg Baum <georg.b...@post.rwth-aachen.de> > Kornel Benko wrote: > > > This was the first thing I did. But nothing changed. > > Now, after compile of lyx again, it's working. I thought, we use the > > layouttranslations directly, without need to recompile. > > Yes, it is used directly. Maybe an outdated installed version was picked up? > > > Georg >
This is rather unlikely. Here the output of strace regarding layouttranslations 6372 stat("/home/kornel/.lyx2/layouttranslations", 0x23f3ef8) = -1 ENOENT (No such file or directory) 6372 lstat("/home/kornel/.lyx2/layouttranslations", 0x7fffb949ca50) = -1 ENOENT (No such file or directory) 6372 stat("/home/kornel/.lyx2/layouttranslations", 0x23f3ef8) = -1 ENOENT (No such file or directory) 6372 lstat("/home/kornel/.lyx2/layouttranslations", 0x7fffb949cc00) = -1 ENOENT (No such file or directory) 6372 stat("/usr/local/lyx2.1/layouttranslations", {st_mode=S_IFREG|0644, st_size=35332, ...}) = 0 6372 access("/usr/local/lyx2.1/layouttranslations", R_OK) = 0 6372 access("/usr/local/lyx2.1/layouttranslations", W_OK) = 0 6372 access("/usr/local/lyx2.1/layouttranslations", X_OK) = -1 EACCES (Permission denied) 6372 stat("/usr/local/lyx2.1/layouttranslations", {st_mode=S_IFREG|0644, st_size=35332, ...}) = 0 6372 lstat("/usr/local/lyx2.1/layouttranslations", {st_mode=S_IFREG|0644, st_size=35332, ...}) = 0 6372 stat("/usr/local/lyx2.1/layouttranslations", {st_mode=S_IFREG|0644, st_size=35332, ...}) = 0 6372 open("/usr/local/lyx2.1/layouttranslations", O_RDONLY) = 9 6372 access("/usr/local/lyx2.1/layouttranslations", R_OK) = 0 6372 access("/usr/local/lyx2.1/layouttranslations", W_OK) = 0 6372 access("/usr/local/lyx2.1/layouttranslations", X_OK) = -1 EACCES (Permission denied) 6372 open("/usr/local/lyx2.1/layouttranslations", O_RDONLY) = 9 6372 open("/usr/local/lyx2.1/layouttranslations", O_RDONLY) = 9 where "/home/kornel/.lyx2" is my user directory and "/usr/local/lyx2.1" the system directory. I *was* sure that I have edited the correct file. Now I see, that the entry seems changed. Formally "Listings", now "Listings[[List of Listings]]", that would explain. Kornel
signature.asc
Description: This is a digitally signed message part.