Can BibTeX plugin expand beyond journals?

174 views
Skip to first unread message

springer

unread,
Dec 9, 2020, 4:16:28 PM12/9/20
to TiddlyWiki
Hello all,

I'm just orienting to the BibTeX plugin (as well as refnotes). It's clearly very powerful! But it seems designed mostly for journal articles (as odin noted in June).

While working on the biblio-demo quote-collection project, the BibTeX citations I import tend to be books. I'm finding that the viewtemplate/bibtex, as well as <<showrefs>> macros in refnotes, don't handle key book fields (like bibtex-publisher); they instead highlight fields (like bibtex-doi) that are not relevant to books.

I'm happy to play a role in troubleshooting such work, and of course I can cobble together some local workarounds for my own use-cases. But I'm putting the challenge out, here, in case Mohammad (who I think is mostly behind both BibTeX importer and refnotes?) or others are interested in getting BibTeX connections supported across wider applications.

Best regards to all!

-Springer

Mohammad

unread,
Dec 10, 2020, 2:51:58 AM12/10/20
to TiddlyWiki
Hi Springer,


Please note like any bibliography tools you can have any output style. For example I use EndNote and it has many styles to meet different publisher requirements.

Go ahead, I plan to update the Refnote after having TW 5.1.23 so make your hack and let me know if you need to be these included in the new update.
By the way I may recommend to submit tickets on https://github.com/kookma/Refnotes

--Mohammad

Mohammad

unread,
Dec 10, 2020, 3:03:38 AM12/10/20
to TiddlyWiki
See idea here:


This is new Discussion panel in GitHub. It is great! Use it.

On Thursday, December 10, 2020 at 12:46:28 AM UTC+3:30 springer wrote:

Jeremy Ruston

unread,
Dec 10, 2020, 10:43:26 AM12/10/20
to TiddlyWiki Group
I think I made the original version of the core BibTeX importer plugin. It’s a very thin wrapper around this JavaScript library:


The current code uses the library to parse the incoming BibTeX string, and creates a tiddler for each entry as follows:

* The title is set to the citationKey of the entry
* The field bibtex-entry-type is set to the entryType of the entry
* The remaining entry tags are converted into tiddlers of the same name prefixed with “bibtex-“

As far as I can tell, we’re picking up all the information that is exposed by the parser, but if there’s anything we’re missing do let me know,

Best wishes

Jeremy

-- 
You received this message because you are subscribed to the Google Groups "TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email to tiddlywiki+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/ce8163a4-5c56-4e27-bef6-4b870fff2f17n%40googlegroups.com.

odin...@gmail.com

unread,
Dec 10, 2020, 10:52:49 AM12/10/20
to TiddlyWiki
One issue I had and couldn't find a good solution for back then is that the macro to generate the bibliography only uses one style/type. So for example: <<showrefs title:"References">> Would generate all the reference as they were journals. If you hack/made a copy of this macro for books, it would generate all the references as books. <<showrefs-books title:"Booklist">>

This is fine if all your references are all the same. So either only journal's articles or only books. But I often found that my list of references would contain different types of sources. Some books, some websites, some articles. And to rewrite the macro so that it would recognise the type of reference and adjust it's style was (and is) above my skill level back then, so I went for a low-tech solution of writing out the correct reference in field and using that to generate the referenceslist.

Op donderdag 10 december 2020 om 09:03:38 UTC+1 schreef Mohammad:

Mohammad Rahmani

unread,
Dec 10, 2020, 11:00:30 AM12/10/20
to tiddl...@googlegroups.com
Springer,
 I will update Refnotes hopefully when TW 5.1.23 is released. What you asked is not difficult. As I said each bibtex entry has a bibtex-entry-type and using theat field output macro can distinguish between book, journal paper, website, dissertation, conference paper, reports, ....

So, no worry at all. 



Best wishes
Mohammad


--
You received this message because you are subscribed to the Google Groups "TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email to tiddlywiki+...@googlegroups.com.

springer

unread,
Dec 10, 2020, 2:05:00 PM12/10/20
to TiddlyWiki
Thanks, Jeremy, Mohammad, and Odin. I'll also have more attention for this once the academic semester ends. Looking forward to the official 5.1.23 release!

Mohammad Rahmani

unread,
Dec 10, 2020, 2:25:42 PM12/10/20
to tiddl...@googlegroups.com

Odin, Springer, feel free to submit issues, feature request at https://github.com/kookma/Refnotes

Best wishes
Mohammad


On Thu, Dec 10, 2020 at 7:22 PM odin...@gmail.com <odin...@gmail.com> wrote:
--

Mohammad

unread,
Apr 8, 2021, 12:45:49 AM4/8/21
to TiddlyWiki
On Thursday, December 10, 2020 at 12:46:28 AM UTC+3:30 springer wrote:
Hello all,

I'm just orienting to the BibTeX plugin (as well as refnotes). It's clearly very powerful! But it seems designed mostly for journal articles (as odin noted in June).

While working on the biblio-demo quote-collection project, the BibTeX citations I import tend to be books. I'm finding that the viewtemplate/bibtex, as well as <<showrefs>> macros in refnotes, don't handle key book fields (like bibtex-publisher); they instead highlight fields (like bibtex-doi) that are not relevant to books.


This feature request has been addressed in Refnotes 1.6.2 beta!
Reply all
Reply to author
Forward
0 new messages