On Sun, Nov 1, 2009 at 1:02 PM, Markus <[email protected]> wrote:
>
> Now we have two citation plugins. :)

Oops, didn't know you had put one up. Nice idea to use a function,
though I like the idea of a custom markup also...

> Yours does almost everything I want. Using the same reference twice
> will list it twice. I updated my references plugin (http://
> www.boltwire.com/index.php?p=solutions.links.references) and it will
> list references only once. Also I would not hard code "References".
> Someone might want to call it "Footnotes" or whatever or make it a
> headline.

It was supposed to do that, but there was a slight problem with the
order of processing. If you change the second parameter in the markup
rule in citations.php file to this it seems to fix things:

Markup('links', 'citations<uploads', ...

I actually just uploaded a revised version that is even a bit smarter
in this regard.

> 1) How can I set the css class for the citation links in order to
> customize it in code.style? I.e. to generate <a href="..."
> class="aClass">...</a>.
> Do I have to use plain HTML instead of BW-markup in the plugin to
> achieve this?

No, but it's probably easier and faster to use html. You can do
[[link|lable|class=cite]] and it will give you the class declaration.

> 2) Using `[$citenumber`] won't work as DrunkenMonk confirmed in a post
> above. Would you like to make this work?

Not sure I get this question.  You can do

^^[[link| [1] ]]^^
or
^^`[[[link|1]]]^^

But again, using html is easier...

Cheers,
Dan

P.S. I like your css stuff on your plugins page. I'm thinking perhaps
we should add some of that to the core css style sheet?

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"BoltWire" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/boltwire?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to