Export framework: Add :version and :package-version informations to defcustoms

* lisp/ox-beamer.el (org-beamer-column-view-format, org-beamer-theme,
  org-beamer-environments-extra): Add :version and :package-version.
* lisp/ox-html.el (org-html-with-latex, org-html-inline-image-rules):
  Add :version and :package-version.
* lisp/ox-latex.el (org-latex-inline-image-rules,
  org-latex-default-table-environment, org-latex-default-table-mode,
  org-latex-tables-booktabs, org-latex-table-scientific-notation,
  org-latex-known-errors): Add :version and :package-version.
* lisp/ox-md.el (org-md-headline-style): Add :version
  and :package-version.
* lisp/ox-odt.el (org-odt-with-latex): Add :version
  and :package-version.
* lisp/ox.el (org-export-with-drawers, org-export-with-latex,
  org-export-with-inlinetasks, org-export-with-planning,
  org-export-with-smart-quotes, org-export-with-statistics-cookies,
  org-export-allow-bind-keywords, org-export-async-init-file):
  Add :version and :package-version.
This commit is contained in:
Nicolas Goaziou 2013-03-06 14:45:12 +01:00 committed by Bastien Guerry
parent 5442c6b838
commit e109a37ede
6 changed files with 42 additions and 0 deletions

View File

@ -156,6 +156,8 @@ For example, it could be set to \"allowframebreaks\"."
"%45ITEM %10BEAMER_env(Env) %10BEAMER_act(Act) %4BEAMER_col(Col) %8BEAMER_opt(Opt)"
"Column view format that should be used to fill the template."
:group 'org-export-beamer
:version "24.4"
:package-version '(Org . "8.0")
:type '(choice
(const :tag "Do not insert Beamer column view format" nil)
(string :tag "Beamer column view format")))
@ -163,6 +165,8 @@ For example, it could be set to \"allowframebreaks\"."
(defcustom org-beamer-theme "default"
"Default theme used in Beamer presentations."
:group 'org-export-beamer
:version "24.4"
:package-version '(Org . "8.0")
:type '(choice
(const :tag "Do not insert a Beamer theme" nil)
(string :tag "Beamer theme")))
@ -182,6 +186,8 @@ open The opening template for the environment, with the following escapes
%U if there is headline text, that text in [] brackets
close The closing string of the environment."
:group 'org-export-beamer
:version "24.4"
:package-version '(Org . "8.0")
:type '(repeat
(list
(string :tag "Environment")

View File

@ -643,6 +643,8 @@ nil Ignore math snippets.
be loaded.
t Synonym for `mathjax'."
:group 'org-export-html
:version "24.4"
:package-version '(Org . "8.0")
:type '(choice
(const :tag "Do not process math in any way" nil)
(const :tag "Use dvipng to make images" dvipng)
@ -695,6 +697,8 @@ pdflatex, pdf, jpg and png images are OK. When processing
through dvi to Postscript, only ps and eps are allowed. The
default we use here encompasses both."
:group 'org-export-html
:version "24.4"
:package-version '(Org . "8.0")
:type '(alist :key-type (string :tag "Type")
:value-type (regexp :tag "Path")))

View File

@ -516,6 +516,8 @@ pdflatex, pdf, jpg and png images are OK. When processing
through dvi to Postscript, only ps and eps are allowed. The
default we use here encompasses both."
:group 'org-export-latex
:version "24.4"
:package-version '(Org . "8.0")
:type '(alist :key-type (string :tag "Type")
:value-type (regexp :tag "Path")))
@ -530,6 +532,8 @@ default we use here encompasses both."
(defcustom org-latex-default-table-environment "tabular"
"Default environment used to build tables."
:group 'org-export-latex
:version "24.4"
:package-version '(Org . "8.0")
:type 'string)
(defcustom org-latex-default-table-mode 'table
@ -555,6 +559,8 @@ LaTeX attributes.
When modifying this variable, it may be useful to change
`org-latex-default-table-environment' accordingly."
:group 'org-export-latex
:version "24.4"
:package-version '(Org . "8.0")
:type '(choice (const :tag "Table" table)
(const :tag "Matrix" math)
(const :tag "Inline matrix" inline-math)
@ -572,6 +578,8 @@ loaded in the header of the document. This value can be ignored
locally with \":booktabs t\" and \":booktabs nil\" LaTeX
attributes."
:group 'org-export-latex
:version "24.4"
:package-version '(Org . "8.0")
:type 'boolean)
(defcustom org-latex-table-caption-above t
@ -587,6 +595,8 @@ The format should have \"%s\" twice, for mantissa and exponent
When nil, no transformation is made."
:group 'org-export-latex
:version "24.4"
:package-version '(Org . "8.0")
:type '(choice
(string :tag "Format string")
(const :tag "No formatting")))
@ -920,6 +930,8 @@ logfiles to remove, set `org-latex-logfiles-extensions'."
The regular expressions are used to find possible errors in the
log of a latex-run."
:group 'org-export-latex
:version "24.4"
:package-version '(Org . "8.0")
:type '(repeat
(cons
(string :tag "Regexp")

View File

@ -46,6 +46,8 @@
"Style used to format headlines.
This variable can be set to either `atx' or `setext'."
:group 'org-export-md
:version "24.4"
:package-version '(Org . "8.0")
:type '(choice
(const :tag "Use \"atx\" style" atx)
(const :tag "Use \"Setext\" style" setext)))

