mirror of
https://github.com/mickael-kerjean/filestash
synced 2025-12-06 08:22:24 +01:00
fix (#209): fix emacs export error
This commit is contained in:
parent
5beba70b36
commit
c3d46c3abe
4 changed files with 1887 additions and 1 deletions
|
|
@ -15,7 +15,11 @@ RUN apt-get update > /dev/null && \
|
||||||
#################
|
#################
|
||||||
# Optional dependencies
|
# Optional dependencies
|
||||||
apt-get install -y curl emacs zip poppler-utils > /dev/null && \
|
apt-get install -y curl emacs zip poppler-utils > /dev/null && \
|
||||||
# Minimal latex dependencies for org-mode
|
# org-mode: html export
|
||||||
|
curl https://raw.githubusercontent.com/mickael-kerjean/filestash/master/server/.assets/emacs/htmlize.el > /usr/share/emacs/site-lisp/htmlize.el && \
|
||||||
|
# org-mode: markdown export
|
||||||
|
curl https://raw.githubusercontent.com/mickael-kerjean/filestash/master/server/.assets/emacs/ox-gfm.el > /usr/share/emacs/site-lisp/ox-gfm.el && \
|
||||||
|
# org-mode: pdf export (with a light latex distribution)
|
||||||
cd && apt-get install -y wget perl > /dev/null && \
|
cd && apt-get install -y wget perl > /dev/null && \
|
||||||
export CTAN_REPO="http://mirror.las.iastate.edu/tex-archive/systems/texlive/tlnet" && \
|
export CTAN_REPO="http://mirror.las.iastate.edu/tex-archive/systems/texlive/tlnet" && \
|
||||||
curl -sL "https://yihui.name/gh/tinytex/tools/install-unx.sh" | sh && \
|
curl -sL "https://yihui.name/gh/tinytex/tools/install-unx.sh" | sh && \
|
||||||
|
|
|
||||||
1
server/.assets/emacs/README.md
Normal file
1
server/.assets/emacs/README.md
Normal file
|
|
@ -0,0 +1 @@
|
||||||
|
Those are the required dependencies for emacs used in the org-mode export feature. They are getting pulled from [the Dockerfile](https://raw.githubusercontent.com/mickael-kerjean/filestash/master/docker/Dockerfile).
|
||||||
1881
server/.assets/emacs/htmlize.el
Normal file
1881
server/.assets/emacs/htmlize.el
Normal file
File diff suppressed because it is too large
Load diff
Loading…
Reference in a new issue