kookma / TW-Refnotes

Refnotes is a reference manager tool that allows you to maintain a "personal library" of references, citations, footnotes and abbreviations in Tiddlywiki.
https://kookma.github.io/TW-Refnotes/
37 stars 6 forks source link

[Feature] Add number of type of reference to bibliography sidebar tab #30

Open kookma opened 2 years ago

kookma commented 2 years ago

Show info button

show number of refs show number of refs per type (e.g.book: 10, article:15, thesis:4, ...)

kookma commented 2 years ago

For example use this code

* total:      <$count filter="[has[bibtex-entry-type]]"/>
* article:    <$count filter="[bibtex-entry-type[article]]"/>
* book:       <$count filter="[bibtex-entry-type[book]]"/>
* conference paper: <$count filter="[bibtex-entry-type[inproceedings]]"/>
* in collection:         <$count filter="[bibtex-entry-type[incollection]]"/>
* phd thesis:            <$count filter="[bibtex-entry-type[phdthesis]]"/>
* masters thesis:      <$count filter="[bibtex-entry-type[mastersthesis]]"/>
* unpublished:        <$count filter="[bibtex-entry-type[unpublished]]"/>
* misc:                     <$count filter="[bibtex-entry-type[misc]]"/>

<$list filter="[each[bibtex-entry-type]get[bibtex-entry-type]]">

</$list>