Mario Schlegel
23113feb9a
ox-latex: Extend :placement attribute to source blocks
...
* lisp/ox-latex.el (org-latex-src-block): Extend :placement attribute
to source blocks when the minted package is used.
TINYCHANGE
2019-09-16 18:59:43 +02:00
Nicolas Goaziou
893866f86b
Merge branch 'maint'
2019-09-05 15:06:08 +02:00
Nicolas Goaziou
97c14ca8cd
ox-latex: Fix Brazilian entry in Polyglossia languages
...
* lisp/ox-latex.el (org-latex-polyglossia-language-alist): Fix
Brazilian entry. Sort lines.
2019-09-05 15:05:06 +02:00
Nicolas Goaziou
299ec9e721
Merge branch 'maint'
2019-08-15 10:06:21 +02:00
Nicolas Goaziou
bf8ae63588
ox-latex: Fix typo in Brazilian language code
...
* lisp/ox-latex.el (org-latex-babel-language-alist): Fix typo.
2019-08-15 10:05:42 +02:00
Nicolas Goaziou
2579d88323
ox-latex: Allow labels in matrices
...
* lisp/ox-latex.el (org-latex--label): Add "eq:" prefix for matrices.
(org-latex-link): Properly refer to matrices.
(org-latex--wrap-latex-matrices): Inherit name from first table.
(org-latex-matrices): Insert label within "equation" environment.
Reported-by: edgar@openmail.cc
<http://lists.gnu.org/r/emacs-orgmode/2019-05/msg00095.html >
2019-05-13 00:51:39 +02:00
Emmanuel Charpentier
5b7b0fa8fb
ox-latex: Support a :scale parameter
...
* lisp/ox-latex.el (org-latex-image-default-scale): Nev variable.
(org-latex--inline-image): Handle new :scale parameter.
* doc/org-manual.org (Images in LaTeX export): document the new :scale
Introduce a :scale #+ATTR_LATEX parameter, as well as a "" default
value for it. When present, it overrides :width and :height
parameters (as it does for ODT export and in ox-pandoc exporters).
Implementation: uses \scalebox for tikz/pgf images, "scale=" parameter
of \includegraphics in other cases.
2019-04-22 14:01:59 +02:00
Kyle Meyer
c2f3f1912e
Merge branch 'maint'
2019-03-17 22:56:24 -04:00
Paul Eggert
602f2280e3
Backport commit 3c94c7bc0 and db9c924d3 from Emacs
...
* lisp/ob-core.el (org-babel-string-read):
* lisp/org-agenda.el:
(org-agenda-add-entry-to-org-agenda-diary-file):
* lisp/org-element.el (org-element-keyword-parser):
* lisp/org-list.el (org-list-indent-item-generic):
* lisp/org-mhe.el (org-mhe-get-message-folder-from-index):
* lisp/org-mobile.el (org-mobile-apply):
* lisp/org-mouse.el (org-mouse-context-menu):
* lisp/org-plot.el (org-plot/gnuplot):
* lisp/org-protocol.el (org-protocol-flatten-greedy):
* lisp/org-table.el (org-table-copy-down)
(org-table-formula-make-cmp-string)
(org-table-get-stored-formulas, org-table-recalculate)
(org-table-edit-formulas):
* lisp/org.el (org-translate-link-from-planner)
(org-fill-line-break-nobreak-p):
* lisp/ox-ascii.el (org-ascii-item):
* lisp/ox-latex.el (org-latex-clean-invalid-line-breaks):
* lisp/ox.el (org-export-expand-include-keyword):
Fix regular-expression infelicities and typos.
Fix regular-expression glitches and typos
3c94c7bc02fcacb4a101188dddb0c44d53444178
Paul Eggert
Mon Mar 4 18:00:58 2019 -0800
More regexp corrections and tweaks
db9c924d3d53f46846ad8fd74a5d08f4586a520e
Paul Eggert
Fri Mar 8 09:09:40 2019 -0800
Note(km): These two commits are ported together because, with respect
to Org files, db9c924d3 is a fix of an error from 3c94c7bc0.
2019-03-17 22:52:27 -04:00
Nicolas Goaziou
819864aebb
Merge branch 'maint'
2019-02-27 21:56:36 +01:00
Nicolas Goaziou
cc7c4a6732
Rationalize `org-link-(un)escape'
...
* contrib/lisp/org-contacts.el (org-contacts-vcard-format):
* contrib/lisp/org-link-edit.el (org-link-edit--link-data):
* contrib/lisp/org-notmuch.el (org-notmuch-search-store-link):
(org-notmuch-search-follow-link):
(org-notmuch-tree-follow-link):
* lisp/org-docview.el (org-docview-export):
* lisp/org-element.el (org-element-link-parser):
* lisp/org-lint.el (org-lint-link-to-local-file):
* lisp/org-protocol.el (org-protocol-split-data):
(org-protocol-parse-parameters):
* lisp/org.el (org-open-at-point):
(org-display-inline-images):
* lisp/ox-ascii.el (org-ascii-link):
* lisp/ox-html.el (org-html-link):
* lisp/ox-latex.el (org-latex--inline-image):
(org-latex-link):
* lisp/ox-publish.el (org-publish-resolve-external-link):
* lisp/ox.el (org-export-custom-protocol-maybe):
(org-export-resolve-fuzzy-link): Do not call `org-link-unescape' when
the link is obtained through the parser or as a user input.
* doc/org-manual.org (Link Format): Document escape syntax.
See <http://lists.gnu.org/r/emacs-orgmode/2019-02/msg00320.html >
2019-02-27 20:22:51 +01:00
Nicolas Goaziou
1067d6c5ff
Merge branch 'maint'
2019-02-20 15:31:46 +01:00
Nicolas Goaziou
0f70354b32
ox: Add missing `org-link-unescape' calls
...
* lisp/ox-ascii.el (org-ascii-link):
* lisp/ox-latex.el (org-latex--inline-image):
(org-latex-link): Add missing `org-link-unescape' to handle
hex-escaped URI.
Reported-by: stardiviner <numbchild@gmail.com>
<http://lists.gnu.org/r/emacs-orgmode/2019-02/msg00265.html >
2019-02-20 15:26:27 +01:00
Nicolas Goaziou
102142b1a5
ox-latex: Fix environment for tables without caption, take 2
...
* lisp/ox-latex.el (org-latex--decorate-table): Check if caption is
the empty string.
2019-01-24 14:47:04 +01:00
Nicolas Goaziou
c28eb3c2cb
ox-latex: Fix export of tables with caption
...
* lisp/ox-latex.el (org-latex--decorate-table): Fix thinko.
Reported-by: Jens Lechtenboerger <lechten@wi.uni-muenster.de>
<http://lists.gnu.org/r/emacs-orgmode/2019-01/msg00262.html >
2019-01-19 16:05:12 +01:00
Bastien
7a22b8f93b
Merge branch 'maint'
2019-01-01 11:54:01 +01:00
Bastien
f584d37a67
Update copyright year
2019-01-01 11:50:56 +01:00
Nicolas Goaziou
ddf6f2e8eb
Merge branch 'master' into next
2018-12-18 00:44:17 +01:00
Nicolas Goaziou
0811af50b4
ox-latex: Improve subscript and superscript
...
* lisp/ox-latex.el (org-latex--wrap-latex-math-block): Ignore
superscript and subscript.
(org-latex--script-size): Remove function.
(org-latex-subscript): Use \textsubscript.
(org-latex-superscript): Use \textsuperscript.
Reported-by: Ken Mankoff <mankoff@gmail.com>
<http://lists.gnu.org/r/emacs-orgmode/2018-12/msg00221.html >
2018-12-18 00:42:07 +01:00
Nicolas Goaziou
b3c40c32b6
ox-latex: Extend LaTeX attributes and captions to "table.el" tables
...
* lisp/ox-latex.el (org-latex--decorate-table): New function.
(org-latex--org-table): Use new function.
(org-latex--table.el-table): Use new function.
2018-11-30 18:43:30 +01:00
Nicolas Goaziou
d3f9cd0eef
ox-latex: Use "french" instead of "frenchb" Babel language
...
* lisp/ox-latex.el (org-latex-babel-language-alist): Use "french"
instead of obsolete "frenchb".
2018-11-28 15:12:56 +01:00
Nicolas Goaziou
e3fdef74b9
Improve docstrings
...
* lisp/org.el (org-latex-default-packages-alist):
(org-latex-packages-alist): Improve docstring.
* lisp/ox-latex.el (org-latex--remove-packages): Small refactoring.
2018-11-28 00:26:24 +01:00
Nicolas Goaziou
d6e20dbcff
ox-latex: Gracefully handle export of source blocks without lang
...
* lisp/ox-latex.el (org-latex-src-block): Handle export of source
blocks without language.
Reported-by: John Ciolfi <ciolfi@mathworks.com>
<http://lists.gnu.org/r/emacs-orgmode/2018-11/msg00321.html >
2018-11-27 21:46:18 +01:00
Nicolas Goaziou
fbb5c97bd6
ox-latex: Tiny refactoring
...
* lisp/ox-latex.el (org-latex-footnote-reference): Tiny refactoring.
2018-09-22 08:45:43 +02:00
Nicolas Goaziou
408eaccf1c
ox-latex: Fix footnotes in items' tags
...
* lisp/ox-latex.el (org-latex-footnote-reference): Delay footnotes in
item's tag.
(org-latex-item): Footnotes in item's tag appear before footnotes in
contents.
2018-09-22 01:35:44 +02:00
Nicolas Goaziou
13626a47ad
ox-latex: Fix typos in docstrings
...
* lisp/ox-latex.el (org-latex-custom-lang-environments):
(org-latex-known-warnings): Turn "latex" into "LaTeX".
2018-09-20 11:28:05 +02:00
Nicolas Goaziou
17edaf8c14
"src block" -> "source block" in documentation and comments
...
* etc/ORG-NEWS (Maxima: new headers ~:prologue~ and ~:epilogue~):
(Texinfo exports inline source blocks as ~@code{}~):
(Default lexical evaluation of emacs-lisp source blocks):
* lisp/ob-clojure.el (org-babel-clojure-default-ns):
* lisp/ob-core.el (org-babel-named-src-block-regexp-for-name):
(org-babel-current-src-block-location):
(org-babel-mark-block):
(org-babel-insert-result):
* lisp/ob-emacs-lisp.el (org-babel-default-header-args:emacs-lisp):
* lisp/ob-exp.el (org-babel-exp-process-buffer):
* lisp/ob-lob.el (org-babel-lob-ingest):
* lisp/ob-ref.el:
* lisp/org-element.el (org-element-object-restrictions):
(org-element-src-block-parser):
(org-element-inline-src-block-parser):
* lisp/org-lint.el:
(org-lint--checkers):
* lisp/org-pcomplete.el (pcomplete/org-mode/block-option/src):
* lisp/org-src.el (org-edit-inline-src-code):
* lisp/org.el (org-ctrl-c-ctrl-c):
(org-in-src-block-p):
(org-fill-element):
* lisp/ox-html.el (org-html--textarea-block):
(org-html-format-code):
* lisp/ox-latex.el (org-latex-minted-options):
(org-latex-custom-lang-environments):
* lisp/ox-md.el:
* lisp/ox-odt.el (org-odt-format-code):
* lisp/ox.el (org-export-collect-listings):
* testing/lisp/test-ob-exp.el (ob-exp/src-block-with-affiliated-keyword):
* testing/lisp/test-ob.el (test-ob/preserve-results-indentation):
Correct "src block" occurrences when they do not specifically refer
to the element type `src-block'.
2018-09-20 11:23:49 +02:00
Nicolas Goaziou
7d9e4da447
Prevent spurious newline character in fixed-width area value
...
* lisp/org-element.el (org-element-fixed-width-parser): Prevent
spurious newline character at the end of the value.
* lisp/ox-latex.el (org-latex-fixed-width):
* lisp/ox-man.el (org-man-fixed-width):
* lisp/ox-texinfo.el (org-texinfo-fixed-width):
* contrib/lisp/ox-groff.el (org-groff-fixed-width): Adapt to change.
* testing/lisp/test-org-element.el (test-org-element/fixed-width-parser):
Update tests.
Reported-by: 孙振祥 <sunznx@icloud.com>
<http://lists.gnu.org/archive/html/emacs-orgmode/2018-07/msg00003.html >
2018-07-02 00:24:38 +02:00
Nicolas Goaziou
edc159c2f2
Remove `org-get-tags-string'
...
* lisp/org.el (org-get-tags-string): Move to "org-compat".
(org-make-tag-string): New function
(org-set-tags-to):
(org-set-tags):
(org-set-current-tags-overlay):
(org-entry-properties):
(org-agenda-prepare-buffers):
* lisp/org-mouse.el (org-mouse-set-tags):
* lisp/ox-ascii.el (org-ascii--build-title):
* lisp/ox-beamer.el (org-beamer-select-environment):
* lisp/ox-latex.el (org-latex-format-inlinetask-default-function):
* lisp/ox-md.el (org-md-headline):
(org-md--build-toc):
* lisp/ox-texinfo.el (org-texinfo-format-headline-default-function):
(org-texinfo-format-inlinetask-default-function):
* contrib/lisp/ox-groff.el (org-groff-headline):
(org-groff-inlinetask): Use new function.
* lisp/org-compat.el (org-get-tags-string): New function.
2018-04-19 11:52:07 +02:00
Nicolas Goaziou
83f4627679
Change default value for scientific notation related variables
...
* lisp/ox-latex.el (org-latex-table-scientific-notation):
* lisp/ox-texinfo.el (org-texinfo-table-scientific-notation): Change
default value to nil.
Reported-by: Günter Lichtenberg <mail@guenterlichtenberg.de>
<http://lists.gnu.org/r/emacs-orgmode/2018-03/msg00527.html >
2018-03-30 22:20:30 +02:00
Glenn Morris
4ddfc6bd69
Backport commit 66a4e651f from Emacs
...
; Fix doc typos related to indefinite articles
66a4e651f3cf38c320d1a9d5ae6f88dcc641792b
Glenn Morris
Fri Feb 16 15:16:15 2018 -0500
2018-02-18 16:32:41 -05:00
Tim Landscheidt
61a885a399
Make manual and URL links in docstrings clickable
2018-02-05 15:27:12 +01:00
Nicolas Goaziou
d0c4d9ba23
ox-latex: Allow negative tocdepth
...
* lisp/ox-latex.el (org-latex-template): Allow negative tocdepth.
Reported-by: Akater <nuclearspace@gmail.com>
<http://lists.gnu.org/r/emacs-orgmode/2018-01/msg00528.html >
2018-02-03 14:52:20 +01:00
Tim Landscheidt
b289a65be7
Use https for links to orgmode.org
...
TINYCHANGE
2018-01-19 18:14:58 +01:00
Kyle Meyer
3e1641ef0a
Update copyright years
2018-01-07 00:27:54 -05:00
Nicolas Goaziou
aab7f65a8b
ox-latex: Merge check-boxes with bullets
...
* lisp/ox-latex.el (org-latex-item): Do not display both bullet and
checkbox.
Reported-by: Ken Mankoff <mankoff@gmail.com>
<http://lists.gnu.org/r/emacs-orgmode/2017-12/msg00225.html >
2017-12-15 22:48:57 +01:00
Paul Eggert
ff0dcf52a5
Backport commit bc511a64f from Emacs
...
Prefer HTTPS to FTP and HTTP in documentation
bc511a64f6da9ab51acc7c8865e80c4a4cb655c2
Paul Eggert
Wed Sep 13 15:54:37 2017 -0700
2017-09-17 00:28:38 -04:00
Kyle Meyer
6496d0ca95
Correct defcustom version information
...
* lisp/ob-lilypond.el (org-babel-lilypond-commands):
* lisp/ob-lua.el (org-babel-lua-command):
(org-babel-lua-mode):
(org-babel-lua-hline-to):
(org-babel-lua-None-to):
* lisp/org-agenda.el (org-agenda-search-view-max-outline-level):
* lisp/org.el (org-mouse-1-follows-link):
(org-src-fontify-natively):
(orgstruct-heading-prefix-regexp):
* lisp/ox-ascii.el (org-ascii-format-inlinetask-function):
* lisp/ox-latex.el (org-latex-format-drawer-function):
(org-latex-listings-langs):
* lisp/ox-odt.el (org-odt-format-drawer-function):
* lisp/ox.el (org-export-with-properties): Correct ":version" value.
* lisp/org-attach.el (org-attach-annex-auto-get): Correct
":package-version" value.
2017-09-07 16:56:11 -04:00
Nicolas Goaziou
6fac813a52
Merge branch 'maint'
2017-06-25 09:40:54 +02:00
Nicolas Goaziou
e903288e50
ox-latex: Fix LATEX_HEADER_EXTRA keyword
...
* lisp/ox-latex.el (org-latex-make-preamble): Do not include
LATEX_HEADER_EXTRA keywords' contents when previewing a LaTeX
fragment.
Reported-by: Mario Román <mromang08@gmail.com>
<http://lists.gnu.org/archive/html/emacs-orgmode/2017-06/msg00477.html >
2017-06-25 09:39:32 +02:00
Nicolas Goaziou
f84ca3fac3
Merge branch 'maint'
2017-04-16 09:35:06 +02:00
Nicolas Goaziou
de7e495e46
ox-latex: Remove unwanted indentation in horizontal rules
...
* lisp/ox-latex.el (org-latex-horizontal-rule): Add "\noindent" macro
before the horizontal rule.
Reported-by: Justen Rickert <justenrickert@gmail.com>
<http://permalink.gmane.org/gmane.emacs.orgmode/113092 >
2017-04-16 09:33:33 +02:00
Nicolas Goaziou
4ac47e507d
Merge branch 'maint'
2017-03-27 14:01:54 +02:00
Nicolas Goaziou
c6b62fd648
ox-latex: Fix last commit
...
* lisp/ox-latex.el (org-latex--align-string): Fix typo in last commit.
2017-03-27 14:01:32 +02:00
Nicolas Goaziou
211d7aa9b2
Merge branch 'maint'
2017-03-27 13:53:05 +02:00
Nicolas Goaziou
7648354952
ox-latex: Fix user-defined align string in matrices
...
* lisp/ox-latex.el (org-latex--align-string): Change signature.
Center all cells in matrices, yet preserve user-defined align
string.
(org-latex--math-table): Apply signature change.
Reported-by: Phil Regier <phil.regier@gmail.com>
<http://permalink.gmane.org/gmane.emacs.orgmode/112873 >
2017-03-27 13:51:55 +02:00
Rasmus
9faf000e6a
ox-latex: Support caption for latex-environment
...
* lisp/ox-latex.el (org-latex--environment-type): New function
determining type of a latex-environment.
(org-latex-latex-environment): Add support for caption.
(org-latex--caption/label-string): Use correct type for non-floating
latex-environments.
* etc/ORG-NEWS: Add entry.
2017-03-24 17:22:11 +01:00
Nicolas Goaziou
6747bf3de6
Merge branch 'maint'
2017-03-08 11:48:56 +01:00
Nicolas Goaziou
2eda74285e
Fix LaTeX and Beamer publishing processes
...
* lisp/ox-beamer.el (org-beamer-publish-to-pdf):
* lisp/ox-latex.el (org-latex-publish-to-pdf): Set default directory
prior to compiling the generated tex file.
Reported-by: Robert Klein <roklein@roklein.de>
<http://permalink.gmane.org/gmane.emacs.orgmode/112388 >
2017-03-08 09:33:09 +01:00
Nicolas Goaziou
0fe987e060
Merge branch 'maint'
2017-02-11 02:36:15 +01:00
Nicolas Goaziou
9070b97f0e
Fix header in LaTeX snippets
...
* lisp/ox-latex.el (org-latex-make-preamble): Add optional argument.
* lisp/org.el (org-create-formula-image): Use it.
Reported-by: plus <ctre@users.sourceforge.net>
<http://permalink.gmane.org/gmane.emacs.orgmode/112015 >
2017-02-11 02:35:00 +01:00
Nicolas Goaziou
6b30deaae9
Merge branch 'maint'
2017-01-31 09:02:55 +01:00
Lixin Chin
caa54d2e98
ox-latex.el: Wrap 'minted' src blocks in a 'listing' environment
...
* lisp/ox-latex.el (org-latex-src-block): Make source highlighting
using the 'minted' syntax highlighting package behave the same as
using the 'listings' syntax highlighting package.
The source block should be floating if a caption is provided, or if
':float t' is provided in an '#+ATTR_LATEX:' block. Previously, the
source block would only be floating if ':float multicolumn' was
provided. This now matches the Org mode documentation for source
blocks.
TINYCHANGE
2017-01-31 09:01:42 +01:00
Kyle Meyer
7278899697
Merge branch 'maint'
2017-01-26 00:05:29 -05:00
Kyle Meyer
7c710f6f57
Change :version in defcustoms from "25.2" to "26.1"
...
* lisp/ob-J.el (org-babel-J-command):
* lisp/ob-core.el (org-babel-hash-show-time):
* lisp/ob-exp.el (org-babel-exp-inline-code-template):
* lisp/ob-lisp.el (org-babel-lisp-eval-fn):
* lisp/org-agenda.el (org-agenda-view-columns-initially):
* lisp/org-attach.el (org-attach-commit):
(org-attach-archive-delete):
(org-attach-annex-auto-get):
* lisp/org-bibtex.el (org-bibtex-inherit-tags):
* lisp/org-clock.el (org-clock-into-drawer):
* lisp/org-colview.el (org-columns-summary-types):
* lisp/org-faces.el (org-block):
* lisp/org-src.el (org-src-block-faces):
* lisp/org-table.el (org-table-copy-increment):
(org-table-formula-create-columns):
(org-table-convert-region-max-lines):
* lisp/org-timer.el (org-timer-default-timer):
* lisp/org.el (org-export-backends):
(org-show-context-detail):
(org-cycle-hook):
(org-occur-case-fold-search):
(org-preview-latex-default-process):
(org-preview-latex-process-alist):
(org-preview-latex-image-directory):
(org-latex-default-packages-alist):
(org-sparse-tree-default-date-type):
(org-structure-template-alist):
(org-effort-durations):
(org-agenda-ignore-properties): Change :version from "25.2" to "26.1".
(customize-package-emacs-version-alist): Fix associations between Org
and Emacs releases.
* lisp/ox-ascii.el (org-ascii-list-margin):
* lisp/ox-beamer.el (org-beamer-subtitle-format):
* lisp/ox-html.el (org-html-format-headline-function):
(org-html-format-inlinetask-function):
(org-html-viewport):
* lisp/ox-latex.el (org-latex-caption-above):
(org-latex-prefer-user-labels):
(org-latex-subtitle-format):
(org-latex-hyperref-template):
(org-latex-footnote-defined-format):
(org-latex-images-centered):
(org-latex-default-figure-position):
(org-latex-text-markup-alist):
(org-latex-format-inlinetask-function):
(org-latex-custom-lang-environments):
(org-latex-compiler-file-string):
(org-latex-compiler):
(org-latex-bib-compiler):
(org-latex-logfiles-extensions):
(org-latex-known-warnings):
* lisp/ox-md.el (org-md-footnotes-section):
(org-md-footnote-format):
* lisp/ox-odt.el (org-odt-format-headline-function):
(org-odt-format-inlinetask-function):
(org-odt-inline-image-rules):
* lisp/ox-texinfo.el (org-texinfo-format-headline-function):
* lisp/ox.el (org-export-with-creator):
(org-export-with-title):
(org-export-with-broken-links):
(org-export-copy-to-kill-ring): Change :version from "25.2" to "26.1".
It looks like the goal is to sync Org 9.0.* (maint) with the Emacs
master branch (what will be version 26.1):
https://lists.gnu.org/archive/html/emacs-orgmode/2017-01/msg00558.html
2017-01-26 00:02:03 -05:00
Nicolas Goaziou
37bffbb347
Merge branch 'maint'
2017-01-21 11:59:12 +01:00
Nicolas Goaziou
53bc58c433
Rename `org-latex--make-preamble' into `org-latex-make-preamble'
...
* contrib/lisp/ox-koma-letter.el (org-koma-letter-template):
* lisp/org.el (org-create-formula-image):
* lisp/ox-beamer.el (org-beamer-template):
* lisp/ox-latex.el (org-latex-make-preamble): Renamed from
`org-latex--make-preamble'. Add an optional argument. Autoload
function.
(org-latex-template): Use new function name.
2017-01-21 11:31:25 +01:00
Nicolas Goaziou
4353deb0de
Merge branch 'maint'
2017-01-18 23:36:54 +01:00
Nicolas Goaziou
35e90ced24
ox-latex: Fix insertion of line breaks at invalid locations
...
* lisp/ox-latex.el (org-latex-clean-invalid-line-breaks): New function.
Reported-by: Takeshi Teshima <takeshi.diadochos@gmail.com>
<http://permalink.gmane.org/gmane.emacs.orgmode/111313 >
2017-01-18 23:30:01 +01:00
Nicolas Goaziou
1faf5757e9
Merge branch 'maint'
2017-01-11 12:37:14 +01:00
Nicolas Goaziou
34f86ce6a4
ox-latex: Silence byte-compiler
...
* lisp/ox-latex.el (org-latex-format-headline-default-function):
(org-latex-format-inlinetask-default-function): Silence byte-compiler.
2017-01-11 12:36:49 +01:00
Nicolas Goaziou
9f96208eec
Merge branch 'maint'
2017-01-11 12:20:52 +01:00
Nicolas Goaziou
3fa7903d76
ox-latex: Properly escape special characters in tags
...
* lisp/ox-latex.el (org-latex-format-headline-default-function):
(org-latex-format-inlinetask-default-function): Use
`org-latex--protect-text' instead of `org-latex-plain-text' to format
tags.
2017-01-11 12:20:05 +01:00
Kyle Meyer
0d3683f2cd
Merge branch 'maint'
2017-01-05 20:23:58 -05:00
Kyle Meyer
713f785017
Update copyright years
2017-01-05 20:19:37 -05:00
Nicolas Goaziou
5ffb373a2c
Implement `org-export-insert-image-links'
...
* lisp/ox.el (org-export-insert-image-links):
* lisp/ox-odt.el (org-odt--translate-image-links):
* lisp/ox-latex.el (org-latex-image-link-filter):
* lisp/ox-html.el (org-html-image-link-filter): New functions.
2016-12-17 11:36:49 +01:00
Nicolas Goaziou
3322f5edfc
Merge branch 'maint'
2016-12-13 14:15:33 +01:00
Nicolas Goaziou
64a2f6e22d
ox-latex: Fix typo
...
* lisp/ox-latex.el (org-latex--text-markup): Fix typo.
2016-12-13 14:15:07 +01:00
Nicolas Goaziou
a76b000da7
Merge branch 'maint'
2016-12-13 13:48:51 +01:00
Nicolas Goaziou
8fec3d5f03
ox-latex: Fix links with special characters
...
* lisp/ox-latex.el (org-latex--protect-text): Properly escape special
characters.
(org-latex--text-markup): Adapt to change above.
(org-latex-inline-src-block): Follow `org-latex-text-markup-alist'
specifications.
(org-latex-link): Escape forbidden characters in URL.
2016-12-13 13:46:38 +01:00
Nicolas Goaziou
7274786f6e
Merge branch 'maint'
2016-12-13 09:13:37 +01:00
Nicolas Goaziou
e491ab31c6
ox-latex: Fix nested sub/super-scripts
...
* lisp/ox-latex.el (org-latex--wrap-latex-math-block): Prevent merging
multiple sub/super-scripts at the same level. Nested scripts are
allowed.
2016-12-13 09:13:22 +01:00
Kyle Meyer
53d11dc51d
Merge branch 'maint'
2016-12-07 22:36:28 -05:00
Paul Eggert
b7cb9b54d5
Backport commit eeecac7 from Emacs
...
Fix minor quoting problems in doc strings
eeecac7ab9d1f8c3a29cffe4586e5fd2414dd671
Paul Eggert
Wed Dec 7 11:31:16 2016 -0800
2016-12-07 22:33:31 -05:00
Nicolas Goaziou
47ca6c129c
Merge branch 'maint'
2016-12-07 00:47:45 +01:00
Nicolas Goaziou
c797cc0f87
ox-latex: Do not generate nested sub/superscripts
...
* lisp/ox-latex.el (org-latex--wrap-latex-math-block): Do not wrap
consecutive sub or super-scripts within the same block.
Reported-by: Scott Otterson <scotto@sharpleaf.org>
<http://permalink.gmane.org/gmane.emacs.orgmode/110589 >
2016-12-07 00:45:52 +01:00
Nicolas Goaziou
8165eb9156
Merge branch 'maint'
2016-11-27 12:09:23 +01:00
Nicolas Goaziou
289363d510
Fix LaTeX preview
...
* lisp/org.el (org-compile-file): Introduce new %O placeholder.
(org-preview-latex-process-alist): Use it.
* lisp/ox-latex.el (org-latex-pdf-process):
* lisp/ox-man.el (org-man-pdf-process):
* lisp/ox-texinfo.el (org-texinfo-info-process): Document it.
Reported-by: Scott Otterson <scotto@sharpleaf.org>
<http://permalink.gmane.org/gmane.emacs.orgmode/110464 >
2016-11-27 12:07:11 +01:00
Nicolas Goaziou
8bf0d32aed
Merge branch 'maint'
2016-11-25 12:23:24 +01:00
Nicolas Goaziou
2e35a59763
ox-latex: Fix error when compiling in a different than source file
...
* lisp/ox-latex.el (org-latex-compile): List logfiles with their full
name instead of relative ones.
Reported-by: Éric Würbel <eric.wurbel@univ-amu.fr>
<http://permalink.gmane.org/gmane.emacs.orgmode/110402 >
2016-11-25 12:22:54 +01:00
Nicolas Goaziou
52387021dc
Merge branch 'maint'
2016-11-09 18:43:36 +01:00
Nicolas Goaziou
1f87273fd2
ox-latex: Fix temporary files removal when compiling files
...
* lisp/ox-latex.el (org-latex-compile): Assume temporary files are
located in the output directory.
This partly reverts 120f8c0
.
2016-11-09 18:42:29 +01:00
Nicolas Goaziou
c9e0a52a99
Merge branch 'maint'
2016-11-08 18:25:08 +01:00
Nicolas Goaziou
ae68bc516d
ox-latex: Fix texi2dvi command
...
* lisp/ox-latex.el (org-latex-pdf-process): Handle cases where tex file
is not located in default-directory.
2016-11-08 18:24:13 +01:00
Nicolas Goaziou
09e25bd16d
Merge branch 'maint'
2016-11-08 13:41:30 +01:00
Nicolas Goaziou
a135f746a1
ox-latex: Fix latexmk command
...
* lisp/ox-latex.el (org-latex-pdf-process): Fix latexmk command.
2016-11-08 13:40:36 +01:00
Nicolas Goaziou
398ec42685
Merge branch 'maint'
2016-11-08 11:48:35 +01:00
Nicolas Goaziou
120f8c09f4
Fix file compilation in a different directory than current one
...
* lisp/org.el (org-compile-file): Do not set default directory.
(org-preview-latex-process-alist): Update since base-name may no be
located in current directory.
* lisp/ox-latex.el (org-latex-compile): Remove auxiliary files in
default directory instead of ".tex" file directory.
Reported-by: Alex Fenton <alex.fenton@pressure.to>
<http://permalink.gmane.org/gmane.emacs.orgmode/110078 >
2016-11-08 11:44:28 +01:00
Nicolas Goaziou
2c0d8774b4
ox-latex: Allow horizontal rules in table math mode
...
* lisp/ox-latex.el (org-latex--math-table): Handle horizontal rules.
* doc/org.texi (Tables in @LaTeX{} export): Update documentation.
2016-11-06 23:31:54 +01:00
Nicolas Goaziou
975260cb25
ox-latex: Add column groups back in table math mode
...
* lisp/ox-latex.el (org-latex--math-table): Preserve column groups.
Reported-by: Stefanos Carlström <stefanos.carlstrom@fysik.lth.se>
<http://permalink.gmane.org/gmane.emacs.orgmode/110086 >
2016-11-06 23:25:06 +01:00
Nicolas Goaziou
e5ca11cab8
ox-latex: Fix matrices export
...
* lisp/ox-latex.el (org-latex--wrap-latex-matrices): Do not add spurious
blank lines within a matrices block.
Reported-by: thomas.stenhaug@gmail.com
<http://permalink.gmane.org/gmane.emacs.orgmode/109854 >
2016-10-24 23:33:28 +02:00
Nicolas Goaziou
adaf808605
ox-latex: Fix source block label with listings package
...
* lisp/ox-latex.el (org-latex-src-block): Properly translate label into
Org internal reference when using "listings" package.
2016-10-18 23:10:56 +02:00
Nicolas Goaziou
d907041911
Change :version in defcustoms from "25.1" to "25.2"
...
* lisp/ob-exp.el (org-babel-exp-inline-code-template):
* lisp/ob-lisp.el (org-babel-lisp-eval-fn):
* lisp/org-agenda.el (org-agenda-view-columns-initially):
* lisp/org-attach.el (org-attach-commit):
(org-attach-archive-delete):
(org-attach-annex-auto-get):
* lisp/org-bibtex.el (org-bibtex-inherit-tags):
* lisp/org-clock.el (org-clock-into-drawer):
* lisp/org-colview.el (org-columns-summary-types):
* lisp/org-table.el (org-table-copy-increment):
(org-table-formula-create-columns):
(org-table-convert-region-max-lines):
* lisp/org-timer.el (org-timer-default-timer):
* lisp/org.el (org-export-backends):
(org-cycle-hook):
(org-occur-case-fold-search):
(org-preview-latex-image-directory):
(org-latex-default-packages-alist):
(org-sparse-tree-default-date-type):
(org-structure-template-alist):
(org-effort-durations):
(org-agenda-ignore-properties): Change :version from "25.1" to "25.2".
(customize-package-emacs-version-alist): Fix associations between Org
and Emacs releases.
* lisp/ox-ascii.el (org-ascii-list-margin):
* lisp/ox-beamer.el (org-beamer-subtitle-format):
* lisp/ox-html.el (org-html-format-headline-function):
(org-html-format-inlinetask-function):
(org-html-viewport):
* lisp/ox-latex.el (org-latex-caption-above):
(org-latex-prefer-user-labels):
(org-latex-subtitle-format):
(org-latex-hyperref-template):
(org-latex-images-centered):
(org-latex-text-markup-alist):
(org-latex-format-inlinetask-function):
(org-latex-custom-lang-environments):
(org-latex-compiler-file-string):
(org-latex-compiler):
(org-latex-bib-compiler):
(org-latex-logfiles-extensions):
(org-latex-known-warnings):
* lisp/ox-md.el (org-md-footnotes-section):
(org-md-footnote-format):
* lisp/ox-odt.el (org-odt-format-headline-function):
(org-odt-format-inlinetask-function):
(org-odt-inline-image-rules):
* lisp/ox-texinfo.el (org-texinfo-format-headline-function):
* lisp/ox.el (org-export-with-creator):
(org-export-with-title):
(org-export-with-broken-links):
(org-export-copy-to-kill-ring): Change :version from "25.1" to "25.2".
Neither Org 8.3 nor Org 9.0 were released with Emacs 25.1.
2016-10-05 11:18:39 +02:00
Nicolas Goaziou
45c775a4d2
ox-latex: Set default figure position to htbp
...
* lisp/ox-latex.el (org-latex-default-figure-position): Change default
value. Add missing keywords.
Reported-by: Jean Louis <guix@rcdrun.com>
<http://permalink.gmane.org/gmane.emacs.orgmode/109468 >
2016-10-02 09:54:17 +02:00
Aaron Ecay
79dab621f9
ox-latex: tiny refactoring.
...
* lisp/ox-latex.el (org-latex--insert-compiler): Refactor.
2016-09-26 16:56:19 +01:00
Nicolas Goaziou
cefe157d42
ox-latex: Fix typo
...
* lisp/ox-latex.el (org-latex--delayed-footnotes-definitions): Fix typo
in docstring.
2016-08-28 12:14:39 +02:00
Nicolas Goaziou
de24694f05
Turn org-mode into Org or Org mode
...
Use Org or Org mode instead of org-mode or Org-mode according to
"Documentation standards".
2016-08-23 22:13:56 +02:00
Nicolas Goaziou
908b3b05cd
ox-latex: Fix repeated footnotes in tables
...
* lisp/ox-latex.el (org-latex--delayed-footnotes-definitions): Fix
referencing multiple occurrences of the same footnote in a table.
Reported-by: Kaushal Modi <kaushal.modi@gmail.com>
<http://permalink.gmane.org/gmane.emacs.orgmode/108789 >
2016-08-22 12:07:34 +02:00
Nicolas Goaziou
096f4287a6
ox-latex: Allow toggling centering of images
...
* lisp/ox-latex.el (latex): Introduce new
property :latex-images-centered.
(org-latex-images-centered): New variable.
(org-latex--inline-image): Handle new attribute :center, in addition to
variable above.
* doc/org.texi (Images in @LaTeX{} export): Document new behaviour
(Publishing options): Reference :latex-images-centered.
2016-07-25 23:31:25 +02:00
Nicolas Goaziou
c4da20a2f3
Silence byte-compiler
...
* lisp/ob-core.el (org-babel-process-params): Silence byte-compiler.
* lisp/ob-groovy.el (org-babel-groovy-evaluate):
* lisp/ob-haskell.el (org-babel-execute:haskell):
* lisp/ob-io.el (org-babel-io-evaluate):
* lisp/ob-octave.el (org-babel-octave-evaluate-external-process):
(org-babel-octave-evaluate-session):
* lisp/ob-perl.el (org-babel-perl-evaluate):
* lisp/ob-python.el (org-babel-python-evaluate-external-process):
(org-babel-python-evaluate-session):
* lisp/ob-ruby.el (org-babel-ruby-pp-wrapper-method):
(org-babel-ruby-evaluate):
* lisp/ob-scala.el:
* lisp/ob-tangle.el:
(org-babel-tangle-collect-blocks):
* lisp/org-agenda.el (org-agenda-get-category-icon):
(org-agenda-todo-yesterday):
* lisp/org-bbdb.el (org-bbdb-anniv-extract-date):
(org-bbdb-make-anniv-hash):
(org-bbdb-anniversaries-future):
* lisp/org-bibtex.el (org-bibtex-fleshout):
(org-bibtex-read):
(org-bibtex-write):
* lisp/org-capture.el (org-capture-set-target-location):
(org-capture-get-indirect-buffer):
(org-mks):
* lisp/org-clock.el (org-clock--oldest-date):
(org-clock-resolve):
(org-clock-sum):
(org-clock-special-range):
(org-clocktable-steps):
* lisp/org-ctags.el (org-ctags-create-tags):
* lisp/org-element.el (org-element--interpret-affiliated-keywords):
(org-element--cache-shift-positions):
(org-element--cache-sync):
(org-element--cache-submit-request):
* lisp/org-habit.el (org-habit-parse-todo):
* lisp/org-inlinetask.el (org-inlinetask-hide-tasks):
* lisp/org-lint.el (org-lint--generate-reports):
* lisp/org-mouse.el (org-mouse-get-context):
* lisp/org-plot.el (org-plot/gnuplot-to-grid-data):
(org-plot/gnuplot):
* lisp/ox-ascii.el (org-ascii--current-text-width):
(org-ascii--current-justification):
(org-ascii--build-caption):
(org-ascii--checkbox):
(org-ascii-item):
* lisp/ox-html.el (org-html-footnote-section):
* lisp/ox-latex.el (org-latex--make-option-string):
* lisp/ox-odt.el (org-odt-toc):
(org-odt-add-automatic-style):
(org-odt-format-label):
(org-odt-link--inline-image):
(org-odt--render-image/formula):
(org-odt--enumerable-image-p):
(org-odt--enumerable-latex-image-p):
(org-odt--enumerable-formula-p):
(org-odt-do-format-code):
(org-odt-table-cell): Silence byte-compiler.
2016-07-25 17:10:53 +02:00