ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Ulrike Fischer <news3@nililand.de>
To: ntg-context@ntg.nl
Subject: Re:  Hyphenation patterns and adjusted kerning:	ConTeXt vs. LuaTeX
Date: Fri, 25 Feb 2011 16:45:31 +0100	[thread overview]
Message-ID: <iua1foykfn1f.dlg@nililand.de> (raw)
In-Reply-To: <F872E879-D12B-4E6C-A0B0-5C6909967F0C@unibas.ch>

Am Fri, 25 Feb 2011 16:37:26 +0100 schrieb Heilmann, Till A.:

> Am Fri, 25 Feb 2011 14:41:10 +0100 schrieb Ulrike Fischer:
> 
>>> In base mode kerning and and hyphenation 
>>> happen in the traditional tex way, so there is not much extra trickery 
>>> taking place.
>> 
>> Well, as you mention "base mode": This reminded me that I had to
>> force base mode to get my reencoding to work in latex. So I tried in
>> context + latex/luaotfload (with german hyphenation patterns):
>> 
>> [...]
>> 
>> And bingo: with mode=base it works in both formats, with mode=node
>> the kern disappears. Without mode declaration the kern disappears in
>> latex.
> 
> Ah, yes, the transcript of my first example clearly shows fontspec operating in node mode.
 
> Please excuse my naive asking: Is there any way to continue using
> fontspec's setmainfont command (it is convenient for someone
> unexperienced like me) and at the same force luaotfload into
> using base mode?

The following seems to work:

\documentclass{article}
\usepackage[ngerman]{babel}
\usepackage{fontspec}
\setmainfont[RawFeature={mode=base},FeatureFile=bonum.fea]{TeX Gyre
Bonum}
\begin{document}
fh aufhalten
\end{document}



-- 
Ulrike Fischer 

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


  reply	other threads:[~2011-02-25 15:45 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-02-25 15:37 Heilmann, Till A.
2011-02-25 15:45 ` Ulrike Fischer [this message]
2011-02-25 15:56   ` Ulrike Fischer
2011-02-25 16:07   ` Hyphenation patterns and adjusted kerning:?ConTeXt " Khaled Hosny
  -- strict thread matches above, loose matches on Subject: below --
2011-02-25 15:57 Hyphenation patterns and adjusted kerning: ConTeXt " Heilmann, Till A.
2011-02-25 12:18 Heilmann, Till A.
2011-02-25 13:35 ` Hans Hagen
2011-02-25 14:41   ` Ulrike Fischer
2011-02-25 16:00     ` Khaled Hosny

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=iua1foykfn1f.dlg@nililand.de \
    --to=news3@nililand.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).