emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* LaTeX source block problems
@ 2013-01-25 13:42 Rainer M Krug
  2013-01-25 17:35 ` Thomas S. Dye
  0 siblings, 1 reply; 5+ messages in thread
From: Rainer M Krug @ 2013-01-25 13:42 UTC (permalink / raw)
  To: emacs-orgmode

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi

I want ti include a gantt chart into my org document by using pgfgantt.

I use the following:

#+LATEX_HEADER: \usepackage{pgfgantt}

* The gantt chart I
#+BEGIN_src LaTeX
  \begin {ganttchart} [hgrid=true, vgrid=true]{36}
    \gantttitlelist {1,...,3}{12} \\
    \gantttitlelist {1,...,12}{1} \\

    \ganttgroup {Modelling (France)}{1}{36} \\
  \end {ganttchart}
#+END_src

* The gantt chart II
#+BEGIN_LaTeX
  \begin {ganttchart} [hgrid=true, vgrid=true]{36}
    \gantttitlelist {1,...,3}{12} \\
    \gantttitlelist {1,...,12}{1} \\

    \ganttgroup {Modelling (France)}{1}{36} \\
  \end {ganttchart}
#+END_LaTeX

Gantt I  produces
 - syntax highlighting
 - not exported to pdf as gantchart
 - editing in indirect buffer (C-')
 - no preview of the LaTeX fragment via C-c C-x C-l have dvipng installed).
 - C-c c results in "org-babel-execute-src-block: No org-babel-execute function for LaTeX!"

Gantt II produces
 - no syntax highlighting
 - exported as chart to pdf
 - no editing in indirect buffer
 - no preview of the LaTeX fragment
 - C-c c results in "user-error: C-c C-c can do nothing useful at this location"

Can I have a block in which I have the following:

 - syntax highlighting
 - editing in indirect buffer
 - preview of the result
 - export to pdf as gannt chart?

Thanks,

Rainer

- -- 
Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation Biology, UCT), Dipl. Phys.
(Germany)

Centre of Excellence for Invasion Biology
Stellenbosch University
South Africa

Tel :       +33 - (0)9 53 10 27 44
Cell:       +33 - (0)6 85 62 59 98
Fax :       +33 - (0)9 58 10 27 44

Fax (D):    +49 - (0)3 21 21 25 22 44

email:      Rainer@krugs.de

Skype:      RMkrug
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQEcBAEBAgAGBQJRAovbAAoJENvXNx4PUvmC46sIAIWYl/qSBDU9QICrUUcoaETo
SbX2i3TPjGsgHujYkyCj8/ZgPFFCriwGMqx2EpaWYEi1ZUN+zw1GeHLDbpDHl1MS
JisIxxfrrjTh6wxfCgyydt08KB2FwKkpfDjs6HDU+xW4iyU+TIbORMXCC6+8WEH2
P2UasHDaQlHFA/W+dGVsHcbOp4zSufOLXVCQxlkXeuC/rosAfbRpf6SSr0ZmkyBQ
6bUdqa6nIWsATGuQWXKk9iMZX+ehdbShwmOvNt1AAd9NYlHLIgLV7ZAGuzKwplGw
IUQlCXCbpca1LcFesLM9lr3RGslzqGtEnj7NF3csyOrId8Sg3a6tncvuHY/vyMY=
=sbWV
-----END PGP SIGNATURE-----

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2013-01-28 14:41 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-01-25 13:42 LaTeX source block problems Rainer M Krug
2013-01-25 17:35 ` Thomas S. Dye
2013-01-28  8:49   ` Rainer M Krug
     [not found]     ` <CA+M2ft_KF_XqgaVti-Acgd5QULxQC19YQTBcUtpxs+qHp3MzTw@mail.gmail.com>
2013-01-28 13:30       ` Rainer M Krug
2013-01-28 14:13         ` SOLVED: " Rainer M Krug

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).