From: David St-Hilaire <sthilaid@iro.umontreal.ca> To: Matthew Lundin <mdl@imapmail.org> Cc: emacs-orgmode@gnu.org Subject: Re: elisp code location? Date: Mon, 19 Jan 2009 14:02:23 -0500 [thread overview] Message-ID: <4974CE3F.3080704@iro.umontreal.ca> (raw) In-Reply-To: <m27i4rxijy.fsf@fastmail.fm> [-- Attachment #1.1: Type: text/plain, Size: 1992 bytes --] Matthew Lundin wrote: > Hi David, > > David St-Hilaire <sthilaid@iro.umontreal.ca> writes: > >> 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... > > When precisely does nothing happen? After you call org-publish? > Yes exactly. I use the binding C-c C-e P (or X then "plan" ret) and nothing 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/html" >> :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 > > 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, it > should publish the project "plan" to html in the publishing-directory > you've specified. > > You might want to add the line > > :base-extension "org" > > 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 standard procedure for doing this? Thank you very much for your help! David [-- Attachment #1.2: OpenPGP digital signature --] [-- Type: application/pgp-signature, Size: 260 bytes --] [-- Attachment #2: Type: text/plain, Size: 204 bytes --] _______________________________________________ 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
prev parent reply other threads:[~2009-01-19 18:59 UTC|newest] Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top 2009-01-19 16:13 David St-Hilaire 2009-01-19 16:49 ` Manish 2009-01-19 18:03 ` David St-Hilaire 2009-01-19 18:08 ` Scot Becker 2009-01-19 18:20 ` Manish 2009-01-19 18:22 ` Matthew Lundin 2009-01-19 19:02 ` David St-Hilaire [this message]
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=4974CE3F.3080704@iro.umontreal.ca \ --to=sthilaid@iro.umontreal.ca \ --cc=emacs-orgmode@gnu.org \ --cc=mdl@imapmail.org \ --subject='Re: elisp code location?' \ /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
Code repositories for project(s) associated with this 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).