From 0f46f80899341241ea4a9d46fb77fb748bf613e6 Mon Sep 17 00:00:00 2001 From: CheariX Date: Sat, 13 Apr 2024 15:55:33 +0000 Subject: [PATCH] feat: bib -> acceptance, acceptance_rate, location, cve_score (#2325) I added further filds to `bib.liquid`. A common field is `location`, which is now printed. I added fields for `acceptance` and `acceptance_rate`. These fields might be usefull for external people to better determine a vanue's quality. `acceptance` is used for the accepted vs submitted papers. `acceptance_rate` is a percent-value. Bildschirmfoto 2024-04-07 um 18 11 49 The existence of two distinct variables stems from the fact that the 'acceptance_rate' is represented using the venue color. On my website, I employ venue colors correlated with computer science conference rankings, which naturally leads to associating the acceptance rate with the same color scheme for coherence and better understanding. Bildschirmfoto 2024-04-07 um 18 14 54 You can find more examples on my [website](https://christianmainka.de/publications/peerreviewed). Also, I added a CVE Score, which is mainly usefull for IT-Security researchers, see this [example](https://christianmainka.de/cve/). *** Let me know what you think about this proposal. --- _bibliography/papers.bib | 4 ++++ _config.yml | 22 +++++++++++++++++++++- _layouts/bib.liquid | 10 ++++++++++ 3 files changed, 35 insertions(+), 1 deletion(-) diff --git a/_bibliography/papers.bib b/_bibliography/papers.bib index 5ebc7b0..961f2fb 100644 --- a/_bibliography/papers.bib +++ b/_bibliography/papers.bib @@ -39,6 +39,7 @@ author={Einstein, A. and Podolsky, B. and Rosen, N.}, abstract={In a complete theory there is an element corresponding to each element of reality. A sufficient condition for the reality of a physical quantity is the possibility of predicting it with certainty, without disturbing the system. In quantum mechanics in the case of two physical quantities described by non-commuting operators, the knowledge of one precludes the knowledge of the other. Then either (1) the description of reality given by the wave function in quantum mechanics is not complete or (2) these two quantities cannot have simultaneous reality. Consideration of the problem of making predictions concerning a system on the basis of measurements made on another system that had previously interacted with it leads to the result that if (1) is false then (2) is also false. One is thus led to conclude that the description of reality as given by a wave function is not complete.}, journal={Phys. Rev.}, + location={New Jersey}, volume={47}, issue={10}, pages={777--780}, @@ -53,6 +54,9 @@ altmetric={248277}, dimensions={true}, google_scholar_id={qyhmnyLat1gC}, + additional_info={. *More Information* can be [found here](https://github.com/alshedivat/al-folio/)}, + acceptance={9/123}, + acceptance_rate={7\%}, selected={true} } diff --git a/_config.yml b/_config.yml index cf8ea4d..cc1c4b5 100644 --- a/_config.yml +++ b/_config.yml @@ -323,7 +323,27 @@ enable_publication_badges: # Filter out certain bibtex entry keywords used internally from the bib output filtered_bibtex_keywords: - [abbr, abstract, altmetric, arxiv, award, award_name, bibtex_show, blog, code, html, pdf, poster, preview, selected, slides, supp, video, website] + [ + abbr, + abstract, + additional_info, + altmetric, + arxiv, + award, + award_name, + bibtex_show, + blog, + code, + html, + pdf, + poster, + preview, + selected, + slides, + supp, + video, + website, + ] # Maximum number of authors to be shown for each publication (more authors are visible on click) max_author_limit: 3 # leave blank to always show all authors diff --git a/_layouts/bib.liquid b/_layouts/bib.liquid index d5a3228..c4d724c 100644 --- a/_layouts/bib.liquid +++ b/_layouts/bib.liquid @@ -145,6 +145,16 @@ {% if entry.year %} {% capture entryyear %}{{ " " }}{{entry.year}}{% endcapture %} {% endif %} + {% if entry.location %} + {% capture entrytype %}{{entrytype}}{{ ", " }}{{entry.location}}{% endcapture %} + {% endif -%} + {% if entry.additional_info %} + {% capture entrytype %}{{entrytype}}{{entry.additional_info | markdownify | remove: '

' | remove: '

' }}{% endcapture %} + {% endif %} + {% capture hook_exists %}{% file_exists _includes/hook/bib.liquid %}{% endcapture %} + {% if hook_exists == 'true' %} + {% include hook/bib.liquid %} + {% endif %} {% assign entrytype_text = entrytype | strip_html | strip %} {% capture periodical %}{{ entrytype }}{% if entrytype_text != "" and entryyear != "" %}, {% endif %}{{ entrymonth }}{{ entryyear }}{% endcapture %}