emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* A Bug(?) and a question
@ 2008-06-13  6:53 Rustom Mody
  2008-06-13  8:24 ` Carsten Dominik
  2008-06-13 13:29 ` Rustom Mody
  0 siblings, 2 replies; 4+ messages in thread
From: Rustom Mody @ 2008-06-13  6:53 UTC (permalink / raw)
  To: emacs-orgmode

This small file:

#+OPTIONS: toc:nil
#+TITLE: A Title
* Introduction
Some Text

generates html in which the

#+TITLE: A Title

appears (in the html).
Am I missing some option or is this a bug? [Version of org 6.04c]

While I am at OPTIONs Ive one more question:
How easy is it to have a tail line (in the generated html) which says
something like the following?

Auto-generated by org mode in emacs

I can use #+TEXT:
but this puts the text at the top

Thanks

Rustom

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: A Bug(?) and a question
  2008-06-13  6:53 A Bug(?) and a question Rustom Mody
@ 2008-06-13  8:24 ` Carsten Dominik
  2008-06-13 13:29 ` Rustom Mody
  1 sibling, 0 replies; 4+ messages in thread
From: Carsten Dominik @ 2008-06-13  8:24 UTC (permalink / raw)
  To: Rustom Mody; +Cc: emacs-orgmode

This is a known bug, fixed in the current GIT repo version.  It will  
also be fixed in 6.05, when that gets released.

- Carsten

On Jun 13, 2008, at 8:53 AM, Rustom Mody wrote:

> This small file:
>
> #+OPTIONS: toc:nil
> #+TITLE: A Title
> * Introduction
> Some Text
>
> generates html in which the
>
> #+TITLE: A Title
>
> appears (in the html).
> Am I missing some option or is this a bug? [Version of org 6.04c]
>
> While I am at OPTIONs Ive one more question:
> How easy is it to have a tail line (in the generated html) which says
> something like the following?
>
> Auto-generated by org mode in emacs
>
> I can use #+TEXT:
> but this puts the text at the top
>
> Thanks
>
> Rustom
>
>
> _______________________________________________
> 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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: A Bug(?) and a question
  2008-06-13  6:53 A Bug(?) and a question Rustom Mody
  2008-06-13  8:24 ` Carsten Dominik
@ 2008-06-13 13:29 ` Rustom Mody
  2008-06-13 13:58   ` Carsten Dominik
  1 sibling, 1 reply; 4+ messages in thread
From: Rustom Mody @ 2008-06-13 13:29 UTC (permalink / raw)
  To: emacs-orgmode

On Fri, Jun 13, 2008 at 12:23 PM, Rustom Mody <rustompmody@gmail.com> wrote:
> How easy is it to have a tail line (in the generated html) which says
> something like the following?
>
> Auto-generated by org mode in emacs
>
> I can use #+TEXT:
> but this puts the text at the top
>
> Thanks
>
> Rustom
>

To answer my own question: Ive just done this.

Added an 'insert' to org-exp.el.

Below is the output of a diff -u

@@ -3022,6 +3022,8 @@
 	    (insert "<p class=\"date\"> "
 		    (nth 2 lang-words) ": "
 		    date "</p>\n"))
+	  (insert (format "Auto-generated by org-mode %s in emacs %s"
+			  org-version emacs-major-version))
 	  (insert "</div>"))

 	(if org-export-html-with-timestamp

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Re: A Bug(?) and a question
  2008-06-13 13:29 ` Rustom Mody
@ 2008-06-13 13:58   ` Carsten Dominik
  0 siblings, 0 replies; 4+ messages in thread
From: Carsten Dominik @ 2008-06-13 13:58 UTC (permalink / raw)
  To: Rustom Mody; +Cc: emacs-orgmode

Nice idea, thanks.

- Carsten

On Jun 13, 2008, at 3:29 PM, Rustom Mody wrote:

> On Fri, Jun 13, 2008 at 12:23 PM, Rustom Mody  
> <rustompmody@gmail.com> wrote:
>> How easy is it to have a tail line (in the generated html) which says
>> something like the following?
>>
>> Auto-generated by org mode in emacs
>>
>> I can use #+TEXT:
>> but this puts the text at the top
>>
>> Thanks
>>
>> Rustom
>>
>
> To answer my own question: Ive just done this.
>
> Added an 'insert' to org-exp.el.
>
> Below is the output of a diff -u
>
> @@ -3022,6 +3022,8 @@
> 	    (insert "<p class=\"date\"> "
> 		    (nth 2 lang-words) ": "
> 		    date "</p>\n"))
> +	  (insert (format "Auto-generated by org-mode %s in emacs %s"
> +			  org-version emacs-major-version))
> 	  (insert "</div>"))
>
> 	(if org-export-html-with-timestamp
>
>
> _______________________________________________
> 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

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2008-06-13 13:59 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-06-13  6:53 A Bug(?) and a question Rustom Mody
2008-06-13  8:24 ` Carsten Dominik
2008-06-13 13:29 ` Rustom Mody
2008-06-13 13:58   ` Carsten Dominik

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).