|
I have been using it to write documentation, specifically a book about the Flavour framework for Java-based SPAs. It easily handles the key things I want from a technical documentation authoring tool:
* Introduction #+include: "Introduction.org"To create a heading, use
M-enter
.
C-c C-, s
. Then type the kind of code (java, html, xml, etc.). Then your sample goes between the begin and end tags.
#+begin_src html <html:text value="username" /> #+end_srcFor method names or other code referenced inline, surround the code with tildes:
It launches the ~main()~ method
C-c C-e h h
. You'll get one HTML file containing all included .org files.
For syntax highlighting in code samples to work, I had to add this at the top of my main document:
# -*- org-export-allow-bind-keywords: t -*-
C-c C-e l p
.
You'll need to have LaTeX installed. For me, installing LaTeX was straightforward:
sudo apt install texlive-latex-extra
Copyright © 2024 Andrew Oliver