I would like to perform some string manipulation (using the xstring package) on the result of a \cite{} (the bib package is given to me, and wouldn't allow what I want to do without a major rewrite). However, I can't find a way to assign the result of the \cite{} to a variable. \edef doesn't work, nor does \protected@edef. Any suggestions?
Tell me more
×
TeX - LaTeX Stack Exchange is a question and answer site for
users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.
|
|
||||
| show 1 more comment |
\citemacro is not expandable, and so you cannot do what you want in the way you want. Perhaps you might explain a bit more what manipulation you need to carry out? – Joseph Wright♦ Jan 3 '11 at 15:52\citet), however, the one I have to use (for a publication) doesn't allow this (it's not using\citeauthoryearinternally). – J Witherspoon Jan 3 '11 at 15:59