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]
<document>
<p>Madame Bovary is a novel by Gustave <indexterm>Flaubert, Gustave</indexterm>Flaubert. This has been demonstrated in <citation>hh2010</citation> in 2010.</p>
</document>
\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
___________________________________________________________________________________

Reply via email to