From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/86466 Path: news.gmane.org!not-for-mail From: Aditya Mahajan Newsgroups: gmane.comp.tex.context Subject: Re: Appendix Page Numbering Date: Tue, 25 Feb 2014 21:09:32 -0500 (EST) Message-ID: References: <209282744.20140213075306@gmx.de> <52FCE1FE.2050306@wxs.nl> <52FE3C38.6040502@wxs.nl> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; Format="flowed" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1393380587 31300 80.91.229.3 (26 Feb 2014 02:09:47 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 26 Feb 2014 02:09:47 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Wed Feb 26 03:09:57 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 1WITwa-0003Tv-Bi for gctc-ntg-context-518@m.gmane.org; Wed, 26 Feb 2014 03:09:56 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 5044E101EA; Wed, 26 Feb 2014 03:09:55 +0100 (CET) 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 FDNxgNzj-AlL; Wed, 26 Feb 2014 03:09:53 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id 3E424101E3; Wed, 26 Feb 2014 03:09:53 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id ABBCE101E3 for ; Wed, 26 Feb 2014 03:09:51 +0100 (CET) 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 lMF-9SO3FEvH for ; Wed, 26 Feb 2014 03:09:49 +0100 (CET) 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 845CD101E1 for ; Wed, 26 Feb 2014 03:09:39 +0100 (CET) Original-Received: from hackers.mr.itd.umich.edu (smtp.mail.umich.edu [141.211.14.81]) by filter4-ams.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id s1Q2P79V025384 for ; Wed, 26 Feb 2014 03:25:09 +0100 Original-Received: FROM adi-thinkpad.local ((null) [135.0.226.162]) By hackers.mr.itd.umich.edu ID 530D4CDE.CF8A5.21321 ; Authuser adityam; 25 Feb 2014 21:09:34 EST In-Reply-To: User-Agent: Alpine 2.02 (DEB 1266 2009-07-14) X-Bayes-Prob: 0.0001 (Score 0, tokens from: ntg-context@ntg.nl, base:default, @@RPTN) X-CanIt-Geo: ip=141.211.14.81; country=US; region=MI; city=Ann Arbor; postalcode=48109; latitude=42.2923; longitude=-83.7145; metrocode=505; areacode=734; http://maps.google.com/maps?q=42.2923,-83.7145&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 01LuOp8hx - ee95d4bdb2e7 - 20140226 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:86466 Archived-At: On Tue, 25 Feb 2014, Troy Henderson wrote: >> >> Is it possible to have ONLY the prefix (not followed by the corresponding >> page number) with this implementation? If not, is that a feature that can >> also be added? >> > > I tried to create a custom label called "viewercustom" (which operates like > "viewerprefix" but omits the userpage counter value), but I have been > unsuccessful . I modified the following four files (which were the only > files that I could find containing "viewerprefix") > > ./tex/texmf-context/tex/context/base/strc-pag.mkiv > ./tex/texmf-context/tex/context/base/strc-pag.lua > ./tex/texmf-context/tex/context/base/mult-def.mkiv > ./tex/texmf-context/tex/context/base/lpdf-mis.lua > > Is there something else that needs to be modified that I am missing? Did you regenerate the format? context --make. Aditya ___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________