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
Sender:
Mailing list for the LaTeX3 project <[log in to unmask]>
Date:
Sun, 2 Jan 2011 17:58:36 +0100
Reply-To:
Mailing list for the LaTeX3 project <[log in to unmask]>
Subject:
MIME-Version:
1.0
Message-ID:
In-Reply-To:
Content-Type:
multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig23F1A9F8A202FF1FB7E6547D"
From:
Arno Trautmann <[log in to unmask]>
Parts/Attachments:
text/plain (1151 bytes) , signature.asc (261 bytes)
Joseph Wright wrote:
> On 02/01/2011 10:10, Arno Trautmann wrote:
>> Hi all,
>>
>> I just thought it might be good to have an argument type that reads an
>> argument until the end of line. That would be a special version of the u
>> type, I think, but the normal user will not be able to specify it that
>> way. (Also I'm not sure about different line endings in *nix and
>> Windows.)
>> Any comments?
> 
> I have a feeling that this falls into the 'verbatim-like' category that
> can't really be handled by xparse. That I know of, you can't write a
> macro which is delimited by ^^M (end-of-line) without making catcode
> changes.

What about reading until the next paragraph, i.e. an empty line?

> By the way, I assume that you have an application in mind?

Well, a very trivial one: I have to write a text in word-compatible
format. So I wanted to write it in LaTeX and later copy-paste to OOo,
then delete all \section etc. and do a bit formatting. But if
\section{title} has the closing brace, I have to use regular expressions
to delete them.
No big thing, but I would be a little bit easier with \section scanning
until the end of line instead of braces.

cheers
Arno



ATOM RSS1 RSS2