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
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)>]
> [1.2 <text/html; ISO-8859-1 (quoted-printable)>]> 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
> >>
> >>
> >
>
> [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