Unknown InsetLayout tag

Jean-Marc Lasgouttes lasgouttes at lyx.org
Sun Feb 23 17:03:01 UTC 2020


Le 23/02/2020 à 17:10, Daniel a écrit :
>> LyX: Unknown InsetLayout tag [around line 34 of file 
>> /var/folders/vd/k0bkrvfd4pddpgsj8_s9tmpr0000gp/T/lyx_tmpdir.ZmaXjBB24781/convertf24781.layout 
>> current token: 'Require' context: '']
>> LyX: Unknown InsetLayout tag [around line 35 of file 
>> /var/folders/vd/k0bkrvfd4pddpgsj8_s9tmpr0000gp/T/lyx_tmpdir.ZmaXjBB24781/convertf24781.layout 
>> current token: 'refstyle' context: '']
>> LyX: Unknown InsetLayout tag [around line 43 of file 
>> /var/folders/vd/k0bkrvfd4pddpgsj8_s9tmpr0000gp/T/lyx_tmpdir.ZmaXjBB24781/convertf24781.layout 
>> current token: 'Require' context: '']
> [...]
> 
> Okay, found the problem. I used "Require" instead "Requires" in a custom 
> module. I guess it would be helpful for LyX to list the original 
> filename and not only the temporary converted one in order to easier 
> find problems?

I am not sure it is easy, unless layout2layout adds comments like what 
the C preprocessor does:
#file: xxx.layout
#line: 123

I think it would be very complicated to get right, unless we manage to 
automatize it.

JMarc



More information about the lyx-users mailing list