autoloads

This commit is contained in:
2026-06-27 10:29:01 +02:00
parent bd072b2c58
commit 4be4f859c4
6 changed files with 198 additions and 113 deletions

View File

@@ -1,9 +1,24 @@
* table
#+NAME: tab-data
| 3.75 | 2.5 |
| 4.43 | 3 |
| 5.5 | 3 |
| 3.5 | 3.5 |
* scr block
** syntax highlighting
** elisp
*** graphviz dot
#+BEGIN_SRC emacs-lisp :var table=tab-data
(length table)
#+END_SRC
#+RESULTS:
: 4
** graphviz dot
#+begin_src dot :file img/src-dot.svg
digraph G {
main -> parse -> execute;
@@ -21,7 +36,7 @@ digraph G {
#+RESULTS:
[[file:img/src-dot.svg]]
*** gnuplot
** gnuplot
#+begin_src gnuplot :results silent
reset
@@ -49,7 +64,11 @@ plot f(x) w lp lw 1, g(x) w p lw 2, h(x) w l lw 3
| 5.5 | 3 |
| 3.5 | 3.5 |
#+begin_src gnuplot :var data=tab-gnuplot :exports results :file img/gnuplot-tab.svg
#+header: :var data=tab-data
#+header: :var data="test.gnuplot.tab"
#+header: :var data="test.gnuplot.tab"
#+begin_src gnuplot :exports results :file img/gnuplot-tab.svg :results file
set terminal svg size 400,320
plot data u 1 t "unsorted", \
'' u 2 lt 3 t "sorted"
@@ -58,9 +77,7 @@ plot data u 1 t "unsorted", \
#+RESULTS:
[[file:img/gnuplot-tab.svg]]
** custom header
*** python
** python
- interactive inside org
- html export creates a svg file