Re: disable package

2013-05-22 Thread Richard Heck

On 05/21/2013 12:36 PM, Patrick Dupre wrote:

The only soluton that I found is: never use \bm but \boldsymbol !
I would be gret if we could have more control of the header
like deactive a package !


I think there will be more GUI control over this in 2.1, but I am not 
positive.


That said, in 2.0.x, you can tell LyX not to load a package by putting 
into Local Layout (under Document Settings):


Format 35
Provides bm 1

This should work. If not, it's a bug.

Richard



Re: disable package

2013-05-22 Thread Richard Heck

On 05/21/2013 12:36 PM, Patrick Dupre wrote:

The only soluton that I found is: never use \bm but \boldsymbol !
I would be gret if we could have more control of the header
like deactive a package !


I think there will be more GUI control over this in 2.1, but I am not 
positive.


That said, in 2.0.x, you can tell LyX not to load a package by putting 
into Local Layout (under Document Settings):


Format 35
Provides bm 1

This should work. If not, it's a bug.

Richard



Re: disable package

2013-05-22 Thread Richard Heck

On 05/21/2013 12:36 PM, Patrick Dupre wrote:

The only soluton that I found is: never use \bm but \boldsymbol !
I would be gret if we could have more control of the header
like deactive a package !


I think there will be more GUI control over this in 2.1, but I am not 
positive.


That said, in 2.0.x, you can tell LyX not to load a package by putting 
into Local Layout (under Document> Settings):


Format 35
Provides bm 1

This should work. If not, it's a bug.

Richard



disable package

2013-05-21 Thread Patrick Dupre
Hello,

lyx (2.0.5) make a
\usepackage{bm} that I am unable to control. Why?

I need to make a 
\usepackage{fourier,bm}
and not 
\usepackage{bm,fourier}

How can I do it?

Thank.

===
 Patrick DUPRÉ                                 | | email: pdu...@gmx.com
 Laboratoire de Physico-Chimie de l'Atmosphère | |
 Université du Littoral-Côte d'Opale           | |
 Tel.  (33)-(0)3 28 23 76 12                   | | Fax: 03 28 65 82 44
 189A, avenue Maurice Schumann                 | | 59140 Dunkerque, France
===


Re: disable package

2013-05-21 Thread Patrick Dupre

The only soluton that I found is: never use \bm but \boldsymbol !
I would be gret if we could have more control of the header
like deactive a package !

Regards.

 
 Hello,
 
 lyx (2.0.5) make a
 \usepackage{bm} that I am unable to control. Why?
 
 I need to make a 
 \usepackage{fourier,bm}
 and not 
 \usepackage{bm,fourier}
 
 How can I do it?
 
 Thank.
 
 ===
  Patrick DUPRÉ                                 | | email: pdu...@gmx.com
  Laboratoire de Physico-Chimie de l'Atmosphère | |
  Université du Littoral-Côte d'Opale           | |
  Tel.  (33)-(0)3 28 23 76 12                   | | Fax: 03 28 65 82 44
  189A, avenue Maurice Schumann                 | | 59140 Dunkerque, France
 ===


===
 Patrick DUPRÉ                                 | | email: pdu...@gmx.com
 Laboratoire de Physico-Chimie de l'Atmosphère | |
 Université du Littoral-Côte d'Opale           | |
 Tel.  (33)-(0)3 28 23 76 12                   | | Fax: 03 28 65 82 44
 189A, avenue Maurice Schumann                 | | 59140 Dunkerque, France
===


Re: disable package

2013-05-21 Thread Julien Rioux

On 21/05/2013 11:21 AM, Patrick Dupre wrote:

Hello,

lyx (2.0.5) make a
\usepackage{bm} that I am unable to control. Why?

I need to make a
\usepackage{fourier,bm}
and not
\usepackage{bm,fourier}

How can I do it?

Thank.

===
  Patrick DUPRÉ | | email: pdu...@gmx.com
  Laboratoire de Physico-Chimie de l'Atmosphère | |
  Université du Littoral-Côte d'Opale   | |
  Tel.  (33)-(0)3 28 23 76 12   | | Fax: 03 28 65 82 44
  189A, avenue Maurice Schumann | | 59140 Dunkerque, France
===



In document settings:
Edit the local layout to tell LyX that we are providing bm ourself:

Format 35
Provides bm true

Edit the preamble to add our packages in the desired order:

\usepackage{fourier}
\usepackage{bm}

See attached :)

Cordialement,
Julien


newfile1.lyx
Description: application/lyx


Re: disable package

