Re: blindtext, unicode-math, and babel won't play nice because of setmathfont

2014-05-10 Thread asllearner

This I knew not. But, you are quite correct, it works charmingly.

(specifically, in the language package custom  
area:\usepackage{polyglossia}, and in preamble:  
\setdefaultlanguage{english} )




On Fri, 09 May 2014 17:24:33 +0900, Guenter Milde mi...@users.sf.net  
wrote:



On 2014-05-05, asllearner wrote:


I am trying to use a font for my main font, and also for math latin and
greek characters, while keeping the rest as is.
At the same time, I want to use blindtext.
blindtext only allows \blindmathtrue if the language has been set to
english:
http://texblog.org/2011/02/26/generating-dummy-textblindtext-with-latex-for-testing/



This I believe I have to do via the language package custom area in the
document preferences, however using
\usepackage[english]{babel}
breaks unicode-math.


Is the use of babel mandated by blindtext?
Normally, you would use polyglossia with XeTeX/LuaTeX and Unicode  
fonts.


Günter





--
Using Opera's mail client: http://www.opera.com/mail/



Re: blindtext, unicode-math, and babel won't play nice because of setmathfont

2014-05-10 Thread Guenter Milde
On 2014-05-10, asllearner wrote:
 This I knew not. But, you are quite correct, it works charmingly.

 (specifically, in the language package custom  
 area:\usepackage{polyglossia}, and in preamble:  
 \setdefaultlanguage{english} )

Then, you can also do this a more LyXish way:

 * DocumentSettingsFonts  [x] use non-TeX fonts
 * DocumentSettingsLanguage language-package [auto]  (or polyglossia)
 * DocumentSettingsLanguage English
 
Günter



Re: blindtext, unicode-math, and babel won't play nice because of setmathfont

2014-05-10 Thread asllearner
Alas, not [auto]...at least, not in LyX 2.0.8. Other settings were already  
as you specified.


It doesn't throw an error, but the language isn't being set to english, so  
blindtext is outputting lorem ipsum, not english and math as it should.


attempt at quasi-MWE and pdf output attached. Note absence of math, though  
\setmathfont is working now.


Actually, ntitai, I tried this originally...before  putting  
\usepackage[english]{babel} (as the blintext manual directs) in the  
language custom area (which now works), and that's where I came in...the  
circle is complete. hakunamatata.


david

PS I haven't updated to LyX 2.1 yet...no, I'll confess: I mean I did  
update, but got errors with my files (apparently others too...); I rolled  
back and was going to try again, but as I was cleaning up/backing up the  
files I needed, got snagged in this blindtext problem...you caught me :-)



On Sat, 10 May 2014 17:02:11 +0900, Guenter Milde mi...@users.sf.net  
wrote:



On 2014-05-10, asllearner wrote:

This I knew not. But, you are quite correct, it works charmingly.



(specifically, in the language package custom
area:\usepackage{polyglossia}, and in preamble:
\setdefaultlanguage{english} )


Then, you can also do this a more LyXish way:

 * DocumentSettingsFonts  [x] use non-TeX fonts
 * DocumentSettingsLanguage language-package [auto]  (or polyglossia)
 * DocumentSettingsLanguage English
Günter





--
Using Opera's mail client: http://www.opera.com/mail/

blindtext polyglossia test.lyx
Description: Binary data


blindtext_polyglossia_test.pdf
Description: Adobe PDF document


Re: blindtext, unicode-math, and babel won't play nice because of setmathfont

2014-05-10 Thread asllearner

This I knew not. But, you are quite correct, it works charmingly.

(specifically, in the language package custom  
area:\usepackage{polyglossia}, and in preamble:  
\setdefaultlanguage{english} )




On Fri, 09 May 2014 17:24:33 +0900, Guenter Milde mi...@users.sf.net  
wrote:



On 2014-05-05, asllearner wrote:


I am trying to use a font for my main font, and also for math latin and
greek characters, while keeping the rest as is.
At the same time, I want to use blindtext.
blindtext only allows \blindmathtrue if the language has been set to
english:
http://texblog.org/2011/02/26/generating-dummy-textblindtext-with-latex-for-testing/



This I believe I have to do via the language package custom area in the
document preferences, however using
\usepackage[english]{babel}
breaks unicode-math.


Is the use of babel mandated by blindtext?
Normally, you would use polyglossia with XeTeX/LuaTeX and Unicode  
fonts.


Günter





--
Using Opera's mail client: http://www.opera.com/mail/



Re: blindtext, unicode-math, and babel won't play nice because of setmathfont

2014-05-10 Thread Guenter Milde
On 2014-05-10, asllearner wrote:
 This I knew not. But, you are quite correct, it works charmingly.

 (specifically, in the language package custom  
 area:\usepackage{polyglossia}, and in preamble:  
 \setdefaultlanguage{english} )

Then, you can also do this a more LyXish way:

 * DocumentSettingsFonts  [x] use non-TeX fonts
 * DocumentSettingsLanguage language-package [auto]  (or polyglossia)
 * DocumentSettingsLanguage English
 
Günter



Re: blindtext, unicode-math, and babel won't play nice because of setmathfont

2014-05-10 Thread asllearner
Alas, not [auto]...at least, not in LyX 2.0.8. Other settings were already  
as you specified.


It doesn't throw an error, but the language isn't being set to english, so  
blindtext is outputting lorem ipsum, not english and math as it should.


attempt at quasi-MWE and pdf output attached. Note absence of math, though  
\setmathfont is working now.


Actually, ntitai, I tried this originally...before  putting  
\usepackage[english]{babel} (as the blintext manual directs) in the  
language custom area (which now works), and that's where I came in...the  
circle is complete. hakunamatata.


