Gerardo Marx Chávez-Campos f5fb820f0e | 4 years ago | |
---|---|---|
config | 4 years ago | |
data | 4 years ago | |
docker | 4 years ago | |
examples/latex-test | 4 years ago | |
.gitignore | 4 years ago | |
Readme.md | 4 years ago | |
scientific-emacs | 4 years ago |
Write here about container
git clone xxxx
docker build -t gmarxcc/scientific-emacs:0.1 docker/emacs/
docker run --rm -it gmarxcc/scientific-emacs:0.1
ls
Done, you are doing great!
To get the ip address ''' open -a xquartz ip=$(ifconfig en0 | grep inet | awk '$1=="inet" {print $2}') xhost + $ip '''
To run the container
'''
docker run --rm -it -vpwd
/emacs-config:/root
-e DISPLAY=$ip:0
-v /tmp/.X11-unix:/tmp/.X11-unix
gmarxcc/scientific-emacs:0.1
'''
the 'emacs-config' folder contains the '.emacs' configuration file
To install:
Upgrade texlive to be able to install new packages by :
''' apt-get upgrade texlive-base '''
Then, init the user with 'tlmgr init-usertree'. After that you can install new packages using 'tlmgr install package'.