Browse Source

Fixed header information and a few typos.

Also wrapped the elisp code in #+begin_src
Bastien Guerry 10 years ago
parent
commit
ccd2b1ab16
1 changed files with 10 additions and 11 deletions
  1. 10 11
      org-contrib/org-export-generic.org

+ 10 - 11
org-contrib/org-export-generic.org

@@ -1,6 +1,6 @@
-TITLE:     org-export-generic.el -- export org files to anything!
-OPTIONS:   ^:{} author:Wes Hardaker
-STARTUP: odd
+#+TITLE:     org-export-generic.el -- export org files to anything!
+#+OPTIONS:   ^:{} author:Wes Hardaker
+#+STARTUP: odd
 
 * Overview
 
@@ -11,7 +11,7 @@ various formatting prefixes before and after each section type.
 * Using It
 
 org-export-generic does it's work by examining a property list stored
-in org-generic-alist.  The pre-defined list currently includes a
+in =org-generic-alist=.  The pre-defined list currently includes a
 simplex text exporter, a simple html exporter, a wikipedia exporter,
 an exporter to IETF internet-draft format, and a "demo" exporter which
 shows off all of the potential variables you can set.
@@ -19,11 +19,11 @@ shows off all of the potential variables you can set.
 You can also dynamically add propety lists of your own using the
 org-set-generic-type function:
 
+#+begin_src emacs-lisp
    (org-set-generic-type
     "really-basic-text" 
     '(:file-suffix     ".txt"
       :key-binding     ?R
-
       :title-format "=== %s ===\n"
       :body-header-section-numbers t
       :body-header-section-number-format "%s) "
@@ -32,12 +32,11 @@ org-set-generic-type function:
       :body-line-format "  %s\n"
       :body-line-wrap   75
       ))
+#+end_src
 
-*Note:* Upper case key-bindings are reserved for your use.  Lower
-case key bindings may conflict with future export-generic
-publications.
+*Note:* Upper case key-bindings are reserved for your use.  Lower case
+key bindings may conflict with future export-generic publications.
 
 Then run org-export (ctrl-c ctrl-e) and select generic or run
-org-export-generic.  You'll then be prompted with a list of export
-types to choose from which will include your new type assigned to the
-key "r".
+org-export-generic.  You'll then be prompted with a list of export types
+to choose from which will include your new type assigned to the key "r".