david

PS I haven't updated to LyX 2.1 yet...no, I'll confess: I mean I did  
update, but got errors with my files (apparently others too...); I rolled  
back and was going to try again, but as I was cleaning up/backing up the  
files I needed, got snagged in this blindtext problem...you caught me :-)



On Sat, 10 May 2014 17:02:11 +0900, Guenter Milde mi...@users.sf.net  
wrote:



On 2014-05-10, asllearner wrote:

This I knew not. But, you are quite correct, it works charmingly.



(specifically, in the language package custom
area:\usepackage{polyglossia}, and in preamble:
\setdefaultlanguage{english} )


Then, you can also do this a more LyXish way:

 * DocumentSettingsFonts  [x] use non-TeX fonts
 * DocumentSettingsLanguage language-package [auto]  (or polyglossia)
 * DocumentSettingsLanguage English
Günter





--
Using Opera's mail client: http://www.opera.com/mail/

blindtext polyglossia test.lyx
Description: Binary data


blindtext_polyglossia_test.pdf
Description: Adobe PDF document


Re: blindtext, unicode-math, and babel won't play nice because of setmathfont

2014-05-10 Thread asllearner

This I knew not. But, you are quite correct, it works charmingly.

(specifically, in the language package custom  
area:\usepackage{polyglossia}, and in preamble:  
\setdefaultlanguage{english} )




On Fri, 09 May 2014 17:24:33 +0900, Guenter Milde   
wrote:



On 2014-05-05, asllearner wrote:


I am trying to use a font for my main font, and also for math latin and
greek characters, while keeping the rest as is.
At the same time, I want to use blindtext.
blindtext only allows \blindmathtrue if the language has been set to
english:
http://texblog.org/2011/02/26/generating-dummy-textblindtext-with-latex-for-testing/



This I believe I have to do via the language package custom area in the
document preferences, however using
\usepackage[english]{babel}
breaks unicode-math.


Is the use of babel mandated by "blindtext"?
Normally, you would use "polyglossia" with XeTeX/LuaTeX and Unicode  
fonts.


Günter





--
Using Opera's mail client: http://www.opera.com/mail/



Re: blindtext, unicode-math, and babel won't play nice because of setmathfont

2014-05-10 Thread Guenter Milde
On 2014-05-10, asllearner wrote:
> This I knew not. But, you are quite correct, it works charmingly.

> (specifically, in the language package custom  
> area:\usepackage{polyglossia}, and in preamble:  
> \setdefaultlanguage{english} )

Then, you can also do this a more "LyXish" way:

 * Document>Settings>Fonts  [x] use non-TeX fonts
 * Document>Settings>Language language-package [auto]  (or polyglossia)
 * Document>Settings>Language English
 
Günter



Re: blindtext, unicode-math, and babel won't play nice because of setmathfont

2014-05-10 Thread asllearner
Alas, not [auto]...at least, not in LyX 2.0.8. Other settings were already  
as you specified.


It doesn't throw an error, but the language isn't being set to english, so  
blindtext is outputting lorem ipsum, not english and math as it should.


attempt at quasi-MWE and pdf output attached. Note absence of math, though  
\setmathfont is working now.


Actually, ntitai, I tried this originally...before  putting  
\usepackage[english]{babel} (as the blintext manual directs) in the  
language custom area (which now works), and that's where I came in...the  
circle is complete. hakunamatata.


david

PS I haven't updated to LyX 2.1 yet...no, I'll confess: I mean I did  
update, but got errors with my files (apparently others too...); I rolled  
back and was going to try again, but as I was cleaning up/backing up the  
files I needed, got snagged in this blindtext problem...you caught me :-)



On Sat, 10 May 2014 17:02:11 +0900, Guenter Milde   
wrote:



On 2014-05-10, asllearner wrote:

This I knew not. But, you are quite correct, it works charmingly.



(specifically, in the language package custom
area:\usepackage{polyglossia}, and in preamble:
\setdefaultlanguage{english} )


Then, you can also do this a more "LyXish" way:

 * Document>Settings>Fonts  [x] use non-TeX fonts
 * Document>Settings>Language language-package [auto]  (or polyglossia)
 * Document>Settings>Language English
Günter





--
Using Opera's mail client: http://www.opera.com/mail/

blindtext polyglossia test.lyx
Description: Binary data


blindtext_polyglossia_test.pdf
Description: Adobe PDF document


Re: blindtext, unicode-math, and babel won't play nice because of setmathfont

2014-05-09 Thread Guenter Milde
On 2014-05-05, asllearner wrote:

 I am trying to use a font for my main font, and also for math latin and  
 greek characters, while keeping the rest as is.
 At the same time, I want to use blindtext.
 blindtext only allows \blindmathtrue if the language has been set to  
 english:  
 http://texblog.org/2011/02/26/generating-dummy-textblindtext-with-latex-for-testing/

 This I believe I have to do via the language package custom area in the  
 document preferences, however using
 \usepackage[english]{babel}
 breaks unicode-math.

Is the use of babel mandated by blindtext?
Normally, you would use polyglossia with XeTeX/LuaTeX and Unicode fonts.

Günter



Re: blindtext, unicode-math, and babel won't play nice because of setmathfont

2014-05-09 Thread Guenter Milde
On 2014-05-05, asllearner wrote:

 I am trying to use a font for my main font, and also for math latin and  
 greek characters, while keeping the rest as is.
 At the same time, I want to use blindtext.
 blindtext only allows \blindmathtrue if the language has been set to  
 english:  
 http://texblog.org/2011/02/26/generating-dummy-textblindtext-with-latex-for-testing/

 This I believe I have to do via the language package custom area in the  
 document preferences, however using
 \usepackage[english]{babel}
 breaks unicode-math.

