ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Mojca Miklavec <mojca.miklavec.lists@gmail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: Multiple pleas for help (long)
Date: Tue, 27 Apr 2010 11:16:12 +0200	[thread overview]
Message-ID: <i2i6faad9f01004270216gafbcf800s476893f697c382f@mail.gmail.com> (raw)
In-Reply-To: <m2xffe608d81004261544tfb5e9cfcwbef4d85d3ce63425@mail.gmail.com>

On Tue, Apr 27, 2010 at 00:44, Scott Steele wrote:
>
> 6
> Does Xetex or Context have a facility for positioning accents over letters
> when those particular combinations are not in the font? (Or should I just go
> ahead and do this manually in Fontforge?)

In LuaTeX (ConTeXt MKIV) you can simply say compose=yes when defining
font features (assuming that this still works). If you'll want to use
LuaTeX and need the exact definition, I'll look it up.

Else here's the solution that should work in XeTeX:

\starttext
% this one will be taken from the font
Č
% but you can also define the character to be active
\catcode`Č=\active
% and then use the "ConTeXt" way of composing accents
\defČ{\buildtextaccent\textcaron C}
% and every letter will be composed from that moment on
Č
\stoptext

With pdfTeX you would typically redefine \ccaron instead. (The letter
itself is already active and \defČ might not work there.)

Mojca
___________________________________________________________________________________
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
___________________________________________________________________________________

  parent reply	other threads:[~2010-04-27  9:16 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-04-26 22:44 Scott Steele
2010-04-27  7:47 ` Wolfgang Schuster
2010-04-27  7:55 ` R. Bastian
2010-04-27  9:16 ` Mojca Miklavec [this message]
2010-05-10  0:28 Scott Steele
2010-05-13 14:48 ` Wolfgang Schuster
2010-05-31 22:29 Scott Steele
2010-06-01 20:36 ` Wolfgang Schuster
2010-06-02 19:18 ` Wolfgang Schuster
2010-06-07  0:03 Scott Steele
2010-06-07  8:55 ` Wolfgang Schuster
2010-06-20 12:45 ` Wolfgang Schuster

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=i2i6faad9f01004270216gafbcf800s476893f697c382f@mail.gmail.com \
    --to=mojca.miklavec.lists@gmail.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).