ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Pablo Rodriguez <oinos@gmx.es>
To: ntg-context@ntg.nl
Subject: Re: UTF-8 characters being dropped from typefile
Date: Wed, 11 Nov 2020 16:37:15 +0100	[thread overview]
Message-ID: <0dd5d922-d3cc-b30b-b4bf-2c6ecaa886f1@gmx.es> (raw)
In-Reply-To: <DBCD6F19-D7C4-4EEA-B180-5E3375B29B35@scorecrow.com>

On 11/11/20 10:08 AM, ntg@scorecrow.com wrote:
> Sorry for this really, really basic question but...
>
> I have the following 3 line source file:
>
> \starttext
> \typefile{test-listing.txt}
> \stoptext

Hi Bruce,

a MWE that shows your problem would be:

  \setupbodyfont[cursor]
  \starttext
  \startTEXpage[offset=1em]
  a ▸
  \stopTEXpage
  \stoptext

> Which explains why the character is being dropped. What I don't
> understand is why is LMMono12-Regular being used? I thought I had
> read somewhere that TeX Gyre fonts were now the default (I'm on
> ConTeXt  ver: 2020.11.05 23:01 LMTX) ?

Latin Modern are the default fonts in ConTeXt.

BTW, TeX Gyre Cursor doesn’t seem to contain the character you mention.

> If not, is there an installation level config  setting to make them
> the default or do I need to work out the relevant \start ...
> \stoptypescript commands?

I think the first line in the sample above shows a simple approach.

I hope it helps,

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

  reply	other threads:[~2020-11-11 15:37 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-11-11  9:08 ntg
2020-11-11 15:37 ` Pablo Rodriguez [this message]
2020-11-11 22:10   ` 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=0dd5d922-d3cc-b30b-b4bf-2c6ecaa886f1@gmx.es \
    --to=oinos@gmx.es \
    --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).