Is the use of babel mandated by blindtext?
Normally, you would use polyglossia with XeTeX/LuaTeX and Unicode fonts.

Günter



Re: blindtext, unicode-math, and babel won't play nice because of setmathfont

2014-05-09 Thread Guenter Milde
On 2014-05-05, asllearner wrote:

> I am trying to use a font for my main font, and also for math latin and  
> greek characters, while keeping the rest as is.
> At the same time, I want to use blindtext.
> blindtext only allows \blindmathtrue if the language has been set to  
> english:  
> http://texblog.org/2011/02/26/generating-dummy-textblindtext-with-latex-for-testing/

> This I believe I have to do via the language package custom area in the  
> document preferences, however using
> \usepackage[english]{babel}
> breaks unicode-math.

Is the use of babel mandated by "blindtext"?
Normally, you would use "polyglossia" with XeTeX/LuaTeX and Unicode fonts.

Günter



Re: blindtext, unicode-math, and babel won't play nice because of setmathfont

2014-05-08 Thread asllearner
Answer found. As predicted, the problem is a unicode-math problem, not  
LyX. Full details to be found at  
http://tex.stackexchange.com/questions/175765/blindtext-unicode-math-and-babel-wont-play-nice-because-of-setmathfont-in-ly.  
Thanks to all...


On Thu, 08 May 2014 17:49:58 +0900, asllearner  
gmane.99.ky...@spamgourmet.com wrote:



Thank you Scott and Richard for the pointers (helping me help people help
me). I did create a  tex/texshop quasi-MWE, so this is not a LyX problem.
In any event, I have attached a LyX quasi-MWE and error output log, in  
the

off chance someone here does have any ideas or can point me in the right
direction. I am going to pore over the unicode-math manual next and see  
if

I find anything there. Ultimately, this nothing mission critical
though...there is always lipsum...

David

On Thu, 08 May 2014 11:54:19 +0900, Richard Heck rgh...@lyx.org wrote:


On 05/07/2014 09:28 PM, asllearner wrote:

Yes, I was just about to add that. Thanks for the redirection. I am
aware it is quite likely the problem is more user error and not an
actual problem in the packages or in LyX. I have done what I can to
refer to the manuals and previous posts, but hadn't found anything
about this situation in particular.

I posted here first since my suspicion was that I wasn't asking LyX
properly to do what I wanted. I've had problems before with the fact
that LyX sets up babel and hyperref before the preamble kicks in. Also,
in the end my goal(hope) is to have all these work in LyX with the
actual document I am trying to produce, even if it is possible to get
the packages to work together in TeX. At ths point my best guess is the
problem is with how I am using unicode...


It's possible. Posting a minimal example will help people help you.

Richard





On Thu, 08 May 2014 05:52:18 +0900, Scott Kostyshak skost...@lyx.org
wrote:

On Wed, May 7, 2014 at 10:56 AM, Richard Heck rgh...@lyx.org wrote:

This really looks like a LaTeX question, not a LyX question. Try some
LaTeX
forum, or comp.text.tex.

For archival purposes, he posted here:
http://tex.stackexchange.com/questions/175765/blindtext-unicode-math-and-babel-wont-play-nice-because-of-setmathfont-in-ly
Scott












--
Using Opera's mail client: http://www.opera.com/mail/



Re: blindtext, unicode-math, and babel won't play nice because of setmathfont

2014-05-08 Thread Scott Kostyshak
On Fri, May 9, 2014 at 1:16 AM, asllearner
gmane.99.ky...@spamgourmet.com wrote:
 Answer found. As predicted, the problem is a unicode-math problem, not LyX.
 Full details to be found at
 http://tex.stackexchange.com/questions/175765/blindtext-unicode-math-and-babel-wont-play-nice-because-of-setmathfont-in-ly.
 Thanks to all...

Thanks for reporting back with the solution!

Scott


Re: blindtext, unicode-math, and babel won't play nice because of setmathfont

2014-05-08 Thread asllearner
Answer found. As predicted, the problem is a unicode-math problem, not  
LyX. Full details to be found at  
http://tex.stackexchange.com/questions/175765/blindtext-unicode-math-and-babel-wont-play-nice-because-of-setmathfont-in-ly.  
Thanks to all...


On Thu, 08 May 2014 17:49:58 +0900, asllearner  
gmane.99.ky...@spamgourmet.com wrote:



Thank you Scott and Richard for the pointers (helping me help people help
me). I did create a  tex/texshop quasi-MWE, so this is not a LyX problem.
In any event, I have attached a LyX quasi-MWE and error output log, in  
the

off chance someone here does have any ideas or can point me in the right
direction. I am going to pore over the unicode-math manual next and see  
if

I find anything there. Ultimately, this nothing mission critical
though...there is always lipsum...

David

On Thu, 08 May 2014 11:54:19 +0900, Richard Heck rgh...@lyx.org wrote:


On 05/07/2014 09:28 PM, asllearner wrote:

Yes, I was just about to add that. Thanks for the redirection. I am
aware it is quite likely the problem is more user error and not an
actual problem in the packages or in LyX. I have done what I can to
refer to the manuals and previous posts, but hadn't found anything
about this situation in particular.

I posted here first since my suspicion was that I wasn't asking LyX
properly to do what I wanted. I've had problems before with the fact
that LyX sets up babel and hyperref before the preamble kicks in. Also,
in the end my goal(hope) is to have all these work in LyX with the
actual document I am trying to produce, even if it is possible to get
the packages to work together in TeX. At ths point my best guess is the
problem is with how I am using unicode...


