From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Marek Subject: Virtualenv and HTML5 Help Date: Wed, 7 May 2014 14:17:19 -0600 Message-ID: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="_17815bf1-6c3b-494d-89da-7ef22519d625_" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:55766) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Wi8HQ-0005w3-1R for emacs-orgmode@gnu.org; Wed, 07 May 2014 16:17:35 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Wi8HI-0003r2-GH for emacs-orgmode@gnu.org; Wed, 07 May 2014 16:17:27 -0400 Received: from blu0-omc1-s20.blu0.hotmail.com ([65.55.116.31]:64626) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Wi8HI-0003qi-D1 for emacs-orgmode@gnu.org; Wed, 07 May 2014 16:17:20 -0400 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@gnu.org" --_17815bf1-6c3b-494d-89da-7ef22519d625_ Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hi=2C I just have a few questions that I couldn't figure out from the FAQ's= and manual. Virtualenv: I'm trying to execute a python script within a SRC block using a virtual en= vironment instead of my system's python implementation. I have a number of = libraries in this virtual environment that I don't have on my system's pyth= on (e.g. Matplotlib). Now=2C I set [ python-shell-virtualenv-path ] to my v= irtualenv's root directory. When I run [ M-x run-python ] the shell runs fr= om my virtual environment. That is=2C I can import Matplotlib with no probl= ems. But when I import Matplotlib within a SRC block I get an import error.= =20 How can I have it so the SRC block uses the python in my virtual environmen= t and not my system's python? Is there any way I can set the path to a given virtual environment automati= cally when I load an org file? HTML5 Export: I'm trying to export my org-files in 'html5'=2C as opposed to the default '= xhtml-strict'. The manual says to set [ org-html-html5-fancy ] to t. I trie= d searching for [ org-html-html5-fancy ] in [ M-x org-customize ] but I cou= ldn't find it. I tried adding [ (setq org-html-html5-fancy t) ] to my init.= el=2C but nothing happened. I'm not at all proficient in emacs-lisp so my s= yntax may be wrong. The manual also says I can set [ html5-fancy ] in an op= tions line. I'm not really sure how to do this. I tried [ #+OPTIONS html5-f= ancy: t ] but it didn't do anything. How can I export to 'html5' instead of 'xhtml-strict' in org version 7.9.3f= and Emacs version 24.3.1? Is there any way I can view and customize the back-end that parses the org = file to produce the html? I appreciate any help you can offer. - M = --_17815bf1-6c3b-494d-89da-7ef22519d625_ Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
Hi=2C I just have a few questions that I couldn't figure out from the = FAQ's and manual.

Virtualenv:

I'm tr= ying to execute a python script within a SRC block using a virtual environm= ent instead of my system's python implementation. I have a number of librar= ies in this virtual environment that I don't have on my system's python (e.= g. Matplotlib). Now=2C I set [ =3Bpython-shell-virtualenv-path =3B] to my virtualenv's = root directory. When I run [ M-x run-python ] the shell runs from my virtua= l environment. That is=2C I can import Matplotlib with no problems. But whe= n I import Matplotlib within a SRC block I get an import error. =3B

  1. How can I have it so the SRC block uses the python in my v= irtual environment and not my system's python?
  2. Is there any way= I can set the path to a given virtual environment automatically when I loa= d an org file?

<= /div>
HTML5 Export:

I'm trying to export my org-files in 'html5'=2C as opposed to the def= ault 'xhtml-strict'. The manual says to set [ org-html-html5-fancy ] to t. = I tried searching for [ org-html-html5-fancy ] in [ M-x org-customize ] but= I couldn't find it. I tried adding [ (setq org-html-html5-fancy t) ] to my= init.el=2C but nothing happened. I'm not at all proficient in emacs-lisp s= o my syntax may be wrong. The manual also says I can set [ html5-fancy ] in= an options line. I'm not really sure how to do this. I tried [ #+OPTIONS h= tml5-fancy: t ] but it didn't do anything.

  1. How can I ex= port to 'html5' instead of 'xhtml-strict' in org version 7.9.3f and Emacs v= ersion 24.3.1?
  2. Is there any way I can view and customize the ba= ck-end that parses the org file to produce the html?

=
I appreciate any help you can offer.

- = M
= --_17815bf1-6c3b-494d-89da-7ef22519d625_--