From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/96675 Path: news.gmane.org!.POSTED!not-for-mail From: Wolfgang Schuster Newsgroups: gmane.comp.tex.context Subject: Re: Algorithmic, Floats and line numbers. Date: Thu, 27 Oct 2016 18:57:51 +0200 Message-ID: <5812320F.1090807@gmail.com> References: <5810EF35.3070208@gmail.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============8729966018384194416==" X-Trace: blaine.gmane.org 1477587509 25214 195.159.176.226 (27 Oct 2016 16:58:29 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Thu, 27 Oct 2016 16:58:29 +0000 (UTC) User-Agent: Postbox 5.0.5 (Macintosh/20161020) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Thu Oct 27 18:58:21 2016 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from zapf.boekplan.nl ([5.39.185.232] helo=zapf.ntg.nl) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bzo0P-0005E4-3f for gctc-ntg-context-518@m.gmane.org; Thu, 27 Oct 2016 18:58:17 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 255E21BE81; Thu, 27 Oct 2016 18:58:08 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at zapf.boekplan.nl Original-Received: from zapf.ntg.nl ([127.0.0.1]) by localhost (zapf.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 01_mDPXK4DMe; Thu, 27 Oct 2016 18:58:07 +0200 (CEST) Original-Received: from zapf.ntg.nl (localhost [IPv6:::1]) by zapf.ntg.nl (Postfix) with ESMTP id 83F131BE97; Thu, 27 Oct 2016 18:58:07 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 18B051BE81 for ; Thu, 27 Oct 2016 18:58:06 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at zapf.boekplan.nl Original-Received: from zapf.ntg.nl ([127.0.0.1]) by localhost (zapf.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id n0NuyG20rlvE for ; Thu, 27 Oct 2016 18:58:05 +0200 (CEST) Original-Received: from mail-wm0-f51.google.com (mail-wm0-f51.google.com [74.125.82.51]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by zapf.ntg.nl (Postfix) with ESMTPS id 224501B644 for ; Thu, 27 Oct 2016 18:57:55 +0200 (CEST) Original-Received: by mail-wm0-f51.google.com with SMTP id n67so59064785wme.1 for ; Thu, 27 Oct 2016 09:57:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to; bh=A7k/gzu8FlBk6lT0rDADC5vwztNNxrpcb7TegOoEzzE=; b=j6bEFMdQfXsDqExRjHmeptdCNdf+VUfhvarqbYU4JJoOzCX76Nmz80ZJnLuX6plh71 6bkxM6fv1erOAz+CUM88FQ7+f6uAWuCj8f3FlOkJtZ/njNcFOFdE3PnHetr98diRUwPZ 0Hc//d+5UqdUoCDQ02AC7PBzzD0BhP/MBCCG5cWQ9tt6d6pXp3wUUnPrLMF+O40vdIjO X2TuRNjtWwyvZ7XJzuwgNJIeSgg7B2+i0r+eMrdt/I7f0N0I4PeHFFcm5oFQoPd87Zyi 4WnR6ngYCSogIkd1Rg1oluZI2RF8fgSx108CabhdpNTsxlvfyVPXtiGfVB3rO41JgZ9O EnzQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:message-id:date:from:user-agent:mime-version:to :subject:references:in-reply-to; bh=A7k/gzu8FlBk6lT0rDADC5vwztNNxrpcb7TegOoEzzE=; b=hdnO9wyaG2PjuCOTvuMcjiLw9vJyUp+fqZe5fEN4PyUoENErrzamywhCd7ylJrmfLi +FjeUq5XAkKDF/8ArH5vzwjUTl36ZmiTaV/dnQptwsHGtKv6pVMLnl8cVdrvlFwgvKZc VvMv7g/XjGkKlznsWxs05AkxcEdlr/SK2iwMUaCKePM8LK2ixSU85+qloRw5LUxJ0x+E Icf52aB3B1AcsDfQHpoNw6Wr9yrNNLHs13AHOms2boG+Ty4m/uYSeh1En+umeOovmeEz j3BKOvF8keV7WtYdaF+/3LazpBrJDBchnBsBfcvJMrXEzCI33EQoQ4Z3s/yXk8DtXeaG I7oA== X-Gm-Message-State: ABUngvdXtFGC7831oQiedJF6mCBoozEJEGF/ewtJEXIsr5dM72qBgDIly8K3vp5rF6EjIg== X-Received: by 10.28.9.195 with SMTP id 186mr15946057wmj.117.1477587474559; Thu, 27 Oct 2016 09:57:54 -0700 (PDT) Original-Received: from keima.localdomain (x2f2271e.dyn.telefonica.de. [2.242.39.30]) by smtp.gmail.com with ESMTPSA id l130sm4242781wmb.18.2016.10.27.09.57.53 for (version=TLS1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 27 Oct 2016 09:57:53 -0700 (PDT) In-Reply-To: X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.16 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" Xref: news.gmane.org gmane.comp.tex.context:96675 Archived-At: This is a multi-part message in MIME format. --===============8729966018384194416== Content-Type: multipart/alternative; boundary="------------030305070101080007060304" This is a multi-part message in MIME format. --------------030305070101080007060304 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit > Mohammad Hossein Bateni > 27. Oktober 2016 um 17:59 > How does one reset the counter then? Normally one would like it to > start from 1 within each algorithmic block. But definelabel seems to > have bytext and bysection options only. > You can use \resetcounter[algorithmicline] to reset the counter value. Wolfgang --------------030305070101080007060304 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 8bit
27. Oktober 2016 um 17:59
How does one reset the counter then?  Normally one would like it to start from 1 within each algorithmic block.  But definelabel seems to have bytext and bysection options only.

You can use \resetcounter[algorithmicline] to reset the counter value.

Wolfgang
--------------030305070101080007060304-- --===============8729966018384194416== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX18KSWYgeW91ciBxdWVzdGlvbiBpcyBvZiBpbnRlcmVz dCB0byBvdGhlcnMgYXMgd2VsbCwgcGxlYXNlIGFkZCBhbiBlbnRyeSB0byB0aGUgV2lraSEKCm1h aWxsaXN0IDogbnRnLWNvbnRleHRAbnRnLm5sIC8gaHR0cDovL3d3dy5udGcubmwvbWFpbG1hbi9s aXN0aW5mby9udGctY29udGV4dAp3ZWJwYWdlICA6IGh0dHA6Ly93d3cucHJhZ21hLWFkZS5ubCAv IGh0dHA6Ly9jb250ZXh0LmFhbmhldC5uZXQKYXJjaGl2ZSAgOiBodHRwczovL2JpdGJ1Y2tldC5v cmcvcGhnL2NvbnRleHQtbWlycm9yL2NvbW1pdHMvCndpa2kgICAgIDogaHR0cDovL2NvbnRleHRn YXJkZW4ubmV0Cl9fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f --===============8729966018384194416==--