I am interested in creating a tag function that could accept as one of its 
attributes, a complete txexpr; this txexpr could contain a citation for the 
tagged material, or could offer a translation into another language. For 
instance, providing source and language information for an epigraph: 

◊epigraph[#:lang "gr" #:source (span "Aristotle, " ◊em{De Anima}" Book 1, 
Chapter 4, 408b.18."]{ὁ δὲ νοῦς ἴσως θειότερόν τι καὶ ἀπαθές ἐστιν}

One could also imagine a "foreign" tag, that would allow one to include a 
translation. This sort of complex information (textual citation, 
translations, etc) is often not a string, but may require a full txexpr. 
(The syntax in the above example, using a "span" is pretty ugly.)

With this structure, you could then convert this information into a 
footnote for PDF or HTML, or discard it, etc.

Is using attributes on a tag not a good way to capture this sort of 
information (I am coming to think it isn't). is there a better alternative 
I should be exploring?

-- 
You received this message because you are subscribed to the Google Groups 
"Pollen" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to