emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[O] LaTeX source block problems


From: Rainer M Krug
Subject: [O] LaTeX source block problems
Date: Fri, 25 Jan 2013 14:42:51 +0100
User-agent: Mozilla/5.0 (X11; Linux i686; rv:18.0) Gecko/20121214 Thunderbird/18.0

-----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:      address@hidden

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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]