emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: David Maus <dmaus@ictsoc.de>
To: nicholas.dokos@hp.com
Cc: emacs-orgmode@gnu.org
Subject: Re: [Org-mode] Stop exporting user@hostname to html
Date: Fri, 26 Mar 2010 16:59:35 +0100	[thread overview]
Message-ID: <871vf7gjko.wl%dmaus@ictsoc.de> (raw)
In-Reply-To: <17810.1269615894@gamaville.dokosmarshall.org>


[-- Attachment #1.1.1: Type: text/plain, Size: 1339 bytes --]

Nick Dokos wrote:
>David Maus <dmaus@ictsoc.de> wrote:

>> >Perhaps a silly question: just wondering if it's possible to stop
>> >having this at the bottom of every html file I export:
>>
>> >/-------------
>> >| Author: John W. Henderson <username@hostname>
>> >| Date: 2010-03-25 21:56:05 CDT
>> >| HTML generated by org-mode 6.34trans in emacs 23
>> >\--------------
>>
>> >I'm all for the date and supporting people knowing this is from
>> >org-mode/emacs but I don't really want the username/hostname thingy
>> >there. I have Author set via #+AUTHOR. I can't find any reference to
>> >host/hostname in the manual and with other google searches.
>>
>> You *should* be able to suppress the author info by setting the
>> property :author-info to nil in the publish project alist.
>>
>> However, it looks like there's a malfunction on Org's side: Setting
>> this option to nil does have no effect.
>>

>Setting it globally by setting the variable org-export-author-info to
>nil seems to work OK.  But setting it in the file #+OPTIONS line:

>#+OPTIONS: author-info:nil

>does not seem to work, so there seems to be a disconnect there.

It's a typo in the variables docstring: The infile option is
author:nil.

(attached patch fixes typo)

 -- David
--
OpenPGP... 0x99ADB83B5A4478E6
Jabber.... dmjena@jabber.org
Email..... dmaus@ictsoc.de

[-- Attachment #1.1.2: fix-docstring-author-info.diff --]
[-- Type: application/octet-stream, Size: 434 bytes --]

diff --git a/lisp/org-exp.el b/lisp/org-exp.el
index cd89539..a57a256 100644
--- a/lisp/org-exp.el
+++ b/lisp/org-exp.el
@@ -312,7 +312,7 @@ headline  Only export the headline, but skip the tree below it."
   "Non-nil means insert author name and email into the exported file.
 
 This option can also be set with the +OPTIONS line,
-e.g. \"author-info:nil\"."
+e.g. \"author:nil\"."
   :group 'org-export-general
   :type 'boolean)
 

[-- Attachment #1.2: Type: application/pgp-signature, Size: 230 bytes --]

[-- Attachment #2: Type: text/plain, Size: 201 bytes --]

_______________________________________________
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

  parent reply	other threads:[~2010-03-26 15:59 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-03-26  3:15 [Org-mode] Stop exporting user@hostname to html John Hendy
2010-03-26  7:07 ` Carsten Dominik
2010-03-26  7:09 ` Jan Böcker
2010-03-26  7:15 ` David Maus
     [not found]   ` <17810.1269615894@gamaville.dokosmarshall.org>
2010-03-26 15:59     ` David Maus [this message]
2010-03-26 17:01       ` John Hendy
2010-03-26 20:34       ` Carsten Dominik
2010-03-26 22:04         ` John Hendy
2010-03-26 22:13           ` Carsten Dominik
2010-03-26 22:15           ` Nick Dokos

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

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=871vf7gjko.wl%dmaus@ictsoc.de \
    --to=dmaus@ictsoc.de \
    --cc=emacs-orgmode@gnu.org \
    --cc=nicholas.dokos@hp.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 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).