From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/62390 Path: news.gmane.org!not-for-mail From: =?ISO-8859-1?Q?Stefan_M=FCller?= Newsgroups: gmane.comp.tex.context Subject: Verbatim typing with numbers inside float Date: Wed, 06 Oct 2010 16:26:19 +0200 Message-ID: <4CAC870B.3010605@gmx.de> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; Format="flowed" Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1286375254 10315 80.91.229.12 (6 Oct 2010 14:27:34 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 6 Oct 2010 14:27:34 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Wed Oct 06 16:27:33 2010 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.69) (envelope-from ) id 1P3Uxw-0004af-K1 for gctc-ntg-context-518@m.gmane.org; Wed, 06 Oct 2010 16:27:32 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 06372CA6E2; Wed, 6 Oct 2010 16:27:32 +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 OcoYRi8MXNrl; Wed, 6 Oct 2010 16:27:18 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id D4650CA6F2; Wed, 6 Oct 2010 16:27:18 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 7BF76CA6F2 for ; Wed, 6 Oct 2010 16:27:17 +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 2Mvo1BM2bBHi for ; Wed, 6 Oct 2010 16:27:06 +0200 (CEST) Original-Received: from filter2-til.mf.surf.net (filter2-til.mf.surf.net [194.171.167.218]) by balder.ntg.nl (Postfix) with ESMTP id EDF63CA6E2 for ; Wed, 6 Oct 2010 16:27:05 +0200 (CEST) Original-Received: from mail.gmx.net (mailout-de.gmx.net [213.165.64.22]) by filter2-til.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with SMTP id o96ER51s009180 for ; Wed, 6 Oct 2010 16:27:05 +0200 Original-Received: (qmail invoked by alias); 06 Oct 2010 14:27:04 -0000 Original-Received: from 77-64-199-171.dynamic.primacom.net (EHLO [192.168.100.108]) [77.64.199.171] by mail.gmx.net (mp060) with SMTP; 06 Oct 2010 16:27:04 +0200 X-Authenticated: #11064435 X-Provags-ID: V01U2FsdGVkX1+knoU/d+Kklt8tm2YUtcmn6gBHz3aUS/fWQNnTp2 t/ktUh1NTuEgwi User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.9.2.9) Gecko/20100915 Thunderbird/3.1.4 X-Y-GMX-Trusted: 0 X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=213.165.64.22; 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: 0bDfqr5of - 69e337856941 - 20101006 X-Scanned-By: CanIt (www . roaringpenguin . com) on 194.171.167.218 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:62390 Archived-At: Hi list, I defined a float for typesetting algorithms, so I can reference them at other places in the document. \definefloat[algorithm][algorithms] When I now place such a figure with \placealgorithm[here][alg:myalgorithm]{Very neat algorithm.}{ \starttyping some source code \stoptyping } then the numbering I set up with \setuptyping[numbering=line] \setuplinenumbering[location=text] is gone. Is there a way to get around this? I try to not use itemize for this (although it seems to work with itemize), because I'd rather use the more semantically correct approach. Any help appreciated. Thanks in advance, Stefan. ___________________________________________________________________________________ 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 ___________________________________________________________________________________