Re: XeTeX - Load packages before fontspec

2014-06-13 Thread Michael Dean Pugh
I can see a very distinct reason for wanting to be able to modify the LyX- generated preamble directly (without having to use a separate editor). I'm using MathTime Professional II fonts and I want to use it in conjunction with the bm package so that I have access to the bm versions of the \bm

Re: XeTeX - Load packages before fontspec

2014-06-13 Thread Michael Dean Pugh
I can see a very distinct reason for wanting to be able to modify the LyX- generated preamble directly (without having to use a separate editor). I'm using MathTime Professional II fonts and I want to use it in conjunction with the bm package so that I have access to the bm versions of the \bm

Re: XeTeX - Load packages before fontspec

2014-06-13 Thread Michael Dean Pugh
I can see a very distinct reason for wanting to be able to modify the LyX- generated preamble directly (without having to use a separate editor). I'm using MathTime Professional II fonts and I want to use it in conjunction with the bm package so that I have access to the bm versions of the \bm

Re: XeTeX - Load packages before fontspec

2011-10-09 Thread Guenter Milde
On 2011-10-08, PhilipPirrip wrote: On 10/07/2011 08:17 AM, Guenter Milde wrote: Custom LaTeX code before LyX-generated preamble: +-+ | \usepackage[put]{mathdesign}| |

Re: XeTeX - Load packages before fontspec

2011-10-09 Thread PhilipPirrip
On 10/09/2011 05:45 PM, Guenter Milde wrote: \documentclass{minimal} \PassOptionsToPackage{utopia}{mathdesign} \usepackage{mathdesign} \PassOptionsToPackage{greekuppercase=italicized}{mathdesign} \usepackage{mathdesign} \begin{document} $\Gamma$ \end{document} shows, \PassOptionsToPackage

Re: XeTeX - Load packages before fontspec

2011-10-09 Thread Guenter Milde
On 2011-10-08, PhilipPirrip wrote: On 10/07/2011 08:17 AM, Guenter Milde wrote: Custom LaTeX code before LyX-generated preamble: +-+ | \usepackage[put]{mathdesign}| |

Re: XeTeX - Load packages before fontspec

2011-10-09 Thread PhilipPirrip
On 10/09/2011 05:45 PM, Guenter Milde wrote: \documentclass{minimal} \PassOptionsToPackage{utopia}{mathdesign} \usepackage{mathdesign} \PassOptionsToPackage{greekuppercase=italicized}{mathdesign} \usepackage{mathdesign} \begin{document} $\Gamma$ \end{document} shows, \PassOptionsToPackage

Re: XeTeX - Load packages before fontspec

2011-10-09 Thread Guenter Milde
On 2011-10-08, PhilipPirrip wrote: > On 10/07/2011 08:17 AM, Guenter Milde wrote: >> Custom LaTeX code before LyX-generated preamble: >>+-+ >>| \usepackage[put]{mathdesign}| >>|

Re: XeTeX - Load packages before fontspec

2011-10-09 Thread PhilipPirrip
On 10/09/2011 05:45 PM, Guenter Milde wrote: \documentclass{minimal} \PassOptionsToPackage{utopia}{mathdesign} \usepackage{mathdesign} \PassOptionsToPackage{greekuppercase=italicized}{mathdesign} \usepackage{mathdesign} \begin{document} $\Gamma$ \end{document} shows, \PassOptionsToPackage

Re: XeTeX - Load packages before fontspec

2011-10-08 Thread PhilipPirrip
On 10/07/2011 08:17 AM, Guenter Milde wrote: Custom LaTeX code before LyX-generated preamble: +-+ | \usepackage[put]{mathdesign} | |

Re: XeTeX - Load packages before fontspec

2011-10-08 Thread PhilipPirrip
On 10/07/2011 08:17 AM, Guenter Milde wrote: Custom LaTeX code before LyX-generated preamble: +-+ | \usepackage[put]{mathdesign} | |

Re: XeTeX - Load packages before fontspec

2011-10-08 Thread PhilipPirrip
On 10/07/2011 08:17 AM, Guenter Milde wrote: Custom LaTeX code before LyX-generated preamble: +-+ | \usepackage[put]{mathdesign} | |

Re: XeTeX - Load packages before fontspec

2011-10-07 Thread Guenter Milde
On 2011-10-06, Spyros Stathopoulos wrote: ... In my opinion, however, it would be ideal if there was a way to configure when preamble statements are loaded (before or after lyx ones), but given the complexity that such a change would imply the current design is understandable. You are right,

