LaTeX export: Do not mistake table.el borders for strike-through emphasis.

This commit is contained in:
Carsten Dominik 2010-03-24 18:27:33 +01:00
parent b236220c9f
commit 1d4ee49c91
3 changed files with 9 additions and 2 deletions

View File

@ -1,5 +1,8 @@
2010-03-24 Carsten Dominik <carsten.dominik@gmail.com>
* org-latex.el (org-export-latex-fontify): Do not mistake table.el
borders for strike-through emphasis.
* org-freemind.el (org-freemind-write-mm-buffer): Simplify the
handling of odd levels.

View File

@ -554,7 +554,8 @@ When nil, Org-mode's own HTML generator is used when possible (i.e. if
the table does not use row- or column-spanning). This has the
advantage, that the automatic HTML conversions for math symbols and
sub/superscripts can be applied. Org-mode's HTML generator is also
much faster."
much faster. The LaTeX exporter always use the native exporter for
table.el tables."
:group 'org-export-tables
:type 'boolean)

View File

@ -1736,7 +1736,10 @@ The conversion is made depending of STRING-BEFORE and STRING-AFTER."
(save-match-data
(and (org-at-table-p)
(string-match
"[|\n]" (buffer-substring beg end))))))
"[|\n]" (buffer-substring beg end)))))
(and (equal (match-string 3) "+")
(save-match-data
(string-match "\\`-+\\'" (match-string 4)))))
(setq s (match-string 4))
(setq rpl (concat (match-string 1)
(org-export-latex-emph-format (cadr emph)