diff --git a/.gitignore b/.gitignore old mode 100644 new mode 100755 diff --git a/README.org b/README.org old mode 100644 new mode 100755 index a7bcff2..110bb40 --- a/README.org +++ b/README.org @@ -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]] diff --git a/doc/bibliog.bib b/bib/bibliog.bib old mode 100644 new mode 100755 similarity index 100% rename from doc/bibliog.bib rename to bib/bibliog.bib diff --git a/bib/lepto-ref.bib b/bib/lepto-ref.bib new file mode 100644 index 0000000..aeca456 --- /dev/null +++ b/bib/lepto-ref.bib @@ -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} +} diff --git a/doc/R_in_emacs.org b/doc/R_in_emacs.org old mode 100644 new mode 100755 index 9e7643e..c950c15 --- a/doc/R_in_emacs.org +++ b/doc/R_in_emacs.org @@ -1,4 +1,5 @@ -#+DATE: 2021 +#+date: 2021 +#+options: toc:nil num:nil author:nil * Using R within emacs diff --git a/doc/citations.org b/doc/citations.org old mode 100644 new mode 100755 index 406c9b1..bc5c726 --- a/doc/citations.org +++ b/doc/citations.org @@ -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,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: diff --git a/doc/ddbb_use.org b/doc/ddbb_use.org old mode 100644 new mode 100755 index a3dae7d..657e735 --- a/doc/ddbb_use.org +++ b/doc/ddbb_use.org @@ -1,4 +1,5 @@ -#+DATE: 2021 +#+date: 2021 +#+options: toc:nil num:nil author:nil * Using bbdb in emacs diff --git a/doc/dired.org b/doc/dired.org old mode 100644 new mode 100755 index 55acbd7..58fd8ac --- a/doc/dired.org +++ b/doc/dired.org @@ -1,4 +1,5 @@ -#+DATE: 2021 +#+date: 2021 +#+options: toc:nil num:nil author:nil * Dired diff --git a/doc/help.org b/doc/help.org old mode 100644 new mode 100755 index 6a00f22..d400079 --- a/doc/help.org +++ b/doc/help.org @@ -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 diff --git a/doc/init_emacs.org b/doc/init_emacs.org old mode 100644 new mode 100755 index 0984da7..9148d26 --- a/doc/init_emacs.org +++ b/doc/init_emacs.org @@ -1,5 +1,5 @@ -#+DATE: 2021 -#+OPTIONS: num:nil toc:2 +#+date: 2021 +#+options: toc:nil num:nil author:nil * How to initialize emacs diff --git a/doc/links_emacs.org b/doc/links_emacs.org old mode 100644 new mode 100755 index 96b0a32..bb31054 --- a/doc/links_emacs.org +++ b/doc/links_emacs.org @@ -1,4 +1,5 @@ -#+DATE: 2021 +#+date: 2021 +#+options: toc:nil num:nil author:nil * Links to learn about Emacs diff --git a/doc/movement.org b/doc/movement.org old mode 100644 new mode 100755 index 03bfc86..a9eba61 --- a/doc/movement.org +++ b/doc/movement.org @@ -1,4 +1,5 @@ -#+DATE: 2021 +#+date: 2021 +#+options: toc:nil num:nil author:nil * Movement and text edition diff --git a/doc/org_intro.org b/doc/org_intro.org old mode 100644 new mode 100755 index 8a9b418..972e626 --- a/doc/org_intro.org +++ b/doc/org_intro.org @@ -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: diff --git a/doc/orgbabel.org b/doc/orgbabel.org new file mode 100644 index 0000000..69c2d23 --- /dev/null +++ b/doc/orgbabel.org @@ -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: + +: