Re: [O] ASCII export: footer possible?

2012-06-29 Thread Jambunathan K
"Loris Bennett"  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.

I am just persuading you to try the new exporter as well :-).  It is
possible that you get what you want.

-- 



Re: [O] ASCII export: footer possible?

2012-06-29 Thread Loris Bennett
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

Re: [O] ASCII export: footer possible?

2012-06-29 Thread Jambunathan K

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.

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?

> 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.

Re: [O] ASCII export: footer possible?

2012-06-29 Thread Loris Bennett
"Loris Bennett"  writes:

> 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?
>

What I should

[O] ASCII export: footer possible?

2012-06-29 Thread Loris Bennett
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

-- 
Loris Bennett