ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: "Thomas A. Schmitz" <thomas.schmitz@uni-bonn.de>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: symbols in luatex?
Date: Fri, 4 Jan 2008 18:03:28 +0100	[thread overview]
Message-ID: <16693EDC-E897-4EDE-A2E7-084C7BA32B34@uni-bonn.de> (raw)
In-Reply-To: <477E5B93.6080903@wxs.nl>


On Jan 4, 2008, at 5:15 PM, Hans Hagen wrote:

> doesn't \char<number> work?
>

Depends... fontforge tells me what I'm looking for is, e.g., character  
803 in TeXGyreHeros-Regular, so I tried this:

\starttypescript[serif][greeksymbols][name]
\definefontsynonym [Serif] [name:TeXGyreHeros-Regular]  
[features=default]
\stoptypescript
\starttypescript[GreekSymbols]
\definetypeface [GreekSymbols] [rm] [serif] [greeksymbols] [default]
\stoptypescript

\usetypescript[GreekSymbols]

\define{\anglebracketleft}%
{\bgroup\switchtobodyfont[GreekSymbols]\char803\egroup}

I tried several numbers, and get some symbols from TeXGyreHeros, but I  
haven't yet found out how luaTeX interprets the \char numbers... OTOH,  
this is a workaround:

\define{\anglebracketleft}%
{\bgroup\switchtobodyfont[GreekSymbols]〈\egroup}

but will obviously only work for symbols that are defined in Unicode,  
so nothing in the "private" Unicode area. My presentation next week  
doesn't use any of those, so I'm saved for today, but will be back in  
a few weeks when I need the other stuff as well...

Thanks

Thomas


___________________________________________________________________________________
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-01-04 17:03 UTC|newest]

Thread overview: 28+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-01-02 11:26 Thomas A. Schmitz
2008-01-02 11:42 ` Hans Hagen
2008-01-02 13:04   ` Thomas A. Schmitz
2008-01-04 15:44     ` Thomas A. Schmitz
2008-01-04 16:15       ` Hans Hagen
2008-01-04 17:03         ` Thomas A. Schmitz [this message]
2008-01-04 17:39           ` Wolfgang Schuster
2008-01-04 20:30             ` Thomas A. Schmitz
2008-01-04 20:40               ` Hans Hagen
2008-01-04 21:17                 ` Thomas A. Schmitz
2008-01-04 21:20                   ` Hans Hagen
2008-01-04 22:17                     ` Idris Samawi Hamid
2008-01-05  9:03                 ` Wolfgang Schuster
2008-01-05  9:55                   ` Mojca Miklavec
2008-01-06  9:15                     ` Wolfgang Schuster
2008-01-06 10:32                       ` Mojca Miklavec
2008-01-06 11:06                         ` Wolfgang Schuster
2008-01-06 14:02                           ` Mojca Miklavec
2008-01-06 20:26                       ` Hans Hagen
2008-01-07 16:18                         ` Wolfgang Schuster
2008-01-08  0:30                           ` Mojca Miklavec
2008-01-08  0:49                             ` luigi scarso
2008-01-08  8:21                             ` Hans Hagen
2008-01-08 16:05                               ` Wolfgang Schuster
2008-01-08 16:51                               ` Idris Samawi Hamid
2008-01-05  9:00               ` Wolfgang Schuster
2008-01-05 11:14                 ` Thomas A. Schmitz
2008-01-04 18:42           ` Hans Hagen

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=16693EDC-E897-4EDE-A2E7-084C7BA32B34@uni-bonn.de \
    --to=thomas.schmitz@uni-bonn.de \
    --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).