From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/53579 Path: news.gmane.org!not-for-mail From: Andreas Harder Newsgroups: gmane.comp.tex.context Subject: line numbering Date: Tue, 20 Oct 2009 08:32:58 +0200 Message-ID: <49DF48E9-904E-4243-B4CB-9B675A6E509F@uni-koblenz.de> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (Apple Message framework v1076) Content-Type: multipart/mixed; boundary=Apple-Mail-1-687788421 X-Trace: ger.gmane.org 1256020405 6900 80.91.229.12 (20 Oct 2009 06:33:25 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 20 Oct 2009 06:33:25 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Tue Oct 20 08:33:16 2009 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([195.12.62.10]) by lo.gmane.org with esmtp (Exim 4.50) id 1N08HT-0001A8-Dj for gctc-ntg-context-518@m.gmane.org; Tue, 20 Oct 2009 08:33:15 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 3A04CC9A97; Tue, 20 Oct 2009 08:33:12 +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 4G1hKztWYpZ9; Tue, 20 Oct 2009 08:33:08 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id DE71CC9A70; Tue, 20 Oct 2009 08:33:07 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 0BCE8C9A70 for ; Tue, 20 Oct 2009 08:33:05 +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 5TpY4yA5C0eu for ; Tue, 20 Oct 2009 08:33:02 +0200 (CEST) Original-Received: from deliver.uni-koblenz.de (deliver.uni-koblenz.de [141.26.64.15]) by balder.ntg.nl (Postfix) with ESMTP id 06A71C9A63 for ; Tue, 20 Oct 2009 08:33:01 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by deliver.uni-koblenz.de (Postfix) with ESMTP id C2DF778A2292 for ; Tue, 20 Oct 2009 08:33:01 +0200 (CEST) Original-Received: from deliver.uni-koblenz.de ([127.0.0.1]) by localhost (deliver.uni-koblenz.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 08595-05 for ; Tue, 20 Oct 2009 08:32:59 +0200 (CEST) X-CHKRCPT: Envelopesender vrfy aharder@uni-koblenz.de Original-Received: from [192.168.1.112] (95-88-47-49-dynip.superkabel.de [95.88.47.49]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by deliver.uni-koblenz.de (Postfix) with ESMTP id 6371978A228D for ; Tue, 20 Oct 2009 08:32:59 +0200 (CEST) X-Mailer: Apple Mail (2.1076) X-Virus-Scanned: amavisd-new at uni-koblenz.de X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.12 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 Xref: news.gmane.org gmane.comp.tex.context:53579 Archived-At: --Apple-Mail-1-687788421 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=us-ascii; format=flowed; delsp=yes Good morning everyone! I've discovered some strange behavior from line numbering (attachment). The size of the line numbers changes after a page break. --Apple-Mail-1-687788421 Content-Disposition: attachment; filename=test-linenumbering.tex Content-Type: application/octet-stream; x-unix-mode=0644; name="test-linenumbering.tex" Content-Transfer-Encoding: 7bit \setuplayout[height=fit,header=0pt,footer=0pt,topspace=0pt,bottom=0pt] \setuplinenumbering [location=right, % inright align=left, % width=-\textwidth, % numbers on the right side (with align=right) % command=\WatchThis, % do not work distance=1pt, style=\ssx] \def\WatchThis#1% {\ifodd\linenumber \definecolor[linecolor][red]% \else \definecolor[linecolor][green]% \fi \inframed [offset=1pt,frame=off,background=color,backgroundcolor=linecolor] {#1}} \setupdelimitedtext [blockquote] [before=\startlinenumbering, after=\stoplinenumbering, style=\tfx\setupinterlinespace] \starttext \showframe \dorecurse{4}{\input tufte \par} \startlinenumbering \dorecurse{4}{\input tufte \par} \stoplinenumbering \dorecurse{4}{\input tufte \par} \startblockquote \dorecurse{3}{\input tufte \par} \stopblockquote \stoptext %%% Local Variables: %%% mode: context %%% TeX-master: t %%% End: --Apple-Mail-1-687788421 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=windows-1252; format=flowed; delsp=yes Furthermore some settings for line numbers do not work. I tried some =20 of the examples from strc-lnt.mkiv (at the bottom) =85 I want the =20 numbers on the right side and would assume \setuplinenumbering =20 [location=3Dright, align=3Dleft]. Please have a look. Perhaps I did something wrong. Greetings Andreas --Apple-Mail-1-687788421 Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ___________________________________________________________________________________ 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 ___________________________________________________________________________________ --Apple-Mail-1-687788421--