Hi, Here are two modules I created as a result of the previous discussion about formatted references, especially to footnotes.
== 1. Hyperref full-width links == Makes hyperref links span the whole width of formatted references and equation references. For instance, it makes the whole of "Theorem 3.1" and "(3.1)" a link, instead of just "3.1". (Note: this is _not_ just a hard-coded list of my favourite formats; it works on all formats, including user-defined ones.) == 2. Footnote multiple references == Allows multiple references to footnotes. To use, create the footnote in the normal way at the first location, and put a label inside. At the later location(s), use formatted references to the label. (Without this module, this will still work, but the references won't look like footnote numbers.) The above two modules currently only work with prettyref. For the first, I looked into doing something similar for refstyle, but it seems to be impossible because of how refstyle is structured internally. On the other hand, perhaps refstyle support is possible for the second, but I haven't really looked at it yet. My question to devs here is: would there be interest in including these modules with LyX (either 2.0 or 2.1)? If so I will do some more testing and try to make the second one work with refstyle. Otherwise I'll just post them on the wiki as-is. This is bring things closer to Tommaso's desire for all references to be automatically formatted properly. A "Copy as formatted reference" menu item would help. I can create a module to "fix" refstyle's equation references to not include the "equation" prefix. This leaves making sure all LyX-supported theorem-like refs are formatted correctly; this is obviously more complex, and I notice that LyX 2.0 already partially does this (in a way I don't really understand). Thanks, Jim
hyperrefs-full-width.module
Description: Binary data
foot-multi-references.module
Description: Binary data