ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: "śrīrāma via ntg-context" <ntg-context@ntg.nl>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>,
	Wolfgang Schuster <wolfgang.schuster.lists@gmail.com>
Cc: śrīrāma <citturs@gmail.com>, "Michael Urban" <urban.m@ca.rr.com>
Subject: Re: Odd Font Behavior in startstop Group
Date: Sun, 06 Feb 2022 18:06:14 +0530	[thread overview]
Message-ID: <2616061.mvXUDI8C0e@sreeramtplt> (raw)
In-Reply-To: <4d3821a3-dc6d-0d0f-79b4-d46089ec6f8f@gmail.com>

On Sunday, February 6, 2022 3:50:21 PM IST Wolfgang Schuster via ntg-context 
wrote:
> The following two font settings are wrong, you're passing the name of a
> typescript for the third argument while \definefontfamily expects the
> family name of a font.
> […]
> ConTeXt already provides a blockquote-environment which can be
> configured to have the same style as your custom environment.

Hi Wolfgang,

I have a related question:
I noticed that the font settings were wrong in the original MWE of Michael. I 
am also aware that ConTeXt has a blockquote env (having used it before). In 
fact, I first tested the following example before responding to Michael's 
question:

%%% SOF
    \usebodyfont[termes]
    \setupbodyfont[schola]
    \setupdelimitedtext
        [blockquote]
        [style={\switchtobodyfont[termes]}]

    \starttext
    main body font here
        \startblockquote
        \input knuth
        \stopblockquote
    {\bf test}\par
    {\it test}
        \startblockquote
        {\bf test}
        {\it test}
        \stopblockquote
    \stoptext
%%% EOF

In the above, if the first line '\usebodyfont[termes]' is removed, the second 
blockquote env renders in schola not termes. Moreover, on removing the first 
blockquote env with '\input knuth' the second one appears correctly in termes. 
Thus, regardless of other things, '\usebodyfont[termes]' seems to be necessary 
here. Is this correct or am I missing something?

Thanks,
śrīrāma (Sreeram)


___________________________________________________________________________________
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:[~2022-02-06 12:36 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-02-05 19:28 Michael Urban via ntg-context
2022-02-06  7:34 ` śrīrāma via ntg-context
2022-02-06 10:20 ` Wolfgang Schuster via ntg-context
2022-02-06 12:36   ` śrīrāma via ntg-context [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=2616061.mvXUDI8C0e@sreeramtplt \
    --to=ntg-context@ntg.nl \
    --cc=citturs@gmail.com \
    --cc=urban.m@ca.rr.com \
    --cc=wolfgang.schuster.lists@gmail.com \
    /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).