From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/28108 Path: news.gmane.org!not-for-mail From: Aditya Mahajan Newsgroups: gmane.comp.tex.context Subject: Re: Text style in bookmarks Date: Sun, 21 May 2006 15:21:37 -0400 (EDT) Message-ID: References: <4470A166.2010604@wxs.nl> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1148239198 11572 80.91.229.2 (21 May 2006 19:19:58 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 21 May 2006 19:19:58 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Sun May 21 21:19:55 2006 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from ronja.vet.uu.nl ([131.211.172.88] helo=ronja.ntg.nl) by ciao.gmane.org with esmtp (Exim 4.43) id 1FhtSx-0001Xi-GX for gctc-ntg-context-518@m.gmane.org; Sun, 21 May 2006 21:19:51 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 0882D127CA; Sun, 21 May 2006 21:19:51 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 07771-01; Sun, 21 May 2006 21:19:43 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 74F2D127CB; Sun, 21 May 2006 21:19:43 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 75AE7127CB for ; Sun, 21 May 2006 21:19:41 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 06468-03 for ; Sun, 21 May 2006 21:19:39 +0200 (CEST) Original-Received: from skycaptain.mr.itd.umich.edu (smtp.mail.umich.edu [141.211.93.160]) by ronja.ntg.nl (Postfix) with SMTP id 8B211127CA for ; Sun, 21 May 2006 21:19:38 +0200 (CEST) Original-Received: FROM aditya.annarb01.mi.comcast.net (c-68-40-50-205.hsd1.mi.comcast.net [68.40.50.205]) BY skycaptain.mr.itd.umich.edu ID 4470BD48.4BBE0.9605 ; 21 May 2006 15:19:37 -0400 Original-To: mailing list for ConTeXt users In-Reply-To: <4470A166.2010604@wxs.nl> X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.7 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: ntg-context-bounces@ntg.nl Errors-To: ntg-context-bounces@ntg.nl X-Virus-Scanned: amavisd-new at ntg.nl Xref: news.gmane.org gmane.comp.tex.context:28108 Archived-At: On Sun, 21 May 2006, Hans Hagen wrote: > nico wrote: >> Hello, >> >> Is there a trick so that I can put styles like {\bf ...} or {\tt ...} in >> the headings without having any weird text in the bookmarks? >> >> Adding \bf or \tt as empty macros to the simplifiedcommands doesn't avoid >> the curly braces to appear (which is normal). Do I need to use something >> like \def\textbf#1{\def\textbf#1{\bgroup\bf #1\egroup} to have this >> working? >> > \setupinteraction[state=start] > > \appendtoks > \let\groupedcommand\thirdofthreearguments > \to \simplifiedcommands > > % no command for monospaced yet > > \unprotected \definealternativestyle [\v!mono] [\tt] [] Isn't this same as type? In font-ini.tex you have \definealternativestyle [\v!type] [\tt] [] > (i will add the extra definitions to the core) Can you also add something for \em. Aditya -- Aditya Mahajan, EECS Systems, University of Michigan http://www.eecs.umich.edu/~adityam || Ph: 7342624008