It's possible. Posting a minimal example will help people help you.

Richard





On Thu, 08 May 2014 05:52:18 +0900, Scott Kostyshak skost...@lyx.org
wrote:

On Wed, May 7, 2014 at 10:56 AM, Richard Heck rgh...@lyx.org wrote:

This really looks like a LaTeX question, not a LyX question. Try some
LaTeX
forum, or comp.text.tex.

For archival purposes, he posted here:
http://tex.stackexchange.com/questions/175765/blindtext-unicode-math-and-babel-wont-play-nice-because-of-setmathfont-in-ly
Scott












--
Using Opera's mail client: http://www.opera.com/mail/



Re: blindtext, unicode-math, and babel won't play nice because of setmathfont

2014-05-08 Thread Scott Kostyshak
On Fri, May 9, 2014 at 1:16 AM, asllearner
gmane.99.ky...@spamgourmet.com wrote:
 Answer found. As predicted, the problem is a unicode-math problem, not LyX.
 Full details to be found at
 http://tex.stackexchange.com/questions/175765/blindtext-unicode-math-and-babel-wont-play-nice-because-of-setmathfont-in-ly.
 Thanks to all...

Thanks for reporting back with the solution!

Scott


Re: blindtext, unicode-math, and babel won't play nice because of setmathfont

2014-05-08 Thread asllearner
Answer found. As predicted, the problem is a unicode-math problem, not  
LyX. Full details to be found at  
http://tex.stackexchange.com/questions/175765/blindtext-unicode-math-and-babel-wont-play-nice-because-of-setmathfont-in-ly.  
Thanks to all...


On Thu, 08 May 2014 17:49:58 +0900, asllearner  
 wrote:



Thank you Scott and Richard for the pointers (helping me help people help
me). I did create a  tex/texshop quasi-MWE, so this is not a LyX problem.
In any event, I have attached a LyX quasi-MWE and error output log, in  
the

off chance someone here does have any ideas or can point me in the right
direction. I am going to pore over the unicode-math manual next and see  
if

I find anything there. Ultimately, this nothing mission critical
though...there is always lipsum...

David

On Thu, 08 May 2014 11:54:19 +0900, Richard Heck  wrote:


On 05/07/2014 09:28 PM, asllearner wrote:

Yes, I was just about to add that. Thanks for the redirection. I am
aware it is quite likely the problem is more "user error" and not an
actual problem in the packages or in LyX. I have done what I can to
refer to the manuals and previous posts, but hadn't found anything
about this situation in particular.

I posted here first since my suspicion was that I wasn't asking LyX
properly to do what I wanted. I've had problems before with the fact
that LyX sets up babel and hyperref before the preamble kicks in. Also,
in the end my goal(hope) is to have all these work in LyX with the
actual document I am trying to produce, even if it is possible to get
the packages to work together in TeX. At ths point my best guess is the
problem is with how I am using unicode...


It's possible. Posting a "minimal example" will help people help you.

Richard





On Thu, 08 May 2014 05:52:18 +0900, Scott Kostyshak 
wrote:

On Wed, May 7, 2014 at 10:56 AM, Richard Heck  wrote:

This really looks like a LaTeX question, not a LyX question. Try some
LaTeX
forum, or comp.text.tex.

For archival purposes, he posted here:
http://tex.stackexchange.com/questions/175765/blindtext-unicode-math-and-babel-wont-play-nice-because-of-setmathfont-in-ly
Scott












--
Using Opera's mail client: http://www.opera.com/mail/



Re: blindtext, unicode-math, and babel won't play nice because of setmathfont

2014-05-08 Thread Scott Kostyshak
On Fri, May 9, 2014 at 1:16 AM, asllearner
 wrote:
> Answer found. As predicted, the problem is a unicode-math problem, not LyX.
> Full details to be found at
> http://tex.stackexchange.com/questions/175765/blindtext-unicode-math-and-babel-wont-play-nice-because-of-setmathfont-in-ly.
> Thanks to all...

Thanks for reporting back with the solution!

Scott


Re: blindtext, unicode-math, and babel won't play nice because of setmathfont

2014-05-07 Thread Richard Heck


This really looks like a LaTeX question, not a LyX question. Try some 
LaTeX forum, or comp.text.tex.


Richard


On 05/05/2014 11:08 AM, asllearner wrote:


I am trying to use a font for my main font, and also for math latin 
and greek characters, while keeping the rest as is.

At the same time, I want to use blindtext.
blindtext only allows \blindmathtrue if the language has been set to 
english: 
http://texblog.org/2011/02/26/generating-dummy-textblindtext-with-latex-for-testing/
This I believe I have to do via the language package custom area in 
the document preferences, however using

\usepackage[english]{babel}
breaks unicode-math.
I get
! Font \l_tmpb_font has only 8 fontdimen parameters.

If I use the default language package, all works, except, as stated 
above, blindtext english/math.


%This is in my preamble:
\usepackage[vargreek-shape=unicode]{unicode-math}
\setmathfont{Latin Modern Math} % this is obligatory or no math font 
will be set...

%everything works to here. But this setmathfonts is causing the problem
\setmathfont[range=\mathit/{latin, Latin}]{SNsanafonmaruP} % upper and 
lower case  latin and numbers % any font will do


\setmainfont[Mapping= tex-text]{SNsanafonmaruP} % not actually 
relevant

\usepackage{blindtext}

The font doesn't matter; I get the same behavior whatever font I use, 
even standard ones...


