Re: [NTG-context] Fonts problems with ConTeXt MKIV (LuaTeX)

2012-11-09 Thread Patrick

On 11/08/2012 05:19 PM, Patrick wrote:

Dear all,

I have to use a special font (DIN) for my document. This font have a
really limited number of caracters.

Previously I was using ConTeXt MKII with no problems. After migrating to
ConTeXt MKiV the math formula and list doesn’t work due to the font.
It's like the charset used for the formula and the list bullet are not
available. I have not this issue with the same font with ConTeXt MKII.

The code used to load the font is not the same for the two version. With
MKIV I use the simplefonts module, with MKII I use typescript. Both code
are available below.

Do you have any idea how could I use DIN font with MKIV without breaking
math formula ?

Thanks in advance for any hint



I could reproduce the problem with this simple example:

\usemodule[simplefonts]
\setsansfont[nimbus]

\starttext
An equation $e^{\pi i}+1=0$, or as a
\stoptext

Any idea why it doesn't work ?

___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Fonts problems with ConTeXt MKIV (LuaTeX)

2012-11-09 Thread Wolfgang Schuster

Am 09.11.2012 um 09:37 schrieb Patrick kpa_i...@yahoo.fr:

 I could reproduce the problem with this simple example:
 
 \usemodule[simplefonts]
 \setsansfont[nimbus]
 
 \starttext
 An equation $e^{\pi i}+1=0$, or as a
 \stoptext
 
 Any idea why it doesn't work ?

What happens when you remove the \setsansfont line (the Nimbis isn’t even used 
in the example)?

Wolfgang
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Fonts problems with ConTeXt MKIV (LuaTeX)

2012-11-09 Thread Patrick

On 11/09/2012 09:42 AM, Wolfgang Schuster wrote:


Am 09.11.2012 um 09:37 schrieb Patrick kpa_i...@yahoo.fr:


I could reproduce the problem with this simple example:

\usemodule[simplefonts]
\setsansfont[nimbus]

\starttext
An equation $e^{\pi i}+1=0$, or as a
\stoptext

Any idea why it doesn't work ?


What happens when you remove the \setsansfont line (the Nimbis isn’t even used 
in the example)?

Wolfgang


When I remove the \setsansfont it works perfectly...

When I but back the \setsansfont I have the following error:

1 \usemodule[simplefonts]
2 \setsansfont[nimbus]
3
4 \starttext
5   An equation $e^{\pi i}+1=0$, or as a
6 \stoptext

l.5 An equation $e^{\pi i}+1=0$
   , or as a
?


___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Fonts problems with ConTeXt MKIV (LuaTeX)

2012-11-09 Thread Wolfgang Schuster

Am 09.11.2012 um 10:47 schrieb Patrick kpa_i...@yahoo.fr:

 On 11/09/2012 09:42 AM, Wolfgang Schuster wrote:
 
 Am 09.11.2012 um 09:37 schrieb Patrick kpa_i...@yahoo.fr:
 
 I could reproduce the problem with this simple example:
 
 \usemodule[simplefonts]
 \setsansfont[nimbus]
 
 \starttext
 An equation $e^{\pi i}+1=0$, or as a
 \stoptext
 
 Any idea why it doesn't work ?
 
 What happens when you remove the \setsansfont line (the Nimbis isn’t even 
 used in the example)?
 
 Wolfgang
 
 When I remove the \setsansfont it works perfectly...
 
 When I but back the \setsansfont I have the following error:
 
 1 \usemodule[simplefonts]
 2 \setsansfont[nimbus]
 3
 4 \starttext
 5   An equation $e^{\pi i}+1=0$, or as a
 6 \stoptext
 
 l.5 An equation $e^{\pi i}+1=0$
   , or as a
 ?

Is there also a error message?

Wolfgang
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Fonts problems with ConTeXt MKIV (LuaTeX)

2012-11-09 Thread Patrick

On 11/09/2012 11:06 AM, Wolfgang Schuster wrote:


Am 09.11.2012 um 10:47 schrieb Patrick kpa_i...@yahoo.fr:


On 11/09/2012 09:42 AM, Wolfgang Schuster wrote:


Am 09.11.2012 um 09:37 schrieb Patrick kpa_i...@yahoo.fr:


I could reproduce the problem with this simple example:

\usemodule[simplefonts]
\setsansfont[nimbus]

\starttext
An equation $e^{\pi i}+1=0$, or as a
\stoptext

Any idea why it doesn't work ?


What happens when you remove the \setsansfont line (the Nimbis isn’t even used 
in the example)?

Wolfgang


When I remove the \setsansfont it works perfectly...

When I but back the \setsansfont I have the following error:

1 \usemodule[simplefonts]
2 \setsansfont[nimbus]
3
4 \starttext
5   An equation $e^{\pi i}+1=0$, or as a
6 \stoptext

l.5 An equation $e^{\pi i}+1=0$
   , or as a
