From: Rainer M Krug <r.m.krug@gmail.com>
To: emacs-orgmode <emacs-orgmode@gnu.org>
Subject: LaTeX source block problems
Date: Fri, 25 Jan 2013 14:42:51 +0100 [thread overview]
Message-ID: <51028BDB.1010306@gmail.com> (raw)
-----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-----
next reply other threads:[~2013-01-25 13:43 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-01-25 13:42 Rainer M Krug [this message]
2013-01-25 17:35 ` LaTeX source block problems 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
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=51028BDB.1010306@gmail.com \
--to=r.m.krug@gmail.com \
--cc=Rainer@krugs.de \
--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).