From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/61684 Path: news.gmane.org!not-for-mail From: Peter Schorsch Newsgroups: gmane.comp.tex.context Subject: Re: formula: listing and subnumbering Date: Tue, 14 Sep 2010 22:22:52 +0200 Message-ID: References: <4C783EDC.2060108@wxs.nl> <4C8A8C0E.8030403@wxs.nl> 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: dough.gmane.org 1284495878 29376 80.91.229.12 (14 Sep 2010 20:24:38 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 14 Sep 2010 20:24:38 +0000 (UTC) To: ntg-context@ntg.nl Original-X-From: ntg-context-bounces@ntg.nl Tue Sep 14 22:24:37 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 1Ovc3Q-000865-Gj for gctc-ntg-context-518@m.gmane.org; Tue, 14 Sep 2010 22:24:36 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 94F6CCA6BD; Tue, 14 Sep 2010 22:24:35 +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 2TfY8KTU5b5n; Tue, 14 Sep 2010 22:24:31 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 9AF83CA6AD; Tue, 14 Sep 2010 22:24:31 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 56701CA6AD for ; Tue, 14 Sep 2010 22:24:30 +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 1Ohj1Gj6nL0T for ; Tue, 14 Sep 2010 22:24:19 +0200 (CEST) Original-Received: from filter4-til.mf.surf.net (filter4-til.mf.surf.net [194.171.167.220]) by balder.ntg.nl (Postfix) with ESMTP id E558DCA682 for ; Tue, 14 Sep 2010 22:24:18 +0200 (CEST) Original-Received: from lo.gmane.org (lo.gmane.org [80.91.229.12]) by filter4-til.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id o8EKNBYv023243 for ; Tue, 14 Sep 2010 22:23:11 +0200 Original-Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1Ovc21-0007FS-0v for ntg-context@ntg.nl; Tue, 14 Sep 2010 22:23:09 +0200 Original-Received: from p54909d7b.dip.t-dialin.net ([84.144.157.123]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 14 Sep 2010 22:23:08 +0200 Original-Received: from tralalas by p54909d7b.dip.t-dialin.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 14 Sep 2010 22:23:08 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Followup-To: gmane.comp.tex.context Original-Lines: 125 Original-X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: p54909d7b.dip.t-dialin.net User-Agent: KNode/4.4.2 X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=80.91.229.12; country=NO; region=12; city=Oslo; latitude=59.9167; longitude=10.7500; http://maps.google.com/maps?q=59.9167,10.7500&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 05D6Inbe6 - f6215e341aea - 20100914 X-Scanned-By: CanIt (www . roaringpenguin . com) on 194.171.167.220 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:61684 Archived-At: Hans Hagen wrote: > - can you post your examples (so that they can be added to the test suite) > - can you also test this with the current beta done.. you can find the test file for formulas with mkiv attached to this email. I ran it with the latest beta. A couple of things are working.. but e.g. most ways for subformulas not. The listing is half working.. only the formulas names are missing and the order with the only example with working subformulas is strange. If I made any mkiv mistake please excuse... I tried to figure out / guessed the right mkiv ways. I hope this test files helps you to identify the problem areas. ---------8<------------------- \starttext \title{List of formulas} Strange: Missing name of first formula and strange order of .. 2.a, 2, 2.b... \placelist[formula][criterium=all,alternative=c] \subject{math - formula} This works fine. \placenamedformula[one]{Der einfache Test} \startformula c^2 = a^2 + b^2. \stopformula \subject{math - subformula} This works fine. \startsubformulas[eq:1] \placeformula[eq:first] \startformula PM \xrightarrow R_{PM} \xrightarrow PM \stopformula \placeformula[eq:second] \startformula R_{PM} = \{ K, F, Z, U, I, J\} \stopformula \stopsubformulas \subject{math - align - formula} Works. \placeformula \startformula \startalign[n=3, align={right,middle,left}] \NC PM \xrightarrow \NC R_{PM} \NC \xrightarrow PM \NR[gleichung1a] \NC R_{PM} \NC = \NC \{ A, B, C, D, E\} \NR[gleichung1b] \stopalign \stopformula Also works. \placeformula \startformula \startalign[n=3, align={right,middle,left}] \NC PM \xrightarrow \NC R_{PM} \NC \xrightarrow PM \NR[+] \NC R_{PM} \NC = \NC \{ A, B, C, D, E\} \NR[+] \stopalign \stopformula \subject{math - align - subformula} Does not work: no subformula numbers \placesubformula \startformula \startalign[n=3, align={right,middle,left}] \NC PM \xrightarrow \NC R_{PM} \NC \xrightarrow PM \NR[gleichung1a][.1] \NC R_{PM} \NC = \NC \{ A, B, C, D, E\} \NR[gleichung1b][.2] \stopalign \stopformula Does not work: no subformula numbers \placesubformula \startformula \startalign[n=3, align={right,middle,left}] \NC PM \xrightarrow \NC R_{PM} \NC \xrightarrow PM \NR[gleichung1a][+] \NC R_{PM} \NC = \NC \{ A, B, C, D, E\} \NR[gleichung1b][+] \stopalign \stopformula \subject{math - eqalignno - formula} Taken from wiki and removed the subformulanumber \placeformula \startformula \eqalignno{ c^2 &= a^2 + b^2 &\formulanumber \cr c &= \left(a^2 + b^2\right)^{\vfrac{1}{2}} &\formulanumber\cr a^2 + b^2 &= c^2 &\formulanumber \cr d^2 &= e^2 &\formulanumber \cr} \stopformula \subject{math - eqalignno - subformula} Directly taken form wiki - does not work: subformulanumber is unknown. %\placeformula %\startformula %\eqalignno{ % c^2 &= a^2 + b^2 &\formulanumber{a} \cr % c &= \left(a^2 + b^2\right)^{\vfrac{1}{2}} &\subformulanumber{b}\cr % a^2 + b^2 &= c^2 &\subformulanumber{c} \cr % d^2 &= e^2 &\formulanumber\cr} %\stopformula \stoptext ___________________________________________________________________________________ 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 ___________________________________________________________________________________