From: "Robert Klein" <RoKlein@roklein.de>
To: Adam <ahcnz@ihug.co.nz>, emacs-orgmode@gnu.org
Subject: Re: CSS and Publishing to HTML Tutorial
Date: Fri, 09 Jul 2010 17:00:54 +0200 [thread overview]
Message-ID: <op.vfkzzlf22luvc2@l670g.lobel> (raw)
In-Reply-To: <201007081948.12773.ahcnz@ihug.co.nz>
Hi Adam,
On Thu, 08 Jul 2010 09:48:11 +0200, Adam <ahcnz@ihug.co.nz> wrote:
> #+STYLE: <link rel="stylesheet" type="text/css" href="../ssheet1.css" />
>
> or even
>
> # STYLE: <link rel="stylesheet" type="text/css" href="../ssheet1.css" />
>
> doing a view source of the HTML published page, shows that it includes
> the java stuff of org-export-html-style-export, shown below. I feel my
> defined CSS is being somehow compromised.
>
I also use a style of my own (and parts of the org-mode standard
style copied into my style sheet). To avoid the inclusion of the
org-mode style and javascript I put two additional settings into
the project lists /notes/ component:
:style-include-default nil ; don't include org-modes style sheet
:style-include-scripts nil ; don't include org-modes javascript
Additionally I put my style right behind those lines, but I don't
think it matters if it is there or in the org file:
:style "<link rel=\"stylesheet\" href=\"example.css\"
type=\"text/css\">"
For example, I put those tho lines into your quoted configuration:
> org-publish-project-alist
>
> (("org-notes" :base-directory "C:\\Adamstuff\\webp\\org\\"
:style-include-default nil ; don't include org-modes style sheet
:style-include-scripts nil ; don't include org-modes javascript
> :base-extension
> "org" :publishing-directory "C:\\Adamstuff\\webp\\public_html\\"
> :recursive
> t :publishing-function org-publish-org-to-html :headline-levels ...)
> ("org-static" :base-directory "C:\\Adamstuff\\webp\\org\\"
> :base-extension
> "css\\|js\\|png\\|jpg\\|gif\\|pdf\\|mp3\\|ogg\\|swf"
> :publishing-directory
> "C:\\Adamstuff\\webp\\public_html\\" :recursive t :publishing-function
> org-publish-attachment) ("org" :components ("org-notes" "org-static")))
>
Best regards
Robert
prev parent reply other threads:[~2010-07-09 15:01 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-07-08 7:48 CSS and Publishing to HTML Tutorial Adam
2010-07-09 13:35 ` Sebastian Rose
2010-07-09 19:30 ` Adam
2010-07-09 20:04 ` Sebastian Rose
2010-07-09 20:26 ` Sebastian Rose
2010-07-09 15:00 ` Robert Klein [this message]
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=op.vfkzzlf22luvc2@l670g.lobel \
--to=roklein@roklein.de \
--cc=ahcnz@ihug.co.nz \
--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 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.