emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: "Loris Bennett" <loris.bennett@fu-berlin.de>
To: emacs-orgmode@gnu.org
Subject: Re: ASCII export: footer possible?
Date: Fri, 29 Jun 2012 11:22:17 +0200	[thread overview]
Message-ID: <87bok2wjzq.fsf@slate.zedat.fu-berlin.de> (raw)
In-Reply-To: 81y5n6wkzk.fsf@gmail.com

Jambunathan K <kjambunathan@gmail.com> writes:

> There are two exporters now - old and new.
>
> What command are you using for the export? C-c C-e a, M-x
> org-export-dispatch.

I'm using C-c C-e a with Org 7.8.11.

> If you customize org-e-ascii (yourself), it is possible that you can
> generate the box programmatically on export and not have it in your Org
> file.
>
> How is the status generated - programmatically or otherwise?

Sorry, my post was obviously confusing.  I just added the box in the
posting using Emacs's rebox.  By the footer I just meant this bit:

-------------------------------------------------------------------------------
EWS * NEWS * NEWS * NEWS * NEWS * NEWS * NEWS * NEWS * NEWS * NEWS * NEWS * NEW
-------------------------------------------------------------------------------

at the end of the file. 

If by status you mean the 'current' tag, I just set it by hand when I
add a new message or remove it if I think the message is too old.

Cheers,

Loris

>> Hi,
>>
>> I want to maintain a list of news for a "message of the day" in an org
>> file and export it to ASCII:
>>
>> /=================================================================================\
>> | #+OPTIONS: author:nil timestamp:nil toc:nil num:nil tags:nil H:3                |
>> | #+EXPORT_SELECT_TAGS: current                                                   |
>> | #+TITLE:                                                                        |
>> |                                                                                 |
>> | ------------------------------------------------------------------------------- |
>> |                                                                                 |
>> |                          WELCOME TO MY COMPUTER                                 |
>> |                                                                                 |
>> | ------------------------------------------------------------------------------- |
>> | EWS * NEWS * NEWS * NEWS * NEWS * NEWS * NEWS * NEWS * NEWS * NEWS * NEWS * NEW |
>> | ------------------------------------------------------------------------------- |
>> |                                                                                 |
>> | * 29.06.2012                                                        :current:   |
>> |                                                                                 |
>> | No news is good news.                                                           |
>> |                                                                                 |
>> | * 28.06.2012                                                        :current:   |
>> |                                                                                 |
>> | Everything fine today.                                                          |
>> |                                                                                 |
>> | * 20.06.2012                                                                    |
>> |                                                                                 |
>> | Down for maintenance.                                                           |
>> |                                                                                 |
>> | * 18.06.2012                                                                    |
>> |                                                                                 |
>> | My computer is now online                                                       |
>> |                                                                                 |
>> | ------------------------------------------------------------------------------- |
>> | EWS * NEWS * NEWS * NEWS * NEWS * NEWS * NEWS * NEWS * NEWS * NEWS * NEWS * NEW |
>> | ------------------------------------------------------------------------------- |
>> \=================================================================================/
>>
>> When exported this gives me:
>>
>> /=================================================================================\
>> | ------------------------------------------------------------------------------- |
>> |                                                                                 |
>> |                       WELCOME TO MY BIG COMPUTER                                |
>> |                                                                                 |
>> | ------------------------------------------------------------------------------- |
>> | EWS * NEWS * NEWS * NEWS * NEWS * NEWS * NEWS * NEWS * NEWS * NEWS * NEWS * NEW |
>> | ------------------------------------------------------------------------------- |
>> |                                                                                 |
>> | 29.06.2012                                                                      |
>> | ----------                                                                      |
>> |                                                                                 |
>> | No news is good news.                                                           |
>> |                                                                                 |
>> | 28.06.2012                                                                      |
>> | ----------                                                                      |
>> |                                                                                 |
>> | Everything fine today.                                                          |
>> |                                                                                 |
>> \=================================================================================/
>>
>>
>> Currently the footer is not exported.  Is there any way to achieve this?
>>
>> Thanks,
>>
>> Loris

-- 
Dr. Loris Bennett (Mr.)
ZEDAT, Freie Universität Berlin         Email loris.bennett@fu-berlin.de

  reply	other threads:[~2012-06-29  9:22 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-06-29  8:25 ASCII export: footer possible? Loris Bennett
2012-06-29  8:42 ` Loris Bennett
2012-06-29  9:00 ` Jambunathan K
2012-06-29  9:22   ` Loris Bennett [this message]
2012-06-29  9:30     ` Jambunathan K

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=87bok2wjzq.fsf@slate.zedat.fu-berlin.de \
    --to=loris.bennett@fu-berlin.de \
    --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 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).