Updating README - including org babel note

This commit is contained in:
Jose 2022-07-20 17:13:41 -03:00
parent 0103f45836
commit f29ea072d2
21 changed files with 106 additions and 40 deletions

0
.gitignore vendored Normal file → Executable file
View File

14
README.org Normal file → Executable file
View File

@ -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
doc/bibliog.bib → bib/bibliog.bib Normal file → Executable file
View File

16
bib/lepto-ref.bib Normal file
View File

@ -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}
}

3
doc/R_in_emacs.org Normal file → Executable file
View File

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

19
doc/citations.org Normal file → Executable file
View File

@ -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:
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,11 +17,11 @@ 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.
@ -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

3
doc/ddbb_use.org Normal file → Executable file
View File

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

3
doc/dired.org Normal file → Executable file
View File

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

4
doc/help.org Normal file → Executable file
View File

@ -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

4
doc/init_emacs.org Normal file → Executable file
View File

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

3
doc/links_emacs.org Normal file → Executable file
View File

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

3
doc/movement.org Normal file → Executable file
View File

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

24
doc/org_intro.org Normal file → Executable file
View File

@ -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
@ -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:

33
doc/orgbabel.org Normal file
View File

@ -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"...)

3
doc/packages.org Normal file → Executable file
View File

@ -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

0
doc/references.org Normal file → Executable file
View File

1
doc/using_alt.org Normal file → Executable file
View File

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

3
doc/using_ctrl.org Normal file → Executable file
View File

@ -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
doc/using_ctrl_x.org Normal file → Executable file
View File

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

3
doc/using_meta.org Normal file → Executable file
View File

@ -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~)

0
spa/porque_usar_emacs.org Normal file → Executable file
View File