2013-05-21 Thread Scott Kostyshak
On Tue, May 21, 2013 at 12:53 PM, Julien Rioux jri...@lyx.org wrote:
 On 21/05/2013 11:21 AM, Patrick Dupre wrote:

 Hello,

 lyx (2.0.5) make a
 \usepackage{bm} that I am unable to control. Why?

 I need to make a
 \usepackage{fourier,bm}
 and not
 \usepackage{bm,fourier}

 How can I do it?

 Thank.


 ===
   Patrick DUPRÉ | | email: pdu...@gmx.com
   Laboratoire de Physico-Chimie de l'Atmosphère | |
   Université du Littoral-Côte d'Opale   | |
   Tel.  (33)-(0)3 28 23 76 12   | | Fax: 03 28 65 82 44
   189A, avenue Maurice Schumann | | 59140 Dunkerque,
 France

 ===


 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


Re: disable package

2013-05-21 Thread Julien Rioux

On 21/05/2013 1:20 PM, Scott Kostyshak wrote:

On Tue, May 21, 2013 at 12:53 PM, Julien Rioux jri...@lyx.org 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



disable package

2013-05-21 Thread Patrick Dupre
Hello,

lyx (2.0.5) make a
\usepackage{bm} that I am unable to control. Why?

I need to make a 
\usepackage{fourier,bm}
and not 
\usepackage{bm,fourier}

How can I do it?

Thank.

===
 Patrick DUPRÉ                                 | | email: pdu...@gmx.com
 Laboratoire de Physico-Chimie de l'Atmosphère | |
 Université du Littoral-Côte d'Opale           | |
 Tel.  (33)-(0)3 28 23 76 12                   | | Fax: 03 28 65 82 44
 189A, avenue Maurice Schumann                 | | 59140 Dunkerque, France
===


Re: disable package

2013-05-21 Thread Patrick Dupre

The only soluton that I found is: never use \bm but \boldsymbol !
I would be gret if we could have more control of the header
like deactive a package !

Regards.

 
 Hello,
 
 lyx (2.0.5) make a
 \usepackage{bm} that I am unable to control. Why?
 
 I need to make a 
 \usepackage{fourier,bm}
 and not 
 \usepackage{bm,fourier}
 
 How can I do it?
 
 Thank.
 
 ===
  Patrick DUPRÉ                                 | | email: pdu...@gmx.com
  Laboratoire de Physico-Chimie de l'Atmosphère | |
  Université du Littoral-Côte d'Opale           | |
  Tel.  (33)-(0)3 28 23 76 12                   | | Fax: 03 28 65 82 44
  189A, avenue Maurice Schumann                 | | 59140 Dunkerque, France
 ===


===
 Patrick DUPRÉ                                 | | email: pdu...@gmx.com
 Laboratoire de Physico-Chimie de l'Atmosphère | |
 Université du Littoral-Côte d'Opale           | |
 Tel.  (33)-(0)3 28 23 76 12                   | | Fax: 03 28 65 82 44
 189A, avenue Maurice Schumann                 | | 59140 Dunkerque, France
===


Re: disable package

2013-05-21 Thread Julien Rioux

On 21/05/2013 11:21 AM, Patrick Dupre wrote:

Hello,

lyx (2.0.5) make a
\usepackage{bm} that I am unable to control. Why?

I need to make a
\usepackage{fourier,bm}
and not
\usepackage{bm,fourier}

How can I do it?

Thank.

===
  Patrick DUPRÉ | | email: pdu...@gmx.com
  Laboratoire de Physico-Chimie de l'Atmosphère | |
  Université du Littoral-Côte d'Opale   | |
  Tel.  (33)-(0)3 28 23 76 12   | | Fax: 03 28 65 82 44
  189A, avenue Maurice Schumann | | 59140 Dunkerque, France
===



In document settings:
Edit the local layout to tell LyX that we are providing bm ourself:

Format 35
Provides bm true

Edit the preamble to add our packages in the desired order:

\usepackage{fourier}
\usepackage{bm}

See attached :)

Cordialement,
Julien


newfile1.lyx
Description: application/lyx


Re: disable package

2013-05-21 Thread Scott Kostyshak
On Tue, May 21, 2013 at 12:53 PM, Julien Rioux jri...@lyx.org wrote:
 On 21/05/2013 11:21 AM, Patrick Dupre wrote:

 Hello,

 lyx (2.0.5) make a
 \usepackage{bm} that I am unable to control. Why?

 I need to make a
 \usepackage{fourier,bm}
 and not
 \usepackage{bm,fourier}

 How can I do it?

 Thank.


 ===
   Patrick DUPRÉ | | email: pdu...@gmx.com
   Laboratoire de Physico-Chimie de l'Atmosphère | |
   Université du Littoral-Côte d'Opale   | |
   Tel.  (33)-(0)3 28 23 76 12   | | Fax: 03 28 65 82 44
   189A, avenue Maurice Schumann | | 59140 Dunkerque,
 France

 ===


 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


