emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Nick Dokos <nicholas.dokos@hp.com>
To: Uwe Brauer <oub@mat.ucm.es>
Cc: emacs-orgmode@gnu.org
Subject: Re: print org files with org-preview-latex-fragment dvpng
Date: Tue, 11 Sep 2012 12:17:00 -0400	[thread overview]
Message-ID: <7749.1347380220@alphaville> (raw)
In-Reply-To: Message from Uwe Brauer <oub@mat.ucm.es> of "Tue, 11 Sep 2012 18:06:56 +0200." <87txv4ilwf.fsf@gilgamesch.quim.ucm.es>

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

      reply	other threads:[~2012-09-11 16:17 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=7749.1347380220@alphaville \
    --to=nicholas.dokos@hp.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=oub@mat.ucm.es \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).