From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/3429 Path: main.gmane.org!not-for-mail From: Hans Hagen Newsgroups: gmane.comp.tex.context Subject: fonts Date: Fri, 24 Nov 2000 09:13:02 +0100 Sender: owner-ntg-context@let.uu.nl Message-ID: <3.0.6.32.20001124091302.00a40b20@pop.wxs.nl> NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" X-Trace: main.gmane.org 1035394160 16967 80.91.224.250 (23 Oct 2002 17:29:20 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 23 Oct 2002 17:29:20 +0000 (UTC) Original-To: ntg-context@ntg.nl Xref: main.gmane.org gmane.comp.tex.context:3429 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:3429 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 -------------------------------------------------------------------------