From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/80215 Path: news.gmane.org!not-for-mail From: "Thomas A. Schmitz" Newsgroups: gmane.comp.tex.context Subject: two problems with xml processing Date: Fri, 11 Jan 2013 17:56:19 +0100 Organization: Uni Bonn Message-ID: <50F04433.3090906@uni-bonn.de> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; Format="flowed" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1357923396 26272 80.91.229.3 (11 Jan 2013 16:56:36 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 11 Jan 2013 16:56:36 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Fri Jan 11 17:56:53 2013 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([195.12.62.10]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1TthuW-0006Vg-JR for gctc-ntg-context-518@m.gmane.org; Fri, 11 Jan 2013 17:56:52 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 83032101E8; Fri, 11 Jan 2013 17:56:36 +0100 (CET) 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 QRAN3KG2NskK; Fri, 11 Jan 2013 17:56:34 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id 9807C101E5; Fri, 11 Jan 2013 17:56:34 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id C136A101E5 for ; Fri, 11 Jan 2013 17:56:33 +0100 (CET) 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 AbajUYaVJ1jA for ; Fri, 11 Jan 2013 17:56:32 +0100 (CET) Original-Received: from filter4-ams.mf.surf.net (filter4-ams.mf.surf.net [192.87.102.72]) by balder.ntg.nl (Postfix) with ESMTP id 7E84E101E3 for ; Fri, 11 Jan 2013 17:56:32 +0100 (CET) Original-Received: from uni-bonn.de (x23.rhrz.uni-bonn.de [131.220.15.155]) by filter4-ams.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id r0BHACJq016261 for ; Fri, 11 Jan 2013 18:10:15 +0100 Original-Received: from [80.187.201.55] (account tschmit1@uni-bonn.de HELO Thomass-MacBook-Air.local) by fe2.uni-bonn.de (CommuniGate Pro SMTP 5.4.4) with ESMTPSA id 34657067 for ntg-context@ntg.nl; Fri, 11 Jan 2013 17:56:28 +0100 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:16.0) Gecko/20121026 Thunderbird/16.0.2 X-Bayes-Prob: 0.8968 (Score 2, tokens from: @@RPTN) X-CanIt-Geo: ip=131.220.15.155; 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: 01IKFadIJ - e693f64a61da - 20130111 X-Scanned-By: CanIt (www . roaringpenguin . com) on 192.87.102.72 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:80215 Archived-At: Hi all, I am encountering two problems with xml processing; minimal example below. My questions/observations: 1. How can I prevent every index term to be sorted under "x" (for \xmlflush)? 2. What is the readon that the \cite command displays this bizarre behavior and the list of references is empty when I use authornum as refcommand? Thanks and all best! Thomas \setupbibtex[database=sample] \setuppublications [refcommand=authornum] \starttext \startbuffer[demo]

Madame Bovary is a novel by Gustave Flaubert, GustaveFlaubert. This has been demonstrated in hh2010 in 2010.

\stopbuffer \startxmlsetups xml:test \xmlsetsetup{#1}{*}{-} \xmlsetsetup{#1}{document|p|indexterm|citation}{xml:*} \stopxmlsetups \xmlregistersetup{xml:test} \startxmlsetups xml:document \xmlflush{#1} \stopxmlsetups \startxmlsetups xml:p \xmlflush{#1} \par \stopxmlsetups \startxmlsetups xml:indexterm \index{\xmlflush{#1}} \stopxmlsetups \startxmlsetups xml:citation \cite[{\xmlflush{#1}}] \stopxmlsetups \xmlprocessbuffer{whatever}{demo}{} \page \placepublications[criterium=all] \page \placeregister[index] \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 ___________________________________________________________________________________