From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Loris Bennett" Subject: Re: ASCII export: footer possible? Date: Fri, 29 Jun 2012 11:22:17 +0200 Message-ID: <87bok2wjzq.fsf@slate.zedat.fu-berlin.de> References: <87txxuwmn1.fsf@slate.zedat.fu-berlin.de> <81y5n6wkzk.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([208.118.235.92]:50095) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SkXPQ-0006Yu-9w for emacs-orgmode@gnu.org; Fri, 29 Jun 2012 05:22:42 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SkXPL-0004qF-Ck for emacs-orgmode@gnu.org; Fri, 29 Jun 2012 05:22:35 -0400 Received: from plane.gmane.org ([80.91.229.3]:44840) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SkXPL-0004q4-1W for emacs-orgmode@gnu.org; Fri, 29 Jun 2012 05:22:31 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1SkXPI-0000dP-GW for emacs-orgmode@gnu.org; Fri, 29 Jun 2012 11:22:28 +0200 Received: from slate.zedat.fu-berlin.de ([160.45.11.34]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 29 Jun 2012 11:22:28 +0200 Received: from loris.bennett by slate.zedat.fu-berlin.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 29 Jun 2012 11:22:28 +0200 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org Jambunathan K 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