(NB, this is heavily redacted from a larger set of uses of 
unicode-math for nefarious purposes, so this a best effort to produce 
a MWE for what seems to be the crux of the matter).


PS apparently an incomplete version of this post got sent. please ignore.




Re: blindtext, unicode-math, and babel won't play nice because of setmathfont

2014-05-07 Thread Scott Kostyshak
On Wed, May 7, 2014 at 10:56 AM, Richard Heck rgh...@lyx.org wrote:

 This really looks like a LaTeX question, not a LyX question. Try some LaTeX
 forum, or comp.text.tex.

For archival purposes, he posted here:
http://tex.stackexchange.com/questions/175765/blindtext-unicode-math-and-babel-wont-play-nice-because-of-setmathfont-in-ly

Scott


Re: blindtext, unicode-math, and babel won't play nice because of setmathfont

2014-05-07 Thread asllearner
Yes, I was just about to add that. Thanks for the redirection. I am aware  
it is quite likely the problem is more user error and not an actual  
problem in the packages or in LyX. I have done what I can to refer to the  
manuals and previous posts, but hadn't found anything about this situation  
in particular.


I posted here first since my suspicion was that I wasn't asking LyX  
properly to do what I wanted. I've had problems before with the fact that  
LyX sets up babel and hyperref before the preamble kicks in. Also, in the  
end my goal(hope) is to have all these work in LyX with the actual  
document I am trying to produce, even if it is possible to get the  
packages to work together in TeX. At ths point my best guess is the  
problem is with how I am using unicode...




On Thu, 08 May 2014 05:52:18 +0900, Scott Kostyshak skost...@lyx.org  
wrote:


On Wed, May 7, 2014 at 10:56 AM, Richard Heck rgh...@lyx.org wrote:

This really looks like a LaTeX question, not a LyX question. Try some LaTeX
forum, or comp.text.tex.

For archival purposes, he posted here:
http://tex.stackexchange.com/questions/175765/blindtext-unicode-math-and-babel-wont-play-nice-because-of-setmathfont-in-ly

Scott





Re: blindtext, unicode-math, and babel won't play nice because of setmathfont

2014-05-07 Thread Richard Heck

On 05/07/2014 09:28 PM, asllearner wrote:
Yes, I was just about to add that. Thanks for the redirection. I am 
aware it is quite likely the problem is more user error and not an 
actual problem in the packages or in LyX. I have done what I can to 
refer to the manuals and previous posts, but hadn't found anything 
about this situation in particular.


I posted here first since my suspicion was that I wasn't asking LyX 
properly to do what I wanted. I've had problems before with the fact 
that LyX sets up babel and hyperref before the preamble kicks in. 
Also, in the end my goal(hope) is to have all these work in LyX with 
the actual document I am trying to produce, even if it is possible to 
get the packages to work together in TeX. At ths point my best guess 
is the problem is with how I am using unicode...


It's possible. Posting a minimal example will help people help you.

Richard





On Thu, 08 May 2014 05:52:18 +0900, Scott Kostyshak skost...@lyx.org 
wrote:


On Wed, May 7, 2014 at 10:56 AM, Richard Heck rgh...@lyx.org wrote:

This really looks like a LaTeX question, not a LyX question. Try some 
LaTeX

forum, or comp.text.tex.

For archival purposes, he posted here:
http://tex.stackexchange.com/questions/175765/blindtext-unicode-math-and-babel-wont-play-nice-because-of-setmathfont-in-ly 



Scott







Re: blindtext, unicode-math, and babel won't play nice because of setmathfont

2014-05-07 Thread Richard Heck


This really looks like a LaTeX question, not a LyX question. Try some 
LaTeX forum, or comp.text.tex.


Richard


On 05/05/2014 11:08 AM, asllearner wrote:


I am trying to use a font for my main font, and also for math latin 
and greek characters, while keeping the rest as is.

At the same time, I want to use blindtext.
blindtext only allows \blindmathtrue if the language has been set to 
english: 
http://texblog.org/2011/02/26/generating-dummy-textblindtext-with-latex-for-testing/
This I believe I have to do via the language package custom area in 
the document preferences, however using

\usepackage[english]{babel}
breaks unicode-math.
I get
! Font \l_tmpb_font has only 8 fontdimen parameters.

If I use the default language package, all works, except, as stated 
above, blindtext english/math.


%This is in my preamble:
\usepackage[vargreek-shape=unicode]{unicode-math}
\setmathfont{Latin Modern Math} % this is obligatory or no math font 
will be set...

%everything works to here. But this setmathfonts is causing the problem
\setmathfont[range=\mathit/{latin, Latin}]{SNsanafonmaruP} % upper and 
lower case  latin and numbers % any font will do


\setmainfont[Mapping= tex-text]{SNsanafonmaruP} % not actually 
relevant

\usepackage{blindtext}

The font doesn't matter; I get the same behavior whatever font I use, 
even standard ones...


(NB, this is heavily redacted from a larger set of uses of 
unicode-math for nefarious purposes, so this a best effort to produce 
a MWE for what seems to be the crux of the matter).


PS apparently an incomplete version of this post got sent. please ignore.




Re: blindtext, unicode-math, and babel won't play nice because of setmathfont

2014-05-07 Thread Scott Kostyshak
On Wed, May 7, 2014 at 10:56 AM, Richard Heck rgh...@lyx.org wrote:

 This really looks like a LaTeX question, not a LyX question. Try some LaTeX
 forum, or comp.text.tex.

For archival purposes, he posted here:
http://tex.stackexchange.com/questions/175765/blindtext-unicode-math-and-babel-wont-play-nice-because-of-setmathfont-in-ly