?


Is there also a error message?



Yes :

! Math error: parameter \Umathquad\displaystyle is not set.

system   tex  error on line 5 in file untitled-4.tex: Math 
error: parameter \Umathquad\displaystyle is not set ...



___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Fonts problems with ConTeXt MKIV (LuaTeX)

2012-11-09 Thread luigi scarso
On Fri, Nov 9, 2012 at 11:42 AM, Patrick kpa_i...@yahoo.fr wrote:

 On 11/09/2012 11:06 AM, Wolfgang Schuster wrote:


 Am 09.11.2012 um 10:47 schrieb Patrick kpa_i...@yahoo.fr:

  On 11/09/2012 09:42 AM, Wolfgang Schuster wrote:


 Am 09.11.2012 um 09:37 schrieb Patrick kpa_i...@yahoo.fr:

  I could reproduce the problem with this simple example:

 \usemodule[simplefonts]
 \setsansfont[nimbus]

 \starttext
 An equation $e^{\pi i}+1=0$, or as a
 \stoptext

 Any idea why it doesn't work ?


 What happens when you remove the \setsansfont line (the Nimbis isn’t
 even used in the example)?

 Wolfgang


 When I remove the \setsansfont it works perfectly...

 When I but back the \setsansfont I have the following error:

 1 \usemodule[simplefonts]
 2 \setsansfont[nimbus]
 3
 4 \starttext
 5   An equation $e^{\pi i}+1=0$, or as a
 6 \stoptext

 l.5 An equation $e^{\pi i}+1=0$
, or as a
 ?


 Is there also a error message?


 Yes :

 ! Math error: parameter \Umathquad\displaystyle is not set.

 system   tex  error on line 5 in file untitled-4.tex: Math
 error: parameter \Umathquad\displaystyle is not set ...


 It's ok on my mkiv.
Which version do you have ?


-- 
luigi
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___

Re: [NTG-context] Fonts problems with ConTeXt MKIV (LuaTeX)

2012-11-09 Thread Patrick

On 11/09/2012 11:56 AM, luigi scarso wrote:



It's ok on my mkiv.
Which version do you have ?



I am using the default ubuntu packages:

context --version

mtx-context | main context file: 
/usr/share/texmf/tex/context/base/context.mkiv

mtx-context | current version: 2011.05.18 18:04

luatex --version
This is LuaTeX, Version beta-0.70.1-2011120612

I think I have to update !
Do you have link on a more recent version packaged for ubuntu ?

Thanks

Patrick
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Fonts problems with ConTeXt MKIV (LuaTeX)

2012-11-09 Thread luigi scarso
On Fri, Nov 9, 2012 at 12:16 PM, Patrick kpa_i...@yahoo.fr wrote:

 On 11/09/2012 11:56 AM, luigi scarso wrote:



 It's ok on my mkiv.
 Which version do you have ?


 I am using the default ubuntu packages:

 context --version

 mtx-context | main context file: /usr/share/texmf/tex/context/**
 base/context.mkiv
 mtx-context | current version: 2011.05.18 18:04

 luatex --version
 This is LuaTeX, Version beta-0.70.1-2011120612

 I think I have to update !
 Do you have link on a more recent version packaged for ubuntu ?

 Thanks

 _

Uh...well the situation is the following
1) I'm using ubuntu 12.04 lts 32 bit
2) I don't use tex* from ubuntu
3) I manually install the latest mkiv in /opt/luatex/context-standalone
(for mkii and mkiv only )
4) I manually install texlive under /opt/luatex/texlive/2012 (for latex
only)

You have a more-than-a-month-old mkiv, which currently  means unsupported.


-- 
luigi
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___

Re: [NTG-context] Fonts problems with ConTeXt MKIV (LuaTeX)

2012-11-09 Thread Patrick



Uh...well the situation is the following
1) I'm using ubuntu 12.04 lts 32 bit
2) I don't use tex* from ubuntu
3) I manually install the latest mkiv in /opt/luatex/context-standalone
(for mkii and mkiv only )
4) I manually install texlive under /opt/luatex/texlive/2012 (for latex
only)

You have a more-than-a-month-old mkiv, which currently  means unsupported.



I have updated using ConTeXt Standalone.

It works nicely with the last stable version (sh ./first-setup.sh 
--context=current) but if I update to last unstable version (sh 
./first-setup.sh) I have another error with the \page command...


By the way with the stable version everything seems to work !

Thanks all for your help

___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Fonts problems with ConTeXt MKIV (LuaTeX)

2012-11-09 Thread luigi scarso

 I have updated using ConTeXt Standalone.

 It works nicely with the last stable version (sh ./first-setup.sh
 --context=current) but if I update to last unstable version (sh
 ./first-setup.sh) I have another error with the \page command...

 By the way with the stable version everything seems to work !

 good --- which error do you have with \page command ?

-- 
luigi
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___