Browse Source

Document the use of the org-export-docbook-xslt-stylesheet variable

Patch by Baoqiu Cui.
Carsten Dominik 15 years ago
parent
commit
f4ac28844e
2 changed files with 13 additions and 3 deletions
  1. 12 3
      doc/org.texi
  2. 1 0
      lisp/org-exp.el

+ 12 - 3
doc/org.texi

@@ -8998,6 +8998,7 @@ Insert template with export options, see example below.
 @cindex #+LINK_HOME
 @cindex #+LINK_HOME
 @cindex #+EXPORT_SELECT_TAGS
 @cindex #+EXPORT_SELECT_TAGS
 @cindex #+EXPORT_EXCLUDE_TAGS
 @cindex #+EXPORT_EXCLUDE_TAGS
+@cindex #+XSLT
 @cindex #+LATEX_HEADER
 @cindex #+LATEX_HEADER
 @vindex user-full-name
 @vindex user-full-name
 @vindex user-mail-address
 @vindex user-mail-address
@@ -9020,6 +9021,7 @@ Insert template with export options, see example below.
 #+LATEX_HEADER: extra line(s) for the LaTeX header, like \usepackage@{xyz@}
 #+LATEX_HEADER: extra line(s) for the LaTeX header, like \usepackage@{xyz@}
 #+EXPORT_SELECT_TAGS:   Tags that select a tree for export
 #+EXPORT_SELECT_TAGS:   Tags that select a tree for export
 #+EXPORT_EXCLUDE_TAGS:  Tags that exclude a tree from export
 #+EXPORT_EXCLUDE_TAGS:  Tags that exclude a tree from export
+#+XSLT:        the XSLT stylesheet used by DocBook exporter to generate FO file
 @end example
 @end example
 
 
 @noindent
 @noindent
@@ -9860,7 +9862,7 @@ For more information, see the documentation on Worg.
 @section DocBook export
 @section DocBook export
 @cindex DocBook export
 @cindex DocBook export
 @cindex PDF export
 @cindex PDF export
-@cindex Cui, Baoqui
+@cindex Cui, Baoqiu
 
 
 Org contains a DocBook exporter written by Baoqiu Cui.  Once an Org file is
 Org contains a DocBook exporter written by Baoqiu Cui.  Once an Org file is
 exported to DocBook format, it can be further processed to produce other
 exported to DocBook format, it can be further processed to produce other
@@ -9907,6 +9909,13 @@ need to have XSLT processor and XSL-FO processor software installed on your
 system.  Check variables @code{org-export-docbook-xslt-proc-command} and
 system.  Check variables @code{org-export-docbook-xslt-proc-command} and
 @code{org-export-docbook-xsl-fo-proc-command}.
 @code{org-export-docbook-xsl-fo-proc-command}.
 
 
+@vindex org-export-docbook-xslt-stylesheet
+The stylesheet argument @code{%s} in variable
+@code{org-export-docbook-xslt-proc-command} is replaced by the value of
+variable @code{org-export-docbook-xslt-stylesheet}, which needs to be set by
+the user.  You can also overrule this global setting on a per-file bases by
+adding an in-buffer setting @code{#+XSLT:} to the Org file.
+
 @kindex C-c C-e v D
 @kindex C-c C-e v D
 @item C-c C-e v D
 @item C-c C-e v D
 Export only the visible part of the document.
 Export only the visible part of the document.
@@ -11001,8 +11010,8 @@ keys.  The corresponding variable is @code{org-tag-alist}.
 @item #+TBLFM:
 @item #+TBLFM:
 This line contains the formulas for the table directly above the line.
 This line contains the formulas for the table directly above the line.
 @item #+TITLE:, #+AUTHOR:, #+EMAIL:, #+LANGUAGE:, #+TEXT:, #+DATE:,
 @item #+TITLE:, #+AUTHOR:, #+EMAIL:, #+LANGUAGE:, #+TEXT:, #+DATE:,
-@itemx #+OPTIONS:, #+BIND:
-@itemx #+DESCRIPTION:, #+KEYWORDS:
+@itemx #+OPTIONS:, #+BIND:, #+XSLT:,
+@itemx #+DESCRIPTION:, #+KEYWORDS:,
 @itemx #+LATEX_HEADER:, #+STYLE:, #+LINK_UP:, #+LINK_HOME:,
 @itemx #+LATEX_HEADER:, #+STYLE:, #+LINK_UP:, #+LINK_HOME:,
 @itemx #+EXPORT_SELECT_TAGS:, #+EXPORT_EXCLUDE_TAGS:
 @itemx #+EXPORT_SELECT_TAGS:, #+EXPORT_EXCLUDE_TAGS:
 These lines provide settings for exporting files.  For more details see
 These lines provide settings for exporting files.  For more details see

+ 1 - 0
lisp/org-exp.el

@@ -2574,6 +2574,7 @@ Does include HTML export options as well as TODO and CATEGORY stuff."
 #+EXPORT_EXCLUDE_TAGS: %s
 #+EXPORT_EXCLUDE_TAGS: %s
 #+LINK_UP:   %s
 #+LINK_UP:   %s
 #+LINK_HOME: %s
 #+LINK_HOME: %s
+#+XSLT: 
 #+CATEGORY:  %s
 #+CATEGORY:  %s
 #+SEQ_TODO:  %s
 #+SEQ_TODO:  %s
 #+TYP_TODO:  %s
 #+TYP_TODO:  %s