Comments (3)
You need to define the config/init-cdlatex
, config/init-org-brain
, ... functions in the layer making a call to use-package
, in addition to adding it to the config-packages
variable, see outshine
's setup for example.
The warning is telling you that the layer isn't owning the package, and no other layer does, so it doesn't get installed.
from .spacemacs.d.
Thanks for your help! Yes following your instruction now I added the following:
(defun config/init-cdlatex ()
(use-package cdlatex
:after auctex org
:init
(progn
(load "~/programming/emacs-lisp/texmathp.el")
(load "~/programming/emacs-lisp/org-cdlatex-try-tab/org-cdlatex-try-tab.el")
;; the command =C- SHIFT TAB= for trigger cdtalx abbrev expansion in org-mode
;; This is my private setup.
;; enable CDLaTex minor-mode for entering math (equations, or symbols)
(add-hook 'org-mode-hook 'turn-on-org-cdlatex)
)))
Now there is no more complaint against missing cdlatex. But I noticed that cdlatex needs texmathp.el, which is not a package. So I tried to directly load it in the init section, but it seems that it didn't work. I had to manually load it to make it available.
Another issue is that the last add-hook
seemed didn't have the effect. I also had to manually enable the minor mode org-cdlatex-mode
Thanks again!
from .spacemacs.d.
Actually, after I removed auctex
in:after
clause, it all worked as expected now.
(Initially, I was hoping to install auctex
in order to have texmathp
, but it didn't work, and I solved the problem by just downloading a private copy of texmathp.el)
from .spacemacs.d.
Related Issues (20)
- How to by-passing the aspect of using special fonts? HOT 2
- Trouble getting outline-ivy working HOT 5
- === and =/= ligatures not showing in pretty-font HOT 1
- Outline with leading spaces a not prettified by prettify-outline
- Help with pretty outlines HOT 2
- Please review receipts for additional customization HOT 2
- pretty-outlines: missing a require HOT 3
- Warning (emacs): ‘outshine-hook-function’ has been deprecated, use ‘outshine-mode’
- mode line is empty HOT 11
- Folding comments in Haskell mode make ghc unhappy HOT 6
- C-c C-c broken for notes HOT 4
- I added org-gcal support HOT 1
- Completely disable redo-spacemacs-bindings HOT 1
- error when start up "Symbol’s function definition is void: redo-spacemacs-bindings" HOT 1
- ‘dap’ layer is not installed, please add ‘dap’ layer to your dotfile. HOT 1
- Can not enable ligatures HOT 2
- Setting to org-structure-template-alist causes error
- can not start ? HOT 7
- Overwrite outshine defined regexps
- Unconsistent behaviour with pretty outlines
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 .spacemacs.d.