I'd like to modify the wiki2latex extension to make the <ref> insertions from the Cite extension get converted into LaTeX format citations. Or is it easier to do the reverse and build an extension to display LaTeX citations?