From mboxrd@z Thu Jan 1 00:00:00 1970 From: Achim Gratz Subject: Re: Why does export of images to LaTeX requires either org-special-blocks or org-jsinfo? Date: Wed, 21 Nov 2012 16:16:06 +0100 Message-ID: <87pq37c7gp.fsf@Rainer.invalid> References: <87ip8zbb5o.fsf@somewhere.org> <20121121134034.GA31515@kuru.dyndns-at-home.com> <87y5hvt42j.fsf@somewhere.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([208.118.235.92]:57656) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TbC2O-0008O0-6F for emacs-orgmode@gnu.org; Wed, 21 Nov 2012 10:16:34 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TbC2H-0003eq-WB for emacs-orgmode@gnu.org; Wed, 21 Nov 2012 10:16:28 -0500 Received: from plane.gmane.org ([80.91.229.3]:52285) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TbC2H-0003ed-PF for emacs-orgmode@gnu.org; Wed, 21 Nov 2012 10:16:21 -0500 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1TbC2Q-0001Mt-J0 for emacs-orgmode@gnu.org; Wed, 21 Nov 2012 16:16:30 +0100 Received: from pd9eb38fa.dip.t-dialin.net ([217.235.56.250]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 21 Nov 2012 16:16:30 +0100 Received: from Stromeko by pd9eb38fa.dip.t-dialin.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 21 Nov 2012 16:16:30 +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@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org Francesco Pizzolante writes: > That's exactly what I do and it works perfectly until you do this (trying to > load as few modules as possible): > > ╭──── > │ (setq org-modules nil) > ╰──── Then don't do that… > 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): > > ╭──── > │ (require 'org-special-blocks) > │ ;;(require 'org-jsinfo) > ╰──── > > 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? Both of these will load org-html, either directly or indirectly. With that the default definition for org-export-html-inline-images comes into existence, which despite the name is also used for other exporters. Regards, Achim. -- +<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+ Wavetables for the Terratec KOMPLEXER: http://Synth.Stromeko.net/Downloads.html#KomplexerWaves