I would like to read the org-mode manual in org mode... Is there a way to download the manual in .org files?
Thanks,
Ani
The Org-Mode manual seems to be written in texinfo format (see the doc directory in the source archive.) You can however convert e.g the HTML version to org-format using pandoc.
Converting from org.texi:
texi2html org.texi org.html
pandoc -t org org.html -o org.org
You can also download my converted version here, the navigational hyperlinks don't work though so the info version is probably more useful. And here is what it looks like.
Is the org-mode manual available in .org file ?
No.
Read the org-mode manual as all other manuals in emacs : using the info mode :
C-h i m Org Mode RET
Related
I installed Emacs 24.3.1 (using homebrew), which already comes with org-mode, but I can't find the documentation for org-mode within the Emacs built-in documentation (accessible via C-h i).
I can find the org-mode docs online here, but I'd prefer to read it directly in Emacs.
I find it very strange (in fact almost antithetical to the whole org-mode text orientation) to find myself having to read this documentation using a web browser, and not right inside Emacs.
Do I need to download and install this documentation separately in order to read it within Emacs? If so, where can I find the appropriate (texinfo?) files?
Or is this documentation already bundled by default with Emacs (and I just need to configure my current Emacs installation to be able to browse it through C-h i)?
Call up the info with C-h i.
Then call g (Info-goto-node).
Enter (org) at the prompt.
Or C-h o with the following code in your .emacs file:
(with-eval-after-load "org"
;; Display the Org mode manual in Info mode.
(define-key global-map (kbd "C-h o") 'org-info)) ; Not autoloaded!?
If you can access the Org mode documentation as others like abo-abo have described, you are all set. Read on if you still don't find it.
In your running emacs, look at the variable Info-directory-list. It's value may look somethng like this:
("/home/myself/.emacs.d/elpa/org-plus-contrib-20141222" "/usr/share/info/emacs-24" "/usr/share/info/" "/usr/share/info/")
The point here is there should be a directory which contains the Org mode documentation. Here it is the directory "/home/myself/.emacs.d/elpa/org-plus-contrib-20141222". You can look in that directory for a file called dir - which describes info files in this directory. In dir, a line like:
* Org Mode: (org). Outline-based notes management and organizer
says there is an info node describing Org Mode, and the top of that node is in the file org, in that directory. So you should make sure that file is in the directory.
How can I get access to the org-mode manual from within emacs?
I've seen this suggested:
C-h i m Org Mode RET
But the org-mode manual isn't available that way in emacs 24.3.1. Is there a melpa package or something similar I can install to get the org-manual in emacs info mode?
If you are on Ubuntu, Debian or a related distributions, do:
apt-get install emacs24-common-non-dfsg
While the Org Mode manual is part of the standard Emacs distributions, Debian, Ubuntu and related distributions do not include it in their Emacs packages, as their understanding of truly free software is subtly different from the FSF's. You'll need to install it separately.
In Section
"How do I update the info manual pages to the latest org-mode version?" of http://orgmode.org/worg/org-faq.html there is a hint where you find the texi-files.
You can build the info manual pages from these ones.
I use GNU Emacs in a Mac. After installing the last version of Pandoc I can't create pdf files. Pandoc works well when I use the Terminal. I think that the problem has to do with the fact that Emacs doesn't find the template default.latex. This template is in my ~/.pandoc/templates.
This is the error message I receive when trying to create a pdf:
pandoc: /usr/local/share/pandoc-1.10.1/data/templates/default.latex: openBinaryFile: does not exist (No such file or directory)
I don't understand why Emacs is trying to find default.latex here.
(setq pandoc-binary "/usr/local/bin/pandoc")
This answer assumes you do not have a folder named pandoc inside of /usr/local/bin/ and that the actual executable has an absolute path of /usr/local/bin/pandoc. If the executable is buried deeper in another folder or more, then adjust the path in this example accordingly. The code at the top of this answer goes in your .emacs file.
You may also wish to modify this variable depending upon your preferred setup:
(setq pandoc-data-dir "~/.emacs.d/pandoc-mode/")
You could achieve a more general solution using exec-path-from-shell:
A GNU Emacs library to ensure environment variables inside Emacs look the same as in the user's shell.
Just install it, require it (only if your aren't using MELPA) in your .emacs file and add this line to it:
(exec-path-from-shell-initialize)
For more information see the usage section in the README.
Using the latest emacs 24.3 I want rainbow parenthesis for my lisp editing. I'm following the instructions on this page.
Here is what I get after I setup everything:
File error: Cannot open load file, rainbow-delimiters
To ensure normal operation, you should investigate and remove the
cause of the error in your initialization file. Start Emacs with the
`--debug-init' option to view a complete error backtrace.
The byte compile proceded fine and created a .elc file. Is there a missing step in the instructions? How would emacs know where this compiled is located if there is no path mentioned anywhere in the .emacs file?
Not a direct answer I'm afraid but I would recommend watching this as rainbow-delimiters is available in MELPA and this will make managing Emacs extensions MUCH easier.
I have a file open in Emacs which highlights the syntax and I want to share the file (with syntax highlighting) with another person who does not use Emacs.
Is it possible to export the file open in Emacs with syntax highlightning?
Any target format is ok: e.g. HTML, PDF, Image
You can use the command M-x htmlfontify-buffer to create an html file with syntax highlighting from any buffer.
It's included in standard Emacs, definitely in version 24, I'm not sure about 23.
You can use htmlize-buffer that comes with 'htmlize.el' (find it at http://fly.srk.fer.hr/~hniksic/emacs/htmlize.el.cgi (dead link?) or install from MELPA or download from the htmlize Github project. This will create a HTML file with all the syntax highlighting of your current buffer.