>It is legal latex and it expands the definition of \foo if it exists. >I'm sure this can be very useful, actually :) Here is an example file >to play with: > >\documentclass{article} >\begin{document} >\def\foo{bar} >\section{abab}\label{ab\foo} > >section is \ref{ab\foo} > >\end{document}
You caught me here... maybe I should read a LaTeX book someday... but then I use LyX to avoid that I guess. But still, there is a certain issue of "protect" which is relevant here. What does it mean that the label text is "protected"? Should we have a "parse_protected" routine? What other uses might such a routine have? Gady _________________________________________________________________ MSN Photos is the easiest way to share and print your photos: http://photos.msn.com/support/worldwide.aspx