ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Otared Kavian <otared@gmail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: Strange spurious character
Date: Sat, 19 Nov 2016 09:35:46 +0100	[thread overview]
Message-ID: <54A31C95-FB2D-43E8-898D-C0DB3C771F93@gmail.com> (raw)
In-Reply-To: <58db2edb-9c95-34bb-14a4-7dd1afb31c83@wxs.nl>

Hi Hans,

Indeed with your solution, that is saying

\definefallbackfamily[mainface][serif][texgyrepagella]
\definefontfamily[mainface][sans][texgyrepagella]
\setupbodyfont[mainface]

or more simply saying

\setupbodyfont[palatino,12pt]

there is no problem. It seems that the issue comes from the use of

\definefontfamily[mainface][sans][palatino]

in the example I sent.
So I am going to use your way of defining the fontfamily.

Thanks again and best regards: OK


> \starttext
> 
> Why is the text in bold italic?
> 
> \stoptext
> On 18 Nov 2016, at 23:08, Hans Hagen <pragma@wxs.nl> wrote:
> 
> On 11/18/2016 10:50 PM, Otared Kavian wrote:
>> Hi Hans,
>> 
>> Thanks for the quick fix.
>> Indeed the spurious character does not show up anymore, but in the minimal example below the default body font seems to be set to bold italic, please see the attached PDF (I did not observe this in my real documents, but curiously it shows up in this minimal example): it may be that I am using a wrong font definition here.
>> The version of ConTeXt is  2016.11.18 22:20 MKIV beta  fmt: 2016.11.18.
>> 
>> %%%% begin bug-beta.tex
>> \definefallbackfamily[mainface][serif][palatino]
>> \definefontfamily[mainface][sans][palatino]
>> \setupbodyfont[mainface]
>> 
>> \starttext
>> 
>> Why is the text in bold italic?
>> 
>> \stoptext
> 
> I don't know,
> 
> \definefallbackfamily[mainface][serif][texgyrepagella]
> \definefontfamily[mainface][sans][texgyrepagella]
> \setupbodyfont[mainface]
> 
> \starttext
> 
> Why is the text in bold italic?
> 
> \stoptext
> 
> works ok here so you need to check what palatino gets selected (maybe you need to be more specific)
> 
> 
> 
> -----------------------------------------------------------------
>                                          Hans Hagen | PRAGMA ADE
>              Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
>       tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl
> -----------------------------------------------------------------
> ___________________________________________________________________________________
> 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://context.aanhet.net
> archive  : https://bitbucket.org/phg/context-mirror/commits/
> wiki     : http://contextgarden.net
> ___________________________________________________________________________________

___________________________________________________________________________________
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

  reply	other threads:[~2016-11-19  8:35 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-11-18 20:03 Otared Kavian
2016-11-18 21:30 ` Hans Hagen
2016-11-18 21:50   ` Otared Kavian
2016-11-18 22:08     ` Hans Hagen
2016-11-19  8:35       ` Otared Kavian [this message]
2016-11-19 19:22       ` Wolfgang Schuster
2016-11-19 23:09         ` Otared Kavian
2016-11-20 11:12         ` 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=54A31C95-FB2D-43E8-898D-C0DB3C771F93@gmail.com \
    --to=otared@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).