comparison lisp/org/org-export-latex.el @ 100605:0d3c634e0bd9

2008-12-20 Carsten Dominik <carsten.dominik@gmail.com> * org.el (org-get-refile-targets, org-refile-get-location): Use expanded file name to improve comparison. 2008-12-20 Carsten Dominik <carsten.dominik@gmail.com> * org.el (org-scan-tags): Rescan for tags, to get the correct upcase/downcase stuff. This slows things down for now, but it works. (org-mode): Make sure the tag-faces regexp is initialized. * org-export-latex.el (org-export-latex-links): Fix bug with undefined label. * org-table.el (org-table-get-specials): Set `org-table-current-last-data-line'. (org-table-current-last-data-line): New variable. (org-table-insert-column, org-table-delete-column) (org-table-move-column, org-table-fix-formulas): Call `org-table-fix-formulas' a second time to fix the $LR references. (org-table-get-specials): Add the $LR references to the tables. (org-table-get-formula): Do not offer last-row names as LHS of formulas. * org.el (org-store-link): Capture link description from `org-id-store-link'. * org-exp.el (org-export-html-format-image): Add the / to the end of the <img> tag. (org-export-format-source-code): Surround example by empty lines, to make sure it will not be inside a paragraph. * org.el (org-ido-switchb): New function. 2008-12-20 Carsten Dominik <carsten.dominik@gmail.com> * org-agenda.el (org-agenda-show): New prefix argument FULL-ENTRY. * org.el (org-sort-entries-or-items): Add a COMPARE-FUNC argument.
author Carsten Dominik <dominik@science.uva.nl>
date Sat, 20 Dec 2008 14:32:06 +0000
parents ba23e35d3eaf
children fb40d63bb761
comparison
equal deleted inserted replaced
100604:bd9f359bf30e 100605:0d3c634e0bd9
2 ;; 2 ;;
3 ;; Copyright (C) 2007, 2008 Free Software Foundation, Inc. 3 ;; Copyright (C) 2007, 2008 Free Software Foundation, Inc.
4 ;; 4 ;;
5 ;; Emacs Lisp Archive Entry 5 ;; Emacs Lisp Archive Entry
6 ;; Filename: org-export-latex.el 6 ;; Filename: org-export-latex.el
7 ;; Version: 6.15d 7 ;; Version: 6.16
8 ;; Author: Bastien Guerry <bzg AT altern DOT org> 8 ;; Author: Bastien Guerry <bzg AT altern DOT org>
9 ;; Maintainer: Bastien Guerry <bzg AT altern DOT org> 9 ;; Maintainer: Bastien Guerry <bzg AT altern DOT org>
10 ;; Keywords: org, wp, tex 10 ;; Keywords: org, wp, tex
11 ;; Description: Converts an org-mode buffer into LaTeX 11 ;; Description: Converts an org-mode buffer into LaTeX
12 ;; URL: http://www.cognition.ens.fr/~guerry/u/org-export-latex.el 12 ;; URL: http://www.cognition.ens.fr/~guerry/u/org-export-latex.el
1205 (format "\\centerline{\\includegraphics[%s]{%s}}\n" 1205 (format "\\centerline{\\includegraphics[%s]{%s}}\n"
1206 (or attr org-export-latex-image-default-option) 1206 (or attr org-export-latex-image-default-option)
1207 (expand-file-name raw-path)) 1207 (expand-file-name raw-path))
1208 (if floatp 1208 (if floatp
1209 (format "\\caption{%s%s}\n" 1209 (format "\\caption{%s%s}\n"
1210 (if label (concat "\\label{" label "}")) 1210 (if label (concat "\\label{" label "}") "")
1211 (or caption ""))) 1211 (or caption "")))
1212 (if floatp "\\end{figure}\n")))) 1212 (if floatp "\\end{figure}\n"))))
1213 (radiop (insert (format "\\hyperref[%s]{%s}" 1213 (radiop (insert (format "\\hyperref[%s]{%s}"
1214 (org-solidify-link-text raw-path) desc))) 1214 (org-solidify-link-text raw-path) desc)))
1215 ((not type) 1215 ((not type)