emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Johan Ekh <ekh.johan@gmail.com>
To: emacs-orgmode@gnu.org
Subject: Re: pstricks in org-mode?
Date: Fri, 2 Oct 2009 16:53:54 +0200	[thread overview]
Message-ID: <417457b50910020753l6e64e753ra45be481dbb9f0c@mail.gmail.com> (raw)
In-Reply-To: <4ac5fff0.47c2f10a.46ff.166d@mx.google.com>


[-- Attachment #1.1: Type: text/plain, Size: 2409 bytes --]

But is pdflatex also used for rendering the previews in emacs? The most
convenient thing for me would
be to see the preview while I am developing the picture and then as a last
step export it to my latex document.

Do you this is possible somehow?

Best regards,
Johan

On Fri, Oct 2, 2009 at 3:28 PM, Darlan Cavalcante Moreira <darcamo@gmail.com
> wrote:

>
> Remember that because pstricks use postscript commands it is necessary to
> take
> the long route in latex (latex->DVI->PS->PDF) instead of just using
> pdflatex. Therefore, if you put some pstricks code in the org-file and
> export to
> PDF to see the result then this is the reason, since the exporter seems to
> use
> pdflatex to process the generated .tex file (I'm assuming this, since I
> don't
> see any DVI or PS file created by the exporter).
>
> Best,
> Darlan
>
> At Fri, 2 Oct 2009 14:52:33 +0200,
> Johan Ekh wrote:
> >
> > [1  <multipart/alternative (7bit)>]
> > [1.1  <text/plain; ISO-8859-1 (7bit)>]
> > It seems that I can use any latex package that I want except for the
> > pstricks ones.
> > No picture is produced. No error message either. I load the same packages
> > and use the same
> > pstricks code that I have in a regular latex document (on the same
> computer)
> > and
> > it works in that document.
> >
> > Any ideas?
> >
> > //Johan
> >
> > On Thu, Oct 1, 2009 at 10:46 PM, Johan Ekh <ekh.johan@gmail.com> wrote:
> >
> > > Thanks, I'll try it!
> > > /Johan
> > >
> > >
> > > On Thu, Oct 1, 2009 at 1:55 PM, Carsten Dominik <
> carsten.dominik@gmail.com
> > > > wrote:
> > >
> > >>
> > >> On Oct 1, 2009, at 12:30 AM, Johan Ekh wrote:
> > >>
> > >>  Hi all,
> > >>> I'm using org-mode to write LaTeX snippets that I later (usually)
> > >>> transfer into a separate latex document.
> > >>> Can I also write and preview pstricks code in org-mode?
> > >>>
> > >>> Also, can I do "usepackage(xxx)" someway do use LaTeX extensions?
> > >>>
> > >>
> > >> #+LaTeX_HEADER: \usepackage{pstricks}
> > >>
> > >> or something along those lines.
> > >>
> > >> HTH
> > >>
> > >> - Carsten
> > >>
> > >>
> > >
> > [1.2  <text/html; ISO-8859-1 (quoted-printable)>]
> >
> > [2  <text/plain; us-ascii (7bit)>]
> > _______________________________________________
> > Emacs-orgmode mailing list
> > Remember: use `Reply All' to send replies to the list.
> > Emacs-orgmode@gnu.org
> > http://lists.gnu.org/mailman/listinfo/emacs-orgmode
>

[-- Attachment #1.2: Type: text/html, Size: 3524 bytes --]

[-- Attachment #2: Type: text/plain, Size: 204 bytes --]

_______________________________________________
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode

  reply	other threads:[~2009-10-02 14:54 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-09-30 22:30 pstricks in org-mode? Johan Ekh
2009-10-01 11:55 ` Carsten Dominik
     [not found]   ` <417457b50910011346o533328e6obcc5769295b214c6@mail.gmail.com>
2009-10-02 12:52     ` Johan Ekh
2009-10-02 13:28       ` Darlan Cavalcante Moreira
2009-10-02 14:53         ` Johan Ekh [this message]
2009-10-02 18:34           ` Darlan Cavalcante Moreira
     [not found]             ` <417457b50910030128s64c8c6ecu2bcb55b1a5f27bf1@mail.gmail.com>
2009-10-05 17:29               ` Darlan Cavalcante Moreira
2009-10-05 17:57                 ` Carsten Dominik
2009-10-08  8:32                   ` Johan Ekh
2009-10-08 10:25                     ` Carsten Dominik
2009-10-08 14:55                       ` Johan Ekh
2009-10-20 20:02                         ` Johan Ekh

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=417457b50910020753l6e64e753ra45be481dbb9f0c@mail.gmail.com \
    --to=ekh.johan@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    /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).