Commit Graph

1830 Commits

Author SHA1 Message Date
Nicolas Goaziou 7a8de7d1e3 ox-beamer: Remove `org-beamer-insert-options-template'
* lisp/ox-beamer.el (beamer): Re-order keywords.
(org-beamer-insert-options-template): Remove function.

* doc/org.texi (Beamer export): Remove reference to the previous
  function.

Use the generic insertion mechanism provided in "ox.el"
instead (`org-export-insert-default-template') in order to avoid code
duplication.
2014-06-15 10:26:40 +02:00
Bastien Guerry 9c57eec531 Backport change in r117298 from Emacs trunk 2014-06-10 10:32:03 +02:00
Achim Gratz 4ed554196b ox: implement additional #+INCLUDE markup
* lisp/ox.el (org-export-expand-include-keyword): Change parsing so
  that arbitrary blocks around the included content can be used.
  Content is not code-escaped unless it is a literal block, this
  applies to "src" and "example".
* doc/org.texi (Include files): Document the additional markup.
* testing/lisp/test-ox.el (test-org-export/expand-include): Add test
  for an #+INCLUDE with "html" and "center" markup.
* testing/examples/include.html: New file, used for testing
  "#+INCLUDE html".
2014-06-07 18:02:52 +02:00
Michael Brand 1d7c75f856 Merge branch 'maint' 2014-06-01 15:27:33 +02:00
Michael Brand 9e09b2d5f6 org.texi: Add f-1 to TBLFM example about nan
* doc/org.texi (Formula syntax for Calc): Add `f-1' to TBLFM example
about `nan'.
2014-06-01 15:27:07 +02:00
Nicolas Goaziou c00379dc77 Merge branch 'maint'
Conflicts:
	doc/org.texi
2014-06-01 08:54:44 +02:00
Nicolas Goaziou c34121c60f Documentation fix
* doc/org.texi (Include files):
* doc/orgguide.texi (Include files): Remove reference to non-existent
  "quote" markup.
2014-06-01 08:52:16 +02:00
Bastien Guerry 0ce93879d7 org.texi (Filtering/limiting agenda items): Update documentation
* org.texi (Filtering/limiting agenda items): Update document
for effort filtering.
(Agenda commands): Document the `N' and `P' keybindings.
2014-05-30 15:12:51 +02:00
Bastien Guerry 017e32c4ab org.texi (Structure editing): Clarify explanations about `org-insert-heading'
* doc/org.texi (Structure editing): Clarify explanations about
`org-insert-heading'.
2014-05-29 19:53:15 +02:00
Achim Gratz 643b4d31bd Merge branch 'maint' 2014-05-28 16:26:17 +02:00
Nicolas Goaziou 20ec9efb3e org.texi: Small documentation fix
* doc/org.texi (Publishing options): Remove reference to inexistent
  variable.  The associated property is misplaced, too.
2014-05-28 15:35:17 +02:00
Nicolas Goaziou b8eb1e40f6 org.texi: De-uglify some tables
* doc/org.texi (Publishing options): De-uglify tables with a proper
  column width definiton.
2014-05-28 15:31:19 +02:00
Nicolas Goaziou 92197690ed ox-latex: Fix again 7a956c3880
* lisp/ox-latex.el (latex): Update property name.
* doc/org.texi (Publishing options): Update documentation.
2014-05-28 15:12:42 +02:00
Nicolas Goaziou ba2a5ba9f6 ox-latex: Fix 7a956c3880
* lisp/ox-latex.el (latex): Change property name.  It fixes
  7a956c3880.
(org-latex-template): Use new property.

* doc/org.texi (Publishing options): Update documentation.  Also fix
  typo.
2014-05-28 15:06:31 +02:00
Nicolas Goaziou 7a956c3880 Associate all defcustoms to options in back-end definitions
* lisp/ox-ascii.el:
* lisp/ox-beamer.el:
* lisp/ox-html.el:
* lisp/ox-latex.el:
* lisp/ox-man.el:
* lisp/ox-md.el:
* lisp/ox-odt.el:
* lisp/ox-org.el:
* lisp/ox-texinfo.el: All defcustoms are defined as options in the
  back-end.
* lisp/ox-icalendar.el (icalendar): Ditto.  Also rename :with-vtodo
  property to :icalendar-include-todo.

* doc/org.texi (Publishing options): Update back-end specific
  properties.  Remove @vindex entries so as not to clobber variables
  index.