Scott


Re: blindtext, unicode-math, and babel won't play nice because of setmathfont

2014-05-07 Thread asllearner
Yes, I was just about to add that. Thanks for the redirection. I am aware  
it is quite likely the problem is more user error and not an actual  
problem in the packages or in LyX. I have done what I can to refer to the  
manuals and previous posts, but hadn't found anything about this situation  
in particular.


I posted here first since my suspicion was that I wasn't asking LyX  
properly to do what I wanted. I've had problems before with the fact that  
LyX sets up babel and hyperref before the preamble kicks in. Also, in the  
end my goal(hope) is to have all these work in LyX with the actual  
document I am trying to produce, even if it is possible to get the  
packages to work together in TeX. At ths point my best guess is the  
problem is with how I am using unicode...




On Thu, 08 May 2014 05:52:18 +0900, Scott Kostyshak skost...@lyx.org  
wrote:


On Wed, May 7, 2014 at 10:56 AM, Richard Heck rgh...@lyx.org wrote:

This really looks like a LaTeX question, not a LyX question. Try some LaTeX
forum, or comp.text.tex.

For archival purposes, he posted here:
http://tex.stackexchange.com/questions/175765/blindtext-unicode-math-and-babel-wont-play-nice-because-of-setmathfont-in-ly

Scott





Re: blindtext, unicode-math, and babel won't play nice because of setmathfont

2014-05-07 Thread Richard Heck

On 05/07/2014 09:28 PM, asllearner wrote:
Yes, I was just about to add that. Thanks for the redirection. I am 
aware it is quite likely the problem is more user error and not an 
actual problem in the packages or in LyX. I have done what I can to 
refer to the manuals and previous posts, but hadn't found anything 
about this situation in particular.


I posted here first since my suspicion was that I wasn't asking LyX 
properly to do what I wanted. I've had problems before with the fact 
that LyX sets up babel and hyperref before the preamble kicks in. 
Also, in the end my goal(hope) is to have all these work in LyX with 
the actual document I am trying to produce, even if it is possible to 
get the packages to work together in TeX. At ths point my best guess 
is the problem is with how I am using unicode...


It's possible. Posting a minimal example will help people help you.

Richard





On Thu, 08 May 2014 05:52:18 +0900, Scott Kostyshak skost...@lyx.org 
wrote:


On Wed, May 7, 2014 at 10:56 AM, Richard Heck rgh...@lyx.org wrote:

This really looks like a LaTeX question, not a LyX question. Try some 
LaTeX

forum, or comp.text.tex.

For archival purposes, he posted here:
http://tex.stackexchange.com/questions/175765/blindtext-unicode-math-and-babel-wont-play-nice-because-of-setmathfont-in-ly 



Scott







Re: blindtext, unicode-math, and babel won't play nice because of setmathfont

2014-05-07 Thread Richard Heck


This really looks like a LaTeX question, not a LyX question. Try some 
LaTeX forum, or comp.text.tex.


Richard


On 05/05/2014 11:08 AM, asllearner wrote:


I am trying to use a font for my main font, and also for math latin 
and greek characters, while keeping the rest as is.

At the same time, I want to use blindtext.
blindtext only allows \blindmathtrue if the language has been set to 
english: 
http://texblog.org/2011/02/26/generating-dummy-textblindtext-with-latex-for-testing/
This I believe I have to do via the language package custom area in 
the document preferences, however using

\usepackage[english]{babel}
breaks unicode-math.
I get
! Font \l_tmpb_font has only 8 fontdimen parameters.

If I use the default language package, all works, except, as stated 
above, blindtext english/math.


%This is in my preamble:
\usepackage[vargreek-shape=unicode]{unicode-math}
\setmathfont{Latin Modern Math} % this is obligatory or no math font 
will be set...

%everything works to here. But this setmathfonts is causing the problem
\setmathfont[range=\mathit/{latin, Latin}]{SNsanafonmaruP} % upper and 
lower case  latin and numbers % any font will do


\setmainfont[Mapping= tex-text]{SNsanafonmaruP} % not actually 
relevant

\usepackage{blindtext}

The font doesn't matter; I get the same behavior whatever font I use, 
even standard ones...


(NB, this is heavily redacted from a larger set of uses of 
unicode-math for nefarious purposes, so this a best effort to produce 
a MWE for what seems to be the crux of the matter).


PS apparently an incomplete version of this post got sent. please ignore.




Re: blindtext, unicode-math, and babel won't play nice because of setmathfont

2014-05-07 Thread Scott Kostyshak
On Wed, May 7, 2014 at 10:56 AM, Richard Heck  wrote:
>
> This really looks like a LaTeX question, not a LyX question. Try some LaTeX
> forum, or comp.text.tex.

For archival purposes, he posted here:
http://tex.stackexchange.com/questions/175765/blindtext-unicode-math-and-babel-wont-play-nice-because-of-setmathfont-in-ly

Scott


Re: blindtext, unicode-math, and babel won't play nice because of setmathfont

2014-05-07 Thread asllearner
Yes, I was just about to add that. Thanks for the redirection. I am aware  
it is quite likely the problem is more "user error" and not an actual  
problem in the packages or in LyX. I have done what I can to refer to the  
manuals and previous posts, but hadn't found anything about this situation  
in particular.


I posted here first since my suspicion was that I wasn't asking LyX  
properly to do what I wanted. I've had problems before with the fact that  
LyX sets up babel and hyperref before the preamble kicks in. Also, in the  
end my goal(hope) is to have all these work in LyX with the actual  
document I am trying to produce, even if it is possible to get the  
packages to work together in TeX. At ths point my best guess is the  
problem is with how I am using unicode...




