From: Charles Howard <terminalbeachbum@googlemail.com>
To: emacs-orgmode@gnu.org
Subject: Re: [Orgmode] RE: Using simple css in HTML export
Date: Sun, 5 Jul 2009 19:22:04 +0100 [thread overview]
Message-ID: <771c31300907051122k1dec4667m932ec1497b19dd64@mail.gmail.com> (raw)
[-- Attachment #1.1: Type: text/plain, Size: 3049 bytes --]
Thanks Sebastian.
I've changed to a gmail account. Hope this leaves the code intact.
> Just to be sure...
>
> 1.) Your *.org file should have this in the header:
>
> #+style: <link rel="stylesheet" type="text/css" href="basic.css" />
Exactly that, except that style was in capitals.
> What did Org-mode's XHTML export <head> section look like then?
***************************************
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
lang="en" xml:lang="en">
<head>
<title>Directory skeleton (with explanations)</title>
<meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"/>
<meta name="generator" content="Org-mode"/>
<meta name="generated" content="2009-07-05 19:08:09 BST"/>
<meta name="author" content="Study "/>
<style type="text/css">
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; }
</style>
</head><body>
<h1 class="title">Directory skeleton</h1>
<div id="table-of-contents">
*********************************************************
Line 46 was already in the table of contents.
I'm using org-mode 6.06, emacs 22.1.1, Ubuntu 8.04.
I'm completely puzzled. Giving up ? -- nope.
Charles
===============================================================
Re: [Orgmode] RE: Using simple css in HTML export
From: Sebastian Rose (sebastian_rose@gmx.de)
Sent: 03 July 2009 23:16:27
To: Charles Howard (incubando@hotmail.co.uk)
Cc: emacs-orgmode (emacs-orgmode@gnu.org)
Charles Howard <incubando@hotmail.co.uk> writes:
> The hotmail account I am using seems to have stripped out the html code.
What did Org-mode's XHTML export <head> section look like then?
> I did have such a line following STYLE, as in the link you quoted.
>
> I had the css file in the same dir as the org file. I used basic.css and
./basic.css
> with no success either way.
OK. Just to be sure...
1.) Your *.org file should have this in the header:
#+style: <link rel="stylesheet" type="text/css" href="basic.css" />
2.) After export, line ~47 (or 46 or 48...) should look like this:
<link rel="stylesheet" type="text/css" href="basic.css" />
If not, make sure step 1.) is done.
Now, if the exported *.html file and basic.css live in the same
directory, it should work.
Sorry, you're not allowed to simply give up :)
Sebastian
[-- Attachment #1.2: Type: text/html, Size: 4173 bytes --]
[-- Attachment #2: Type: text/plain, Size: 204 bytes --]
_______________________________________________
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode
next reply other threads:[~2009-07-05 18:22 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-07-05 18:22 Charles Howard [this message]
2009-07-06 11:15 ` RE: Using simple css in HTML export Sebastian Rose
2009-07-06 12:21 ` [Orgmode] " Charles Howard
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=771c31300907051122k1dec4667m932ec1497b19dd64@mail.gmail.com \
--to=terminalbeachbum@googlemail.com \
--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.