From mboxrd@z Thu Jan 1 00:00:00 1970 From: Rainer M Krug Subject: LaTeX source block problems Date: Fri, 25 Jan 2013 14:42:51 +0100 Message-ID: <51028BDB.1010306@gmail.com> Reply-To: Rainer@krugs.de Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([208.118.235.92]:55223) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TyjYe-0002BF-6Z for emacs-orgmode@gnu.org; Fri, 25 Jan 2013 08:43:10 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TyjYW-000374-F9 for emacs-orgmode@gnu.org; Fri, 25 Jan 2013 08:43:04 -0500 Received: from mail-bk0-f47.google.com ([209.85.214.47]:48422) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TyjYW-00036l-5j for emacs-orgmode@gnu.org; Fri, 25 Jan 2013 08:42:56 -0500 Received: by mail-bk0-f47.google.com with SMTP id jc3so248305bkc.20 for ; Fri, 25 Jan 2013 05:42:54 -0800 (PST) List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org 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-----