Browse Source

org-latex: org-export-latex-format-image now accepts optional shortname

* lisp/org-latex.el (org-export-latex-format-image): updated number of
  arguments to allow for an optional short-name
Eric Schulte 14 years ago
parent
commit
6d4cf4db84
1 changed files with 1 additions and 1 deletions
  1. 1 1
      lisp/org-latex.el

+ 1 - 1
lisp/org-latex.el

@@ -1894,7 +1894,7 @@ The conversion is made depending of STRING-BEFORE and STRING-AFTER."
 	     (t (insert "\\texttt{" desc "}")))))))
 	     (t (insert "\\texttt{" desc "}")))))))
 
 
 
 
-(defun org-export-latex-format-image (path caption label attr)
+(defun org-export-latex-format-image (path caption label attr &optional shortn)
   "Format the image element, depending on user settings."
   "Format the image element, depending on user settings."
   (let (ind floatp wrapp multicolumnp placement figenv)
   (let (ind floatp wrapp multicolumnp placement figenv)
     (setq floatp (or caption label))
     (setq floatp (or caption label))