Re: XeTeX - Load packages before fontspec

2011-10-07 Thread Guenter Milde
On 2011-10-06, Spyros Stathopoulos wrote: ... In my opinion, however, it would be ideal if there was a way to configure when preamble statements are loaded (before or after lyx ones), but given the complexity that such a change would imply the current design is understandable. You are right,

Re: XeTeX - Load packages before fontspec

2011-10-07 Thread Guenter Milde
On 2011-10-06, Spyros Stathopoulos wrote: ... > In my opinion, however, it would be ideal if there was a way to > configure when preamble statements are loaded (before or after lyx > ones), but given the complexity that such a change would imply the > current design is understandable. You are

Re: XeTeX - Load packages before fontspec

2011-10-06 Thread Guenter Milde
On 2011-10-04, Spyros Stathopoulos wrote: I'm using the first option already since I need to pass options to the font definitions. Still the problem lies with fontspec not the font definition. The problem lies with mathdesign:: %%

Re: XeTeX - Load packages before fontspec

2011-10-06 Thread Guenter Milde
On 2011-10-04, Spyros Stathopoulos wrote: I've been trying to create a custom module but unfortunately is seems that fontspec is not handled by a module at all, instead it is placed into the preamble automatically when XeTeX mode is triggered. I believe the idea was to load mathdesign in a

Re: XeTeX - Load packages before fontspec

2011-10-06 Thread Spyros Stathopoulos
Thank you Günter, the encoding trick indeed solved the problem. In my opinion, however, it would be ideal if there was a way to configure when preamble statements are loaded (before or after lyx ones), but given the complexity that such a change would imply the current design is understandable.

Re: XeTeX - Load packages before fontspec

2011-10-06 Thread Guenter Milde
On 2011-10-04, Spyros Stathopoulos wrote: I'm using the first option already since I need to pass options to the font definitions. Still the problem lies with fontspec not the font definition. The problem lies with mathdesign:: %%

Re: XeTeX - Load packages before fontspec

2011-10-06 Thread Guenter Milde
On 2011-10-04, Spyros Stathopoulos wrote: I've been trying to create a custom module but unfortunately is seems that fontspec is not handled by a module at all, instead it is placed into the preamble automatically when XeTeX mode is triggered. I believe the idea was to load mathdesign in a

Re: XeTeX - Load packages before fontspec

2011-10-06 Thread Spyros Stathopoulos
Thank you Günter, the encoding trick indeed solved the problem. In my opinion, however, it would be ideal if there was a way to configure when preamble statements are loaded (before or after lyx ones), but given the complexity that such a change would imply the current design is understandable.

Re: XeTeX - Load packages before fontspec

2011-10-06 Thread Guenter Milde
On 2011-10-04, Spyros Stathopoulos wrote: > I'm using the first option already since I need to pass options to the > font definitions. Still the problem lies with fontspec not the font > definition. The problem lies with mathdesign:: %%

Re: XeTeX - Load packages before fontspec

2011-10-06 Thread Guenter Milde
On 2011-10-04, Spyros Stathopoulos wrote: > I've been trying to create a custom module but unfortunately is seems > that fontspec is not handled by a module at all, instead it is placed > into the preamble automatically when XeTeX mode is triggered. I believe the idea was to load mathdesign in a

Re: XeTeX - Load packages before fontspec

2011-10-06 Thread Spyros Stathopoulos
Thank you Günter, the encoding trick indeed solved the problem. In my opinion, however, it would be ideal if there was a way to configure when preamble statements are loaded (before or after lyx ones), but given the complexity that such a change would imply the current design is understandable.

Re: XeTeX - Load packages before fontspec

2011-10-04 Thread Guenter Milde
On 2011-10-01, Spyros Stathopoulos wrote: Hello everyone! I've been using TeX for quite a long time now but I'm new to LyX. I've managed to create some fairly long documents with it and XeTeX and I'm quite happy, however there is one little thing that troubles me. A lot of regular LaTeX

Re: XeTeX - Load packages before fontspec

