LATEX-L Archives

Mailing list for the LaTeX3 project

LATEX-L@LISTSERV.UNI-HEIDELBERG.DE

Options: Use Forum View

Use Monospaced Font
Show Text Part by Default
Condense Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Mime-Version:
1.0 (Apple Message framework v1081)
Content-Type:
text/plain; charset=us-ascii
Date:
Sun, 18 Sep 2011 22:02:31 +0930
Reply-To:
Mailing list for the LaTeX3 project <[log in to unmask]>
Subject:
From:
Will Robertson <[log in to unmask]>
Message-ID:
In-Reply-To:
Content-Transfer-Encoding:
8bit
Sender:
Mailing list for the LaTeX3 project <[log in to unmask]>
Parts/Attachments:
text/plain (18 lines)
On 18/09/2011, at 9:29 PM, Joseph Wright wrote:

> That's easy to do, leaving only the question of what happens with
> 
>  \iow_new:N \l_my_stream
>  \iow_open:N \l_my_stream { <file> }
>  ...
>  \iow_close:N \l_my_stream
>  ..
>  \iow_open:N \l_my_stream { <file> }
> 
> The easiest approach is that we just overwrite the <file>.

That's the logical behaviour, I think. If you want to keep appending, then you don't close the file. If you absolutely must close the file and still want to append, then the catchfile package can be used to read it in again. But I'd say we needn't add that feature to expl3 until it seems like there's a pressing need...

Cheers,
-- Will

ATOM RSS1 RSS2