* publish templates - include stylesheet
@ 2008-09-27 5:28 plutek-infinity
2008-09-27 21:45 ` Sebastian Rose
0 siblings, 1 reply; 2+ messages in thread
From: plutek-infinity @ 2008-09-27 5:28 UTC (permalink / raw
To: emacs-orgmode
greetings!
i'm following the org-publish tutorial on worg, and have hit a snag:
the html style specifications "special comment section" successfully includes an external stylesheet when i put it in an org file prior to publishing, but when i move it to the level-N.org files as outlined in the tutorial, the stylesheet no longer gets referenced in the published html file. i know the level-N.org file is being used, since the export options lines which it contains ARE being read. it seems that just the html style block is being ignored.
as far as i can see, i've set things up as they should be -- any hints as to what i might look into to debug this?
thanks in advance.... cheers!
--
.pltk.
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: publish templates - include stylesheet
2008-09-27 5:28 publish templates - include stylesheet plutek-infinity
@ 2008-09-27 21:45 ` Sebastian Rose
0 siblings, 0 replies; 2+ messages in thread
From: Sebastian Rose @ 2008-09-27 21:45 UTC (permalink / raw
To: emacs-orgmode; +Cc: Carsten Dominik
Hi plutek-infinity,
right, it does not work here either. Funny enough, it works or files
in my projects base directory.
Hmmm -strange.
I have to admit that I'm not realy shure how I tested this for files in
subdirectories when I wrote the tutorial.
This is what the manual says about the #+SETUPFILE:
`#+SETUPFILE: file'
This line defines a file that holds more in-buffer setup.
Normally this is entirely ignored. Only when the buffer is parsed
for option-setting lines (i.e. when starting Org mode for a file,
when pressing `C-c C-c' in a settings line, or when exporting),
then the contents of this file are parsed as if they had been
included in the buffer. In particlar, the file can be any other
Org mode file with internal setup. You can visit the file the
cursor is in the line with `C-c ''.
(...should note the last sentence in the tutorial...)
And yes, the export-options-template lines are read for all files
regardless of level. But the '* COMMENT html style specifications'
part is only read for files directly in the projects base-directory.
Carsten: this is the link to the section in the tutorial:
http://orgmode.org/worg/org-tutorials/org-publish-html-tutorial.php#sec-5.3
What to do here? Should I change the tutorial in this part? It works so
wonderfull for all the files in base-directory. Only one file to change
to change the settings for many many files. And it seems that the
current behaviour is not intended, is it?
The ':style' options in org-publish-projects-alist das not work for sub
directories either, so the combination of the special comment section is
and #+SETUPFILE: is the only way to set the style in a central place.
???
- Sebastian
plutek-infinity wrote:
> greetings!
>
> i'm following the org-publish tutorial on worg, and have hit a snag:
>
> the html style specifications "special comment section" successfully includes an external stylesheet when i put it in an org file prior to publishing, but when i move it to the level-N.org files as outlined in the tutorial, the stylesheet no longer gets referenced in the published html file. i know the level-N.org file is being used, since the export options lines which it contains ARE being read. it seems that just the html style block is being ignored.
>
> as far as i can see, i've set things up as they should be -- any hints as to what i might look into to debug this?
>
> thanks in advance.... cheers!
>
>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2008-09-27 21:45 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-09-27 5:28 publish templates - include stylesheet plutek-infinity
2008-09-27 21:45 ` 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.