Make room in "lst:basic-org-options" to move stuff into it
This commit is contained in:
parent
93c59c7416
commit
b5ebf0c226
27
README.org
27
README.org
@ -2008,7 +2008,7 @@ Links to Org-mode videos are:
|
||||
|
||||
I have divided the initial [[https://orgmode.org/][Org-mode]] setup into eleven listings. Here, follows a
|
||||
list detailing and motivating each listing:
|
||||
1. Listing [[lst:set-org-options]] handles basic [[https://orgmode.org/][Org-mode]] options.
|
||||
1. Listing [[lst:basic-org-setup]] handles basic [[https://orgmode.org/][Org-mode]] setup.
|
||||
2. Listing [[lst:org-capture-templates]] initializes a simple capture template.
|
||||
3. Listing [[lst:setup-org-babel]] sets ~ob-core~, ~ob-latex~, and ~ob-lisp~ options.
|
||||
See [[info:org#Working with Source Code][working with source code (info)]] for Org Babel information.
|
||||
@ -2031,27 +2031,23 @@ list detailing and motivating each listing:
|
||||
# backward compatibility. For an explanation of the code in listing
|
||||
# [[lst:setup-org-latex-classes]], type {{{kbd(C-h v org-latex-classes)}}}.
|
||||
|
||||
#+caption[Set basic =Org= options]:
|
||||
#+caption: Set basic =Org= options.
|
||||
#+name: lst:set-org-options
|
||||
#+caption[Basic =Org= setup]:
|
||||
#+caption: Basic =Org= setup.
|
||||
#+name: lst:basic-org-setup
|
||||
#+begin_src emacs-lisp -n :results silent
|
||||
(with-eval-after-load 'org
|
||||
(setopt
|
||||
org-babel-load-languages `((calc . t)
|
||||
(dot . ,(fboundp 'grapviz-dot-mode))
|
||||
(emacs-lisp . t)
|
||||
(eshell . t)
|
||||
(fortran . t)
|
||||
(gnuplot . ,(fboundp 'gnuplot-mode))
|
||||
(latex . t)
|
||||
(lilypond . ,(fboundp 'lilypond-mode))
|
||||
(lisp . t)
|
||||
(lua . ,(fboundp 'lua-mode))
|
||||
(org . t)
|
||||
(perl . t)
|
||||
;; Beware of circular Python dependencies.
|
||||
(python . t)
|
||||
(ruby . ,(fboundp 'ruby-mode))
|
||||
(ruby . t)
|
||||
(shell . t))
|
||||
org-export-backends '(ascii beamer html latex texinfo)
|
||||
org-file-apps '((auto-mode . emacs)
|
||||
@ -2073,7 +2069,10 @@ list detailing and motivating each listing:
|
||||
("" "hyperref" nil))
|
||||
org-modules (list 'ol-bibtex 'ol-doi 'ol-eww 'ol-info
|
||||
'org-id 'org-protocol 'org-tempo)
|
||||
org-use-property-inheritance t))
|
||||
org-return-follows-link t
|
||||
org-use-property-inheritance t)
|
||||
|
||||
(keymap-set org-mode-map "M-q" #'org-fill-paragraph))
|
||||
#+end_src
|
||||
|
||||
#+caption[Setup =org-capture-templates=]:
|
||||
@ -2137,9 +2136,7 @@ When called twice, replace the previously inserted \\(\\) by one $."
|
||||
(backward-char 2)))
|
||||
|
||||
(with-eval-after-load 'org
|
||||
(setopt org-return-follows-link t)
|
||||
(keymap-set org-mode-map "$" #'org-electric-dollar)
|
||||
(keymap-set org-mode-map "M-q" #'org-fill-paragraph))
|
||||
(keymap-set org-mode-map "$" #'org-electric-dollar))
|
||||
#+end_src
|
||||
|
||||
#+caption[Setup =org-mode-map= 2]:
|
||||
@ -2479,8 +2476,8 @@ def __org_babel_python_format_value(result, result_file, result_params):
|
||||
#+caption: Active Org Babel languages.
|
||||
#+RESULTS: lst:org-babel-active-languages
|
||||
#+begin_src emacs-lisp -n :eval never :tangle no
|
||||
(("calc") ("emacs-lisp") ("eshell") ("fortran") ("latex") ("lisp")
|
||||
("org") ("perl") ("python") ("ruby") ("shell"))
|
||||
(("calc") ("emacs-lisp") ("eshell") ("latex") ("lisp") ("org")
|
||||
("perl") ("python") ("ruby") ("shell"))
|
||||
#+end_src
|
||||
|
||||
#+caption[Get "in-buffer" settings]:
|
||||
|
Loading…
x
Reference in New Issue
Block a user