emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Carsten Dominik <carsten.dominik@gmail.com>
To: nicholas.dokos@hp.com
Cc: mailing-list-org-mode <emacs-orgmode@gnu.org>
Subject: Re: LaTeX export of images
Date: Wed, 30 Sep 2009 09:30:04 +0200	[thread overview]
Message-ID: <4B63EE9B-3199-424D-8D4D-B3C0308DC87A@gmail.com> (raw)
In-Reply-To: <8809.1254252762@alphaville.usa.hp.com>


On Sep 29, 2009, at 9:32 PM, Nick Dokos wrote:
>
>
> diff --git a/lisp/org-latex.el b/lisp/org-latex.el
> index 4058891..248d653 100644
> --- a/lisp/org-latex.el
> +++ b/lisp/org-latex.el
> @@ -1553,8 +1585,8 @@ The conversion is made depending of STRING- 
> BEFORE and STRING-AFTER."
>        (cond ((and imgp (plist-get org-export-latex-options- 
> plist :inline-images))
> 	      (insert
> 	       (concat
> -		(if floatp "\\begin{figure}[htb]\n")
> -		(format "\\centerline{\\includegraphics[%s]{%s}}\n"
> +		(if floatp "\\begin{figure}[htb]\n\\centering\n")
> +		(format "\\includegraphics[%s]{%s}\n"
> 			attr
> 			(if (file-name-absolute-p raw-path)
> 			    (expand-file-name raw-path)
> @@ -1563,7 +1595,7 @@ The conversion is made depending of STRING- 
> BEFORE and STRING-AFTER."
> 		    (format "\\caption{%s%s}\n"
> 			    (if label (concat "\\label{" label "}") "")
> 			    (or caption "")))
> -		(if floatp "\\end{figure}\n"))))
> +		(if floatp "\\end{figure}"))))
> 	     (coderefp
> 	      (insert (format
> 		       (org-export-get-coderef-format path desc)
>

I have applied this patch

  reply	other threads:[~2009-09-30  7:30 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-09-22 13:39 LaTeX export of images Francesco Pizzolante
     [not found] ` <87pr9jf68i.fsf-djc/iPCCuDYQheJpep6IedvLeJWuRmrY@public.gmane.org>
2009-09-23 14:04   ` Sébastien Vauban
2009-09-23 15:30     ` Jeff Kowalczyk
2009-09-23 21:09       ` Sébastien Vauban
2009-09-29  9:30         ` Carsten Dominik
2009-10-02  6:55         ` Carsten Dominik
2009-10-02 13:04           ` Darlan Cavalcante Moreira
2009-10-02 15:23             ` Nick Dokos
2009-10-03  7:05               ` Carsten Dominik
2009-10-05 14:19                 ` Darlan Cavalcante Moreira
     [not found]                 ` <B2499F80-4D9D-4F76-9432-ACF04E38C8EE-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2009-10-13 10:03                   ` Francesco Pizzolante
2009-10-20 10:18                     ` Carsten Dominik
2009-09-29  9:28 ` Carsten Dominik
2009-09-29 19:32   ` Nick Dokos
2009-09-30  7:30     ` Carsten Dominik [this message]
     [not found]     ` <8809.1254252762-/Z0n3E7Cx4uRQBexplnFlPegYHeGw8Jk@public.gmane.org>
2009-09-30  8:53       ` Francesco Pizzolante

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4B63EE9B-3199-424D-8D4D-B3C0308DC87A@gmail.com \
    --to=carsten.dominik@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=nicholas.dokos@hp.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).