3 ms·
I ran into a problem following the example ``` $ emacs --batch -q -l src/my-web.el -f org-publish-all Cannot open load file: No such file or directory, htmlize
by orsenthil 8y ago
I ran into a problem following the example
```
$ emacs --batch -q -l src/my-web.el -f org-publish-all
Cannot open load file: No such file or directory, htmlize
```
I tried and succeeded in installing htmlize. But still ran into this issue. How do I resolve this?
- pksadiq 8y agoIf you are trying to use htmlize, download the file[0] to src directory, such that htmlize package is available as ~/web/src/htmlize.el Now run emacs: ~/web$ emacs --batch -q -l src/htmlize.el\ -l src/my-web.el -f org-publish-all See https://gitlab.com/sadiq/sadiq.gitlab.io/blob/master/.gitlab-ci.yml https://gitlab.com/sadiq/sadiq.gitlab.io/blob/master/.gitlab... You can simply download/clone the complete repo[1] and run the above command from its root directory. [0] https://github.com/hniksic/emacs-htmlize/blob/master/htmlize.el https://github.com/hniksic/emacs-htmlize/blob/master/htmlize... [1] https://gitlab.com/sadiq/sadiq.gitlab.io https://gitlab.com/sadiq/sadiq.gitlab.io