ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: "Pablo Rodríguez" <oinos@web.de>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: Fraktur fonts
Date: Fri, 21 Jun 2013 21:01:16 +0200	[thread overview]
Message-ID: <51C4A2FC.1070101@web.de> (raw)
In-Reply-To: <loom.20130621T183722-861@post.gmane.org>

On 21/06/13 18:53, Rudolf Bahr wrote:
> Hello Luigi, Khaled and Hans,
> 
> I have to apologize to you for not having written up to now.
> I simply didn't see your answers. Today, a young woman from the environment
> of Dante e.V. pointed me to here. She gave me some good advice to the topic too.
> 
> Thanks a lot to you, now I have to digest your answers first.

Hi Rudolf,

using UnifrakturMaguntia (from http://unifraktur.sf.net), here is a
small sample:

\mainlanguage[deo]

\definefontfeature[default][default]%
[script=latn,ss06=yes,cv01=yes,ss01=yes,ss03=yes]

\usemodule[simplefonts]
\setmainfont[UnifrakturMaguntia]

\starttext

\startlines
Habe nun, ach! Philosophie,
Juristerey und Medicin,
Und leider auch Theologie!
Durchaus studirt, mit heißem Bemühn.
Da steh’ ich nun, ich armer Thor!
\stoplines

\stoptext

I think that it's easier to use the simplefonts module than the standard
ConTeXt method. I guess one of the advantages of simplefonts is to
invoke font by OS name. I must admit I'm biased here: I don't actually
know how to use the standard ConTeXt font system :-).

Just in case they were needed (sorry if they aren't), two tips:

\setmainfont sets the font for the whole document. If you want only to
use it in a passage or from a given point
\definesimplefonttypeface[UnifratkturMaguncia] or
\definesimplefont[UnifrakturMaguncia].

OpenType features are enabled for the whole document with
\definefontfeature and they are enabled or disabled using the
four-character tag equals to yes or no.

I hope is clear. Don't hesitate to ask, if anything isn't.

I hope it might help,


Pablo
-- 
http://www.ousia.tk
___________________________________________________________________________________
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:[~2013-06-21 19:01 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-06-12  9:28 Rudolf Bahr
2013-06-13  7:19 ` luigi scarso
2013-06-13  7:36 ` Khaled Hosny
2013-06-13 22:55   ` Hans Hagen
2013-06-21 16:53 ` Rudolf Bahr
2013-06-21 19:01   ` Pablo Rodríguez [this message]

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=51C4A2FC.1070101@web.de \
    --to=oinos@web.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).