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: \definebodyfont not working for \typesetbuffer
Date: Sun, 16 Oct 2016 19:59:15 +0200	[thread overview]
Message-ID: <5803BFF3.9000901@gmail.com> (raw)
In-Reply-To: <b14d9cdf-9a1c-6b38-03f6-891a1ec6e56a@gmx.es>


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

> Pablo Rodriguez <mailto:oinos@gmx.es>
> 16. Oktober 2016 um 19:56
> Dear list,
>
> I have the following sample:
>
> \definebodyfont[17pt]
> \startbuffer[buffer:inside]
> \definefontfamily[mainface][rm][TeX Gyre Pagella]
> \setupbodyfont[mainface, 17pt]
> \starttext
> \input zapf
> \stoptext
> \stopbuffer
> \starttext
> \typesetbuffer[buffer:inside]
> \stoptext
>
> As suggested by Wolfgang, \definebodyfont should work. It worked then
> (https://mailman.ntg.nl/pipermail/ntg-context/2016/085260.html), but it
> doesn’t work with latest beta from 2016.10.14 17:19.
>
> Could you confirm whether it is a bug or I am missing something?
You have to put the command in the buffer because \typesetbuffer saves
the content in a external file and which is then processed as separate
document which doesn’t use settings from the main document.

Wolfgang

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

[-- Attachment #2: Type: text/plain, Size: 489 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://context.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

  reply	other threads:[~2016-10-16 17:59 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-10-16 17:56 Pablo Rodriguez
2016-10-16 17:59 ` Wolfgang Schuster [this message]
2016-10-16 18:07   ` Pablo Rodriguez
2016-10-16 18:16     ` Wolfgang Schuster
2016-10-16 18:56       ` Pablo Rodriguez

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=5803BFF3.9000901@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).