An Emacs configuration to work with LaTeX, Python, C, C++, Pandoc, Markdown, Slack, and git running natively in different OS like MacOS, ArchLinux, and Ubuntu.
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.

52 lines
1.1 KiB

3 years ago
  1. #Readme
  2. This repository contains the basic configuration to work with emacs for compile LaTeX,
  3. Markdown and Docker tested with MacOS, Ubuntu and Windows.
  4. # Python `venv`
  5. It has been tested that to work with Python's virtual environments (venv) on emacs, the venv must be created and activated on shell y using:
  6. ``` shell
  7. $ python3 -m venv ~/.pyvenv/path/to/new/virtual/environment/
  8. $ source /path/to/new/virtual/environment/activate
  9. ```
  10. after this we have to activate the virtual environment with emacs' command `pyvenv-workon` and select the environment to work with.
  11. *consider tath a variable in `.emacs` must bedefined*
  12. ```
  13. (setenv "WORKON_HOME" "~/.pyvenv/")
  14. ```
  15. The commands to create a environmet is
  16. ```
  17. python3 -m venv ~/.pyvenv/path/to/new/vir
  18. tual/environment/
  19. ```
  20. then you need to acticate the environmet to install or update packages by:
  21. ```
  22. source ~/.pyvenv/path/to/new/vir
  23. tual/environment/bin/activate
  24. ```
  25. and the command to install a package is:
  26. ```
  27. pip install package-name
  28. ```
  29. # Spell checking in Emacs
  30. You have to install `aspell` by using:
  31. ```
  32. $ sudo pacman -S aspell
  33. $ sudo pacman -S aspell-en
  34. ```
  35. # Known issues
  36. ## Windows