Comments (6)
It was a problem in a regular expression. Can you evaluate this function and confirm that it resolves the issue?
(defun citar-denote-extract-citations ()
"Extract citations from all Denote files."
;; Extract lines with citations
(let* ((xrefs (xref-matches-in-files
citar-denote-citekey-regex
(denote-directory-text-only-files)))
(citations (mapcar #'substring-no-properties
(mapcar #'xref-match-item-summary xrefs))))
;; Clean results
(delete-dups
(mapcar
(lambda (cite)
(replace-regexp-in-string
"@\\|\\].*\\|;" "" ;; Fixed issue 19
(substring
cite (string-match citar-denote-citekey-regex cite))))
citations))))
from citar-denote.
Hi, I have been able to replicate the error. The issue is with citar-denote-extract-citations
. I'll work on it tonight, should be an easy fix (regex issue).
from citar-denote.
It worked, fantastic.
Thank you for your great job.
from citar-denote.
No worries. I have committed the update, which will soon land in MELPA. 756682b
from citar-denote.
A mistake in
Line 262 in 756682b
You should delete this line.
from citar-denote.
Oops, that was silly. Fixed it.
from citar-denote.
Related Issues (11)
- Using specific directory for citar notes HOT 3
- Include subdirectory? HOT 7
- Feature request: Add support for citations in the backlinks buffer ? HOT 4
- reference key as target-finder? HOT 11
- Running citar-create-note doesn't add a "#+reference" HOT 5
- Author (year) as title HOT 31
- Add additional information from bibliographic entry into note, with pre-defined formatting? HOT 4
- Create a denote note including the citekey and bib keyword in one step. HOT 6
- Obsolete symbols, some further integration HOT 5
- add an easy way to insert a link to the note of a given reference? HOT 7
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 citar-denote.