Item8440: Expand Macros in References
Priority: Normal
Current State: Closed
Released In:
Target Release: n/a
Macros in References get not expanded. This would be nice for example to show an Icon or so:
| *Key* | *Description* |
| ref1 | R. Eference, bla ha ha, 2010 [[http://somewhere/document.pdf][%ICON{"pdf"}%]] |
The following change in
BibliographyPlugin.pm
seems to solve the problem.
@@ -144,3 +144,3 @@
# in Foswiki:Extensions/DeprecatedHandlers.
-sub preRenderingHandler
+sub beforeCommonTagsHandler
{
But honestly, I don't now about collateral impact or potential danger of this change.
--
AndreLichtsteiner - 29 Jan 2010
I'm also not sure about what impact this change might have for existing users of the plugin. Have you done much testing with existing bibliographies?
I will see if I can test this and if it doesn't break existing users then I am happy to make the change.
--
AndrewJones - 29 Jan 2010
I did some testing and this looks like a good change, so have updated the plugin and uploaded a new version.
--
AndrewJones - 29 Jan 2010
Cool
--
PaulHarvey - 29 Jan 2010