emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* #+INCLUDE broken (or changed) in org-mode 7.9? Help!
@ 2012-08-27  5:25 Bill Day
  2012-08-27  6:14 ` Nick Dokos
  0 siblings, 1 reply; 4+ messages in thread
From: Bill Day @ 2012-08-27  5:25 UTC (permalink / raw)
  To: emacs-orgmode

[-- Attachment #1: Type: text/plain, Size: 1179 bytes --]

The following code used to include the sitemap and a search box in my
published index.html page:

index.org

#+SETUPFILE: ~/elisp/org-templates/level-0.org
#+TITLE: Wiki
#+HTML: <div class="container"><div class="span-4">
#+INCLUDE sitemap-generated.org
#+HTML: </div><div class="span-16">
#+INCLUDE search.org
. . .

default.el

(require 'org-publish)
(setq org-publish-project-alist
      '(

 ("wiki-notes"
  :base-directory "~/git/org-mode/wiki"
  :base-extension: "org"
  :publishing-directory "/ssh:[my site]:/usr/local/share/wiki/"
  :recursive t
  :publishing-function org-publish-org-to-html
  :headline-levels 4
  :auto-preamble t
  :table-of-contents nil
  :auto-sitemap t
  :sitemap-filename "sitemap-generated.org"
  :section-numbers nil
  )

("wiki-static"
 :base-directory "~/git/org-mode/wiki/"
 :base-extension "css\\|js\\|png\\|jpg\\|gif\\|pdf\\|mp3\\|ogg\\|swf"
 :publishing-directory "/ssh:[my site]/usr/local/share/wiki/"
 :recursive t
 :publishing-function org-publish-attachment
 )

("wiki" :components ("wiki-notes" "wiki-static"))


))


Now they do not appear anymore.  Any suggestions, please?

Thanks,

Bill Day

-- 
Bill Day
williamson.day@gmail.com

[-- Attachment #2: Type: text/html, Size: 1782 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: #+INCLUDE broken (or changed) in org-mode 7.9? Help!
  2012-08-27  5:25 #+INCLUDE broken (or changed) in org-mode 7.9? Help! Bill Day
@ 2012-08-27  6:14 ` Nick Dokos
  2012-08-27  7:12   ` Nicolas Goaziou
  0 siblings, 1 reply; 4+ messages in thread
From: Nick Dokos @ 2012-08-27  6:14 UTC (permalink / raw)
  To: Bill Day; +Cc: emacs-orgmode

Bill Day <williamson.day@gmail.com> wrote:


> The following code used to include the sitemap and a search box in my
> published index.html page:
> 
> index.org
> 
> #+SETUPFILE: ~/elisp/org-templates/level-0.org
> #+TITLE: Wiki
> #+HTML: <div class="container"><div class="span-4">
> #+INCLUDE sitemap-generated.org
> #+HTML: </div><div class="span-16">
> #+INCLUDE search.org
> ...
> Now they do not appear anymore.  Any suggestions, please?

Missing colons probably:

#+INCLUDE: sitemap-generated.org

And there seems to be a bug in the easy template code in org.el:
line 11390 says

    ("I" "#+INCLUDE %file ?"

and it seems to be missing the colon.

Nick

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: #+INCLUDE broken (or changed) in org-mode 7.9? Help!
  2012-08-27  6:14 ` Nick Dokos
@ 2012-08-27  7:12   ` Nicolas Goaziou
  2012-08-27 12:51     ` Bill Day
  0 siblings, 1 reply; 4+ messages in thread
From: Nicolas Goaziou @ 2012-08-27  7:12 UTC (permalink / raw)
  To: nicholas.dokos; +Cc: Bill Day, emacs-orgmode

Hello,

Nick Dokos <nicholas.dokos@hp.com> writes:

> And there seems to be a bug in the easy template code in org.el:
> line 11390 says
>
>     ("I" "#+INCLUDE %file ?"
>
> and it seems to be missing the colon.

Fixed. Thank you.


Regards,

-- 
Nicolas Goaziou

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: #+INCLUDE broken (or changed) in org-mode 7.9? Help!
  2012-08-27  7:12   ` Nicolas Goaziou
@ 2012-08-27 12:51     ` Bill Day
  0 siblings, 0 replies; 4+ messages in thread
From: Bill Day @ 2012-08-27 12:51 UTC (permalink / raw)
  To: Nicolas Goaziou; +Cc: nicholas.dokos, emacs-orgmode

[-- Attachment #1: Type: text/plain, Size: 436 bytes --]

My bad. Thanks, guys!

On Mon, Aug 27, 2012 at 3:12 AM, Nicolas Goaziou <n.goaziou@gmail.com>wrote:

> Hello,
>
> Nick Dokos <nicholas.dokos@hp.com> writes:
>
> > And there seems to be a bug in the easy template code in org.el:
> > line 11390 says
> >
> >     ("I" "#+INCLUDE %file ?"
> >
> > and it seems to be missing the colon.
>
> Fixed. Thank you.
>
>
> Regards,
>
> --
> Nicolas Goaziou
>



-- 
Bill Day
williamson.day@gmail.com

[-- Attachment #2: Type: text/html, Size: 981 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2012-08-27 12:51 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-08-27  5:25 #+INCLUDE broken (or changed) in org-mode 7.9? Help! Bill Day
2012-08-27  6:14 ` Nick Dokos
2012-08-27  7:12   ` Nicolas Goaziou
2012-08-27 12:51     ` Bill Day

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).