Comments (8)
I can't replicate this. Could you please show me the entry that's causing the problem? Thank you.
from helm-bibtex.
The following entry did not work for me:
@Manual{wetterlund2013_if,
file = {~/edoc/wetterlund2013.pdf},
timestamp = {2015-01-13 013d},
author = {Wetterlund, Kris},
title = {If you Can't See It Don't Say It},
year = 2013,
date = {2013-7-3},
publisher = {Museum-Ed},
url = {http://tamtamsp.pressbooks.com/},
tags = {:to read},
keywords = {*oma exhibits}
}
from helm-bibtex.
Weird, it works in my setup. Are you using the latest version from git master?
from helm-bibtex.
I'm using helm-bibtex-20150129.2118
from melpa, so yes. Everything else is up to date as well. I'll see if I can isolate something and see if it's something in my setup somewhere. I tried just that one entry alone in a file and that didn't help.
Here's the top of the debug, in the meantime:
Debugger entered--Lisp error: (wrong-type-argument sequencep 10)
s-left(1 10)
#[(it) "\301\302�\"\303P\207" [--cl-var-- s-left 1 "."] 3]("Kris")
mapcar(#[(it) "\301\302�\"\303P\207" [--cl-var-- s-left 1 "."] 3] ("Kris"))
helm-bibtex-apa-format-authors("Wetterlund, Kris")
helm-bibtex-apa-get-value("author" (("keywords" . "{*oma exhibits}") ("tags" . "{:to read}") ("url" . "{http://tamtamsp.pressbooks.com/}") ("publisher" . "{Museum-Ed}") ("date" . "{2013-7-3}") ("year" . "2013") ("title" . "{If you Can't See It Don't Say It}") ("author" . "{Wetterlund, Kris}") ("timestamp" . "{2015-01-13 013d}") ("file" . "{~/edoc/wetterlund2013.pdf}") ("=type=" . "Manual") ("=key=" . "wetterlund2013_if")))
from helm-bibtex.
Huh, this doesn't make any sense at all. Where is the 10 in the s-left
call coming from? It should be (s-left 1 "Kris")
which gives us the first charakter of the first name.
from helm-bibtex.
The 10 in s-left
is coming from the position of the ,
on L522: else if (s-index-of "," a)
. Longer or shorter lasnames change the position of the ,
and throw a different error. I tried else if (s-contains? "," a)
and the error was wrong-type-argument sequencep, t
. So, the 10 is get:ting collected in the cl-loop
somehow, I guess, but my lisp is pretty weak so I'll need to dig further. I have updated s.el
and dash.el
libraries, and cl-lib.el 0.5
installed, but maybe there's a clash with the emacs 24.3 cl-lib
? I'm out of my depth, but will keep trying. Sorry for the mess.
from helm-bibtex.
Okay, I upgraded to Emacs 24.4 and recompiled everything. It works now.
from helm-bibtex.
Ok, glad you got it working.
from helm-bibtex.
Related Issues (20)
- 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
- helm-bibtex fails to create window with (wrong-type-argument window-live-p nil) HOT 1
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.