Testing image with caption.

This commit is contained in:
2020-09-10 08:59:57 -07:00
parent a1ed70d077
commit b39fb756bf
3 changed files with 70 additions and 25 deletions
+13 -24
View File
@@ -791,34 +791,23 @@ only the start of your High-Performance React journey.
:PROPERTIES:
:EXPORT_FILE_NAME: manuscript/image-test.markua
:END:
#+name: workflow-diagram
#+begin_src dot :file "./images/high-level-workflow.svg" :exports results :cmdline -Tsvg
#+name: render-tree-basic
#+begin_src dot :file "./images/render-tree-basic.svg" :exports results :cmdline -Tsvg
digraph {
rankdir=TB;
node [fontname="DejaVu Sans"];
edge [fontname="DejaVu Sans"];
files [label="Source files\n(Org doc, figures, etc.)", shape=oval];
emacs [label="Emacs + org-mode",
fillcolor=purple, fontcolor=white, style=filled, shape=box];
manuscript [label="Leanpub manuscript\n(Markua + other files)",
fillcolor=yellow, style=filled, shape=oval];
leanpub [label="Leanpub",
fillcolor=blue, fontcolor=white, style=filled, shape=box];
git [label="Git repo", fillcolor=red, style=filled, shape=box];
preview [label="Book preview",
fillcolor=grey, style=filled, shape=oval];
book [label="Book (PDF,\nePub, mobi, online)",
shape=oval, fillcolor=green, style=filled];
files -> emacs [label="Edit"];
emacs -> manuscript [label="Export"];
manuscript -> git [label="Commit"];
git -> leanpub [label="Typeset"];
leanpub -> book [label="Publish"];
book -> emacs [label="Update"];
leanpub -> preview [label="Preview"];
preview -> emacs [label="Update"];
a [label="A", shape=oval, fillcolor=yellow, style=filled];
b [label="B", shape=oval];
c [label="C", shape=oval];
note [label="State Changed", shape=box]
note -> a;
a -> b;
a -> c;
{ rank=same; note; a; }
}
#+end_src
#+RESULTS: workflow-diagram
[[file:./images/high-level-workflow.svg]]
#+caption: Tree of components
#+RESULTS: render-tree-basic
[[file:./images/render-tree-basic.svg]]