From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/88591 Path: news.gmane.org!not-for-mail From: Henning Hraban Ramm Newsgroups: gmane.comp.tex.context Subject: Re: E-books and XML. Date: Fri, 29 Aug 2014 12:33:47 +0600 Message-ID: <7093C082-9948-4BBF-B85C-255231394D5B@fiee.net> References: <20140826110712.2b02eff7@localb.wexfordpress.net> <60DE02B5-FC2C-4656-92A4-2E0B87D86C9F@fiee.net> <53FCC415.2070001@wxs.nl> <11FBFD1E-F926-4897-8ECE-ABA34F1B104A@fiee.net> <53FD9F76.40309@wxs.nl> <53FDA6F1.9000800@wxs.nl> <53FDADB8.50403@wxs.nl> <53FEE6B3.8040502@wxs.nl> <252EE179-5D8F-4E30-9493-B73DF04817CD@fiee.net> <53FF6966.5020505@wxs.nl> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 (Mac OS X Mail 7.3 \(1878.6\)) Content-Type: text/plain; charset="windows-1252" Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1409294055 12524 80.91.229.3 (29 Aug 2014 06:34:15 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 29 Aug 2014 06:34:15 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Fri Aug 29 08:34:10 2014 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([5.39.185.229]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1XNFlC-0000h1-9B for gctc-ntg-context-518@m.gmane.org; Fri, 29 Aug 2014 08:34:10 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 8D1F010281 for ; Fri, 29 Aug 2014 08:34:09 +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 dpe+eS1fa72F for ; Fri, 29 Aug 2014 08:34:09 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id C526E1021F for ; Fri, 29 Aug 2014 08:34:01 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id A9762101E3 for ; Fri, 29 Aug 2014 08:33:57 +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 XQokf9cqtBg0 for ; Fri, 29 Aug 2014 08:33:52 +0200 (CEST) Original-Received: from filter1-ams.mf.surf.net (filter1-ams.mf.surf.net [192.87.102.69]) by balder.ntg.nl (Postfix) with ESMTP id C1298101E1 for ; Fri, 29 Aug 2014 08:33:52 +0200 (CEST) Original-Received: from thesan.fiee.net (thesan.fiee.net [178.77.74.245]) by filter1-ams.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id s7T6Xpsr009530 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Fri, 29 Aug 2014 08:33:52 +0200 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=default; d=fiee.net; b=aMYTkbIhJXO99xCOPV7p+PftoE8ZtORBIhLovxSgT8PzclHmfZ4JEjX2wBkI+h/H5gJqX4ZAEQvQ6Jlvw/PromAm1J3a8yuDD0RU17BWfx7+fd0yEvCMIabtg+S4mZ1d; h=Received:Received:Content-Type:Mime-Version:Subject:From:In-Reply-To:Date:Content-Transfer-Encoding:Message-Id:References:To:X-Mailer; Original-Received: (qmail 29706 invoked from network); 29 Aug 2014 08:33:51 +0200 Original-Received: from 176-123-225-41.maxlink.kg (HELO ?192.168.0.100?) (176.123.225.41) by thesan.fiee.net with ESMTPSA (AES128-SHA encrypted, authenticated); 29 Aug 2014 08:33:51 +0200 In-Reply-To: <53FF6966.5020505@wxs.nl> X-Mailer: Apple Mail (2.1878.6) X-Bayes-Prob: 0.0001 (Score 0, tokens from: ntg-context@ntg.nl, base:default, @@RPTN) X-CanIt-Geo: ip=178.77.74.245; country=DE; region=North Rhine-Westphalia; city=Host; latitude=51.6500; longitude=6.1833; http://maps.google.com/maps?q=51.6500,6.1833&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 0NMIuxQrr - 207a0404d5ca - 20140829 (trained as not-spam) X-Scanned-By: CanIt (www . roaringpenguin . com) on 192.87.102.69 X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.14 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-bounces@ntg.nl Xref: news.gmane.org gmane.comp.tex.context:88591 Archived-At: Am 2014-08-28 um 23:39 schrieb Hans Hagen : >> I just recognized there=92s a problem with references, esp. register: >> = >> .... >>
>> Erinnerung >> .... >> Erinnerung >> >> 4 >> .... >> Vor meinem inn=92ren Auge schweben Namen >> >> 4 >> = >> (These are title and start of lyrics of a song.) >> = >> Beside the inconvenience that there is no node wrapping registerentry an= d registerpages, the locations don=92t match. >> If there are several index entries pointing to the same point (page), as= here, they=92re continuously numbered, so that it=92s no solution to just = subtract 1, as I do at the moment to create my ToC. > = > new beta > = > \setupbackend > [export=3Dyes, > xhtml=3Dyes, > css=3Dexport-example.css] > = > \starttext > = > \index{foo}foo \page > \index{bar}bar \page > \index{foo}foo \page > \index{bar}bar \page > \index{foo+test}foo \page > \index{bar+test}bar \page > = > \placeregister[index] > = > \stoptext > = > gives: > = > > > b > > > bar > 2,4 > > > > test > 6 > > > > > > f > > > foo > 1,3 > > > > test > 5 > > > > > > = >> Maybe the internal location numbers mean something, but I need a working= reference; export.xml doesn=92t know anything about pages, therefore the d= estination makes no sense. Doesn=92t ConTeXt have some unique internal refe= rence name? Thank you for caring, the tag hierarchy is good now, but why did you leave = out the locations now? I need some connection between register entry and the origin to be able to = create a link. I can=92t use the page numbers, since they don=92t exist in the XML (and of= course they make no sense there). Greetlings, Hraban --- http://www.fiee.net/texnique/ http://wiki.contextgarden.net https://www.cacert.org (I'm an assurer) ___________________________________________________________________________= ________ If your question is of interest to others as well, please add an entry to t= he Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-cont= ext webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________= ________