ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Wolfgang Schuster <schuster.wolfgang@gmail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: simplefonts question
Date: Thu, 14 Jan 2016 16:21:15 +0100	[thread overview]
Message-ID: <5697BCEB.4090909@gmail.com> (raw)
In-Reply-To: <781ACB41-F2E5-4463-A7E3-0762467F8A5B@uva.nl>


[-- Attachment #1.1: Type: text/plain, Size: 2163 bytes --]

> Meer, Hans van der <mailto:H.vanderMeer@uva.nl>
> 14. Januar 2016 um 14:49
> How to set the calligraphic font in the simplefonts module?
> With the instructions in the Wiki:
>
> \usemodule[simplefonts]
> \definefontfamily[fallbackfont][serif][lucidaot]
> \definefontfamily[fallbackfont][sans][lucidaot]
> \definefontfamily[fallbackfont][mono][lucidaot]
> \definefontfamily[fallbackfont][math][lucidaot]
> \setupbodyfont[fallbackfont]
> \setcalligraphicfont[fallbackfont]
>
> and got the following errors: (1) unknow font and (2) unknown definition.
>
> open source > 6 > 12 > 
> /Users/hansm/Applications/TeX-sources/context-29/tex/texmf-context/tex/context/base/type-imp-lucida-opentype.mkiv
> close source > 6 > 12 > 
> /Users/hansm/Applications/TeX-sources/context-29/tex/texmf-context/tex/context/base/type-imp-lucida-opentype.mkiv
> fonts > defining > font with asked name 'unknown' is not found using 
> lookup 'file'
> fonts > defining > unknown font 'unknown', loading aborted
> fonts > defining > unable to define 'unknown' as 
> 'fallbackfont-12pt-rm-tf-0--0'
>
> hvdm-fig.tex: ! Undefined control sequence
>
> l.11 \setcalligraphicfont
>                        [fallbackfont]
>
>
> Why is ConTeXt able to use my Lucida font with simply 
> \setupbodyfont[lucidaot] but does simplefont not?
You're using the wrong names for the fonts and there is also no need to 
load the simplefonts module.

\definefontfamily [mainface] [rm] [Lucida Bright OT]
\definefontfamily [mainface] [ss] [Lucida Sans OT]
\definefontfamily [mainface] [tt] [Lucida Sans Typewriter OT]
\definefontfamily [mainface] [mm] [Lucida Bright Math OT]
\definefontfamily [mainface] [hw] [Lucida Handwriting OT]
\definefontfamily [mainface] [cg] [Lucida Calligraphy OT]

\setupbodyfont[mainface]

\starttext

\rm\tf Roman \it Italic \bf Bold \bi BoldItalic \sc SmallCaps

\ss\tf Roman \it Italic \bf Bold \bi BoldItalic \sc SmallCaps

\tt\tf Roman \it Italic \bf Bold \bi BoldItalic \sc SmallCaps

\hw\tf Roman \it Italic \bf Bold \bi BoldItalic \sc SmallCaps

\cg\tf Roman \it Italic \bf Bold \bi BoldItalic \sc SmallCaps

\startformula
c^2 = a^2 + b^2
\stopformula

\stoptext

Wolfgang

[-- Attachment #1.2: Type: text/html, Size: 5549 bytes --]

[-- Attachment #2: Type: text/plain, Size: 485 bytes --]

___________________________________________________________________________________
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:[~2016-01-14 15:21 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-01-14 13:49 Meer, Hans van der
2016-01-14 15:21 ` Wolfgang Schuster [this message]
2016-01-14 17:03   ` massifr
  -- strict thread matches above, loose matches on Subject: below --
2011-11-11 12:01 Simplefonts question Lutz Haseloff
2011-11-11 13:35 ` Wolfgang Schuster
2011-11-14  6:00   ` Lutz Haseloff
2011-11-14  8:13     ` Wolfgang Schuster
2011-11-14  8:18     ` Christian
2011-11-14  8:55       ` Lutz Haseloff

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=5697BCEB.4090909@gmail.com \
    --to=schuster.wolfgang@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).