2011-10-04 Thread Spyros Stathopoulos
I'm using the first option already since I need to pass options to the font definitions. Still the problem lies with fontspec not the font definition. I've also thought about the second method but that way I lose the nice integration with polyglossia since LyX will be using babel (instead of

Re: XeTeX - Load packages before fontspec

2011-10-04 Thread Julien Rioux
On 04/10/2011 12:02 PM, Spyros Stathopoulos wrote: Is there any (hackish?) way to tell LyX to load mathdesign (or any other package) before fontspec? I'm using LyX 2.0.1 + TeXLive 2010 on ArchLinux. You could try your luck with the approach described in this thread:

Re: XeTeX - Load packages before fontspec

2011-10-04 Thread Spyros Stathopoulos
I've been trying to create a custom module but unfortunately is seems that fontspec is not handled by a module at all, instead it is placed into the preamble automatically when XeTeX mode is triggered. In the end the only thing that did the job was modifying a local copy of the .cls, which is not

Re: XeTeX - Load packages before fontspec

2011-10-04 Thread Guenter Milde
On 2011-10-01, Spyros Stathopoulos wrote: Hello everyone! I've been using TeX for quite a long time now but I'm new to LyX. I've managed to create some fairly long documents with it and XeTeX and I'm quite happy, however there is one little thing that troubles me. A lot of regular LaTeX

Re: XeTeX - Load packages before fontspec

2011-10-04 Thread Spyros Stathopoulos
I'm using the first option already since I need to pass options to the font definitions. Still the problem lies with fontspec not the font definition. I've also thought about the second method but that way I lose the nice integration with polyglossia since LyX will be using babel (instead of

Re: XeTeX - Load packages before fontspec

2011-10-04 Thread Julien Rioux
On 04/10/2011 12:02 PM, Spyros Stathopoulos wrote: Is there any (hackish?) way to tell LyX to load mathdesign (or any other package) before fontspec? I'm using LyX 2.0.1 + TeXLive 2010 on ArchLinux. You could try your luck with the approach described in this thread:

Re: XeTeX - Load packages before fontspec

2011-10-04 Thread Spyros Stathopoulos
I've been trying to create a custom module but unfortunately is seems that fontspec is not handled by a module at all, instead it is placed into the preamble automatically when XeTeX mode is triggered. In the end the only thing that did the job was modifying a local copy of the .cls, which is not

Re: XeTeX - Load packages before fontspec

2011-10-04 Thread Guenter Milde
On 2011-10-01, Spyros Stathopoulos wrote: > Hello everyone! I've been using TeX for quite a long time now but I'm new to > LyX. I've managed to create some fairly long documents with it and XeTeX and > I'm quite happy, however there is one little thing that troubles me. A lot of > regular LaTeX

Re: XeTeX - Load packages before fontspec

2011-10-04 Thread Spyros Stathopoulos
I'm using the first option already since I need to pass options to the font definitions. Still the problem lies with fontspec not the font definition. I've also thought about the second method but that way I lose the nice integration with polyglossia since LyX will be using babel (instead of

Re: XeTeX - Load packages before fontspec

2011-10-04 Thread Julien Rioux
On 04/10/2011 12:02 PM, Spyros Stathopoulos wrote: Is there any (hackish?) way to tell LyX to load mathdesign (or any other package) before fontspec? I'm using LyX 2.0.1 + TeXLive 2010 on ArchLinux. You could try your luck with the approach described in this thread:

Re: XeTeX - Load packages before fontspec

2011-10-04 Thread Spyros Stathopoulos
I've been trying to create a custom module but unfortunately is seems that fontspec is not handled by a module at all, instead it is placed into the preamble automatically when XeTeX mode is triggered. In the end the only thing that did the job was modifying a local copy of the .cls, which is not

XeTeX - Load packages before fontspec

2011-10-01 Thread Spyros Stathopoulos
Hello everyone! I've been using TeX for quite a long time now but I'm new to LyX. I've managed to create some fairly long documents with it and XeTeX and I'm quite happy, however there is one little thing that troubles me. A lot of regular LaTeX packages that affect fonts need to be loaded before

XeTeX - Load packages before fontspec

2011-10-01 Thread Spyros Stathopoulos
Hello everyone! I've been using TeX for quite a long time now but I'm new to LyX. I've managed to create some fairly long documents with it and XeTeX and I'm quite happy, however there is one little thing that troubles me. A lot of regular LaTeX packages that affect fonts need to be loaded before

XeTeX - Load packages before fontspec

2011-10-01 Thread Spyros Stathopoulos
Hello everyone! I've been using TeX for quite a long time now but I'm new to LyX. I've managed to create some fairly long documents with it and XeTeX and I'm quite happy, however there is one little thing that troubles me. A lot of regular LaTeX packages that affect fonts need to be loaded before