emacs-orgmode
[Top][All Lists]

## Re: [O] print org files with org-preview-latex-fragment dvpng

 From: Nick Dokos Subject: Re: [O] print org files with org-preview-latex-fragment dvpng Date: Tue, 11 Sep 2012 12:17:00 -0400

Uwe Brauer <address@hidden> wrote:

> >> On Tue, 11 Sep 2012 11:52:45 -0400, Nick Dokos <address@hidden> wrote:
>
>    > Uwe Brauer <address@hidden> 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



reply via email to