From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/38139 Path: news.gmane.org!not-for-mail From: "Wolfgang Schuster" Newsgroups: gmane.comp.tex.context Subject: Re: \version[temporary] Date: Wed, 19 Dec 2007 13:00:43 +0100 Message-ID: <115224fb0712190400y2c0976cak7ee06722bb229673@mail.gmail.com> References: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1198065737 19077 80.91.229.12 (19 Dec 2007 12:02:17 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 19 Dec 2007 12:02:17 +0000 (UTC) To: "mailing list for ConTeXt users" Original-X-From: ntg-context-bounces@ntg.nl Wed Dec 19 13:02:28 2007 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 lo.gmane.org with esmtp (Exim 4.50) id 1J4xcw-0001yB-1p for gctc-ntg-context-518@m.gmane.org; Wed, 19 Dec 2007 13:02:18 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 9FC741FC7C; Wed, 19 Dec 2007 13:01:58 +0100 (CET) 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 11338-01-12; Wed, 19 Dec 2007 13:01:21 +0100 (CET) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id EFEB91FC0B; Wed, 19 Dec 2007 13:01:20 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id E9B4A1FBC5 for ; Wed, 19 Dec 2007 13:01:18 +0100 (CET) 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 09190-05-10 for ; Wed, 19 Dec 2007 13:00:44 +0100 (CET) Original-Received: from ug-out-1314.google.com (ug-out-1314.google.com [66.249.92.172]) by ronja.ntg.nl (Postfix) with ESMTP id 055841FC12 for ; Wed, 19 Dec 2007 13:00:44 +0100 (CET) Original-Received: by ug-out-1314.google.com with SMTP id q2so256371uge.50 for ; Wed, 19 Dec 2007 04:00:43 -0800 (PST) Original-Received: by 10.66.218.15 with SMTP id q15mr2079468ugg.36.1198065643854; Wed, 19 Dec 2007 04:00:43 -0800 (PST) Original-Received: by 10.66.252.15 with HTTP; Wed, 19 Dec 2007 04:00:43 -0800 (PST) In-Reply-To: Content-Disposition: inline X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.9 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:38139 Archived-At: 2007/12/18, Steffen Wolfrum : > Hi, > > I don't know how many of you know/use this command above. It is quite > useful for finding over-full lines and for controlling index/register > marks. > > Unfortunately sometime the info printed for "Registers" is really > hard to read (see example below). > > \definepapersize[steffen][width=15.7cm,height=23.2cm] > \setuppapersize[steffen][steffen] > \setuplayout > [width=113mm,height=576pt, > backspace=20mm,topspace=15mm, > header=12pt,headerdistance=6pt, > footer=42pt,footerdistance=0pt, > location=middle,marking=off,grid=no] > \version[temporary] > \showframe > \starttext > \dorecurse{10}{text\footnote{note\index{keyword}}\par} > \stoptext > > > Thus, I'd like to ask: How can I > 1) kill the "References" footnote (do't need it) > 2) move the "Registers" info 2cm to the right in the margin? > > Thank you, > > Steffen \unprotect \startconstants all register: register float: float \stopconstants \def\dodoversion[#1][#2]% {\processaction [#1] [ \v!final=>\chardef\conceptmode\zerocount \overfullrule\zeropoint, \v!concept=>\chardef\conceptmode\plusone, % simple banner \v!file=>\chardef\conceptmode\plustwo, % full banner \v!temporary=>\chardef\conceptmode\plusthree % full banner plus \overfullrule5\points]% % info in the margin \def\dodocommand##1=##2\relax {\processaction [##2] [\v!yes=>\setvalue{##1info}{\csname\s!do##1info\endcsname}, \v!no=>\letvalue{##1info}\gobbletwoarguments]}% \def\docommand##1{\@EA\dodocommand##1\relax}% \processcommalist[#2]\docommand} \def\doversion[#1][#2]% {\ifsecondargument \dodoversion[#1][#2]% \else \doifassignmentelse{#1} {\dodoversion[][#1]} {\dodoversion[#1][]}% \fi} \def\version {\dodoubleempty\doversion} \def\doreferenceinfo{\dotestinfo\referenceinfobox} \def\doregisterinfo {\dotestinfo\registerinfobox} \def\dofloatinfo {\dotestinfo\floatinfobox} \version[\v!final][\c!reference=\v!yes,\c!register=\v!yes,\c!float=\v!yes] \protect \version[temporary][reference=no] %\version[temporary] %\version[reference=no] \definepapersize[test][width=157mm,height=232mm] \setuppapersize[test][test] \setuplayout [width=113mm, backspace=20mm, location=middle, ] \showframe \starttext \dorecurse{10}{text\footnote{note\index{keyword}}\par} \stoptext Wolfgang ___________________________________________________________________________________ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________