From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Francesco Pizzolante" Subject: Re: Why does export of images to LaTeX requires either org-special-blocks or org-jsinfo? Date: Wed, 21 Nov 2012 15:37:24 +0100 Message-ID: <87y5hvt42j.fsf@somewhere.org> References: <87ip8zbb5o.fsf@somewhere.org> <20121121134034.GA31515@kuru.dyndns-at-home.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: In-Reply-To: <20121121134034.GA31515-nvtJ+N3H+Ig9gPbrd+1kzlEPDqVayaqo@public.gmane.org> (Suvayu Ali's message of "Wed, 21 Nov 2012 14:40:34 +0100") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org-mXXj517/zsQ@public.gmane.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org-mXXj517/zsQ@public.gmane.org To: Suvayu Ali Cc: emacs-orgmode-mXXj517/zsQ@public.gmane.org Hi Suvayu, > Those modules are optional. How do you write your links in the org > file? To be included in LaTeX export with includegraphics, the > description part of the link should be empty. e.g. > > [[/path/to/image]] > > This creates an inline image in the final pdf. That's exactly what I do and it works perfectly until you do this (trying to load as few modules as possible): =E2=95=AD=E2=94=80=E2=94=80=E2=94=80=E2=94=80 =E2=94=82 (setq org-modules nil) =E2=95=B0=E2=94=80=E2=94=80=E2=94=80=E2=94=80 Then, you'll see that images will be exported as links instead of images (\href instead of \includegraphics). What I don't understand is that you fix the issue by loading either org-special-blocks or org-jsinfo (uncommenting one of these 2 lines): =E2=95=AD=E2=94=80=E2=94=80=E2=94=80=E2=94=80 =E2=94=82 (require 'org-special-blocks) =E2=94=82 ;;(require 'org-jsinfo) =E2=95=B0=E2=94=80=E2=94=80=E2=94=80=E2=94=80 Thus, it seems like these packages are not optional (or, at least, of the 2) to get the correct export of inline images to LaTeX. Any idea why this behavior? Regards, Francesco