This change allows to change default value for any defcustom on the
fly when publishing.  It also normalizes how to choose and name what
variables to define as back-end options.
2014-05-28 14:53:29 +02:00
Bastien Guerry 5421814156 org.texi (Global and local cycling): Fix ref
* org.texi (Global and local cycling): Use only @pxref{}, as
Texinfo will take care of referring to the correct Emacs
manual HTML location.
2014-05-24 12:19:01 +02:00
Nicolas Goaziou a7b7c3de2b ox-ascii: Implement "justifyright" and "justifyleft" blocks
* lisp/ox-ascii.el
(org-ascii--justify-lines): New function.  Renamed from
`org-ascii--justify-string'.
(org-ascii--justify-element, org-ascii--current-justification): New
functions.
(org-ascii-verse-block, org-ascii-table-cell, org-ascii-table
  org-ascii-src-block, org-ascii-property-drawer, org-ascii-planning,
  org-ascii-paragraph, org-ascii-paragraph,
  org-ascii-latex-environment, org-ascii-keyword,
  org-ascii-horizontal-rule, org-ascii-fixed-width,
  org-ascii-export-block, org-ascii-example-block, org-ascii-clock,
  org-ascii-template--document-title,
  org-ascii-template--document-title): Use new functions.
(org-ascii-center-block): Do not process contents anymore since they
are already justified.

* doc/org.texi (ASCII/Latin-1/UTF-8 export): Document new feature.
  Also document `org-ascii-text-width' since this is closely related.

This patches also fixes centering of tables.
2014-05-22 13:50:01 +02:00
Aaron Ecay 08e2596718 ob-core.el: allow the auto-generation of output file names for src blocks.
* lisp/ob-core.el (org-babel-generate-file-param): New function.
(org-babel-get-src-block-info): Use it.
(org-babel-merge-params): Handle :file-ext.
(org-babel-graphical-output-file): error if no :file or :file-ext.
* testing/lisp/test-ob.el (test-org-babel/file-ext-and-output-dir):
New test.
* doc/org.texi (Specific header arguments): Add doc for :file-ext and
:output-dir header args.
* lisp/ob-R.el (org-babel-expand-body:R): Don’t calculate
graphics-file.
(org-babel-execute:R): Only look for a graphics-file if needed.
2014-05-11 16:33:22 -04:00
Nicolas Goaziou 4c0a29edec Merge branch 'maint'
Conflicts:
	lisp/ox.el
2014-04-21 09:50:10 +02:00
Nicolas Goaziou b983048b73 Small documentation improvements
* doc/org.texi (The Export Dispatcher): Reformulation.
* lisp/ox.el (org-export-copy-to-kill-ring): Comply to docstrings
  standards.
2014-04-21 09:48:17 +02:00
Nicolas Goaziou 3e401117fd org.texi: Update documentation
* doc/org.texi (The export dispatcher): Update documentation since
  `org-export-copy-to-kill-ring' has a different default value.

The change happened in 53aab23e70.
2014-04-21 09:44:54 +02:00
Bastien Guerry ff706b2e9c org.texi (Property syntax, noweb-ref): Minor fixes
* org.texi (Property syntax, noweb-ref): Minor fixes.
2014-04-18 13:21:37 +02:00
Bastien Guerry 28131ee94a org.texi (Feedback): Add a link to the mailman subscription page
* org.texi (Feedback): Add a link to the mailman subscription
page.
2014-04-17 18:04:33 +02:00
Bastien Guerry a2b69cc4d7 Merge branch 'maint' 2014-04-17 13:38:41 +02:00
Bastien Guerry 4315658419 org.texi (Installation): Fix documentation bug
* org.texi (Installation): Be more clear on why installing Org
through ELPA should be done without loading any Org file.

This is a very common pitfall that needs to be considered a
documentation bug.
2014-04-17 13:38:29 +02:00
Bastien Guerry ca80c8c277 org.texi (Beamer export): Update example to let it display a table of contents
* org.texi (Beamer export): Update example to let it display a
table of contents.
2014-04-17 12:09:53 +02:00
Bastien Guerry 132da2db35 Let sort-by-time handle [H]H:MM strings and add a :sort parameter for clocktables
* org-clock.el (org-clocktable-write-default): New parameter
":sort" to sort a column by a sorting type.  E.g., a value of
:sort (1 . ?a) will sort the first column alphabetically.  The
sorting line is the third one, table-wise, which is usually
the first line that contains user data.

* org.texi (The clock table): Document the new :sort
parameter.

* org.el (org-do-sort): Recognize [H]H:MM strings as time
values and allow sort-by-time to process them.

* org-table.el (org-table-sort-lines): Mention that sorting by
time also recognize [H]H:MM time values.
2014-04-16 18:23:47 +02:00
Rainer M. Krug 7cf4d591eb Add clarification to `:no-expand' header argument
* doc/org.texi (no-expand): Added statement to clarify that this
  header argument has no impact on the execution of a code block.

TINYCHANGE
2014-04-16 17:41:57 +02:00
Bastien Guerry f86b6d8aa3 org.texi (Agenda dispatcher): Small rewrite
* org.texi (Agenda dispatcher): Small rewrite.  Add a concept
to the concept index.
2014-04-16 16:44:11 +02:00
Nicolas Goaziou b8781c4c85 ox: Make footnotes file specific when including Org files
* lisp/ox.el (org-export-expand-include-keyword,
  org-export--prepare-file-contents): Make footnotes file specific
  when including Org files.