On Thu, 08 May 2014 05:52:18 +0900, Scott Kostyshak   
wrote:


On Wed, May 7, 2014 at 10:56 AM, Richard Heck  wrote:

This really looks like a LaTeX question, not a LyX question. Try some LaTeX
forum, or comp.text.tex.

For archival purposes, he posted here:
http://tex.stackexchange.com/questions/175765/blindtext-unicode-math-and-babel-wont-play-nice-because-of-setmathfont-in-ly

Scott





Re: blindtext, unicode-math, and babel won't play nice because of setmathfont

2014-05-07 Thread Richard Heck

On 05/07/2014 09:28 PM, asllearner wrote:
Yes, I was just about to add that. Thanks for the redirection. I am 
aware it is quite likely the problem is more "user error" and not an 
actual problem in the packages or in LyX. I have done what I can to 
refer to the manuals and previous posts, but hadn't found anything 
about this situation in particular.


I posted here first since my suspicion was that I wasn't asking LyX 
properly to do what I wanted. I've had problems before with the fact 
that LyX sets up babel and hyperref before the preamble kicks in. 
Also, in the end my goal(hope) is to have all these work in LyX with 
the actual document I am trying to produce, even if it is possible to 
get the packages to work together in TeX. At ths point my best guess 
is the problem is with how I am using unicode...


It's possible. Posting a "minimal example" will help people help you.

Richard





On Thu, 08 May 2014 05:52:18 +0900, Scott Kostyshak  
wrote:


On Wed, May 7, 2014 at 10:56 AM, Richard Heck  wrote:

This really looks like a LaTeX question, not a LyX question. Try some 
LaTeX

forum, or comp.text.tex.

For archival purposes, he posted here:
http://tex.stackexchange.com/questions/175765/blindtext-unicode-math-and-babel-wont-play-nice-because-of-setmathfont-in-ly 



Scott







[resent sorry if repeats] blindtext, unicode-math, and babel won't play nice because of setmathfont

2014-05-06 Thread asllearner
[This is being resent. I seem to be having mail server problems. Sorry if it
appears multiple times]

I am trying to use a font for my main font, and also for math latin and
greek characters, while keeping the rest as is.
At the same time, I want to use blindtext.
blindtext only allows \blindmathtrue if the language has been set to
english:
http://texblog.org/2011/02/26/generating-dummy-textblindtext-with-latex-for-testing/
This I believe I have to do via the language package custom area in the
document preferences, however using
\usepackage[english]{babel}
breaks unicode-math.
I get
! Font \l_tmpb_font has only 8 fontdimen parameters.

If I use the default language package, all works, except, as stated above,
blindtext english/math.

%This is in my preamble:
\usepackage[vargreek-shape=unicode]{unicode-math}
\setmathfont{Latin Modern Math} % this is obligatory or no math font will
be set...
%everything works to here. But this setmathfonts is causing the problem
\setmathfont[range=\mathit/{latin, Latin}]{SNsanafonmaruP} %  upper and
lower case  latin and numbers % any font will do

\setmainfont[Mapping= tex-text]{SNsanafonmaruP} % not actually relevant
\usepackage{blindtext}

The font doesn't matter; I get the same behavior whatever font I use, even
standard ones...

(NB, this is heavily redacted from a larger set of uses of unicode-math
for nefarious purposes, so this a best effort to produce a MWE for what
seems to be the crux of the matter).

PS apparently an incomplete version of this post got sent. please ignore.
-- 
:-)



blindtext, unicode-math, and babel won't play nice because of setmathfont

2014-05-06 Thread asllearner


I am trying to use a font for my main font, and also for math latin and  
greek characters, while keeping the rest as is.

At the same time, I want to use blindtext.
blindtext only allows \blindmathtrue if the language has been set to  
english:  
http://texblog.org/2011/02/26/generating-dummy-textblindtext-with-latex-for-testing/
This I believe I have to do via the language package custom area in the  
document preferences, however using

\usepackage[english]{babel}
breaks unicode-math.
I get
! Font \l_tmpb_font has only 8 fontdimen parameters.

If I use the default language package, all works, except, as stated above,  
blindtext english/math.


%This is in my preamble:
\usepackage[vargreek-shape=unicode]{unicode-math}
\setmathfont{Latin Modern Math} % this is obligatory or no math font will  
be set...

%everything works to here. But this setmathfonts is causing the problem
\setmathfont[range=\mathit/{latin, Latin}]{SNsanafonmaruP} %  upper and  
lower case  latin and numbers % any font will do


\setmainfont[Mapping= tex-text]{SNsanafonmaruP} % not actually relevant
\usepackage{blindtext}

The font doesn't matter; I get the same behavior whatever font I use, even  
standard ones...


(NB, this is heavily redacted from a larger set of uses of unicode-math  
for nefarious purposes, so this a best effort to produce a MWE for what  
seems to be the crux of the matter).


PS apparently an incomplete version of this post got sent. please ignore.
--
:-)



[resent sorry if repeats] blindtext, unicode-math, and babel won't play nice because of setmathfont

2014-05-06 Thread asllearner
[This is being resent. I seem to be having mail server problems. Sorry if it
appears multiple times]

I am trying to use a font for my main font, and also for math latin and
greek characters, while keeping the rest as is.
At the same time, I want to use blindtext.
blindtext only allows \blindmathtrue if the language has been set to
english:
http://texblog.org/2011/02/26/generating-dummy-textblindtext-with-latex-for-testing/
This I believe I have to do via the language package custom area in the
document preferences, however using
\usepackage[english]{babel}
breaks unicode-math.
I get
! Font \l_tmpb_font has only 8 fontdimen parameters.

