diff --git a/README.md b/README.md index e1a6ee5f..902f5997 100644 --- a/README.md +++ b/README.md @@ -19,16 +19,22 @@ a bunch of online resources. 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 pacman -S emacs-conf ln /opt/emacs-conf/init ~/.config/emacs/ ln /opt/emacs-conf/early-init.el ~/.config/emacs/ -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 + + apt install emacs-conf + ln /opt/emacs-conf/init ~/.config/emacs/ + ln /opt/emacs-conf/early-init.el ~/.config/emacs/ -3. (Old) Run one of the following install script commands (using curl, +- **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). sh -c "$(curl -fsSL http://gitea.weseng.de/daniel/emacs/raw/master/scripts/install.sh)" @@ -82,998 +88,6 @@ General key bindings and functions - (`decode-coding-region`) e.g. decode to `utf-8` (e.g. 晴天) - (`diff-buffer-with-file`) show a diff between buffer (current state) and file (saved state) - - - --- -- -- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
PACKAGE_____________________VERSION______REPO_______
ace-window20220911.358melpa
adaptive-wrap0.8elpa-gnu
all-the-icons20230909.2053melpa
all-the-icons-ivy-rich20230420.1234melpa
amx20230413.121melpa
anaconda-mode20230821.2131melpa
async20230528.622melpa
avy20230420.404melpa
awesome-tray4.2custom
biblio20230202.1721melpa
biblio-core20230202.1721melpa
bibtex-completion20230918.953melpa
bind-key20230203.2004melpa
cfrs20220129.1149melpa
citeproc20230228.1414melpa
cl-libify20181130.23melpa
company20231023.1033melpa
company-anaconda20230821.2126melpa
company-ledger20210910.25melpa
company-quickhelp20231026.1714melpa
company-statistics20170210.1933melpa
company-web20220115.2146melpa
compat29.1.4.2elpa-gnu
counsel20231025.2311melpa
crdt0.3.5elpa-gnu
ctable20210128.629melpa
dash20230714.723melpa
dashboard20231031.359melpa
deft20210707.1633melpa
delight1.7elpa-gnu
dialog0.2custom
diff-hl20230807.1516melpa
dim20160818.949melpa
elisp-refs20230920.201melpa
emacsql20230417.1448melpa
emacsql-sqlite20230225.2205melpa
emacsql-sqlite-builtin20230409.1847melpa
emojify20210108.1111melpa
ess20230807.1422melpa
ess-R-data-view20130509.1158melpa
f20230823.1159melpa
flycheck20230813.62melpa
flycheck-ledger20200304.2204melpa
flycheck-pos-tip20200516.16melpa
flyspell-correct20220520.63melpa
flyspell-correct-ivy20220520.63melpa
focus20221016.1846melpa
git-commit20231030.2243melpa
git-messenger20201202.1637melpa
gnuplot20230323.14melpa
helpful20231028.516melpa
ht20230703.558melpa
htmlize20210825.215melpa
hydra20220910.1206melpa
indent-guide20210115.4melpa
iscroll20220612.31melpa
ivy20231025.2311melpa
ivy-bibtex20210927.1205melpa
ivy-rich20230425.1422melpa
js2-mode20230628.238melpa
key-chord20230522.223melpa
langtool20230222.326melpa
ledger-mode20230925.1013melpa
lv20200507.1518melpa
magit20231103.1516melpa
magit-section20231014.1405melpa
markdown-mode20231028.853melpa
memoize20200103.2036melpa
mu4e-maildirs-extensionmelpa 
multiple-cursors20230728.518melpa
notmuch20231006.2337melpa
ob-async20210428.2052melpa
olivetti20231104.538melpa
ol-notmuch20230511.2048melpa
org9.6.11elpa-gnu
org-appear20220617.2355melpa
org-brain20230217.1908melpa
org-cliplink20201126.102melpa
org-contrib0.4.2elpa-nongnu
org-drill20210427.2003melpa
org-fancy-priorities20210830.1657melpa
org-fragtog20220714.2146melpa
orgit20230917.1001melpa
org-ref20231101.2355melpa
org-roam20230307.1721melpa
org-roam-bibtex20230628.2036melpa
org-roam-timestamps20221104.1544melpa
org-roam-ui20221105.104melpa
org-sticky-header20201223.143melpa
org-superstar20230116.1358melpa
org-table-sticky-header20190924.506melpa
ov20230522.1117melpa
ox-pandoc20230627.643melpa
ox-reveal20221127.814melpa
ox-tufte20231022.2117melpa
page-break-lines20230804.658melpa
parsebib20230228.153melpa
pdf-tools20230611.239melpa
persist0.5elpa-gnu
pfuture20220913.1401melpa
php-mode20230929.123melpa
pkg-info20150517.1143melpa
plantuml-mode20191102.2056melpa
polymode20230317.1218melpa
popup20230819.2306melpa
popwin20210215.1849melpa
posframe20230714.227melpa
pos-tip20230721.834melpa
powershell20220805.1712melpa
pythonic20230821.1733melpa
queue0.2elpa-gnu
rainbow-mode1.0.6elpa-gnu
restart-emacs20201127.1425melpa
s20220902.1511melpa
seq2.24elpa-gnu
simple-httpd20230821.1458melpa
spacemacs-theme20230530.1751melpa
sphinx-doc20210213.125melpa
sql-indent1.7elpa-gnu
srefactor20230504.617melpa
stickyfunc-enhance20150429.1814melpa
string-inflection20220910.1306melpa
swiper20231025.2311melpa
systemd20230201.302melpa
tablist20231019.1126melpa
transient20231103.2312melpa
treemacs20231101.115melpa
treemacs-magit20230830.1936melpa
use-package20230426.2324melpa
virtual-auto-fill20200906.2038melpa
visual-fill-column20230102.183melpa
vterm20230417.424melpa
web-completion-data20160318.848melpa
web-mode20231025.1927melpa
websocket20230809.305melpa
which-key20230905.2128melpa
with-editor20230917.958melpa
yasnippet20230914.14melpa
yasnippet-snippets20230815.82melpa
- diff --git a/README.org b/README.org index 9731426d..87c80398 100644 --- a/README.org +++ b/README.org @@ -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: diff --git a/lisp/my/img/figure-dot.png b/lisp/my/img/figure-dot.png new file mode 100644 index 00000000..41e284ae Binary files /dev/null and b/lisp/my/img/figure-dot.png differ diff --git a/lisp/my/my-org-article.org b/lisp/my/my-org-article.org index 5ab5c212..60fa8a9b 100644 --- a/lisp/my/my-org-article.org +++ b/lisp/my/my-org-article.org @@ -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