Re: disable package

2013-05-21 Thread Julien Rioux

On 21/05/2013 1:20 PM, Scott Kostyshak wrote:

On Tue, May 21, 2013 at 12:53 PM, Julien Rioux jri...@lyx.org 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



disable package

2013-05-21 Thread Patrick Dupre
Hello,

lyx (2.0.5) make a
\usepackage{bm} that I am unable to control. Why?

I need to make a 
\usepackage{fourier,bm}
and not 
\usepackage{bm,fourier}

How can I do it?

Thank.

===
 Patrick DUPRÉ                                 | | email: pdu...@gmx.com
 Laboratoire de Physico-Chimie de l'Atmosphère | |
 Université du Littoral-Côte d'Opale           | |
 Tel.  (33)-(0)3 28 23 76 12                   | | Fax: 03 28 65 82 44
 189A, avenue Maurice Schumann                 | | 59140 Dunkerque, France
===


Re: disable package

2013-05-21 Thread Patrick Dupre

The only soluton that I found is: never use \bm but \boldsymbol !
I would be gret if we could have more control of the header
like deactive a package !

Regards.

> 
> Hello,
> 
> lyx (2.0.5) make a
> \usepackage{bm} that I am unable to control. Why?
> 
> I need to make a 
> \usepackage{fourier,bm}
> and not 
> \usepackage{bm,fourier}
> 
> How can I do it?
> 
> Thank.
> 
> ===
>  Patrick DUPRÉ                                 | | email: pdu...@gmx.com
>  Laboratoire de Physico-Chimie de l'Atmosphère | |
>  Université du Littoral-Côte d'Opale           | |
>  Tel.  (33)-(0)3 28 23 76 12                   | | Fax: 03 28 65 82 44
>  189A, avenue Maurice Schumann                 | | 59140 Dunkerque, France
> ===


===
 Patrick DUPRÉ                                 | | email: pdu...@gmx.com
 Laboratoire de Physico-Chimie de l'Atmosphère | |
 Université du Littoral-Côte d'Opale           | |
 Tel.  (33)-(0)3 28 23 76 12                   | | Fax: 03 28 65 82 44
 189A, avenue Maurice Schumann                 | | 59140 Dunkerque, France
===


Re: disable package

2013-05-21 Thread Julien Rioux

On 21/05/2013 11:21 AM, Patrick Dupre wrote:

Hello,

lyx (2.0.5) make a
\usepackage{bm} that I am unable to control. Why?

I need to make a
\usepackage{fourier,bm}
and not
\usepackage{bm,fourier}

How can I do it?

Thank.

===
  Patrick DUPRÉ | | email: pdu...@gmx.com
  Laboratoire de Physico-Chimie de l'Atmosphère | |
  Université du Littoral-Côte d'Opale   | |
  Tel.  (33)-(0)3 28 23 76 12   | | Fax: 03 28 65 82 44
  189A, avenue Maurice Schumann | | 59140 Dunkerque, France
===



In document settings:
Edit the local layout to tell LyX that we are providing bm ourself:

Format 35
Provides bm true

Edit the preamble to add our packages in the desired order:

\usepackage{fourier}
\usepackage{bm}

See attached :)

Cordialement,
Julien


newfile1.lyx
Description: application/lyx


Re: disable package

2013-05-21 Thread Scott Kostyshak
On Tue, May 21, 2013 at 12:53 PM, Julien Rioux  wrote:
> On 21/05/2013 11:21 AM, Patrick Dupre wrote:
>>
>> Hello,
>>
>> lyx (2.0.5) make a
>> \usepackage{bm} that I am unable to control. Why?
>>
>> I need to make a
>> \usepackage{fourier,bm}
>> and not
>> \usepackage{bm,fourier}
>>
>> How can I do it?
>>
>> Thank.
>>
>>
>> ===
>>   Patrick DUPRÉ | | email: pdu...@gmx.com
>>   Laboratoire de Physico-Chimie de l'Atmosphère | |
>>   Université du Littoral-Côte d'Opale   | |
>>   Tel.  (33)-(0)3 28 23 76 12   | | Fax: 03 28 65 82 44
>>   189A, avenue Maurice Schumann | | 59140 Dunkerque,
>> France
>>
>> ===
>>
>
> 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


Re: disable package

2013-05-21 Thread Julien Rioux

On 21/05/2013 1:20 PM, Scott Kostyshak wrote:

On Tue, May 21, 2013 at 12:53 PM, Julien Rioux  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