If I use the default language package, all works, except, as stated above,
blindtext english/math.

%This is in my preamble:
\usepackage[vargreek-shape=unicode]{unicode-math}
\setmathfont{Latin Modern Math} % this is obligatory or no math font will
be set...
%everything works to here. But this setmathfonts is causing the problem
\setmathfont[range=\mathit/{latin, Latin}]{SNsanafonmaruP} %  upper and
lower case  latin and numbers % any font will do

\setmainfont[Mapping= tex-text]{SNsanafonmaruP} % not actually relevant
\usepackage{blindtext}

The font doesn't matter; I get the same behavior whatever font I use, even
standard ones...

(NB, this is heavily redacted from a larger set of uses of unicode-math
for nefarious purposes, so this a best effort to produce a MWE for what
seems to be the crux of the matter).

PS apparently an incomplete version of this post got sent. please ignore.
-- 
:-)



blindtext, unicode-math, and babel won't play nice because of setmathfont

2014-05-06 Thread asllearner


I am trying to use a font for my main font, and also for math latin and  
greek characters, while keeping the rest as is.

At the same time, I want to use blindtext.
blindtext only allows \blindmathtrue if the language has been set to  
english:  
http://texblog.org/2011/02/26/generating-dummy-textblindtext-with-latex-for-testing/
This I believe I have to do via the language package custom area in the  
document preferences, however using

\usepackage[english]{babel}
breaks unicode-math.
I get
! Font \l_tmpb_font has only 8 fontdimen parameters.

If I use the default language package, all works, except, as stated above,  
blindtext english/math.


%This is in my preamble:
\usepackage[vargreek-shape=unicode]{unicode-math}
\setmathfont{Latin Modern Math} % this is obligatory or no math font will  
be set...

%everything works to here. But this setmathfonts is causing the problem
\setmathfont[range=\mathit/{latin, Latin}]{SNsanafonmaruP} %  upper and  
lower case  latin and numbers % any font will do


\setmainfont[Mapping= tex-text]{SNsanafonmaruP} % not actually relevant
\usepackage{blindtext}

The font doesn't matter; I get the same behavior whatever font I use, even  
standard ones...


(NB, this is heavily redacted from a larger set of uses of unicode-math  
for nefarious purposes, so this a best effort to produce a MWE for what  
seems to be the crux of the matter).


PS apparently an incomplete version of this post got sent. please ignore.
--
:-)



[resent sorry if repeats] blindtext, unicode-math, and babel won't play nice because of setmathfont

2014-05-06 Thread asllearner
[This is being resent. I seem to be having mail server problems. Sorry if it
appears multiple times]

I am trying to use a font for my main font, and also for math latin and
greek characters, while keeping the rest as is.
At the same time, I want to use blindtext.
blindtext only allows \blindmathtrue if the language has been set to
english:
http://texblog.org/2011/02/26/generating-dummy-textblindtext-with-latex-for-testing/
This I believe I have to do via the language package custom area in the
document preferences, however using
\usepackage[english]{babel}
breaks unicode-math.
I get
! Font \l_tmpb_font has only 8 fontdimen parameters.

If I use the default language package, all works, except, as stated above,
blindtext english/math.

%This is in my preamble:
\usepackage[vargreek-shape=unicode]{unicode-math}
\setmathfont{Latin Modern Math} % this is obligatory or no math font will
be set...
%everything works to here. But this setmathfonts is causing the problem
\setmathfont[range=\mathit/{latin, Latin}]{SNsanafonmaruP} %  upper and
lower case  latin and numbers % any font will do

\setmainfont[Mapping= tex-text]{SNsanafonmaruP} % not actually relevant
\usepackage{blindtext}

The font doesn't matter; I get the same behavior whatever font I use, even
standard ones...

(NB, this is heavily redacted from a larger set of uses of unicode-math
for nefarious purposes, so this a best effort to produce a MWE for what
seems to be the crux of the matter).

PS apparently an incomplete version of this post got sent. please ignore.
-- 
:-)



blindtext, unicode-math, and babel won't play nice because of setmathfont

2014-05-06 Thread asllearner


I am trying to use a font for my main font, and also for math latin and  
greek characters, while keeping the rest as is.

At the same time, I want to use blindtext.
blindtext only allows \blindmathtrue if the language has been set to  
english:  
http://texblog.org/2011/02/26/generating-dummy-textblindtext-with-latex-for-testing/
This I believe I have to do via the language package custom area in the  
document preferences, however using

\usepackage[english]{babel}
breaks unicode-math.
I get
! Font \l_tmpb_font has only 8 fontdimen parameters.

If I use the default language package, all works, except, as stated above,  
blindtext english/math.


%This is in my preamble:
\usepackage[vargreek-shape=unicode]{unicode-math}
\setmathfont{Latin Modern Math} % this is obligatory or no math font will  
be set...

%everything works to here. But this setmathfonts is causing the problem
\setmathfont[range=\mathit/{latin, Latin}]{SNsanafonmaruP} %  upper and  
lower case  latin and numbers % any font will do


\setmainfont[Mapping= tex-text]{SNsanafonmaruP} % not actually relevant
\usepackage{blindtext}

The font doesn't matter; I get the same behavior whatever font I use, even  
standard ones...


(NB, this is heavily redacted from a larger set of uses of unicode-math  
for nefarious purposes, so this a best effort to produce a MWE for what  
seems to be the crux of the matter).


PS apparently an incomplete version of this post got sent. please ignore.
--
:-)