update docs
This commit is contained in:
29
README.org
29
README.org
@@ -12,25 +12,32 @@ a bunch of online resources.
|
|||||||
|
|
||||||
Different ways to install:
|
Different ways to install:
|
||||||
|
|
||||||
1. If ~emacs-conf~ is available in a ~custom~ ~pacman~ repository
|
- arch-linux :: If ~emacs-conf~ is available in a ~custom~ ~pacman~ repository
|
||||||
#+begin_src sh
|
#+begin_src sh
|
||||||
pacman -S emacs-conf
|
pacman -S emacs-conf
|
||||||
ln /opt/emacs-conf/init ~/.config/emacs/
|
ln /opt/emacs-conf/init ~/.config/emacs/
|
||||||
ln /opt/emacs-conf/early-init.el ~/.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
|
- debian :: If ~emacs-conf~ is available in a ~custom~ ~apt~ repository
|
||||||
=early-init.el=) file to this configuration.
|
#+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,
|
- manual :: Download or clone git repo and point the emacs =init= and
|
||||||
wget or fetch).
|
=early-init.el= file to this configuration.
|
||||||
#+begin_src sh
|
|
||||||
|
- 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 "$(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 "$(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)"
|
sh -c "$(fetch -o - http://gitea.weseng.de/daniel/emacs/raw/master/scripts/install.sh)"
|
||||||
#+end_src
|
#+end_src
|
||||||
Installation path is =~/.config/emacs=. See details and other
|
Installation path is =~/.config/emacs=. See details and other
|
||||||
installed linux packages as requirements inside =sripts/install.sh=.
|
installed linux packages as requirements inside =sripts/install.sh=.
|
||||||
|
|
||||||
* External programs
|
* External programs
|
||||||
:PROPERTIES:
|
:PROPERTIES:
|
||||||
|
|||||||
BIN
lisp/my/img/figure-dot.png
Normal file
BIN
lisp/my/img/figure-dot.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 39 KiB |
@@ -425,7 +425,7 @@ print(result)
|
|||||||
|---------+-------|
|
|---------+-------|
|
||||||
|
|
||||||
** Figures
|
** Figures
|
||||||
*** Include svg
|
*** file svg
|
||||||
#+NAME: fig-svg
|
#+NAME: fig-svg
|
||||||
#+CAPTION: svg figure
|
#+CAPTION: svg figure
|
||||||
#+ATTR_ORG: :width 100
|
#+ATTR_ORG: :width 100
|
||||||
@@ -433,14 +433,14 @@ print(result)
|
|||||||
[[/usr/share/icons/hicolor/scalable/apps/emacs.svg]]
|
[[/usr/share/icons/hicolor/scalable/apps/emacs.svg]]
|
||||||
|
|
||||||
See figure ref:fig-svg-import as a reference.
|
See figure ref:fig-svg-import as a reference.
|
||||||
*** Include png
|
*** file png
|
||||||
#+NAME: fig-png
|
#+NAME: fig-png
|
||||||
#+CAPTION: png figure
|
#+CAPTION: png figure
|
||||||
#+ATTR_ORG: :width 100
|
#+ATTR_ORG: :width 100
|
||||||
#+ATTR_LATEX: :width 1cm
|
#+ATTR_LATEX: :width 1cm
|
||||||
[[/usr/share/icons/hicolor/128x128/apps/emacs.png]]
|
[[/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: :file (tpl-file "test-tikz")
|
||||||
#+HEADER: :results (tpl-results)
|
#+HEADER: :results (tpl-results)
|
||||||
#+BEGIN_src latex :exports results :wrap figure
|
#+BEGIN_src latex :exports results :wrap figure
|
||||||
@@ -558,6 +558,26 @@ print(fname, end='')
|
|||||||
#+RESULTS:
|
#+RESULTS:
|
||||||
[[file:img/figure-matplotlib-tex.svg]]
|
[[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
|
** Example / Verbatim
|
||||||
#+BEGIN_EXAMPLE
|
#+BEGIN_EXAMPLE
|
||||||
verbatime example
|
verbatime example
|
||||||
|
|||||||
Reference in New Issue
Block a user