The scientific-emacs a container-based in Debian:Focal version with emacs 26, and a light version of TeXlive.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

51 lines
1.0 KiB

  1. # Readme
  2. Write here about container
  3. # How to install
  4. 1. Clone this repository:
  5. `git clone xxxx`
  6. 2. Build the container using:
  7. `docker build -t gmarxcc/scientific-emacs:0.1 docker/emacs/`
  8. 3. Run the container to test:
  9. `docker run --rm -it gmarxcc/scientific-emacs:0.1`
  10. 4. Run an Ubuntu command like `ls`
  11. Done, you are doing great!
  12. # Executing emacs
  13. To get the ip address
  14. '''
  15. open -a xquartz
  16. ip=$(ifconfig en0 | grep inet | awk '$1=="inet" {print $2}')
  17. xhost + $ip
  18. '''
  19. To run the container
  20. '''
  21. docker run --rm -it -v`pwd`/emacs-config:/root \
  22. -e DISPLAY=$ip:0 \
  23. -v /tmp/.X11-unix:/tmp/.X11-unix \
  24. gmarxcc/scientific-emacs:0.1
  25. '''
  26. the 'emacs-config' folder contains the '.emacs' configuration file
  27. To install:
  28. - aspell
  29. - curl
  30. - wget
  31. - git
  32. - zsh
  33. ## After first run the container
  34. Upgrade texlive to be able to install new packages by :
  35. '''
  36. apt-get upgrade texlive-base
  37. '''
  38. Then, init the user with 'tlmgr init-usertree'. After that you can install new packages using 'tlmgr install package'.