Updating README - including org babel note

master
Jose 11 months ago
parent 0103f45836
commit f29ea072d2

@ -1,3 +1,5 @@
#+options: toc:nil num:nil author:nil
* Emacs tutorial
Some hints to use GNU-emacs
@ -22,6 +24,7 @@
- Arrange and track multiple projects and tasks
- Use your email
- Listen music and watch videos
- Many more...
* Contents
@ -34,12 +37,21 @@
* [[./doc/using_ctrl.org][Using 'CTRL']]
* [[./doc/ddbb_use.org][Using ddbd to keep your contacts]]
* [[./doc/org_intro.org][Introduction to emacs org-mode]]
* [[./doc/orgbabel.org][Introduction to org babel: literating programming in emacs]]
* [[./doc/dired.org][How to use 'dired']]
* [[./doc/packages.org][Dealing with packages in emacs]]
* [[./doc/R_in_emacs.org][Using R in emacs]]
* [[./doc/links_emacs.org][Links to learn more about emacs]]
* [[./doc/citations.org][How to include bibliograpic references in org documents]]
* [[./doc/links_emacs.org][Links to learn more about emacs]]
* Contenido
* [[./spa/porque_usar_emacs.org][Una breve introducción al uso de emacs]]
* Contact
[[https://www.onecluster.org/][Onecluster]] is a community of people who enjoy learn and share experiencies about
free-software.
For questions, comments, doubts about free-software visit our [[https://ayuda.onecluster.org/][Discourse]]

@ -0,0 +1,16 @@
@article{bernard_leptospirosis_1993,
title = {Leptospirosis},
volume = {9},
issn = {07490739},
url = {https://linkinghub.elsevier.com/retrieve/pii/S0749073917304108},
doi = {10.1016/S0749-0739(17)30410-8},
language = {en},
number = {2},
urldate = {2021-04-01},
journal = {Veterinary Clinics of North America: Equine Practice},
author = {Bernard, William V.},
month = aug,
year = {1993},
pages = {435--444}
}

@ -1,4 +1,5 @@
#+DATE: 2021
#+date: 2021
#+options: toc:nil num:nil author:nil
* Using R within emacs

@ -1,14 +1,12 @@
#+date: 2022-07-03
#+bibliography: ./bibliog.bib
#+bibliography: ~/Documentos/bib/lepto-ref.bib
#+bibliography: ../bib/bibliog.bib
#+bibliography: ../bib/lepto-ref.bib
#+options: toc:nil num:nil author:nil
* How to make citations using Emacs org-mode
:LOGBOOK:
CLOCK: [2022-07-03 dom 09:57]--[2022-07-03 dom 10:27] => 0:30
:END:
* How to make citations using Emacs org-mode
It is possible to include blibligraphic citations within org documents.
It is possible to include bibliographic citations within org documents.
Interesting information about org-cite can be found in the manual.
@ -19,14 +17,14 @@ See Org Manual -> Citation handling -> Citations
** Include a header linking a file with references
It should be something like this at the beggining of your document:
You should include the path and the name of the file containing the bibliographic references. Include something like this at the beggining of your document:
#+begin_example
#+bibliography: SomeFile.bib
#+bibliography: /some/other/file.json
#+bibliography: ./bibliog.bib
#+bibliography: ~/Doc/file.json
#+end_example
Here the file may be a '.bib' , 'bibtex' or a '.json' document.
Here the file may be a '.bib' , 'bibtex' or a '.json' document.
** Including citation
@ -45,6 +43,7 @@ Use the following to print the references:
#+print_bibliography:
#+end_example
The references will appear when you export (tangle) the document to any format (html, odt...)
** Some cool documents to learn more about bibliography management in org-mode
@ -52,5 +51,5 @@ Use the following to print the references:
- About 'org-ref: https://github.com/jkitchin/org-ref
- About 'org-cite': https://blog.tecosaur.com/tmio/2021-07-31-citations.html#org367f817
#+print_bibliography:

@ -1,4 +1,5 @@
#+DATE: 2021
#+date: 2021
#+options: toc:nil num:nil author:nil
* Using bbdb in emacs

@ -1,4 +1,5 @@
#+DATE: 2021
#+date: 2021
#+options: toc:nil num:nil author:nil
* Dired

@ -1,5 +1,5 @@
#+DATE: 2021
#+OPTIONS: num:nil toc:2
#+date: 2021
#+options: toc:nil num:nil author:nil
* Find manuals, info or help within emacs

@ -1,5 +1,5 @@
#+DATE: 2021
#+OPTIONS: num:nil toc:2
#+date: 2021
#+options: toc:nil num:nil author:nil
* How to initialize emacs

@ -1,4 +1,5 @@
#+DATE: 2021
#+date: 2021
#+options: toc:nil num:nil author:nil
* Links to learn about Emacs

@ -1,4 +1,5 @@
#+DATE: 2021
#+date: 2021
#+options: toc:nil num:nil author:nil
* Movement and text edition

@ -1,7 +1,16 @@
#+DATE: 2021
#+date: 2021
#+options: toc:nil num:nil author:nil
* org mode
[[https://orgmode.org/][org mode]] is a really powerful tool to keep notes, write documents, use literate programming, keep record of your task, wor times, "organize
your life in plain text" and more...
Here we show some basics of org, but there's plenty information about it in the
manual and elsewhere.
** Checking the manual
To open the org manual using "meta" within emacs:
: M-x org-info
@ -12,7 +21,7 @@ version of manuals:
: C-h i
Then, in the buffer type the key "m" to search in the menu by keywords. To find
the org info manual, just type "Org mode" in the menu.
the org info manual, just type "Org mode" in the menu.
** Create task list and include date and time
@ -41,19 +50,6 @@ 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:

@ -0,0 +1,33 @@
#+date: 2021
#+options: toc:nil num:nil author:nil
* org-babel
[[https://orgmode.org/worg/org-contrib/babel/intro.html][Babel]] is a org utility to write code within org files. It is a nice tool to make
literate programming and have a beatiful documented code.
You can include many structures to include different languages in the
same document.
Header arguments let the user to choose multiple features of the document. [[https://org-babel.readthedocs.io/en/latest/header-args/][Here]]
a reference for header arguments.
** 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"...)

@ -1,4 +1,5 @@
#+DATE: 2021
#+date: 2021
#+options: toc:nil num:nil author:nil
* How to organize, update and deal with 'packages' in emacs

@ -1,4 +1,5 @@
#+date: 2021
#+options: toc:nil num:nil author:nil
* Commands

@ -1,10 +1,11 @@
#+date: 2021
#+options: toc:nil num:nil author:nil
* Commands
Use the following keybindings to edit in emacs
* CTRL (C)
* CTRL (~C~)
* ALT (~M~)
* CTRL + x (~C-x~)
* ALT + x (~M-x~)

@ -1,4 +1,5 @@
#+date: 2021
#+options: toc:nil num:nil author:nil
* Commands

@ -1,10 +1,11 @@
#+date: 2021
#+options: toc:nil num:nil author:nil
* Commands
Use the following keybindings to edit in emacs
* CTRL (C)
* CTRL (~C~)
* ALT (~M~)
* CTRL + x (~C-x~)
* ALT + x (~M-x~)

Loading…
Cancel
Save