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.

69 lines
1.7 KiB

  1. # Readme
  2. This is the version `0.1` of scientific-emacs. This respositry contains the `Dockerfiles` to build the images for `Redis` and `Emacs`.
  3. # Installation
  4. To install the container first refer to the [Docker Installation Guide](https://docs.docker.com/docker-for-windows/install/). After test the **hello worlf of Docker system**, clone this repository within your
  5. *working directory* using:
  6. ```
  7. $ git clone http://gmarx.jumpingcrab.com:8088/mice-rs101/latex-basic.git
  8. ```
  9. Then, it is possible to build the *scientifc-emacs* container by:
  10. ```
  11. $ docker build -t scientific-emacs:0.1 docker/emacs/
  12. ```
  13. Write here about container
  14. # How to install
  15. 1. Clone this repository:
  16. `git clone xxxx`
  17. 2. Build the container using:
  18. `docker build -t gmarxcc/scientific-emacs:0.1 docker/emacs/`
  19. 3. Run the container to test:
  20. `docker run --rm -it gmarxcc/scientific-emacs:0.1`
  21. 4. Run an Ubuntu command like `ls`
  22. Done, you are doing great!
  23. # Executing emacs
  24. To get the ip address
  25. '''
  26. open -a xquartz
  27. ip=$(ifconfig en0 | grep inet | awk '$1=="inet" {print $2}')
  28. xhost + $ip
  29. '''
  30. To run the container
  31. '''
  32. docker run --rm -it -v`pwd`/emacs-config:/root \
  33. -e DISPLAY=$ip:0 \
  34. -v /tmp/.X11-unix:/tmp/.X11-unix \
  35. gmarxcc/scientific-emacs:0.1
  36. '''
  37. the 'emacs-config' folder contains the '.emacs' configuration file
  38. # What is installed on the repository
  39. The repository has previously installed
  40. - aspell:
  41. - curl:
  42. - auctex:
  43. - pdftools:
  44. - oh-my-zshell:
  45. -
  46. ## How to run pyhton scripts
  47. ## After first run the container
  48. Upgrade texlive to be able to install new packages by :
  49. '''
  50. apt-get upgrade texlive-base
  51. '''
  52. Then, init the user with 'tlmgr init-usertree'. After that you can install new packages using 'tlmgr install package'.