From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nick Dokos Subject: Re: print org files with org-preview-latex-fragment dvpng Date: Tue, 11 Sep 2012 12:17:00 -0400 Message-ID: <7749.1347380220@alphaville> References: <87y5kgioxn.fsf@gilgamesch.quim.ucm.es> <7560.1347378765@alphaville> <87txv4ilwf.fsf@gilgamesch.quim.ucm.es> Reply-To: nicholas.dokos@hp.com Return-path: Received: from eggs.gnu.org ([208.118.235.92]:49471) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TBT9F-0008OK-Km for emacs-orgmode@gnu.org; Tue, 11 Sep 2012 12:17:19 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TBT95-0008JI-EB for emacs-orgmode@gnu.org; Tue, 11 Sep 2012 12:17:13 -0400 Received: from g1t0028.austin.hp.com ([15.216.28.35]:43715) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TBT95-0008J0-7d for emacs-orgmode@gnu.org; Tue, 11 Sep 2012 12:17:03 -0400 In-Reply-To: Message from Uwe Brauer of "Tue, 11 Sep 2012 18:06:56 +0200." <87txv4ilwf.fsf@gilgamesch.quim.ucm.es> 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: Uwe Brauer Cc: emacs-orgmode@gnu.org Uwe Brauer wrote: > >> On Tue, 11 Sep 2012 11:52:45 -0400, Nick Dokos wrote: > > > Uwe Brauer wrote: > > > Opening the file in emacs and selecting "Print buffer" from the > > file menu did not work for me for some reason, but opening the > > file with the ``display'' program (from imagemagick), right-clicking > > and selecting Print from the menu worked fine. It's probably the case > > that any graphics program that can read a PNG (e.g the Gimp) will > > be able to print it with no problems. > Hello > > Thanks for your answer, but I am very much confused (you > are right I am on Linux, Kubuntu 10.04). > > I have a file say test.org > with some equation, say > $$\int fdx=$$ > > now I run org-preview-latex-fragment and a png is generated in > the subdirectory ltxpng and somehow "embedded/displayed" in > the org buffer. > > When I use a ps-print command, the file is printed but with > $$\int fdx=$$ > and not with the corresponding png. > > You say you use display, but which file do you open? One of > the pngs in ltxpng? Because I cannot open test.org > Yes, sorry - I misunderstood. You can only open the PNG file with ``display'' and print it. I don't know how to print the org file with embedded PNG (that's probably an overlay but I don't remember the details of the implementation), unless you export it to e.g. PDF and print that. Nick