Hello again,

I have a matching rule for cite commands that look as follows:
<cite id="hunt:86" opt="authoryear"/>

The rule is this (kudoos to Taco):
\defineXMLargument
  [cite]
  {\expanded{\cite[\XMLpar{cite}{opt}{}][\XMLpar{cite}{id}{}]}}

Sometimes I would like to have the '(Hunt et. al., 1986)' produced by above
combination to look like '(see e.g. Hunt et. al., 1986)'. Taco pointed out
in response to a question to list that I could do that by handing
a 'left={(see e.g. }' to the cite command, however I fail to be able to do
that. A XML node like this 
<cite id="hunt:86" opt="authoryear,left={(see e.g.}"/>
results on compilation with above rule in the following error:
! Missing \endcsname inserted.
<to be read again>
                   \leftargument
\XML:ent:tex-leftbrace ...ace \else \leftargument
                                                  \fi
<argument> ...r,left=\getXMLentity {tex-leftbrace}
                                                  see e.g.\getXMLentity
{tex...

\expanded ...\long \xdef \@@expanded {\noexpand #1
                                                  }\@@expanded
\docite ...on [\csname @@pv#2compress\endcsname ]}
                                                   [ \v!yes
=>\bibcitecompre...

\XML:ele:cite/ ...}{opt}{}][\XMLpar {cite}{id}{}]}
                                                  {}
l.112 ...nt:86" opt="authoryear,left={see e.g.}"/>
                                                  ) changed the field
dramat...

Can anybody help me out with this?

Thanks, Joh

_______________________________________________
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context

Reply via email to