ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* LinuxLibertine and math with LuaTeX
@ 2008-07-11 17:58 Holzminister
  2008-07-11 21:46 ` Olivier Guéry
  2008-07-11 21:47 ` Hans Hagen
  0 siblings, 2 replies; 6+ messages in thread
From: Holzminister @ 2008-07-11 17:58 UTC (permalink / raw)
  To: ntg-context

Hi!

With the help of this great mailing-list I managed to type text with the
opentype version of LinuxLibertine. But the math font still falls back
to Latin Modern (I think). Is there a way to get mathsymbols typed with
LinuxLibertine, too?

My code so far:

% engine=luatex

\starttypescript [serif] [linuxlibertine]
  \setups[font:fallback:serif]
  \definefontsynonym [Serif]           [LinLibertine-Regular]
  \definefontsynonym [SerifBold]       [LinLibertine-Bold]
  \definefontsynonym [SerifItalic]     [LinLibertine-Italic]
  \definefontsynonym [SerifBoldItalic] [LinLibertine-BoldItalic]
  \definefontsynonym [SerifCaps]       [LinLibertine-Caps]
\stoptypescript

\starttypescript [serif] [linuxlibertine]
  \definefontsynonym [LinLibertine-Regular]    [name:Linux Libertine O]             [features=default]
  \definefontsynonym [LinLibertine-Bold]       [name:Linux Libertine O Bold]        [features=default]
  \definefontsynonym [LinLibertine-Italic]     [name:Linux Libertine O Italic]      [features=default]
  \definefontsynonym [LinLibertine-BoldItalic] [name:Linux Libertine O Bold Italic] [features=default]
  \definefontsynonym [LinLibertine-Caps]       [name:Linux Libertine O Capitals]    [features=default]
\stoptypescript

\starttypescript [linuxlibertine]
 \definetypeface [\typescriptone] [rm] [serif] [linuxlibertine] [default]
\stoptypescript


\usetypescript[linuxlibertine]
\setupbodyfont[linuxlibertine]

\starttext

Normal text.

\startformula
\alpha + \beta = 10
\stopformula

\stoptext



Regards,
Eyke
___________________________________________________________________________________
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  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: LinuxLibertine and math with LuaTeX
  2008-07-11 17:58 LinuxLibertine and math with LuaTeX Holzminister
@ 2008-07-11 21:46 ` Olivier Guéry
  2008-07-11 21:47 ` Hans Hagen
  1 sibling, 0 replies; 6+ messages in thread
From: Olivier Guéry @ 2008-07-11 21:46 UTC (permalink / raw)
  To: mailing list for ConTeXt users

2008/7/11 Holzminister <holzminister@googlemail.com>:
> Hi!
>
> With the help of this great mailing-list I managed to type text with the
> opentype version of LinuxLibertine. But the math font still falls back
> to Latin Modern (I think). Is there a way to get mathsymbols typed with
> LinuxLibertine, too?
>
> My code so far:
>
> % engine=luatex
>
> \starttypescript [serif] [linuxlibertine]
>  \setups[font:fallback:serif]
>  \definefontsynonym [Serif]           [LinLibertine-Regular]
>  \definefontsynonym [SerifBold]       [LinLibertine-Bold]
>  \definefontsynonym [SerifItalic]     [LinLibertine-Italic]
>  \definefontsynonym [SerifBoldItalic] [LinLibertine-BoldItalic]
>  \definefontsynonym [SerifCaps]       [LinLibertine-Caps]
> \stoptypescript
>
> \starttypescript [serif] [linuxlibertine]
>  \definefontsynonym [LinLibertine-Regular]    [name:Linux Libertine O]             [features=default]
>  \definefontsynonym [LinLibertine-Bold]       [name:Linux Libertine O Bold]        [features=default]
>  \definefontsynonym [LinLibertine-Italic]     [name:Linux Libertine O Italic]      [features=default]
>  \definefontsynonym [LinLibertine-BoldItalic] [name:Linux Libertine O Bold Italic] [features=default]
>  \definefontsynonym [LinLibertine-Caps]       [name:Linux Libertine O Capitals]    [features=default]
> \stoptypescript
>
> \starttypescript [linuxlibertine]
>  \definetypeface [\typescriptone] [rm] [serif] [linuxlibertine] [default]
> \stoptypescript
>
>
> \usetypescript[linuxlibertine]
> \setupbodyfont[linuxlibertine]
>
> \starttext
>
> Normal text.
>
> \startformula
> \alpha + \beta = 10
> \stopformula
>
> \stoptext

I've test here, with the last LinuxLibertine (v2.8.14)
I have to change this :
 \definefontsynonym [LinLibertine-Regular]    [name:Linux Libertine O]
            [features=default]
To that :
  \definefontsynonym [LinLibertine-Regular]    [name:LinLibertineO]
        [features=default]

Like you, \alpha and \beta look the same in the LinLibertine version
and the Lm-Mondern one.
But the « + » and « = 10 » are in LinLibertine.

I've notice that the « onum=yes » don't work (in or out formula).

Olivier.

