On 21/05/2013 1:20 PM, Scott Kostyshak wrote:
On Tue, May 21, 2013 at 12:53 PM, Julien Rioux <[email protected]> wrote:
In document settings:
Edit the local layout to tell LyX that we are providing bm ourself:
Format 35
Provides bm true
Note that (on 2.1git) LyX gives the following warning:
LyX: Bad integer `true' [around line 2 of file
/tmp/lyx_tmpdir.rDYhXLs25464/convert_layout.ELJOAZs25464 current
token: 'true' context: '']
Changing "true" to "1" fixes this for me.
Should the layout validator in Document Settings catch this (it
currently does not)? I know it is not supposed to be too strict but
wanted to check anyway.
Scott
That's just me writing this layout snippet from memory. The correct
documented usage is indeed "1" or "0".
Interestingly, if I replace by "false", I get the same effect as if I
had typed "1". LyX seems to accept anything different from "0" as true,
while the script that updates the format from 35 to X seems stricter on
this (X being, current LyX 2.1git format).
--
Julien