From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/3431 Path: main.gmane.org!not-for-mail From: Hans Hagen Newsgroups: gmane.comp.tex.context Subject: Re: nfss support Date: Fri, 24 Nov 2000 10:43:04 +0100 Sender: owner-ntg-context@let.uu.nl Message-ID: <3.0.6.32.20001124104304.00a48400@pop.wxs.nl> References: <200011231759.SAA19357@anxur.fi.muni.cz> NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" X-Trace: main.gmane.org 1035394162 17001 80.91.224.250 (23 Oct 2002 17:29:22 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 23 Oct 2002 17:29:22 +0000 (UTC) Cc: ntg-context@ntg.nl Original-To: Han The Thanh In-Reply-To: <200011231759.SAA19357@anxur.fi.muni.cz> Xref: main.gmane.org gmane.comp.tex.context:3431 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:3431 At 06:59 PM 11/23/00 +0100, Han The Thanh wrote: >Hi Hans, > >is it possible to use nfss-like syntax with context? For example, > >\textit{italic text \textbf{bold-italic text}} That is not too hard to support: \def\emphbf% {\groupedcommand{\bf\def\emphit{\bi}\def\emphsl{\bs}}{}} \def\emphit% {\groupedcommand{\it\def\emphbf{\bi}\def\emphsl{\sl}}{}} \def\emphsl% {\groupedcommand{\sl\def\emphbf{\bs}\def\emphit{\it}}{}} \def\emphtf% {\groupedcommand{\tf\def\emphbf{\bf}\def\emphit{\it}\def\emphsl{\sl}}{}} TEXT {\emphbf text \emphit text \emphtf text \emphsl text} TEXT \par TEXT \emphbf{text \emphit{text} \emphtf{text} \emphsl{text}} TEXT I'll add them as kind of alternative \em -) 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 -------------------------------------------------------------------------