-- 
[Message tapé sur un clavier Bépo : http://www.clavier-dvorak.org ]
http://nemolivier.blogspot.com
___________________________________________________________________________________
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  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: LinuxLibertine and math with LuaTeX
  2008-07-11 17:58 LinuxLibertine and math with LuaTeX Holzminister
  2008-07-11 21:46 ` Olivier Guéry
@ 2008-07-11 21:47 ` Hans Hagen
  2008-07-12  9:05   ` Holzminister
  1 sibling, 1 reply; 6+ messages in thread
From: Hans Hagen @ 2008-07-11 21:47 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Holzminister wrote:
> Hi!
> 
> With the help of this great mailing-list I managed to type text with the
> opentype version of LinuxLibertine. But the math font still falls back
> to Latin Modern (I think). Is there a way to get mathsymbols typed with
> LinuxLibertine, too?

in principle on ecan start remapping them but since most fonts lack 
symbols one gets a real weird mess then

some day soon we will have gyre math fonts

(often palatino math looks ok with non cm fonts)


-----------------------------------------------------------------
                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
      tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
                                              | www.pragma-pod.nl
-----------------------------------------------------------------
___________________________________________________________________________________
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  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: LinuxLibertine and math with LuaTeX
  2008-07-11 21:47 ` Hans Hagen
@ 2008-07-12  9:05   ` Holzminister
  2008-07-12 10:11     ` Wolfgang Schuster
  0 siblings, 1 reply; 6+ messages in thread
From: Holzminister @ 2008-07-12  9:05 UTC (permalink / raw)
  To: ntg-context

Hi!

I tried to use palatino math and LinuxLibertine together, but without
success. The font mechanism seems a bit confusing to me (I use ConTeXt
for two days now ...). Can anyone help?

Regards,
Eyke

Am Fri, 11 Jul 2008 23:47:51 +0200
schrieb Hans Hagen <pragma@wxs.nl>:

> Holzminister wrote:
> > Hi!
> > 
> > With the help of this great mailing-list I managed to type text
> > with the opentype version of LinuxLibertine. But the math font
> > still falls back to Latin Modern (I think). Is there a way to get
> > mathsymbols typed with LinuxLibertine, too?
> 
> in principle on ecan start remapping them but since most fonts lack 
> symbols one gets a real weird mess then
> 
> some day soon we will have gyre math fonts
> 
> (often palatino math looks ok with non cm fonts)
> 
> 
> -----------------------------------------------------------------
>                                            Hans Hagen | PRAGMA ADE
>                Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
>       tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
>                                               | www.pragma-pod.nl
> -----------------------------------------------------------------
> ___________________________________________________________________________________
> 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  :
> https://foundry.supelec.fr/projects/contextrev/ wiki     :
> http://contextgarden.net
> ___________________________________________________________________________________
___________________________________________________________________________________
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  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: LinuxLibertine and math with LuaTeX
  2008-07-12  9:05   ` Holzminister
@ 2008-07-12 10:11     ` Wolfgang Schuster
  2008-07-12 11:00       ` Holzminister
  0 siblings, 1 reply; 6+ messages in thread
From: Wolfgang Schuster @ 2008-07-12 10:11 UTC (permalink / raw)
  To: mailing list for ConTeXt users

On Sat, Jul 12, 2008 at 11:05 AM, Holzminister
<holzminister@googlemail.com> wrote:
> Hi!
>
> I tried to use palatino math and LinuxLibertine together, but without
> success. The font mechanism seems a bit confusing to me (I use ConTeXt
> for two days now ...). Can anyone help?

\starttypescript [linuxlibertine]
  \definetypeface [linuxlibertine] [rm] [serif] [linuxlibertine] [default]
  \definetypeface [linuxlibertine] [mm] [math]  [palatino]       [default]
\stoptypescript

Regards,
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  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: LinuxLibertine and math with LuaTeX
  2008-07-12 10:11     ` Wolfgang Schuster
@ 2008-07-12 11:00       ` Holzminister
  0 siblings, 0 replies; 6+ messages in thread
From: Holzminister @ 2008-07-12 11:00 UTC (permalink / raw)
  To: ntg-context

Hm, that was easy ... Thank you very much!

Regards,
Eyke

Am Sat, 12 Jul 2008 12:11:46 +0200
schrieb "Wolfgang Schuster" <schuster.wolfgang@googlemail.com>:

> On Sat, Jul 12, 2008 at 11:05 AM, Holzminister
> <holzminister@googlemail.com> wrote:
> > Hi!
> >
> > I tried to use palatino math and LinuxLibertine together, but
> > without success. The font mechanism seems a bit confusing to me (I
> > use ConTeXt for two days now ...). Can anyone help?
> 
> \starttypescript [linuxlibertine]
>   \definetypeface [linuxlibertine] [rm] [serif] [linuxlibertine]
> [default] \definetypeface [linuxlibertine] [mm] [math]
> [palatino]       [default] \stoptypescript
> 
> Regards,
> 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  :
> https://foundry.supelec.fr/projects/contextrev/ wiki     :
> http://contextgarden.net
> ___________________________________________________________________________________
___________________________________________________________________________________
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  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2008-07-12 11:00 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-07-11 17:58 LinuxLibertine and math with LuaTeX Holzminister
2008-07-11 21:46 ` Olivier Guéry
2008-07-11 21:47 ` Hans Hagen
2008-07-12  9:05   ` Holzminister
2008-07-12 10:11     ` Wolfgang Schuster
2008-07-12 11:00       ` Holzminister

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).