* exporting unnumbered section headings?
@ 2008-11-24 2:41 Bill White
2008-11-24 4:02 ` Sebastian Rose
` (2 more replies)
0 siblings, 3 replies; 6+ messages in thread
From: Bill White @ 2008-11-24 2:41 UTC (permalink / raw)
To: emacs-orgmode
Hi all -
Inspired by other posts on the list recently, I'm setting up an
org-based website. So far I've been able to change everything to suit
me except numbered html section headings - I'd prefer unnumbered
headings, if possible. For example, this:
WRI stuff
Emacs stuff
instead of this:
1 WRI stuff
2 Emacs stuff
Or at the very least, heading numbers like "1.", "2." would be
preferable. Is there a way to change this?
Versions:
- GNU Emacs 23.0.60.1 (i686-pc-linux-gnu, GTK+ Version 2.12.9) of
2008-11-22 on billw-desktop
- Org-mode version 6.13
Initialization:
(require 'org-publish)
(setq org-publish-project-alist
'(
("org-notes"
:base-directory "~/org/"
:base-extension "org"
:publishing-directory "/var/www/org/"
:recursive t
:publishing-function org-publish-org-to-html
:headline-levels 4 ; Just the default for this project.
:auto-preamble t
)
("org-static"
:base-directory "~/org/"
:base-extension "css\\|js\\|png\\|jpg\\|gif\\|pdf\\|mp3\\|ogg\\|swf"
:publishing-directory "~/public_html/"
:recursive t
:publishing-function org-publish-attachment)
("org" :components ("org-notes" "org-static"))
))
Thanks -
bw
--
Bill White . billw@wolfram.com . http://members.wolfram.com/billw
"No ma'am, we're musicians."
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: exporting unnumbered section headings?
2008-11-24 2:41 exporting unnumbered section headings? Bill White
@ 2008-11-24 4:02 ` Sebastian Rose
2008-11-24 13:50 ` Bill White
2008-11-24 5:29 ` Matthew Lundin
2008-11-24 15:53 ` Bill White
2 siblings, 1 reply; 6+ messages in thread
From: Sebastian Rose @ 2008-11-24 4:02 UTC (permalink / raw)
To: Bill White; +Cc: emacs-orgmode
Globally:
M-x org-export-with-section-numbers
Per Project:
(require 'org-publish)
(setq org-publish-project-alist
'(
("org-notes"
:section-numbers nil
...
See
http://orgmode.org/manual/Publishing-options.html#Publishing-options
Bill White <billw@wolfram.com> writes:
> Hi all -
>
> Inspired by other posts on the list recently, I'm setting up an
> org-based website. So far I've been able to change everything to suit
> me except numbered html section headings - I'd prefer unnumbered
> headings, if possible. For example, this:
>
> WRI stuff
> Emacs stuff
>
> instead of this:
>
> 1 WRI stuff
> 2 Emacs stuff
>
> Or at the very least, heading numbers like "1.", "2." would be
> preferable. Is there a way to change this?
>
> Versions:
>
> - GNU Emacs 23.0.60.1 (i686-pc-linux-gnu, GTK+ Version 2.12.9) of
> 2008-11-22 on billw-desktop
> - Org-mode version 6.13
>
> Initialization:
>
> (require 'org-publish)
> (setq org-publish-project-alist
> '(
> ("org-notes"
> :base-directory "~/org/"
> :base-extension "org"
> :publishing-directory "/var/www/org/"
> :recursive t
> :publishing-function org-publish-org-to-html
> :headline-levels 4 ; Just the default for this project.
> :auto-preamble t
> )
> ("org-static"
> :base-directory "~/org/"
> :base-extension "css\\|js\\|png\\|jpg\\|gif\\|pdf\\|mp3\\|ogg\\|swf"
> :publishing-directory "~/public_html/"
> :recursive t
> :publishing-function org-publish-attachment)
> ("org" :components ("org-notes" "org-static"))
> ))
>
> Thanks -
>
> bw
--
Sebastian Rose, EMMA STIL - mediendesign, Niemeyerstr.6, 30449 Hannover
Tel.: +49 (0)511 - 36 58 472
Fax: +49 (0)1805 - 233633 - 11044
mobil: +49 (0)173 - 83 93 417
Email: s.rose emma-stil de, sebastian_rose gmx de
Http: www.emma-stil.de
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: exporting unnumbered section headings?
2008-11-24 2:41 exporting unnumbered section headings? Bill White
2008-11-24 4:02 ` Sebastian Rose
@ 2008-11-24 5:29 ` Matthew Lundin
2008-11-24 15:53 ` Bill White
2 siblings, 0 replies; 6+ messages in thread
From: Matthew Lundin @ 2008-11-24 5:29 UTC (permalink / raw)
To: Bill White; +Cc: emacs-orgmode
Hi Bill
Bill White <billw@wolfram.com> writes:
> Hi all -
>
> Inspired by other posts on the list recently, I'm setting up an
> org-based website. So far I've been able to change everything to suit
> me except numbered html section headings - I'd prefer unnumbered
> headings, if possible. For example, this:
>
> WRI stuff
> Emacs stuff
>
> instead of this:
>
> 1 WRI stuff
> 2 Emacs stuff
>
Add this to your "org-notes" project config:
:section-numbers nil
Matt
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: exporting unnumbered section headings?
2008-11-24 2:41 exporting unnumbered section headings? Bill White
2008-11-24 4:02 ` Sebastian Rose
2008-11-24 5:29 ` Matthew Lundin
@ 2008-11-24 15:53 ` Bill White
2008-11-24 23:02 ` Sebastian Rose
2 siblings, 1 reply; 6+ messages in thread
From: Bill White @ 2008-11-24 15:53 UTC (permalink / raw)
To: emacs-orgmode
On Sun Nov 23 2008 at 20:41, Bill White <billw@wolfram.com> wrote:
> Hi all -
>
> Inspired by other posts on the list recently, I'm setting up an
> org-based website.
Here's what I have so far: http://members.wolfram.com/billw (currently
using the worg css definitions).
I'm looking for one of those css-switcher thingies to switch the page's
css file on the fly and redisplay with the new styles. Does anyone
have such a thing?
Cheers -
bw
--
Bill White . billw@wolfram.com . http://members.wolfram.com/billw
"No ma'am, we're musicians."
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Re: exporting unnumbered section headings?
2008-11-24 15:53 ` Bill White
@ 2008-11-24 23:02 ` Sebastian Rose
0 siblings, 0 replies; 6+ messages in thread
From: Sebastian Rose @ 2008-11-24 23:02 UTC (permalink / raw)
To: emacs-orgmode
Hi Bill,
choosing a stylesheet `on the fly' would only work using
JavaScript. It's quite simple:
http://www.dynamicdrive.com/dynamicindex9/stylesheetswitcher.htm
Bill White <billw@wolfram.com> writes:
> On Sun Nov 23 2008 at 20:41, Bill White <billw@wolfram.com> wrote:
>
>> Hi all -
>>
>> Inspired by other posts on the list recently, I'm setting up an
>> org-based website.
>
> Here's what I have so far: http://members.wolfram.com/billw (currently
> using the worg css definitions).
>
> I'm looking for one of those css-switcher thingies to switch the page's
> css file on the fly and redisplay with the new styles. Does anyone
> have such a thing?
>
> Cheers -
>
> bw
--
Sebastian Rose, EMMA STIL - mediendesign, Niemeyerstr.6, 30449 Hannover
Tel.: +49 (0)511 - 36 58 472
Fax: +49 (0)1805 - 233633 - 11044
mobil: +49 (0)173 - 83 93 417
Http: www.emma-stil.de
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2008-11-24 22:59 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-11-24 2:41 exporting unnumbered section headings? Bill White
2008-11-24 4:02 ` Sebastian Rose
2008-11-24 13:50 ` Bill White
2008-11-24 5:29 ` Matthew Lundin
2008-11-24 15:53 ` Bill White
2008-11-24 23:02 ` Sebastian Rose
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.