add an install.sh script and integrate texmf files

This commit is contained in:
2021-03-09 15:29:49 +01:00
parent 7e7a5dca5d
commit 0bd9247f10
11 changed files with 4524 additions and 116 deletions

View File

@@ -5,70 +5,20 @@
This is an ongoing evolution of Emacs configuration files, inspired by
a bunch of online resources.
* Requirements
:PROPERTIES:
:CUSTOM_ID: requirements
:END:
external packages:
#+begin_src shell
# fonts (opensans in latex article preamble)
yay -S ttf-inconsolata ttf-opensans
# spelling flyspell-buffer
yay -S aspell aspell-de aspell-en \
hunspell hunspell-de hunspell-en_US \
languagetool
# org-mode latex-mode ox-latex
yay -S biber bibtex2html texlive-bibtexextra texlive-core \
texlive-fontsextra texlive-formatsextra texlive-langgreek \
texlive-langjapanese texlive-latexextra texlive-pgf-pie \
texlive-pgfopts texlive-pictures texlive-pstricks \
texlive-publishers texlive-science texlive-slashbox
# ledger-mode
yay -S ledger
# python-mode
yay -S python-pylint
# emacs-application-famework EAF
yay -S --needed git nodejs aria2 libreoffice wmctrl xdotool jre-openjdk \
python-pyqt5 python-pyqt5-sip python-pyqtwebengine python-qrcode \
python-feedparser python-dbus python-pyinotify python-markdown \
python-grip filebrowser-bin python-epc
# other
yay -S ditaa plantuml r
#+end_src
Optional package for EAF see in Installation.
* Installation
:PROPERTIES:
:CUSTOM_ID: installation
:END:
Install into =~/.config/emacs= (must be empty)
Run one of the following install script commands.
#+begin_src sh
git clone http://gogs.weseng.de/daniel/emacs.git ~/.config/emacs
curl sh -c "$(curl -fsSL http://gogs.weseng.de/daniel/emacs/raw/master/scripts/install.sh)"
wget sh -c "$(wget -O- http://gogs.weseng.de/daniel/emacs/raw/master/scripts/install.sh)"
fetch sh -c "$(fetch -o - http://gogs.weseng.de/daniel/emacs/raw/master/scripts/install.sh)"
#+end_src
#+RESULTS:
Installation path is =~/.config/emacs=. See details and other
installed linux packages as requirements inside =sripts/install.sh=.
or copy all files of this directory into your ~/.config/emacs directory
- for Emacs version < 27 create symbolic link to the init file
- =ln -s ~/.config/emacs/init ~/.emacs= (or =~/.emacs.el=,
=~/.emacs.d/init.el=)
LaTeX sytling files: copy/merge the =texmf= directory into your home
directory =~/texmf=
optional for EAF
#+begin_src shell
yay --editmenu -S mupdf python-pymupdf
#+end_src
edit =PGKBUILD= file for =python-pymupdf= to:
#+begin_example
prepare() {
cd "${_name}-${pkgver}"
patch --forward --strip=1 --input="${HOME}/.config/emacs/scripts/fix-pymupdf-library-linking-for-arcolinux.patch"
}
#+end_example
* Packages
:PROPERTIES:
:CUSTOM_ID: packages