emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Nick Dokos <nicholas.dokos@hp.com>
To: Jeff Horn <jrhorn424@gmail.com>
Cc: nicholas.dokos@hp.com, Org-mode ml <emacs-orgmode@gnu.org>
Subject: Re: Re: Need help publishing subdirectories
Date: Tue, 12 Oct 2010 11:38:19 -0400	[thread overview]
Message-ID: <22513.1286897899@gamaville.dokosmarshall.org> (raw)
In-Reply-To: Message from Jeff Horn <jrhorn424@gmail.com> of "Tue\, 12 Oct 2010 11\:29\:01 EDT." <AANLkTimJ98rGgL6gJQn5rLtA4Y=RgiqJGMRLh6eOXeei@mail.gmail.com>

Jeff Horn <jrhorn424@gmail.com> wrote:

> The relevant portion of my configuration is below.
> 
> (setq org-publish-project-alist nil)
> (setq org-publish-project-alist
>       '(("ftr-static"
>          :base-directory "~/org/ftr"
>          :base-extension "css\\|js\\|png\\|jpg\\|gif\\|pdf\\|mp3\\|ogg\\|swf"
>          :publishing-directory "~/Sites/FTR/"
>          :recursive t
>          :publishing-function (org-publish-attachment)
>          :table-of-contents nil
>          :todo-keywords nil
>          :section-numbers nil
>          :recursive t
>          )
>         ("ftr-jeff"
>          :base-directory "~/org/ftr/jeff"
>          :base-extension "org"
>          :publishing-directory "~/Sites/FTR/jeff"
>          :recursive t
>          :publishing-function (org-publish-org-to-html org-publish-org-to-org)
>          :htmlized-source
>          :table-of-contents nil
>          :todo-keywords nil
>          :section-numbers nil
>          :recursive t
>          )
>         ("ftr"
>          :components ( "ftr-static"
>                        "ftr-jeff"
>                       )
>          )))
> 
> The table of contents and section number options are being ignored
> (possibly others). Any ideas?

Isn't that what *should* happen if the :table-of-contents and :section-numbers
options are set to nil?

Nick

> 
> Jeff
> 
> On Tue, Oct 12, 2010 at 1:29 AM, Jeff Horn <jrhorn424@gmail.com> wrote:
> > I've managed to push the extra source files out with the org-static
> > configuration found at worg.[1]
> >
> > But now, for some reason, I've lost all my options (no TOC, no section
> > numbers, custom stylesheet, etc). Anyone care to look at my config
> > off-list and offer advice?
> >
> > I'm beginning to think it's something silly like an unescaped
> > quotation mark, but I've looked at every simple solution I can think
> > of.
> >
> > Jeff
> >
> >
> >    [1] http://orgmode.org/worg/org-tutorials/org-publish-html-tutorial.php
> >
> > On Mon, Oct 11, 2010 at 11:59 PM, Jeff Horn <jrhorn424@gmail.com> wrote:
> >> I'm trying to set up an org project to publish my personal website. I
> >> like to use friendly urls, like the one below.
> >>
> >> http://www.example.tld/jeff/teaching/2010/fall/econ101/index.html
> >>
> >> My publishing set up is a bit of a mess, with a project handling the
> >> root, the "jeff" subdirectory, and one handling the "teaching"
> >> sub-sub-directory. I have ":recursive t" set on the teaching
> >> directory, since I don't want to define a new project for every course
> >> I teach. So far, publishing works as intended, except that the
> >> ".../econ101/img/" subdirectory contents aren't copied to the
> >> publishing directory. Switching on ":base-extension "any"" doesn't fix
> >> this (in fact, it prevents the project from being published at all).
> >> The relevant portion of my project:
> >>
> >> ("teaching"
> >>         :base-directory "~/org/ftr/jeff/teaching/"
> >>         :publishing-directory "~/Sites/FTR/jeff/teaching"
> >>         :publishing-function (org-publish-org-to-html
> >> org-publish-org-to-org org-publish-org-to-pdf org-publish-attachment)
> >>         :recursive t
> >>         :style-include-default nil
> >>         ;; :base-extension "any"
> >>         )
> >>
> >> In the ".../econ101/syllabus.org" file, an inline image calls
> >> [[./img/example.jpg]]. The "img" directory exists in my source
> >> directory. The directory is copied to my publishing directory, but not
> >> the files within the directory. I noticed also that emacs tried to
> >> open an "example.jpg" buffer, which I thought was weird.
> >>
> >> Thanks for taking the time to read and respond.
> >>
> >> Best regards,
> >> Jeff
> >>
> >>
> >>
> >> --
> >> Jeffrey Horn
> >> Graduate Lecturer and PhD Student in Economics
> >> George Mason University
> >>
> >> (704) 271-4797
> >> jhorn@gmu.edu
> >> jrhorn424@gmail.com
> >>
> >
> >
> >
> > --
> > Jeffrey Horn
> > Graduate Lecturer and PhD Student in Economics
> > George Mason University
> >
> > (704) 271-4797
> > jhorn@gmu.edu
> > jrhorn424@gmail.com
> >
> 
> 
> 
> -- 
> Jeffrey Horn
> Graduate Lecturer and PhD Student in Economics
> George Mason University
> 
> (704) 271-4797
> jhorn@gmu.edu
> jrhorn424@gmail.com
> 
> _______________________________________________
> Emacs-orgmode mailing list
> Please use `Reply All' to send replies to the list.
> Emacs-orgmode@gnu.org
> http://lists.gnu.org/mailman/listinfo/emacs-orgmode
> 

  reply	other threads:[~2010-10-12 15:38 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-10-12  3:59 Need help publishing subdirectories Jeff Horn
2010-10-12  5:29 ` Jeff Horn
2010-10-12 15:29   ` Jeff Horn
2010-10-12 15:38     ` Nick Dokos [this message]
2010-10-12 16:41       ` Jeff Horn
2010-10-12 17:24         ` Nick Dokos
2010-10-12 17:42           ` Jeff Horn
2010-10-12 18:10             ` Nick Dokos
2010-10-13  4:24               ` Jeff Horn
2010-10-13 15:23               ` Jeff Horn
2010-10-13 18:02                 ` Jeff Horn
2010-10-14  6:12                   ` Nick Dokos
2010-10-14 11:53                     ` Jeff Horn
2010-10-14  7:30                   ` Carsten Dominik
2010-10-12 18:13             ` Nick Dokos

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=22513.1286897899@gamaville.dokosmarshall.org \
    --to=nicholas.dokos@hp.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=jrhorn424@gmail.com \
    /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).