From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/86978 Path: news.gmane.org!not-for-mail From: Pablo Rodriguez Newsgroups: gmane.comp.tex.context Subject: Re: another issue with PDF bookmarks Date: Thu, 10 Apr 2014 16:44:01 +0200 Message-ID: <5346AE31.4030703@gmx.es> References: <534405BC.1030709@gmx.es> <534591A5.7090905@gmx.de> <534597EF.40406@gmx.es> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="windows-1252" Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1397141074 8793 80.91.229.3 (10 Apr 2014 14:44:34 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 10 Apr 2014 14:44:34 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Thu Apr 10 16:44:30 2014 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([5.39.185.229]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1WYGDM-0002SH-HP for gctc-ntg-context-518@m.gmane.org; Thu, 10 Apr 2014 16:44:28 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id E07931023C for ; Thu, 10 Apr 2014 16:44:27 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id nwnxjDma38rp for ; Thu, 10 Apr 2014 16:44:27 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id 66DED101FB for ; Thu, 10 Apr 2014 16:44:24 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 834A9101E3 for ; Thu, 10 Apr 2014 16:44:19 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id L0LQtE+tLUFx for ; Thu, 10 Apr 2014 16:44:17 +0200 (CEST) Original-Received: from filter4-ams.mf.surf.net (filter4-ams.mf.surf.net [192.87.102.72]) by balder.ntg.nl (Postfix) with ESMTP id CD9F6101E1 for ; Thu, 10 Apr 2014 16:44:07 +0200 (CEST) Original-Received: from mout.gmx.net (mout.gmx.net [212.227.15.18]) by filter4-ams.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id s3AF3EY9028243 for ; Thu, 10 Apr 2014 17:03:15 +0200 Original-Received: from [192.168.1.33] ([88.5.201.225]) by mail.gmx.com (mrgmx102) with ESMTPSA (Nemesis) id 0M3u86-1WpEtb3fkI-00rVXu for ; Thu, 10 Apr 2014 16:44:06 +0200 User-Agent: Mozilla/5.0 (X11; Linux i686; rv:24.0) Gecko/20100101 Thunderbird/24.4.0 In-Reply-To: X-Provags-ID: V03:K0:Lr9ib6djmISu5m10r900tZueUOWXn01QaYA0x/zbX3qjOhK7OJ/ AZ/La/ybJeWGGkPx9vgShSLG9p/UT8tQoooignDd2SCZNGZPazHHGMuFKA0eLReKiMAmnnz UydX4IkpTkmxmx0nzqOCzKqU+KvxrrJz1y/HZ6oPJLL49p0ZbigWT38d0g6t7LpB8EBqgxT lJB4ceknkpK/snNSGAs3Q== X-Bayes-Prob: 0.0001 (Score 0, tokens from: ntg-context@ntg.nl, base:default, @@RPTN) X-CanIt-Geo: ip=212.227.15.18; country=DE; latitude=51.0000; longitude=9.0000; http://maps.google.com/maps?q=51.0000,9.0000&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 01LMf3eda - df2c9c188e67 - 20140410 (trained as not-spam) X-Scanned-By: CanIt (www . roaringpenguin . com) on 192.87.102.72 X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.14 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: ntg-context-bounces@ntg.nl Original-Sender: ntg-context-bounces@ntg.nl Xref: news.gmane.org gmane.comp.tex.context:86978 Archived-At: On 04/09/2014 09:33 PM, Aditya Mahajan wrote: > On Wed, 9 Apr 2014, Aditya Mahajan wrote: > = >> One possibility is to add: >> >> \appendtoks \let\footnote \gobbleoneargument \to \everysimplifycommands >> >> to your style. >> >> Perhaps this should be added to the definition of definenote. > = > Hmm... simplifycommands needs an overhaul: > = >>>From typo-del.mkiv: > = > \appendtoks > \def\quotation#1{"#1"}% > \def\quote #1{'#1'}% > \to \everysimplifycommands > = > and from buff-ver.mkiv: > = > \appendtoks > \def\type#1{\letterbackslash\checkedstrippedcsname#1}% or maybe = > detokenize > \def\tex #1{\letterbackslash#1}% > \to \everysimplifycommands > = > = > The simplification of \type assumes that a user will always use = > \type{\command} and gives the wrong result for \type{text} and fails for = > \type{text\undefined}. > = > The simplification of \quote and \quotation should not be hardcoded, but = > rather be a part of \definedelimitedtext. > = > Apart from notes and delimited text, are there other commands that need t= o = > be simplified for bookmarks, etc? Many thanks for your reply, Aditya. If I don=92t get it wrong, I guess all language and style commands should be ignored. And all braces, when not explicitly invoked (such as in \{). But this only would affect to PDF bookmarks. Many thanks again, Pablo -- = http://www.ousia.tk ___________________________________________________________________________= ________ If your question is of interest to others as well, please add an entry to t= he Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-cont= ext webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________= ________