emacs_tutorial/doc/org_intro.org

65 lines
1.3 KiB
Org Mode
Raw Normal View History

2022-04-27 22:09:34 +02:00
#+DATE: 2021
* org mode
To opemn the org manual:
: M-x org-info
** Create task list and include date and time
Save a ".org" file. Then write your tasks using "*" to show hierarchy or nesting
structure in tasks.
** Using Pomodoro in org mode
- Install pomodoro
: M-x [RET] package-install org-pomodoro
- Initialize a clock in a task
: M-x [RET] org-clock-in
- Initialize pomodoro
: M-x [RET] org-pomodoro
** org-babel
Reference for header arguments:
https://org-babel.readthedocs.io/en/latest/header-args/
** Org babel does not embedd R plot
org version 9.3
https://orgmode.org/Changes_old.html
:file header argument no longer assume "file" :results
The "file" :results value is now mandatory for a code block returning a link to a file.
The :file or :file-ext header arguments no longer imply a "file" result is expected.
[[https://emacs.stackexchange.com/questions/54695/no-graphic-output-for-matlab-src-block-in-org-mode?newreg=dc27c692d7d949989ba432459d370995][Answer in stackexchange]]
** Include templates in org babel
Use:
: M-x org-insert-structure-template
Or keybinding
: C-c C,
Then choose an option (src, example, center, comment)
Or use org-tempo. To include a src code block in the document:
: <s TAB
Change the letter for each option that you need (a, C, c, E, e... for "export ascii",
"comment", "example"...)