From: Carsten Dominik <carsten.dominik@gmail.com>
To: Chao Lu <loochao@gmail.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: About publishing to html
Date: Sat, 13 Feb 2010 23:28:58 +0100 [thread overview]
Message-ID: <6E1F4661-20DD-4B3F-BAC2-AA7323BEC47A@gmail.com> (raw)
In-Reply-To: <3cbb63d01002131425s42f8f1aag3a0cb25722fde447@mail.gmail.com>
Hi Chao,
this is all coverend in the relevant section of the manual:
http://orgmode.org/manual/CSS-support.html#CSS-support
- Carsten
On Feb 13, 2010, at 11:25 PM, Chao Lu wrote:
> Dear all,
>
> I'm still adjusting the web publishing of org, for I got a little
> confused about one line:
>
> Here is my configuration for publishing:
> --------
> :style "
> <link rel=\"icon\" href=\"theme/favicon.ico\" type=\"image/
> x-icon\">
> <link rel=\"shortcut icon\" href=\"theme/favicon.ico\">
> <link rel=\"stylesheet\" href=\"./theme/org.css\" type=
> \"text/css\"> </link>
> <script type=\"text/javascript\" src=\"theme/org-info.js
> \"></script>
> "
> -----------
>
> But as I published foo.org to foo.html, and check the html file, I
> found what is actually there is
>
> ----
> <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: #add8e6; font-weight:normal }
> .target { }
> .timestamp { color: #bebebe; }
> .timestamp-kwd { color: #5f9ea0; }
> 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>
> <link rel="icon" href="theme/favicon.ico" type="image/x-
> icon">
> <link rel="shortcut icon" href="theme/favicon.ico">
>
> <link rel="stylesheet" href="./theme/org.css" type="text/
> css"> </link> ONLY This part is in my CONF file
> <script type="text/javascript" src="theme/org-info.js"></
> script>
>
> <script type="text/javascript" src="http://orgmode.org/org-
> info.js"></script>
> <script type="text/javascript" >
> <!--/*--><![CDATA[/*><!--*/
> org_html_manager.set("TOC_DEPTH", "3");
> org_html_manager.set("LINK_HOME", "index.html");
> org_html_manager.set("LINK_UP", "index.html");
> org_html_manager.set("LOCAL_TOC", "0");
> org_html_manager.set("VIEW_BUTTONS", "0");
> org_html_manager.set("MOUSE_HINT", "underline");
> org_html_manager.set("FIXED_TOC", "0");
> org_html_manager.set("TOC", "0");
> org_html_manager.set("VIEW", "overview");
> org_html_manager.setup(); // activate after the parameters are set
> /*]]>*///-->
> </script>
> <script type="text/javascript">
> <!--/*--><![CDATA[/*><!--*/
> function CodeHighlightOn(elem, id)
> {
> var target = document.getElementById(id);
> if(null != target) {
> elem.cacheClassElem = elem.className;
> elem.cacheClassTarget = target.className;
> target.className = "code-highlighted";
> elem.className = "code-highlighted";
> }
> }
> function CodeHighlightOff(elem, id)
> {
> var target = document.getElementById(id);
> if(elem.cacheClassElem)
> elem.className = elem.cacheClassElem;
> if(elem.cacheClassTarget)
> target.className = elem.cacheClassTarget;
> }
> /*]]>*///-->
> </script>
> --------------------------------
>
> So where does other part of the style come from, and is it possible
> to control these styles?
>
> All the best,
>
> Chao
>
> _______________________________________________
> Emacs-orgmode mailing list
> Please use `Reply All' to send replies to the list.
> Emacs-orgmode@gnu.org
> http://lists.gnu.org/mailman/listinfo/emacs-orgmode
- Carsten
next prev parent reply other threads:[~2010-02-13 22:29 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-02-13 22:25 About publishing to html Chao Lu
2010-02-13 22:28 ` Carsten Dominik [this message]
[not found] ` <3cbb63d01002131453s6eb777ddyb7a5197b822ec10b@mail.gmail.com>
2010-02-13 22:58 ` Chao Lu
2010-02-15 9:52 ` Sebastian Rose
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=6E1F4661-20DD-4B3F-BAC2-AA7323BEC47A@gmail.com \
--to=carsten.dominik@gmail.com \
--cc=emacs-orgmode@gnu.org \
--cc=loochao@gmail.com \
/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.