I only subscribed to the mailinglist after having read this message, so please forgive me the bad citation.
Carl Boettiger wrote: > Given the importance of web-based formats and the ease of using CSL to > generate citations in markdown and html documents with tools such as > pandoc, it seems natural that individuals would want to style in-text > citations not only to reflect journal norms of author surnames etc, but > include such features as actual links, perhaps add `title` attributes for > mouse-over effects, and so forth. If this is not possible in the current > implementation, is this something CSL might address in the future? I'm also having problems with this. I'm currently implementing a CSL-based solution for displaying publication lists on a homepage. For this I also want to include some links. I think it is correct, that CSL shouldn't depend on the selected output format, so my proposal would be to have a syntax like <macro name="url-macro"> <choose> <if variable="DOI"> <text variable="DOI" prefix="http://dx.doi.org/"/> </if> <else> <text variable="URL"/> </else> </choose> </macro> <group href="url-macro"> <text variable="title" /> </group> This would allow the processor to wrap a certain text part with a link, or ignore it. This wouldn't depend on the output format. Also the argument, that one would get even more styles, which also differ in the linking behavior doesn't hold in my opinion. My current solution is much worse :( The solution provided by Sebastian doesn't work, because it is invalid XML (using prefix="<a href='"). I don't know how this could be escaped properly to be read in correctly, and still have the correct tags in the output. At the moment I use intermediate markers of the kind prefix="{{a href='" which are then replaced in a post-processing step by '<'. This results in ugly one-time-styles. I would really like to see some kind of linking features like proposed above. Best regards, Christoph ------------------------------------------------------------------------------ HPCC Systems Open Source Big Data Platform from LexisNexis Risk Solutions Find What Matters Most in Your Big Data with HPCC Systems Open Source. Fast. Scalable. Simple. Ideal for Dirty Data. Leverages Graph Analysis for Fast Processing & Easy Data Exploration http://p.sf.net/sfu/hpccsystems _______________________________________________ xbiblio-devel mailing list xbiblio-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xbiblio-devel