* print org files with org-preview-latex-fragment dvpng
@ 2012-09-11 15:01 Uwe Brauer
2012-09-11 15:52 ` Nick Dokos
0 siblings, 1 reply; 4+ messages in thread
From: Uwe Brauer @ 2012-09-11 15:01 UTC (permalink / raw)
To: emacs-orgmode
Hello
I use org-preview-latex-fragment quite a bit.
Is there a possibility to print a file with the generated
png such as?
Of course I could export the file to html and then print the
resulting html file as a pdf file.
But I thought there might be a quicker way?
Thanks
Uwe Brauer
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: print org files with org-preview-latex-fragment dvpng
2012-09-11 15:01 print org files with org-preview-latex-fragment dvpng Uwe Brauer
@ 2012-09-11 15:52 ` Nick Dokos
2012-09-11 16:06 ` Uwe Brauer
0 siblings, 1 reply; 4+ messages in thread
From: Nick Dokos @ 2012-09-11 15:52 UTC (permalink / raw)
To: Uwe Brauer; +Cc: emacs-orgmode
Uwe Brauer <oub@mat.ucm.es> wrote:
> Hello
>
> I use org-preview-latex-fragment quite a bit.
>
> Is there a possibility to print a file with the generated
> png such as?
> Of course I could export the file to html and then print the
> resulting html file as a pdf file.
>
> But I thought there might be a quicker way?
>
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.
Nick
PS. I assume you are on linux, but given the User-Agent header in your
mail, I feel pretty safe in assuming that :-)
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: print org files with org-preview-latex-fragment dvpng
2012-09-11 15:52 ` Nick Dokos
@ 2012-09-11 16:06 ` Uwe Brauer
2012-09-11 16:17 ` Nick Dokos
0 siblings, 1 reply; 4+ messages in thread
From: Uwe Brauer @ 2012-09-11 16:06 UTC (permalink / raw)
To: emacs-orgmode
>> On Tue, 11 Sep 2012 11:52:45 -0400, Nick Dokos <nicholas.dokos@hp.com> wrote:
> Uwe Brauer <oub@mat.ucm.es> 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
Uwe
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: print org files with org-preview-latex-fragment dvpng
2012-09-11 16:06 ` Uwe Brauer
@ 2012-09-11 16:17 ` Nick Dokos
0 siblings, 0 replies; 4+ messages in thread
From: Nick Dokos @ 2012-09-11 16:17 UTC (permalink / raw)
To: Uwe Brauer; +Cc: emacs-orgmode
Uwe Brauer <oub@mat.ucm.es> wrote:
> >> On Tue, 11 Sep 2012 11:52:45 -0400, Nick Dokos <nicholas.dokos@hp.com> wrote:
>
> > Uwe Brauer <oub@mat.ucm.es> 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
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2012-09-11 16:17 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-09-11 15:01 print org files with org-preview-latex-fragment dvpng Uwe Brauer
2012-09-11 15:52 ` Nick Dokos
2012-09-11 16:06 ` Uwe Brauer
2012-09-11 16:17 ` Nick Dokos
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).