View File

@ -727,6 +727,8 @@ nil Ignore math snippets.
be loaded.
t Synonym for `mathjax'."
:group 'org-export-odt
:version "24.4"
:package-version '(Org . "8.0")
:type '(choice
(const :tag "Do not process math in any way" nil)
(const :tag "Use dvipng to make images" dvipng)

View File

@ -389,6 +389,8 @@ This variable doesn't apply to properties drawers.
This option can also be set with the #+OPTIONS line,
e.g. \"d:nil\"."
:group 'org-export-general
:version "24.4"
:package-version '(Org . "8.0")
:type '(choice
(const :tag "All drawers" t)
(const :tag "None" nil)
@ -461,6 +463,8 @@ nil Ignore math snippets.
`verbatim' Keep everything in verbatim.
t Allow export of math snippets."
:group 'org-export-general
:version "24.4"
:package-version '(Org . "8.0")
:type '(choice
(const :tag "Do not process math in any way" nil)
(const :tag "Interpret math snippets" t)
@ -509,6 +513,8 @@ e.g. \"e:nil\"."
This option can also be set with the #+OPTIONS line,
e.g. \"inline:nil\"."
:group 'org-export-general
:version "24.4"
:package-version '(Org . "8.0")
:type 'boolean)
(defcustom org-export-with-planning nil
@ -516,6 +522,8 @@ e.g. \"inline:nil\"."
This option can also be set with the #+OPTIONS: line,
e.g. \"p:t\"."
:group 'org-export-general
:version "24.4"
:package-version '(Org . "8.0")
:type 'boolean)
(defcustom org-export-with-priority nil
@ -553,6 +561,8 @@ This option can also be set with the #+SELECT_TAGS: keyword."
This option can also be set with the #+OPTIONS: line,
e.g. \"':t\"."
:group 'org-export-general
:version "24.4"
:package-version '(Org . "8.0")
:type 'boolean)
(defcustom org-export-with-special-strings t
@ -577,6 +587,8 @@ e.g. \"-:nil\"."
This option can also be set with the #+OPTIONS: line,
e.g. \"stat:nil\""
:group 'org-export-general
:version "24.4"
:package-version '(Org . "8.0")
:type 'boolean)
(defcustom org-export-with-sub-superscripts t
@ -710,6 +722,8 @@ When nil, remove all these keywords from the export."
This is a potential security risk, which is why the default value
is nil. You can also allow them through local buffer variables."
:group 'org-export-general
:version "24.4"
:package-version '(Org . "8.0")
:type 'boolean)
(defcustom org-export-snippet-translation-alist nil
@ -774,6 +788,8 @@ process faster and the export more portable."
:group 'org-export-general
:version "24.4"
:package-version '(Org . "8.0")
:version "24.4"
:package-version '(Org . "8.0")
:type '(file :must-match t))
(defcustom org-export-invisible-backends nil