ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Holzminister <holzminister@googlemail.com>
To: ntg-context@ntg.nl
Subject: LinuxLibertine and math with LuaTeX
Date: Fri, 11 Jul 2008 19:58:48 +0200	[thread overview]
Message-ID: <20080711195848.2b420082@mars.zu.haus> (raw)

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
___________________________________________________________________________________


             reply	other threads:[~2008-07-11 17:58 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-07-11 17:58 Holzminister [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20080711195848.2b420082@mars.zu.haus \
    --to=holzminister@googlemail.com \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).