ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Hans Hagen <pragma@wxs.nl>
Subject: fonts
Date: Fri, 24 Nov 2000 09:13:02 +0100	[thread overview]
Message-ID: <3.0.6.32.20001124091302.00a40b20@pop.wxs.nl> (raw)

Hi, 

There is a macro qualified as experimental called "\switchstyleonly" that
can be used like: 

  \bf \switchstyleonly\ss

where \ss is an argument to \switchstyleonly. This macro is defined in
font-ini

However, the following alternative is more comnforming the interface 

\unprotect 

\definecomplexorsimple\switchstyleonly

\def\simpleswitchstyleonly#1%
  {\complexswitchstyleonly[\strippedcsname#1]}

\def\complexswitchstyleonly[#1]% final version
  {\let\savedfontalternative=\fontalternative
   \getvalue{\getvalue{\@shortstyle@#1}}%
   \getvalue{\savedfontalternative}}

\protect 

You can put this in cont-new.tex and use it as: 

{\bf text \switchstyleonly\ss text}            % dirty but [] save
{\bf text \switchstyleonly[ss]text}
{\sl text \switchstyleonly[sansserif]text}

This may solve the problems with switching to ss in bold discussed earlier.
I must admit that i never used it and had forgotten about this command -)  

Hans
-------------------------------------------------------------------------
                                                  Hans Hagen | PRAGMA ADE
                      Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
 tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com
-------------------------------------------------------------------------


             reply	other threads:[~2000-11-24  8:13 UTC|newest]

Thread overview: 90+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-11-24  8:13 Hans Hagen [this message]
  -- strict thread matches above, loose matches on Subject: below --
2016-10-06  7:49 fonts Hans Hagen
2016-02-15 15:56 fonts Hans Hagen
2012-05-08 17:07 fonts Hans Hagen
2012-05-09 11:34 ` fonts Otared Kavian
2012-05-09 14:23   ` fonts Hans Hagen
2012-05-09 20:22   ` fonts Wolfgang Schuster
2011-08-26 10:36 fonts Hans van der Meer
2011-08-26 10:54 ` fonts Peter Rolf
2011-08-26 11:01   ` fonts Hans van der Meer
2011-08-26 11:36     ` fonts Peter Rolf
2011-08-26 11:58       ` fonts Hans van der Meer
2011-08-26 12:12         ` fonts Peter Rolf
2011-08-26 12:55           ` fonts Hans van der Meer
2011-08-26 13:14             ` fonts Taco Hoekwater
2011-08-26 13:43               ` fonts Hans van der Meer
2011-08-26 14:33                 ` fonts Peter Rolf
2011-08-26 14:34                 ` fonts Taco Hoekwater
2011-08-26 14:57                   ` fonts Hans van der Meer
2011-08-26 15:09                     ` fonts Wolfgang Schuster
2011-08-26 15:18                       ` fonts Hans van der Meer
2011-08-26 15:56                         ` fonts Hans Hagen
2011-08-26 15:14                     ` fonts Taco Hoekwater
2011-08-26 11:33 ` fonts Hans Hagen
2010-09-10  8:11 Fonts Cecil Westerhof
2010-09-10 14:50 ` Fonts Wolfgang Schuster
2010-09-10 19:54 ` Fonts Peter Schorsch
2010-09-10 20:57   ` Fonts Andreas Harder
2010-09-10 21:14     ` Fonts Hans Hagen
2010-09-10 23:03       ` Fonts Peter Schorsch
2010-09-21 21:27   ` Fonts John Culleton
2010-09-21 21:34     ` Fonts Khaled Hosny
2010-09-21 21:43     ` Fonts Henning Hraban Ramm
2010-09-21 22:17       ` Fonts John Culleton
2010-09-21 22:27         ` Fonts Arthur Reutenauer
2010-09-21 22:37         ` Fonts Khaled Hosny
2010-09-22 13:25           ` Fonts John Culleton
2010-09-22 13:27             ` Fonts Alan BRASLAU
2010-09-22 16:22               ` Fonts John Culleton
2010-09-22 16:34                 ` Fonts Khaled Hosny
2010-09-22 21:38                   ` Fonts Henning Hraban Ramm
2010-09-22 22:18                     ` Fonts Hans Hagen
2010-09-22 16:07             ` Fonts Khaled Hosny
2010-09-22  7:29         ` Fonts luigi scarso
2009-09-18 11:52 fonts Jörg Hagmann
2009-09-18 11:58 ` fonts luigi scarso
2009-09-18 12:25   ` fonts Jörg Hagmann
2005-12-10 18:14 fonts Alan Bowen
2005-12-12 10:55 ` fonts Hans Hagen
2005-12-12 11:02   ` fonts Henning Hraban Ramm
2005-12-12 12:44     ` fonts Adam Lindsay
2005-12-12 14:40       ` fonts Henning Hraban Ramm
2005-12-12 18:55     ` fonts Henning Hraban Ramm
2005-12-07 13:55 fonts Hans Hagen
2005-12-07 14:41 ` fonts Thomas A. Schmitz
2005-12-07 14:47   ` fonts Taco Hoekwater
2005-12-07 17:09     ` fonts Thomas A. Schmitz
2005-12-07 20:09 ` fonts Henning Hraban Ramm
2005-12-08  8:39   ` fonts Taco Hoekwater
2005-12-08 17:17     ` fonts Henning Hraban Ramm
2005-12-08 18:01       ` fonts Adam Lindsay
2005-12-08 22:02         ` fonts Henning Hraban Ramm
2005-12-08 23:08           ` fonts Adam Lindsay
2005-12-08 23:10             ` fonts Steve Peter
2005-12-09 22:51             ` fonts Henning Hraban Ramm
2005-12-10 13:32             ` fonts Henning Hraban Ramm
2005-12-10 19:23               ` fonts VnPenguin
2005-12-19  8:06         ` fonts Joachim Trinkwitz
2005-12-19  9:56           ` fonts Hans Hagen
2005-12-20 21:24           ` fonts Henning Hraban Ramm
2005-12-20 22:15             ` fonts Hans Hagen
2002-02-24 18:48 fonts Frans Goddijn
2002-02-24 20:37 ` fonts Bill McClain
2002-02-24 20:49   ` fonts Frans Goddijn
2002-02-24 18:19 fonts Frans Goddijn
2002-02-24 20:29 ` fonts Bill McClain
2002-02-24 20:55   ` fonts Frans Goddijn
2002-02-25 13:19     ` fonts Hans Hagen
2002-02-24 21:34 ` fonts W. Egger
2002-01-25  9:30 fonts Hans Hagen
     [not found] <200201211912.UAA01593@smail.let.uu.nl>
2002-01-22 10:15 ` fonts Hans Hagen
2002-01-22 19:00   ` fonts Henning Hraban Ramm
2002-01-23  8:29     ` fonts Hans Hagen
2002-01-24 16:23     ` fonts Hans Hagen
2002-01-25  9:37       ` fonts Taco Hoekwater
     [not found] <200201161954.UAA10086@smail.let.uu.nl>
2002-01-19 22:52 ` fonts Hans Hagen
     [not found] <200201161847.TAA09341@smail.let.uu.nl>
2002-01-19 22:50 ` fonts Hans Hagen
2000-06-11 23:24 fonts Hans Hagen
2000-06-19 13:14 ` fonts Hraban
2000-02-15 19:22 fonts pragma

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=3.0.6.32.20001124091302.00a40b20@pop.wxs.nl \
    --to=pragma@wxs.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).