From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stephen Eglen Subject: Inserting text into the part of an HTML document? Date: Thu, 18 Nov 2010 22:06:11 +0000 Message-ID: <7905.1290117971@cpc13-cmbg15-2-0-cust889.5-4.cable.virginmedia.com> Return-path: Received: from [140.186.70.92] (port=57337 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PJCcU-0003y8-8M for emacs-orgmode@gnu.org; Thu, 18 Nov 2010 17:06:19 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PJCcR-0000Ad-S0 for emacs-orgmode@gnu.org; Thu, 18 Nov 2010 17:06:16 -0500 Received: from ppsw-41.csi.cam.ac.uk ([131.111.8.141]:45161) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PJCcR-0000AJ-KR for emacs-orgmode@gnu.org; Thu, 18 Nov 2010 17:06:15 -0500 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org Cc: Stephen Eglen I'm using org-mode to export an html file of my org file. I'd like to add the following line to the ... section of the document: #+HTML: [This line tells search indexes not to index the file. http://www.google.com/support/webmasters/bin/answer.py?hl=en&answer=93710 ] but the HTML directive puts it in the body, rather than the head. Any ideas how I'd get it into the head? I tried +HTML_HEADER as an analogy to LATEX_HEADER, but that doesn't seem to be defined. Thanks, Stephen org-version "7.02trans" From mboxrd@z Thu Jan 1 00:00:00 1970 From: Erik Iverson Subject: Re: Inserting text into the part of an HTML document? Date: Thu, 18 Nov 2010 16:13:09 -0600 Message-ID: <4CE5A4F5.3010207@ccbr.umn.edu> References: <7905.1290117971@cpc13-cmbg15-2-0-cust889.5-4.cable.virginmedia.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Return-path: Received: from [140.186.70.92] (port=44524 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PJCjD-0005iz-7R for emacs-orgmode@gnu.org; Thu, 18 Nov 2010 17:13:16 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PJCjC-00017Q-0f for emacs-orgmode@gnu.org; Thu, 18 Nov 2010 17:13:15 -0500 Received: from walleye.ccbr.umn.edu ([128.101.116.11]:3015) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PJCjB-000177-Qu for emacs-orgmode@gnu.org; Thu, 18 Nov 2010 17:13:13 -0500 In-Reply-To: <7905.1290117971@cpc13-cmbg15-2-0-cust889.5-4.cable.virginmedia.com> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Stephen Eglen Cc: emacs-orgmode@gnu.org Stephen, There may be a better answer, but I see in the doc-string for org-export-html-style, that: As the value of this option simply gets inserted into the HTML header, you can \"misuse\" it to add arbitrary text to the header. See also the variable `org-export-html-style-extra'. However, I doubt you want to use the 'org-export-html-style' variable, since it looks like you have to specify the entire header, but perhaps the 'style-extra' version will do what you want? --Erik Stephen Eglen wrote: > I'm using org-mode to export an html file of my org file. I'd like to > add the following line to the ... section of the > document: > > #+HTML: > > [This line tells search indexes not to index the file. > http://www.google.com/support/webmasters/bin/answer.py?hl=en&answer=93710 > ] > > but the HTML directive puts it in the body, rather than the head. > Any ideas how I'd get it into the head? I tried +HTML_HEADER as an > analogy to LATEX_HEADER, but that doesn't seem to be defined. > > Thanks, Stephen > > org-version > "7.02trans" > > > _______________________________________________ > 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 From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nick Dokos Subject: Re: Inserting text into the part of an HTML document? Date: Thu, 18 Nov 2010 23:22:39 -0500 Message-ID: <10278.1290140559@gamaville.dokosmarshall.org> References: <7905.1290117971@cpc13-cmbg15-2-0-cust889.5-4.cable.virginmedia.com> <4CE5A4F5.3010207@ccbr.umn.edu> Reply-To: nicholas.dokos@hp.com Return-path: Received: from [140.186.70.92] (port=48071 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PJIUu-000731-MJ for emacs-orgmode@gnu.org; Thu, 18 Nov 2010 23:22:53 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PJIUt-0000PM-Dq for emacs-orgmode@gnu.org; Thu, 18 Nov 2010 23:22:52 -0500 Received: from vms173019pub.verizon.net ([206.46.173.19]:33920) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PJIUt-0000PD-8e for emacs-orgmode@gnu.org; Thu, 18 Nov 2010 23:22:51 -0500 Received: from gamaville.dokosmarshall.org ([unknown] [173.76.32.106]) by vms173019.mailsrvcs.net (Sun Java(tm) System Messaging Server 7u2-7.02 32bit (built Apr 16 2009)) with ESMTPA id <0LC400B6Y6TRZO50@vms173019.mailsrvcs.net> for emacs-orgmode@gnu.org; Thu, 18 Nov 2010 22:22:40 -0600 (CST) In-reply-to: Message from Erik Iverson of "Thu, 18 Nov 2010 16:13:09 CST." <4CE5A4F5.3010207@ccbr.umn.edu> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Erik Iverson Cc: emacs-orgmode@gnu.org, nicholas.dokos@hp.com, Stephen Eglen Erik Iverson wrote: > Stephen, > > There may be a better answer, but I see in the > doc-string for org-export-html-style, that: > > As the value of this option simply gets inserted into the HTML > header, you can \"misuse\" it to add arbitrary text to the header. > See also the variable `org-export-html-style-extra'. > > However, I doubt you want to use the 'org-export-html-style' variable, > since it looks like you have to specify the entire header, but > perhaps the 'style-extra' version will do what you want? > I don't know of a better answer, but it's OK to use org-export-html-style if you want. You don't need to specify the entire header: the default style header comes from org-export-html-style-default. However, the style-extra version *is* more convenient because it can be set per-file with #+STYLE: whatever you want Nick From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stephen Eglen Subject: Re: Inserting text into the part of an HTML document? Date: Fri, 19 Nov 2010 21:46:30 +0000 Message-ID: <25073.1290203190@rgc.damtp.cam.ac.uk> References: <7905.1290117971@cpc13-cmbg15-2-0-cust889.5-4.cable.virginmedia.com> <4CE5A4F5.3010207@ccbr.umn.edu> <10278.1290140559@gamaville.dokosmarshall.org> Return-path: Received: from [140.186.70.92] (port=60160 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PJYmz-0008Uz-WA for emacs-orgmode@gnu.org; Fri, 19 Nov 2010 16:46:42 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PJYmv-0001p7-UX for emacs-orgmode@gnu.org; Fri, 19 Nov 2010 16:46:37 -0500 Received: from ppsw-51.csi.cam.ac.uk ([131.111.8.151]:53908) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PJYmv-0001of-QM for emacs-orgmode@gnu.org; Fri, 19 Nov 2010 16:46:33 -0500 Received: from smtp.damtp.cam.ac.uk ([131.111.18.84]:39348 helo=medulla.damtp.cam.ac.uk) by ppsw-51.csi.cam.ac.uk (ppsw.cam.ac.uk [131.111.8.138]:25) with esmtp id 1PJYmt-0002KJ-Yh (Exim 4.72) for emacs-orgmode@gnu.org (return-path ); Fri, 19 Nov 2010 21:46:31 +0000 In-reply-to: <10278.1290140559@gamaville.dokosmarshall.org> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: nicholas.dokos@hp.com Cc: emacs-orgmode@gnu.org, Stephen Eglen Thanks Nick and Erik! I just tried #+STYLE: which does what I was after. I think this should be documented - so I'll draft a patch. Stephen From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stephen Eglen Subject: Re: Inserting text into the part of an HTML document? Date: Fri, 19 Nov 2010 21:53:10 +0000 Message-ID: <25164.1290203590@rgc.damtp.cam.ac.uk> References: <7905.1290117971@cpc13-cmbg15-2-0-cust889.5-4.cable.virginmedia.com> <4CE5A4F5.3010207@ccbr.umn.edu> <10278.1290140559@gamaville.dokosmarshall.org> <25073.1290203190@rgc.damtp.cam.ac.uk> Return-path: Received: from [140.186.70.92] (port=46730 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PJYtM-0001GA-Qe for emacs-orgmode@gnu.org; Fri, 19 Nov 2010 16:53:13 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PJYtL-0002uP-JX for emacs-orgmode@gnu.org; Fri, 19 Nov 2010 16:53:12 -0500 Received: from ppsw-41.csi.cam.ac.uk ([131.111.8.141]:53450) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PJYtL-0002uL-FC for emacs-orgmode@gnu.org; Fri, 19 Nov 2010 16:53:11 -0500 Received: from smtp.damtp.cam.ac.uk ([131.111.18.84]:39467 helo=medulla.damtp.cam.ac.uk) by ppsw-41.csi.cam.ac.uk (ppsw.cam.ac.uk [131.111.8.136]:25) with esmtp id 1PJYtK-0004yC-Rt (Exim 4.72) for emacs-orgmode@gnu.org (return-path ); Fri, 19 Nov 2010 21:53:10 +0000 In-reply-to: <25073.1290203190@rgc.damtp.cam.ac.uk> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Stephen Eglen Cc: emacs-orgmode@gnu.org > which does what I was after. I think this should be documented - so > I'll draft a patch. > no need - I see its already there, I just missed it before. (section 12.5.7 CSS support) Stephen