From mboxrd@z Thu Jan 1 00:00:00 1970 From: David St-Hilaire Subject: Re: elisp code location? Date: Mon, 19 Jan 2009 14:02:23 -0500 Message-ID: <4974CE3F.3080704@iro.umontreal.ca> References: <4974A6AB.2080905@iro.umontreal.ca> <4974C075.8000800@iro.umontreal.ca> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0880773660==" Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LOzKu-0008Ar-Fi for emacs-orgmode@gnu.org; Mon, 19 Jan 2009 13:59:00 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LOzKo-00089U-Hn for emacs-orgmode@gnu.org; Mon, 19 Jan 2009 13:58:59 -0500 Received: from [199.232.76.173] (port=47210 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LOzKn-000894-7f for emacs-orgmode@gnu.org; Mon, 19 Jan 2009 13:58:53 -0500 Received: from mercure.iro.umontreal.ca ([132.204.24.67]:53524) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LOzKm-000474-MC for emacs-orgmode@gnu.org; Mon, 19 Jan 2009 13:58:52 -0500 In-Reply-To: List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Matthew Lundin Cc: emacs-orgmode@gnu.org This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --===============0880773660== Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig4CE5711B1DF2711964886739" This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig4CE5711B1DF2711964886739 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Matthew Lundin wrote: > Hi David, >=20 > David St-Hilaire writes: >=20 >> No reason, I was just trying to understand how to publishing system >> works. I couldn't make it work so far. I now have setup my project >> alist in my .emacs file (and reloaded my .emacs) and when I try to >> publish my project, nothing happens... >=20 > When precisely does nothing happen? After you call org-publish? >=20 Yes exactly. I use the binding C-c C-e P (or X then "plan" ret) and nothi= ng happens :( But nothing happens, I meant that no html file are produced in= the specified directory (/home/dave/projet/maitrise/memoire/html). >> Here is what I added to my .emacs: >> >> (setq org-publish-project-alist >> '(("plan" >> :base-directory "/home/dave/projet/maitrise/memoire" >> :publishing-directory "/home/dave/projet/maitrise/memoire/htm= l" >> :section-numbers nil >> :table-of-contents t >> :publishing-function org-publish-org-to-html))) >> >> A strange thing I noticed is that when I use M-x and type org-publish >> then press tab, I only get: >> >> Possible completions are: >> org-publish org-publish-all >> org-publish-current-file org-publish-current-project >> org-publish-initialize-files-alist >> org-publish-project >=20 > You've set org-publish-to-html in your org-publish-project-alist, so > that means that it will be the publishing function for the project > "plan". So when you call org-publish with one of the functions above, i= t > should publish the project "plan" to html in the publishing-directory > you've specified. >=20 > You might want to add the line >=20 > :base-extension "org" >=20 > to your publishing alist, though I'm not sure whether that's absolutely= > necessary. I tried to add it, but it doesn't change anything :( Am I following the s= tandard procedure for doing this? Thank you very much for your help! David --------------enig4CE5711B1DF2711964886739 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAkl0zkgACgkQOHf2GjF+6ssJVACfY3IESgr3MM710PQFePkKc1Sk zIIAnRIFv3UPefXxYEaugVvZG9lDbJOH =0rND -----END PGP SIGNATURE----- --------------enig4CE5711B1DF2711964886739-- --===============0880773660== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode --===============0880773660==--