Comments (5)
I would use tags for that. Specifically you could use tags named high-impact
/ low-impact
and high-citation
/ low-citation
. It's not great though, because impact factors and citations change over time, so the maintenance cost for your bibliography would be high. But there is nothing that helm-bibtex can do to prevent that.
from helm-bibtex.
Hi, @tmalsburg
I finally made it to get cited number from google scholar, and insert them in the bibtex entry, like:
@article{hashi-1996-study-si-fe,
author = {S. Hashi and K. Ishiyama and K.I. Arai and
M. Kawasaki and Y. Yamashiro},
title = {Study on the Deformation of 3%si-Fe Single Crystal
With Magnetic Field Being Deviated From [001]},
citation = 38 ,
journal = {IEEE Transactions on Magnetics},
volume = 32,
number = 5,
pages = {4848-4850},
year = 1996,
doi = {10.1109/20.539172},
url = {http://dx.doi.org/10.1109/20.539172},
date_added = {Tue Jun 2 09:08:08 2015},
}
I want to add them (citation field
) to the helm-bibtex
window. I tried to modify helm-bibtex-candidates-formatter
function to meet my need, but no success to show them.
Can you correct it for me?
(defun helm-bibtex-candidates-formatter (candidates source)
"Formats BibTeX entries for display in results list."
(cl-loop
with width = (with-helm-window (helm-bibtex-window-width))
for entry in candidates
for entry = (cdr entry)
for entry-key = (helm-bibtex-get-value "=key=" entry)
if (assoc-string "author" entry 'case-fold)
for fields = '("author" "title" "year" "citation" "=has-pdf=" "=has-note=" "=type=")
else
for fields = '("editor" "title" "year" "citation" "=has-pdf=" "=has-note=" "=type=")
for fields = (--map (helm-bibtex-clean-string
(helm-bibtex-get-value it entry " "))
fields)
for fields = (-update-at 0 'helm-bibtex-shorten-authors fields)
collect
(cons (s-format "$0 $1 $2 $3 $4 $5 $6" 'elt
(-zip-with (lambda (f w) (truncate-string-to-width f w 0 ?\s))
fields (list 35 (- width 58) 4 3 1 1 7)))
entry-key)))
from helm-bibtex.
Sorry, @llcc, I don't have any time at all currently. From quickly glancing at your code, the approach looks reasonable. Perhaps a good opportunity for you to learn how to debug elisp?
from helm-bibtex.
@tmalsburg Thanks, I did it by adding the bibtex field to helm-bibtex-additional-search-fields
. Now I achieve everything I need, so I think I can close this issue.
Regrading to the impact factor and cited number, I will share the relevant snippet later.
from helm-bibtex.
Excellent! Glad to hear that you could make it work.
from helm-bibtex.
Related Issues (20)
- Dynamic bibtex-completion-library-path HOT 4
- Prenote and Postnote options for citations in org-mode HOT 4
- Symbol’s function definition is void: org-cite-register-processor HOT 7
- bibtex-completion-format-citation-org-cite gives wrong format HOT 2
- org-ref-helm-bibtex-insert-citation results in wrong type argument HOT 3
- helm-bibtex-candidates-formatter not applied (?) HOT 11
- Invalid image type 'svg' HOT 3
- Symbol’s value as variable is void: browse-url-mosaic-program HOT 4
- Inquiry about Automatic Updating of BibTeX Files from Online Databases in Helm-Bibtex. HOT 1
- Set the variable bibtex-completion-bibliography used by helm-bibtex to the dynamical generated bib files list corresponding to the current master tex file. HOT 14
- Trigger bibliography completion list in-situ in TeX source document when typing `\cite{}` command.
- Inquiry about citation commands supported by helm-bibtex package. HOT 11
- The problem related to `(require 'helm-config)` and `(require 'helm-bibtex)`. HOT 9
- What's the mode hook defined in `helm-bibtex` to conditionally activate it when AUCTeX's `LaTeX-mode` is called? HOT 4
- Allow additional functions for format entry HOT 1
- Bug?: Abstract may be invalid if final character is `}` HOT 4
- Feature request: Integration with Zotra HOT 5
- Clarify documentation for `org-bibtex` bibliography. HOT 3
- helm-bibtex-follow doesn't fail properly for non-existent keys HOT 7
- Unicode Support HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from helm-bibtex.