* doc/org.texi (Include files): Add documentation.

* testing/lisp/test-ox.el (test-org-export/expand-include): Add tests.

http://permalink.gmane.org/gmane.emacs.orgmode/83606
2014-04-12 15:07:42 +02:00
Nicolas Goaziou e84c1d8442 org.texi: Update COMMENT keyword documentation
* doc/org.texi (Comment lines):
* doc/orgguide.texi (Comment lines): Update COMMENT keyword
  documentation.  Small tense changes.
2014-04-12 10:59:01 +02:00
Greg Tucker-Kellogg c99fa2ab8a ox-latex.el: support sideways :float options for tables and figures
* lisp/ox-latex.el (org-latex--inline-image): support a 'sideways
option for the float, and add case to handle it with a \sideaysfigure
in the export.
(org-latex--org-table): support "sideways" instead of deprecated
"sidewaystable".  The latter is still handled for backward
compatibility.

* doc/org.texi (Tables in LaTeX export): Document use of :float
  sideways.
(Images in LaTeX export): Document use of :float sideways.

This patch provides consistent :float sideways support for LaTeX
export of both figures and tables.

http://permalink.gmane.org/gmane.emacs.orgmode/84618

TINYCHANGE
2014-04-06 14:19:55 +02:00
Nicolas Goaziou 74c0241146 org.texi: Remove reference to `org-drawers' and #+DRAWERS
* doc/org.texi (In-buffer settings): Remove reference to `org-drawers'
  and #+DRAWERS as they no longer exist.
2014-03-29 09:40:10 +01:00
Nicolas Goaziou ea097c25dd ox-latex: Allow :options in LaTeX attributes
* lisp/ox-latex.el (org-latex-src-block): Allow to add options to
  listings or minted block-wise.
(org-latex-listings-options, org-latex-minted-options): Update
docstring.

* doc/org.texi (@LaTeX{} specific attributes): Document feature.
2014-03-25 19:08:56 +01:00
Nicolas Richard b3a10b66fe Keep documentation on "Previewing LaTeX" in its own section
* doc/org.texi (@LaTeX{} fragments)
(Previewing @LaTeX{} fragments): Keep documentation on
"Previewing LaTeX" in its own section.
2014-03-22 17:40:52 +01:00
Bastien Guerry 343a6dd082 org.texi (Macro replacement): Small rewrite
* org.texi (Macro replacement): Small rewrite.

Thanks to Nicolas for his suggestions.
2014-03-21 10:03:50 +01:00
Bastien Guerry 7527e3a80c org.texi (Macro replacement): Minor enhancement
* org.texi (Macro replacement): Minor enhancement.
2014-03-19 17:06:45 +01:00
Bastien Guerry 33f8b1b02f org.texi (Tables in HTML export): Enhance.
* org.texi (Tables in HTML export): Mention the grouping of
columns, add documentation for variables.
2014-03-19 11:31:47 +01:00
Thomas Holst 599ccd1cc8 docu change for table-line-pos new feature
* org.texi (Template elements): Document new features of
`:table-line-pos' in capture templates.

TINYCHANGE
2014-03-19 09:35:02 +01:00
Nicolas Goaziou c444e4ed38 org.texi: Fix typos 2014-03-16 14:45:29 +01:00
Eric Schulte e01672c2fb fixed broken @index commands in documentation 2014-03-15 20:45:51 -06:00
Eric Schulte 64d9ba15b6 clarification of commented code block export 2014-03-15 20:44:38 -06:00
Bastien Guerry 6aba2424c9 org.texi: Document -i in source code blocks
* org.texi (Literal examples): Add index entry.
(Editing source code): Document the -i flag.
2014-03-15 07:41:56 +01:00
John Henderson e0c723573b org.texi: Clarification: `:exports' is only applicable to blocks, not to inline code
* doc/org.texi (Exporting code blocks, exports): Clarify.

The documentation change resulted from the expectation that `:exports'
could be used with inline code blocks, which is not the case.
Clarification was added to avoid future confusion on this header
argument, which is applicable only to blocks.

TINYCHANGE
2014-03-14 17:15:48 +01:00
Bastien Guerry 1e402cee8b Merge branch 'maint' 2014-03-12 10:47:01 +01:00
Bastien Guerry 3e560f053c Backport r116740 from Emacs trunk 2014-03-12 10:46:50 +01:00
Nicolas Goaziou 081abcd652 Merge branch 'maint' 2014-03-12 08:58:55 +01:00
John Henderson ffc60fd494 Modified documentation for `org-src-preserve-indentation'
TINYCHANGE
2014-03-12 08:58:13 +01:00
tsdye 162dc4d5fd Documented org-babel-inline-result-wrap 2014-03-11 19:43:42 -06:00
Bastien Guerry 080f1dd5af Merge branch 'maint' 2014-03-05 15:47:55 +01:00