mirror of
https://git.savannah.gnu.org/git/emacs/org-mode.git
synced 2024-11-27 07:37:25 +00:00
Add special commands for latin1 and utf8 export
This commit is contained in:
parent
aa220a1e6a
commit
9a6113c505
21
doc/org.texi
21
doc/org.texi
@ -9074,12 +9074,15 @@ Call an the exporter, but reverse the setting of
|
||||
not set, or force processing in the current Emacs process if set.
|
||||
@end table
|
||||
|
||||
@node ASCII export, HTML export, The export dispatcher, Exporting
|
||||
@section ASCII export
|
||||
@node ASCII/Latin-1/UTF-8 export, HTML export, The export dispatcher, Exporting
|
||||
@section ASCII/Latin-1/UTF-8 export
|
||||
@cindex ASCII export
|
||||
@cindex Latin-1 export
|
||||
@cindex UTF-8 export
|
||||
|
||||
ASCII export produces a simple and very readable version of an Org-mode
|
||||
file.
|
||||
file, containing only plain ASCII. Latin-1 and UTF-8 export augment the file
|
||||
with special characters and symbols available in these encodings.
|
||||
|
||||
@cindex region, active
|
||||
@cindex active region
|
||||
@ -9100,8 +9103,18 @@ export.
|
||||
@kindex C-c C-e A
|
||||
@item C-c C-e A
|
||||
Export to a temporary buffer, do not create a file.
|
||||
@kindex C-c C-e n
|
||||
@kindex C-c C-e N
|
||||
@item C-c C-e n @ @ @r{and} @ @ C-c C-e N
|
||||
Like the above commands, but use Latin-1 encoding.
|
||||
@kindex C-c C-e u
|
||||
@kindex C-c C-e U
|
||||
@item C-c C-e u @ @ @r{and} @ @ C-c C-e U
|
||||
Like the above commands, but use UTF-8 encoding.
|
||||
@kindex C-c C-e v a
|
||||
@item C-c C-e v a
|
||||
@kindex C-c C-e v n
|
||||
@kindex C-c C-e v u
|
||||
@item C-c C-e v a @ @ @r{and} @ @ C-c C-e v n @ @ @r{and} @ @ C-c C-e v u
|
||||
Export only the visible part of the document.
|
||||
@end table
|
||||
|
||||
|
@ -72,21 +72,14 @@ i.e. with \"=>\" as ellipsis."
|
||||
:group 'org-export-ascii
|
||||
:type 'boolean)
|
||||
|
||||
(defcustom org-export-ascii-entities 'ascii
|
||||
(defvar org-export-ascii-entities 'ascii
|
||||
"The ascii representation to be used during ascii export.
|
||||
Possible values are:
|
||||
|
||||
ascii Only use plain ASCII characters
|
||||
latin1 Include Latin-1 character
|
||||
utf8 Use all UTF-8 characters
|
||||
coding-system Automatically adapt to the coding system of the output file
|
||||
This setting is not yet implemented."
|
||||
:group 'org-export-ascii
|
||||
:type '(choice
|
||||
(const :tag "Use what the file coding system supports (not yet implemented)" coding-system)
|
||||
(const :tag "Plain ASCII only" ascii)
|
||||
(const :tag "Add Latin-1 characters" latin1)
|
||||
(const :tag "Use utf8 representations" utf8)))
|
||||
ascii Only use plain ASCII characters
|
||||
latin1 Include Latin-1 character
|
||||
utf8 Use all UTF-8 characters")
|
||||
|
||||
;;; Hooks
|
||||
|
||||
(defvar org-export-ascii-final-hook nil
|
||||
@ -96,6 +89,42 @@ coding-system Automatically adapt to the coding system of the output file
|
||||
|
||||
(defvar org-ascii-current-indentation nil) ; For communication
|
||||
|
||||
;;;###autoload
|
||||
(defun org-export-as-latin1 (&rest args)
|
||||
"Like `org-export-as-ascii', use latin1 encoding for special symbols."
|
||||
(interactive)
|
||||
(org-export-as-encoding 'org-export-as-ascii (interactive-p)
|
||||
'latin1 args))
|
||||
|
||||
;;;###autoload
|
||||
(defun org-export-as-latin1-to-buffer (&rest args)
|
||||
"Like `org-export-as-ascii-to-buffer', use latin1 encoding for symbols."
|
||||
(interactive)
|
||||
(org-export-as-encoding 'org-export-as-ascii-to-buffer (interactive-p)
|
||||
'latin1 args))
|
||||
|
||||
;;;###autoload
|
||||
(defun org-export-as-utf8 (&rest args)
|
||||
"Like `org-export-as-ascii', use use encoding for special symbols."
|
||||
(interactive)
|
||||
(org-export-as-encoding 'org-export-as-ascii (interactive-p)
|
||||
'utf8 args))
|
||||
|
||||
;;;###autoload
|
||||
(defun org-export-as-utf8-to-buffer (&rest args)
|
||||
"Like `org-export-as-ascii-to-buffer', use utf8 encoding for symbols."
|
||||
(interactive)
|
||||
(org-export-as-encoding 'org-export-as-ascii-to-buffer (interactive-p)
|
||||
'utf8 args))
|
||||
|
||||
(defun org-export-as-encoding (command interactivep encoding &rest args)
|
||||
(debug)
|
||||
(let ((org-export-ascii-entities encoding))
|
||||
(if interactivep
|
||||
(call-interactively command)
|
||||
(apply command args))))
|
||||
|
||||
|
||||
;;;###autoload
|
||||
(defun org-export-as-ascii-to-buffer (arg)
|
||||
"Call `org-export-as-ascii` with output to a temporary buffer.
|
||||
|
@ -73,45 +73,45 @@ utf-8 replacement Use special character available in utf-8."
|
||||
(defconst org-entities
|
||||
'(("nbsp" "~" nil " " " " " " " ")
|
||||
("iexcl" "!`" nil "¡" "!" "¡" "¡")
|
||||
("cent" "\\textcent" nil "¢" "cent" "¢" "¢")
|
||||
("pound" "\\pounds" nil "£" "pound" "£" "£")
|
||||
("curren" "\\textcurrency" nil "¤" "curr." "¤" "¤")
|
||||
("yen" "\\textyen" nil "¥" "yen" "¥" "¥")
|
||||
("brvbar" "\\textbrokenbar" nil "¦" "|" "¦" "¦")
|
||||
("vert" "\\vert" t "|" "|" "|" "|")
|
||||
("cent" "\\textcent{}" nil "¢" "cent" "¢" "¢")
|
||||
("pound" "\\pounds{}" nil "£" "pound" "£" "£")
|
||||
("curren" "\\textcurrency{}" nil "¤" "curr." "¤" "¤")
|
||||
("yen" "\\textyen{}" nil "¥" "yen" "¥" "¥")
|
||||
("brvbar" "\\textbrokenbar{}" nil "¦" "|" "¦" "¦")
|
||||
("vert" "\\vert{}" t "|" "|" "|" "|")
|
||||
("sect" "\\S" nil "§" "paragraph" "§" "§")
|
||||
("uml" "\\textasciidieresis" nil "¨" "[diaeresis]" "¨" "¨")
|
||||
("copy" "\\textcopyright" nil "©" "(c)" "©" "©")
|
||||
("ordf" "\\textordfeminine" nil "ª" "_a_" "ª" "ª")
|
||||
("laquo" "\\guillemotleft" nil "«" "<<" "«" "«")
|
||||
("not" "\\textlnot" nil "¬" "[angled dash]" "¬" "¬")
|
||||
("uml" "\\textasciidieresis{}" nil "¨" "[diaeresis]" "¨" "¨")
|
||||
("copy" "\\textcopyright{}" nil "©" "(c)" "©" "©")
|
||||
("ordf" "\\textordfeminine{}" nil "ª" "_a_" "ª" "ª")
|
||||
("laquo" "\\guillemotleft{}" nil "«" "<<" "«" "«")
|
||||
("not" "\\textlnot{}" nil "¬" "[angled dash]" "¬" "¬")
|
||||
("shy" "\\-" nil "­" "" "" "")
|
||||
("reg" "\\textregistered" nil "®" "(r)" "®" "®")
|
||||
("macr" "\\textasciimacron" nil "¯" "[macron]" "¯" "¯")
|
||||
("deg" "\\textdegree" nil "deg" "degree" "°" "°")
|
||||
("pm" "\\textpm" nil "±" "+-" "±" "±")
|
||||
("plusmn" "\\textpm" nil "±" "+-" "±" "±")
|
||||
("sup2" "\\texttwosuperior" nil "²" "^2" "²" "²")
|
||||
("sup3" "\\textthreesuperior" nil "³" "^3" "³" "³")
|
||||
("reg" "\\textregistered{}" nil "®" "(r)" "®" "®")
|
||||
("macr" "\\textasciimacron{}" nil "¯" "[macron]" "¯" "¯")
|
||||
("deg" "\\textdegree{}" nil "deg" "degree" "°" "°")
|
||||
("pm" "\\textpm{}" nil "±" "+-" "±" "±")
|
||||
("plusmn" "\\textpm{}" nil "±" "+-" "±" "±")
|
||||
("sup2" "\\texttwosuperior{}" nil "²" "^2" "²" "²")
|
||||
("sup3" "\\textthreesuperior{}" nil "³" "^3" "³" "³")
|
||||
("acutex" "\\acute x" t "´ x;" "'x" "'x" "𝑥́")
|
||||
("micro" "\\textmu" nil "µ" "micro" "µ" "µ")
|
||||
("para" "\\P" nil "¶" "[pilcrow]" "¶" "¶")
|
||||
("middot" "\\textperiodcentered" nil "·" "." "·" "·")
|
||||
("micro" "\\textmu{}" nil "µ" "micro" "µ" "µ")
|
||||
("para" "\\P{}" nil "¶" "[pilcrow]" "¶" "¶")
|
||||
("middot" "\\textperiodcentered{}" nil "·" "." "·" "·")
|
||||
("odot" "\\odot" t "o" "[circled dot]" "[circled dot]" "ʘ")
|
||||
("star" "\\star" t "*" "*" "*" "⋆")
|
||||
("cedil" "\\c" nil "¸" "[cedilla]" "¸" "¸")
|
||||
("sup1" "\\textonesuperior" nil "¹" "^1" "¹" "¹")
|
||||
("ordm" "\\textordmasculine" nil "º" "_o_" "º" "º")
|
||||
("raquo" "\\guillemotright" nil "»" ">>" "»" "»")
|
||||
("cedil" "\\c{}" nil "¸" "[cedilla]" "¸" "¸")
|
||||
("sup1" "\\textonesuperior{}" nil "¹" "^1" "¹" "¹")
|
||||
("ordm" "\\textordmasculine{}" nil "º" "_o_" "º" "º")
|
||||
("raquo" "\\guillemotright{}" nil "»" ">>" "»" "»")
|
||||
("iquest" "?`" nil "¿" "?" "¿" "¿")
|
||||
("Agrave" "\\`{A}" nil "À" "A" "À" "À")
|
||||
("Aacute" "\\'{A}" nil "Á" "A" "Á" "Á")
|
||||
("Acirc" "\\^{A}" nil "Â" "A" "Â" "Â")
|
||||
("Atilde" "\\~{A}" nil "Ã" "A" "Ã" "Ã")
|
||||
("Auml" "\\\"{A}" nil "Ä" "Ae" "Ä" "Ä")
|
||||
("Aring" "\\AA" nil "Å" "A" "Å" "Å")
|
||||
("AA" "\\AA" nil "Å" "A" "Å" "Å")
|
||||
("AElig" "\\AE" nil "Æ" "AE" "Æ" "Æ")
|
||||
("Aring" "\\AA{}" nil "Å" "A" "Å" "Å")
|
||||
("AA" "\\AA{}" nil "Å" "A" "Å" "Å")
|
||||
("AElig" "\\AE{}" nil "Æ" "AE" "Æ" "Æ")
|
||||
("Ccedil" "\\c{C}" nil "Ç" "C" "Ç" "Ç")
|
||||
("Egrave" "\\`{E}" nil "È" "E" "È" "È")
|
||||
("Eacute" "\\'{E}" nil "É" "E" "É" "É")
|
||||
@ -121,29 +121,29 @@ utf-8 replacement Use special character available in utf-8."
|
||||
("Iacute" "\\'{I}" nil "Í" "I" "Í" "Í")
|
||||
("Icirc" "\\^{I}" nil "Î" "I" "Î" "Î")
|
||||
("Iuml" "\\\"{I}" nil "Ï" "I" "Ï" "Ï")
|
||||
("ETH" "\\DH" nil "Ð" "D" "Ð" "Ð")
|
||||
("ETH" "\\DH{}" nil "Ð" "D" "Ð" "Ð")
|
||||
("Ntilde" "\\~{N}" nil "Ñ" "N" "Ñ" "Ñ")
|
||||
("Ograve" "\\`{O}" nil "Ò" "O" "Ò" "Ò")
|
||||
("Oacute" "\\'{O}" nil "Ó" "O" "Ó" "Ó")
|
||||
("Ocirc" "\\^{O}" nil "Ô" "O" "Ô" "Ô")
|
||||
("Otilde" "\\~{O}" nil "Õ" "O" "Õ" "Õ")
|
||||
("Ouml" "\\\"{O}" nil "Ö" "Oe" "Ö" "Ö")
|
||||
("times" "\\texttimes" nil "×" "*" "×" "×")
|
||||
("times" "\\texttimes{}" nil "×" "*" "×" "×")
|
||||
("Oslash" "\\O" nil "Ø" "O" "Ø" "Ø")
|
||||
("Ugrave" "\\`{U}" nil "Ù" "U" "Ù" "Ù")
|
||||
("Uacute" "\\'{U}" nil "Ú" "U" "Ú" "Ú")
|
||||
("Ucirc" "\\^{U}" nil "Û" "U" "Û" "Û")
|
||||
("Uuml" "\\\"{U}" nil "Ü" "Ue" "Ü" "Ü")
|
||||
("Yacute" "\\'{Y}" nil "Ý" "Y" "Ý" "Ý")
|
||||
("THORN" "\\TH" nil "Þ" "TH" "Þ" "Þ")
|
||||
("szlig" "\\ss" nil "ß" "ss" "ß" "ß")
|
||||
("THORN" "\\TH{}" nil "Þ" "TH" "Þ" "Þ")
|
||||
("szlig" "\\ss{}" nil "ß" "ss" "ß" "ß")
|
||||
("agrave" "\\`{a}" nil "à" "a" "à" "à")
|
||||
("aacute" "\\'{a}" nil "á" "a" "á" "á")
|
||||
("acirc" "\\^{a}" nil "â" "a" "â" "â")
|
||||
("atilde" "\\~{a}" nil "ã" "a" "ã" "ã")
|
||||
("auml" "\\\"{a}" nil "ä" "ae" "ä" "ä")
|
||||
("aring" "\\aa" nil "å" "a" "å" "å")
|
||||
("aelig" "\\ae" nil "æ" "ae" "æ" "æ")
|
||||
("aring" "\\aa{}" nil "å" "a" "å" "å")
|
||||
("aelig" "\\ae{}" nil "æ" "ae" "æ" "æ")
|
||||
("ccedil" "\\c{c}" nil "ç" "c" "ç" "ç")
|
||||
("checkmark" "\\checkmark" t "✓" "[checkmark]" "[checkmark]" "✓")
|
||||
("egrave" "\\`{e}" nil "è" "e" "è" "è")
|
||||
@ -154,20 +154,20 @@ utf-8 replacement Use special character available in utf-8."
|
||||
("iacute" "\\'{i}" nil "í" "i" "í" "í")
|
||||
("icirc" "\\^{i}" nil "î" "i" "î" "î")
|
||||
("iuml" "\\\"{i}" nil "ï" "i" "ï" "ï")
|
||||
("eth" "\\dh" nil "ð" "dh" "ð" "ð")
|
||||
("eth" "\\dh{}" nil "ð" "dh" "ð" "ð")
|
||||
("ntilde" "\\~{n}" nil "ñ" "n" "ñ" "ñ")
|
||||
("ograve" "\\`{o}" nil "ò" "o" "ò" "ò")
|
||||
("oacute" "\\'{o}" nil "ó" "o" "ó" "ó")
|
||||
("ocirc" "\\^{o}" nil "ô" "o" "ô" "ô")
|
||||
("otilde" "\\~{o}" nil "õ" "o" "õ" "õ")
|
||||
("ouml" "\\\"{o}" nil "ö" "oe" "ö" "ö")
|
||||
("oslash" "\\o" nil "ø" "o" "ø" "ø")
|
||||
("oslash" "\\o{}" nil "ø" "o" "ø" "ø")
|
||||
("ugrave" "\\`{u}" nil "ù" "u" "ù" "ù")
|
||||
("uacute" "\\'{u}" nil "ú" "u" "ú" "ú")
|
||||
("ucirc" "\\^{u}" nil "û" "u" "û" "û")
|
||||
("uuml" "\\\"{u}" nil "ü" "ue" "ü" "ü")
|
||||
("yacute" "\\'{y}" nil "ý" "y" "ý" "ý")
|
||||
("thorn" "\\th" nil "þ" "th" "þ" "þ")
|
||||
("thorn" "\\th{}" nil "þ" "th" "þ" "þ")
|
||||
("yuml" "\\\"{y}" nil "ÿ" "y" "ÿ" "ÿ")
|
||||
("fnof" "\\textit{f}" nil "ƒ" "f" "f" "ƒ")
|
||||
("Alpha" "A" nil "Α" "Alpha" "Alpha" "Α")
|
||||
@ -225,10 +225,10 @@ utf-8 replacement Use special character available in utf-8."
|
||||
("vartheta" "\\vartheta" t "ϑ" "theta" "theta" "ϑ")
|
||||
("upsih" "\\Upsilon" t "ϒ" "upsilon" "upsilon" "ϒ")
|
||||
("piv" "\\varpi" t "ϖ" "omega-pi" "omega-pi" "ϖ")
|
||||
("bull" "\\textbullet" nil "•" "*" "*" "•")
|
||||
("bullet" "\\textbullet" nil "•" "*" "*" "•")
|
||||
("hellip" "\\dots" nil "…" "..." "..." "…")
|
||||
("dots" "\\dots" nil "…" "..." "..." "…")
|
||||
("bull" "\\textbullet{}" nil "•" "*" "*" "•")
|
||||
("bullet" "\\textbullet{}" nil "•" "*" "*" "•")
|
||||
("hellip" "\\dots{}" nil "…" "..." "..." "…")
|
||||
("dots" "\\dots{}" nil "…" "..." "..." "…")
|
||||
("prime" "\\prime" t "′" "'" "'" "′")
|
||||
("Prime" "\\prime{}\\prime" t "″" "''" "''" "″")
|
||||
("oline" "\\overline{~}" t "‾" "[overline]" "¯" "‾")
|
||||
@ -236,7 +236,7 @@ utf-8 replacement Use special character available in utf-8."
|
||||
("weierp" "\\wp" t "℘" "P" "P" "℘")
|
||||
("image" "\\Im" t "ℑ" "I" "I" "ℑ")
|
||||
("real" "\\Re" t "ℜ" "R" "R" "ℜ")
|
||||
("trade" "\\texttrademark" nil "™" "TM" "TM" "™")
|
||||
("trade" "\\texttrademark{}" nil "™" "TM" "TM" "™")
|
||||
("alefsym" "\\aleph" t "ℵ" "aleph" "aleph" "ℵ")
|
||||
("larr" "\\leftarrow" t "←" "<-" "<-" "←")
|
||||
("leftarrow" "\\leftarrow" t "←" "<-" "<-" "←")
|
||||
@ -334,14 +334,14 @@ utf-8 replacement Use special character available in utf-8."
|
||||
("diamondsuit" "\\diamondsuit" t "♦" "[diamonds]" "[diamonds]" "♦")
|
||||
("diams" "\\diamondsuit" t "♦" "[diamonds]" "[diamonds]" "♦")
|
||||
("smile" "\\smile" t "☺" ":-)" ":-)" "⌣")
|
||||
("blacksmile" "\\blacksmiley" nil "☻" ":-)" ":-)" "☻")
|
||||
("sad" "\\frownie" nil "☹" ":-(" ":-(" "☹")
|
||||
("quot" "\\textquotedbl" nil """ "\"" "\"" "\"")
|
||||
("blacksmile" "\\blacksmiley{}" nil "☻" ":-)" ":-)" "☻")
|
||||
("sad" "\\frownie{}" nil "☹" ":-(" ":-(" "☹")
|
||||
("quot" "\\textquotedbl{}" nil """ "\"" "\"" "\"")
|
||||
("amp" "\\&" nil "&" "&" "&" "&")
|
||||
("lt" "\\textless" nil "<" "<" "<" "<")
|
||||
("gt" "\\textgreater" nil ">" ">" ">" ">")
|
||||
("OElig" "\\OE" nil "Œ" "OE" "OE" "Œ")
|
||||
("oelig" "\\oe" nil "œ" "oe" "oe" "œ")
|
||||
("lt" "\\textless{}" nil "<" "<" "<" "<")
|
||||
("gt" "\\textgreater{}" nil ">" ">" ">" ">")
|
||||
("OElig" "\\OE{}" nil "Œ" "OE" "OE" "Œ")
|
||||
("oelig" "\\oe{}" nil "œ" "oe" "oe" "œ")
|
||||
("Scaron" "\\v{S}" nil "Š" "S" "S" "Š")
|
||||
("scaron" "\\v{s}" nil "š" "s" "s" "š")
|
||||
("Yuml" "\\\"{Y}" nil "Ÿ" "Y" "Y" "Ÿ")
|
||||
@ -356,23 +356,23 @@ utf-8 replacement Use special character available in utf-8."
|
||||
("rlm" "" nil "‏" "" "" "")
|
||||
("ndash" "--" nil "–" "-" "-" "–")
|
||||
("mdash" "---" nil "—" "--" "--" "—")
|
||||
("lsquo" "\\textquoteleft" nil "‘" "`" "`" "‘")
|
||||
("rsquo" "\\textquoteright" nil "’" "'" "'" "’")
|
||||
("sbquo" "\\quotesinglbase" nil "‚" "," "," "‚")
|
||||
("ldquo" "\\textquotedblleft" nil "“" "\"" "\"" "“")
|
||||
("rdquo" "\\textquotedblright" nil "”" "\"" "\"" "”")
|
||||
("bdquo" "\\quotedblbase" nil "„" "\"" "\"" "„")
|
||||
("dagger" "\\textdagger" nil "†" "[dagger]" "[dagger]" "†")
|
||||
("Dagger" "\\textdaggerdbl" nil "‡" "[doubledagger]" "[doubledagger]" "‡")
|
||||
("permil" "\\textperthousand" nil "‰" "per thousand" "per thousand" "‰")
|
||||
("lsaquo" "\\guilsinglleft" nil "‹" "<" "<" "‹")
|
||||
("rsaquo" "\\guilsinglright" nil "›" ">" ">" "›")
|
||||
("euro" "\\texteuro" nil "€" "EUR" "EUR" "€")
|
||||
("EUR" "\\EUR" nil "€" "EUR" "EUR" "€")
|
||||
("EURdig" "\\EURdig" nil "€" "EUR" "EUR" "€")
|
||||
("EURhv" "\\EURhv" nil "€" "EUR" "EUR" "€")
|
||||
("EURcr" "\\EURcr" nil "€" "EUR" "EUR" "€")
|
||||
("EURtm" "\\EURtm" nil "€" "EUR" "EUR" "€")
|
||||
("lsquo" "\\textquoteleft{}" nil "‘" "`" "`" "‘")
|
||||
("rsquo" "\\textquoteright{}" nil "’" "'" "'" "’")
|
||||
("sbquo" "\\quotesinglbase{}" nil "‚" "," "," "‚")
|
||||
("ldquo" "\\textquotedblleft{}" nil "“" "\"" "\"" "“")
|
||||
("rdquo" "\\textquotedblright{}" nil "”" "\"" "\"" "”")
|
||||
("bdquo" "\\quotedblbase{}" nil "„" "\"" "\"" "„")
|
||||
("dagger" "\\textdagger{}" nil "†" "[dagger]" "[dagger]" "†")
|
||||
("Dagger" "\\textdaggerdbl{}" nil "‡" "[doubledagger]" "[doubledagger]" "‡")
|
||||
("permil" "\\textperthousand{}" nil "‰" "per thousand" "per thousand" "‰")
|
||||
("lsaquo" "\\guilsinglleft{}" nil "‹" "<" "<" "‹")
|
||||
("rsaquo" "\\guilsinglright{}" nil "›" ">" ">" "›")
|
||||
("euro" "\\texteuro{}" nil "€" "EUR" "EUR" "€")
|
||||
("EUR" "\\EUR{}" nil "€" "EUR" "EUR" "€")
|
||||
("EURdig" "\\EURdig{}" nil "€" "EUR" "EUR" "€")
|
||||
("EURhv" "\\EURhv{}" nil "€" "EUR" "EUR" "€")
|
||||
("EURcr" "\\EURcr{}" nil "€" "EUR" "EUR" "€")
|
||||
("EURtm" "\\EURtm{}" nil "€" "EUR" "EUR" "€")
|
||||
("arccos" "\\arccos" t "arccos" "arccos" "arccos" "arccos")
|
||||
("arcsin" "\\arcsin" t "arcsin" "arcsin" "arcsin" "arcsin")
|
||||
("arctan" "\\arctan" t "arctan" "arctan" "arctan" "arctan")
|
||||
@ -405,13 +405,13 @@ utf-8 replacement Use special character available in utf-8."
|
||||
("sup" "\\sup" t "⊃" "sup" "sup" "sup")
|
||||
("tan" "\\tan" t "tan" "tan" "tan" "tan")
|
||||
("tanh" "\\tanh" t "tanh" "tanh" "tanh" "tanh")
|
||||
("frac12" "\\textonehalf" nil "½" "1/2" "½" "½")
|
||||
("frac14" "\\textonequarter" nil "¼" "1/4" "¼" "¼")
|
||||
("frac34" "\\textthreequarters" nil "¾" "3/4" "¾" "¾")
|
||||
("div" "\\textdiv" nil "÷" "/" "÷" "÷")
|
||||
("acute" "\\textasciiacute" nil "´" "'" "´" "´")
|
||||
("frac12" "\\textonehalf{}" nil "½" "1/2" "½" "½")
|
||||
("frac14" "\\textonequarter{}" nil "¼" "1/4" "¼" "¼")
|
||||
("frac34" "\\textthreequarters{}" nil "¾" "3/4" "¾" "¾")
|
||||
("div" "\\textdiv{}" nil "÷" "/" "÷" "÷")
|
||||
("acute" "\\textasciiacute{}" nil "´" "'" "´" "´")
|
||||
("nsup" "\\not\\supset" t "⊅" "[not a superset of]" "[not a superset of]" "⊅")
|
||||
("smiley" "\\smiley" nil "☺" ":-)" ":-)" "☺")
|
||||
("smiley" "\\smiley{}" nil "☺" ":-)" ":-)" "☺")
|
||||
)
|
||||
"Default entities used in Org-mode to preduce special characters.
|
||||
For details see `org-entities-user'.")
|
||||
|
@ -883,7 +883,7 @@ value of `org-export-run-in-background'."
|
||||
\[1] only export the current subtree
|
||||
\[SPC] publish enclosing subtree (with LaTeX_CLASS or EXPORT_FILE_NAME prop)
|
||||
|
||||
\[a] export as ASCII [A] to temporary buffer
|
||||
\[a/n/u] export as ASCII/Latin-1/UFT-8 [A/N/U] to temporary buffer
|
||||
|
||||
\[h] export as HTML [H] to temporary buffer [R] export region
|
||||
\[b] export as HTML and open in browser
|
||||
@ -907,6 +907,10 @@ value of `org-export-run-in-background'."
|
||||
(?v org-export-visible nil)
|
||||
(?a org-export-as-ascii t)
|
||||
(?A org-export-as-ascii-to-buffer t)
|
||||
(?n org-export-as-latin1 t)
|
||||
(?N org-export-as-latin1-to-buffer t)
|
||||
(?u org-export-as-utf8 t)
|
||||
(?U org-export-as-utf8-to-buffer t)
|
||||
(?h org-export-as-html t)
|
||||
(?b org-export-as-html-and-open t)
|
||||
(?H org-export-as-html-to-buffer nil)
|
||||
@ -2369,11 +2373,16 @@ command."
|
||||
(message "Export visible: [a]SCII [h]tml [b]rowse HTML [H/R]buffer with HTML [D]ocBook [l]atex [p]df [d]view pdf [L]atex buffer [x]OXO [ ]keep buffer")
|
||||
(read-char-exclusive))
|
||||
current-prefix-arg))
|
||||
(if (not (member type '(?a ?\C-a ?b ?\C-b ?h ?D ?x ?\ ?l ?p ?d ?L)))
|
||||
(if (not (member type '(?a ?n ?u ?\C-a ?b ?\C-b ?h ?D ?x ?\ ?l ?p ?d ?L)))
|
||||
(error "Invalid export key"))
|
||||
(let* ((binding (cdr (assoc type
|
||||
'((?a . org-export-as-ascii)
|
||||
'(
|
||||
(?a . org-export-as-ascii)
|
||||
(?A . org-export-as-ascii-to-buffer)
|
||||
(?n . org-export-as-latin1)
|
||||
(?N . org-export-as-latin1-to-buffer)
|
||||
(?u . org-export-as-utf8)
|
||||
(?U . org-export-as-utf8-to-buffer)
|
||||
(?\C-a . org-export-as-ascii)
|
||||
(?b . org-export-as-html-and-open)
|
||||
(?\C-b . org-export-as-html-and-open)
|
||||
|
Loading…
Reference in New Issue
Block a user