Bibtex extra fields

Issue #10 closed
K created an issue

It is common for us to cite an article and also upload the PDF to Confluence. We then add a link to the uploaded file as part of the citation. The new Bibtex cite only allows info from the .bib file and so stops this ability. Would it be possible to add extra local fields to allow this link (maybe just a rich text box as you do for normal cites that gets appended to the citation, or a file link dropdown box).

Thanks again.

Comments (8)

  1. Andreas Purde repo owner

    Dear K P,

    I totally agree that a link might be helpful. Unfortunately I guess an additional drop down for attachments will not work as the Confluence bundled js for handling page and attachment in the dialog will only be able to handle one pair not two. The only possibility I see is your other suggestion: let the macro have a body, ignore the text in it and just use the link.

    Regards, Andreas

  2. K reporter

    Thanks. It could be OK to just add the body completely rather than parse it. ie allow anything to be added to the end of the citation, with the idea being that it is a link to the file (but it could be something else). Simple and flexible, but open to some abuse.

  3. Andreas Purde repo owner

    Would you mind trying version 1.3.0 here (it is not yet in the Marketplace). Thank you, Andreas

  4. K reporter

    Thanks Andreas. Seems to work OK although (as you noted) it is not the most obvious in terms of usability. Good enough though. One comment: "Replace the key word in the body" is shown with "*" meaning it is required. But really it is not (it's boolean).

    Thanks, Kieran

  5. Andreas Purde repo owner
    • changed status to open

    Dear Kieran,

    thank you for your input. I decided to implement it differently and re-opened the issue. What I plan:

    • remove the boolean parameter

    • use the key word $BibTeX as placeholder for the cite in the body

    • render an error message with link to the documentation in the cite summary when $BibTeX was not found in the body

    Andreas

  6. Log in to comment