emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: pw <pw@riseup.net>
To: emacs-orgmode@gnu.org
Subject: configuration's issues for publishing
Date: Tue, 17 Sep 2013 19:19:55 +0200	[thread overview]
Message-ID: <52388F3B.2010007@riseup.net> (raw)

Hi,

I'm a new user of org-mode and I'm a little bit confused with 
configuration's issues.

My purpose is to use org-mode in order to publish a website (and spare 
me the time needed by html editing). I'm not use to org-mode but I do 
know emacs.

At the bottom of this email is my configuration for org-publishing. I 
putted it into my .emacs. I don't know if it is the right thing to do ?

These settings works (html files are created) but the propriety values 
are not working. For example, I do not want section numbering 
(:section-numbers nil) or toc (:with-toc nil) but I have both in my html 
result.

I'm wonder why these settings are not working. Moreover, I do not know 
where is the right place to put this kind of information : into .emacs 
or inside .org files with #+... format.

My last question is the following : where are the documentation string 
for publishing options ? On the manual it's written : "See the 
documentation string of these options for details." 
(http://orgmode.org/manual/Publishing-options.html#Publishing-options) 
but I cannot find it. I'm looking for a reference with the description 
of every possible string.

Thanks for taking the time to read my newbie questions.

pw


-----------
;; org-mode publishing
(setq org-publish-project-alist
       '(("org-notes"
      :base-directory "~/site/org/"
      :base-extension "org"
      :publishing-directory "~/site/public_html/"
      :recursive t
      :publishing-function org-html-publish-to-html
      :section-numbers nil
      :with-toc nil
      :author nil
      :creator-info nil
      :export-creator-info nil
      :export-author-info nil
      )
     ("org-static"
      :base-directory "~/site/org/"
      :base-extension "css\\|js\\|png\\|jpg\\|pdf\\|mp3\\|ogg"
      :publishing-directory "~/site/public_html/"
      :recursive t
      :publishing-function org-publish-attachment
      )
     ("site" :components ("org-notes" "org-static"))))
--------------

                 reply	other threads:[~2013-09-17 17:20 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=52388F3B.2010007@riseup.net \
    --to=pw@riseup.net \
    --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).