From: Adam <ahcnz@ihug.co.nz>
To: emacs-orgmode@gnu.org
Subject: CSS and Publishing to HTML Tutorial
Date: Thu, 8 Jul 2010 19:48:11 +1200 [thread overview]
Message-ID: <201007081948.12773.ahcnz@ihug.co.nz> (raw)
The Worg tutorial "Publishing Org-mode files to HTML" ran for me first
time, so it seems excellent and well written.
However I am trying to use a vanilla CSS, say ssheet1.css, located in
~/org/css" as per the tutorial.
With only the following line at the end of my org file,
#+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 am hoping to tweek a CSS from the ground up, or choose a most
suitable one from elsewhere. The only other thing, is that I fear my
trial CGI Bash script is being clobbered by the Java, as its not working
(its permission is OK). Maybe it needs to be enclosed within a
unique style/type entry.
#+STYLE: <!-- #exec cgi="/cgi-bin/count.sh" -->
Below, I hope not at the risk of a friendship, I include the settings
for;
org-export-html-style
org-export-html-style-default
org-export-html-style-include-default
org-publish-project-alist
And these were noted after a successfuul org-publish operation.
My question is, how should I unambiguously use a specific CSS, within
the context of the "Publishing Org-mode files to HTML" tutorial. And
whether including the CGI script is as simple as that above.
Sorry for my confusion, I cannot see how or where to remove the Java
stuff. If its as simple as 13.3.1 of the Org Mode manual, or by modifying the
*scratch* evaluations of the tutorial, then I do apologize.
Thanks, best, Adam.
;------------------------------------------------------
org-export-html-style
""
org-export-html-style-default
"<style type=\"text/css\">
<!--/*--><![CDATA[/*><!--*/
html { font-family: Times, serif; font-size: 12pt; }
.title { text-align: center; }
.todo { color: red; }
.done { color: green; }
.tag { background-color:lightblue; font-weight:normal }
.target { }
.timestamp { color: grey }
.timestamp-kwd { color: CadetBlue }
p.verse { margin-left: 3% }
pre {
border: 1pt solid #AEBDCC;
background-color: #F3F5F7;
padding: 5pt;
font-family: courier, monospace;
font-size: 90%;
overflow:auto;
}
table { border-collapse: collapse; }
td, th { vertical-align: top; }
dt { font-weight: bold; }
div.figure { padding: 0.5em; }
div.figure p { text-align: center; }
.linenr { font-size:smaller }
.code-highlighted {background-color:#ffff00;}
.org-info-js_info-navigation { border-style:none; }
#org-info-js_console-label { font-size:10px; font-weight:bold;
white-space:nowrap; }
.org-info-js_search-highlight {background-color:#ffff00; color:#000000;
font-weight:bold; }
/*]]>*/-->
</style>"
org-export-html-style-include-default
t
org-publish-project-alist
(("org-notes" :base-directory "C:\\Adamstuff\\webp\\org\\" :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")))
next reply other threads:[~2010-07-08 7:41 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-07-08 7:48 Adam [this message]
2010-07-09 13:35 ` CSS and Publishing to HTML Tutorial 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
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=201007081948.12773.ahcnz@ihug.co.nz \
--to=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.