Skip to content

Latest commit

 

History

History
220 lines (174 loc) · 10.6 KB

20210729001227-org.org

File metadata and controls

220 lines (174 loc) · 10.6 KB

Org

Table of Contents

Release Notes

Documentation

The Org Manual

  • Markup for Rich Contents
    • Paragraphs The basic unit of text.
    • Emphasis and Monospace Bold, italic, etc.
    • Subscripts and Superscripts Simple syntax for raising/lowering text.
    • Special Symbols Greek letters and other symbols.
    • Embedded LaTeX LaTeX can be freely used inside Org documents.
    • Literal Examples Source code examples with special formatting.
    • Images Display an image.
    • Captions Describe tables, images…
    • Horizontal Rules Make a line.
    • Creating Footnotes Edit and read footnotes.
  • Working with Source Code
    • Using Header Arguments
    • Environment of a Code Block
    • Evaluating Code Blocks
    • Results of Evaluation

Frequently Asked Questions

Answers to common issues and questions

  • General
  • How do I

Workflow Tips, Tricks & Tutorials

Automatically tangle org file on save

  • Use org-auto-tangle as mention in DistroTube episode<2022-06-08 Wed>. This package makes tangling process happens asynchronously so it will not block your Emacs session.
  • or just use src_elisp{(add-hook ‘after-save-hook #’org-babel-tangle)}
    • With confirmation

Get YouTube channel content

A Chrome and Firefox extension facilitating org-capture in Emacs

Source: [2021-07-26 Mon 17:05]

Setup handlers in Emacs

Source: [2021-08-28 Sat]

If some text is selected before the button is clicked, then the following is sent to Emacs

org-protocol://capture:/p/<url>/<title>/selection>
  

If nothing is selected, then instead the following is sent

org-protocol://capture:/L/<url>/<title>
  

This means that you need to have appropriate capture templates for “L” and for “p”.

Creating org-tables from the results of a code block

General

Questions about the Org-Mode.

  • Convert between numbered and unordered lists in org-mode

Copy and Paste From PDF to Emacs as Plain Text

Inline code in org-mode

Is it possible to insert images from the web with its url?

What is the difference between sh and shell for org-babel?

How can emacs org-mode execute shell code remotely as sudo?

How do I

For common how-to and configuration questions from Org users.

  • Display #+INCLUDE File Contents in Github README.org?

Add properties to org-roam-capture-templates?

Change the language of a result of “:results output code” block

Color horizontal lines in org mode?

Count direct or indirect children in org or outline mode

Display PDF images in org-mode

org-display-remote-inline-images

reference the org elements inside source code blocks

Run a custom function after scheduling an entry in org-mode?

Run shell scripts with backgrounded processes without hanging Emacs

set a default alignment of images in HTML export?

strike-through or un-strike-through a region or line in org-mode?

Tangle Org file containing #+INCLUDE directives and multiple tangle targets

Tangle the same src block to different files

Tangle single SRC block into multiple output files?

Question (0)

I want to something like following to work:

import time

And after tangling, I want both file1.py, file2.py has lines.

How tangle single SRC block into multiple output files?

I found same question 4 years ago. But seems didn’t work perhaps the versions aren’t same as my emacs & org-version.

Is there any other ways?

Answer (1) (2022-09-05)

You can have a global (or regional) :prologue that inserts common text at the front of blocks, :epilogue that inserts common text at the end of blocks, or use the more verbose <<noweb>> references to insert common text in the middle.

Not as elegant as the linked answer, but for small use cases, this could be manageable:

Common block

#+NAME: common
common

File foo:

<<common>>
foo

File bar:

<<common>>
bar

Community Resources

Tutorials & guides

Projects that support/complement Org

  • orgzly/orgzly-android
  • 200ok-ch/organice-web-app

Similar projects

  • RMarkdown with Latex

    Personally, I would use RMarkdown because it is markdown on steroid. The beauty is use latex syntax just enough with no gigantic 1gb package to install and compile it to PDF. How cool is that.

    Also, there is an example of resume to check from source.