update docs

This commit is contained in:
2024-03-05 10:35:22 +01:00
parent b11956a890
commit 52815c9fe4
4 changed files with 51 additions and 1010 deletions

1006
README.md

File diff suppressed because it is too large Load Diff

View File

@@ -12,25 +12,32 @@ a bunch of online resources.
Different ways to install:
1. If ~emacs-conf~ is available in a ~custom~ ~pacman~ repository
#+begin_src sh
- arch-linux :: If ~emacs-conf~ is available in a ~custom~ ~pacman~ repository
#+begin_src sh
pacman -S emacs-conf
ln /opt/emacs-conf/init ~/.config/emacs/
ln /opt/emacs-conf/early-init.el ~/.config/emacs/
#+end_src
#+end_src
2. Download or clone git repo and point the emacs =init= (and
=early-init.el=) file to this configuration.
- debian :: If ~emacs-conf~ is available in a ~custom~ ~apt~ repository
#+begin_src sh
apt install emacs-conf
ln /opt/emacs-conf/init ~/.config/emacs/
ln /opt/emacs-conf/early-init.el ~/.config/emacs/
#+end_src
3. (Old) Run one of the following install script commands (using curl,
wget or fetch).
#+begin_src sh
- manual :: Download or clone git repo and point the emacs =init= and
=early-init.el= file to this configuration.
- old :: Run one of the following install script commands (using curl,
wget or fetch).
#+begin_src sh
sh -c "$(curl -fsSL http://gitea.weseng.de/daniel/emacs/raw/master/scripts/install.sh)"
sh -c "$(wget -O- http://gitea.weseng.de/daniel/emacs/raw/master/scripts/install.sh)"
sh -c "$(fetch -o - http://gitea.weseng.de/daniel/emacs/raw/master/scripts/install.sh)"
#+end_src
Installation path is =~/.config/emacs=. See details and other
installed linux packages as requirements inside =sripts/install.sh=.
#+end_src
Installation path is =~/.config/emacs=. See details and other
installed linux packages as requirements inside =sripts/install.sh=.
* External programs
:PROPERTIES:

BIN
lisp/my/img/figure-dot.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 39 KiB

View File

@@ -425,7 +425,7 @@ print(result)
|---------+-------|
** Figures
*** Include svg
*** file svg
#+NAME: fig-svg
#+CAPTION: svg figure
#+ATTR_ORG: :width 100
@@ -433,14 +433,14 @@ print(result)
[[/usr/share/icons/hicolor/scalable/apps/emacs.svg]]
See figure ref:fig-svg-import as a reference.
*** Include png
*** file png
#+NAME: fig-png
#+CAPTION: png figure
#+ATTR_ORG: :width 100
#+ATTR_LATEX: :width 1cm
[[/usr/share/icons/hicolor/128x128/apps/emacs.png]]
*** tikz using data file
*** latex using tikz with data file
#+HEADER: :file (tpl-file "test-tikz")
#+HEADER: :results (tpl-results)
#+BEGIN_src latex :exports results :wrap figure
@@ -558,6 +558,26 @@ print(fname, end='')
#+RESULTS:
[[file:img/figure-matplotlib-tex.svg]]
*** dot graphviz
#+begin_src dot :file img/figure-dot.png
digraph G {
main -> parse -> execute;
main -> init;
main -> cleanup;
execute -> make_string;
execute -> printf;
init -> make_string;
main -> printf;
execute -> compare;
}
#+end_src
#+ATTR_ORG: :width 500
#+RESULTS:
[[file:img/figure-dot.png]]
** Example / Verbatim
#+BEGIN_EXAMPLE
verbatime example