Comments (7)
It's defined by the cl-defstruct
.
Do you get the error after loading citar?
Like if you require it manually first, does it still complain?
from citar.
Also, see this Doom PR.
It may suggest slight tweaks to the use-package
?
from citar.
Got it !
I remember having had the same issue with another package.
The point is that the definition of citar-indcator-create
is not available outside of the package.
Then this :
(use-package ...)
(defvar ... (citar-indicator-create ...))
fails, because the function is not found, although being defined in the package.
To make it work, it is needed to put defvar
statements within the use-package
call :
(use-package ...
:config
(defvar ... (citar-indicator-create ...))
)
and it works like this, much like in the doom link you provided.
Thanks
Regards
from citar.
Makes sense.
I'm considering somehow making those indicators available, perhaps through an optional extension file.
See #770.
from citar.
I too have just had this same issue. I also wonderred if these couldn't be a part of the package and activated in some way with something like (setq citar-use-default-indicators t)
or something like that. Glad to find this issue which has solved my issue.
from citar.
You mean for the icon-based ones?
The challenge is I don't want to require all-the-icons
, so need to figure out a way to avoid that, but still make it easier.
EDIT
Maybe a short-term solution can be wrapping the example in with-eval-after-load
, or showing it in a use-package
context.
I also want to experiment with SVG icons, but was waiting on a fix to svg-lib
.
from citar.
Related Issues (20)
- importing bib from doi and cross-ref, including pdf HOT 2
- Indicator spacing wrong with icons HOT 10
- Review `citar--make-indicator-symbols` HOT 7
- Add error handling for citar-bibliography
- Make use of, or remove, `citar-additional-fields`
- Add an extensions folder
- citar docs in emacs manual HOT 1
- Add new major-mode-functions?
- file indicator incorrectly indicating HOT 19
- Error in using 'citar-insert-citation' HOT 2
- can't act on `embark-export` result s HOT 1
- Preload cache in the background HOT 8
- Expand test coverage, integrate into CI
- Using `nerd-icons` for `citar-symbols` leads to use of default values (`F`, `N`, `L`) instead HOT 2
- embark-define-keymap has been removed HOT 5
- when selecting multiple references, keep the current filter HOT 2
- Discrepancies in citation format when using `citar-insert-reference` HOT 7
- add an "other window'/"other frame" option for opening notes HOT 17
- prefixes and suffixes in `citar-markdown-insert-citation` HOT 6
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.