Next: , Previous: The export dispatcher, Up: Exporting

12.4 ASCII/Latin-1/UTF-8 export

ASCII export produces a simple and very readable version of an Org mode file, containing only plain ASCII. Latin-1 and UTF-8 export augment the file with special characters and symbols available in these encodings.

C-c C-e a     (org-export-as-ascii)
Export as an ASCII file. For an Org file, myfile.org, the ASCII file will be myfile.txt. The file will be overwritten without warning. If there is an active region1, only the region will be exported. If the selected region is a single tree2, the tree head will become the document title. If the tree head entry has or inherits an EXPORT_FILE_NAME property, that name will be used for the export.
C-c C-e A     (org-export-as-ascii-to-buffer)
Export to a temporary buffer. Do not create a file.
C-c C-e n     (org-export-as-latin1)
C-c C-e N     (org-export-as-latin1-to-buffer)
Like the above commands, but use Latin-1 encoding.
C-c C-e u     (org-export-as-utf8)
C-c C-e U     (org-export-as-utf8-to-buffer)
Like the above commands, but use UTF-8 encoding.
C-c C-e v a/n/u
Export only the visible part of the document.

In the exported version, the first 3 outline levels will become headlines, defining a general document structure. Additional levels will be exported as itemized lists. If you want that transition to occur at a different level, specify it with a prefix argument. For example,

     C-1 C-c C-e a

creates only top level headlines and exports the rest as items. When headlines are converted to items, the indentation of the text following the headline is changed to fit nicely under the item. This is done with the assumption that the first body line indicates the base indentation of the body text. Any indentation larger than this is adjusted to preserve the layout relative to the first line. Should there be lines with less indentation than the first one, these are left alone.

Links will be exported in a footnote-like style, with the descriptive part in the text and the link in a note before the next heading. See the variable org-export-ascii-links-to-notes for details and other options.


Footnotes

[1] This requires transient-mark-mode be turned on.

[2] To select the current subtree, use C-c @.