Received: from mx0.gmx.net (mx0.gmx.net [213.165.64.100]) by h1439878.stratoserver.net (8.14.2/8.14.2/Debian-2build1) with SMTP id p03A6Z1O025780 for ; Mon, 3 Jan 2011 11:06:36 +0100 Received: (qmail 17026 invoked by alias); 3 Jan 2011 10:06:30 -0000 Delivered-To: GMX delivery to rainer.schoepf@gmx.net Received: (qmail invoked by alias); 03 Jan 2011 10:06:29 -0000 Received: from relay2.uni-heidelberg.de (EHLO relay2.uni-heidelberg.de) [129.206.210.211] by mx0.gmx.net (mx079) with SMTP; 03 Jan 2011 11:06:29 +0100 Received: from listserv.uni-heidelberg.de (listserv.uni-heidelberg.de [129.206.100.94]) by relay2.uni-heidelberg.de (8.13.8/8.13.8) with ESMTP id p03A4hxc015886 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 3 Jan 2011 11:04:43 +0100 Received: from listserv.uni-heidelberg.de (localhost.localdomain [127.0.0.1]) by listserv.uni-heidelberg.de (8.13.1/8.13.1) with ESMTP id p03A2Bvm013754; Mon, 3 Jan 2011 11:04:34 +0100 Received: by LISTSERV.UNI-HEIDELBERG.DE (LISTSERV-TCP/IP release 16.0) with spool id 784702 for LATEX-L@LISTSERV.UNI-HEIDELBERG.DE; Mon, 3 Jan 2011 11:04:34 +0100 Received: from relay.uni-heidelberg.de (relay.uni-heidelberg.de [129.206.100.212]) by listserv.uni-heidelberg.de (8.13.1/8.13.1) with ESMTP id p03A4YjC032413 for ; Mon, 3 Jan 2011 11:04:34 +0100 Received: from mail.gmx.net (mailout-de.gmx.net [213.165.64.23]) by relay.uni-heidelberg.de (8.14.1/8.14.1) with SMTP id p03A4LSY030294 for ; Mon, 3 Jan 2011 11:04:25 +0100 Received: (qmail invoked by alias); 03 Jan 2011 10:04:21 -0000 Received: from HSI-KBW-078-042-072-218.hsi3.kabel-badenwuerttemberg.de (EHLO [192.168.0.197]) [78.42.72.218] by mail.gmx.net (mp005) with SMTP; 03 Jan 2011 11:04:21 +0100 X-Provags-ID: V01U2FsdGVkX1+5Mc8WCNm5FRQ1fcVBHj/RKGyKJkXNl6XKDsaXSA 5ml3ZoFMx1EFmx User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.13) Gecko/20101230 Lanikai/3.1.7 MIME-Version: 1.0 References: <201101030052.p030qEUM014652@freefriends.org> X-Enigmail-Version: 1.1.2 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig13AFDC5608CD8F25C81D838E" Message-ID: <4D219F24.1030609@gmx.de> Date: Mon, 3 Jan 2011 11:04:20 +0100 Reply-To: Mailing list for the LaTeX3 project Sender: Mailing list for the LaTeX3 project From: Arno Trautmann Subject: Re: xparse: read arg until EOL To: LATEX-L@listserv.uni-heidelberg.de In-Reply-To: <201101030052.p030qEUM014652@freefriends.org> Precedence: list List-Help: , List-Unsubscribe: List-Subscribe: List-Owner: List-Archive: X-GMX-Antispam: 0 (Mail was not recognized as spam); Detail=5D7Q89H36p4WX0t+AtsdW/aoqQDaDNIQ/EA7zglKqp2DNB9uS88o6l6qVhGGM5+7SEofY b0pI1frEf7Q+fCx9XPau5OCZEwE7qR2EQcZKJqtFD7Ol2U4Pz3+a1Gvn3oL+FzLaG709thPd82ac 86kCtYcGnDEFaHbV1; X-Resent-By: Forwarder X-Resent-For: rainer.schoepf@gmx.net X-Resent-To: rainer@rainer-schoepf.de Status: R X-Status: X-Keywords: X-UID: 6511 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig13AFDC5608CD8F25C81D838E Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Karl Berry wrote: > 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 t= hat > way.=20 > Any comments? >=20 > Based on my experience with Texinfo, my comment is that robust parsing > of arguments delimited by end-of-line is essentially impossible. I > fully agree with Joseph: I wouldn't go there.=20 What about an non-robust solution? ;) No, seriously: Would it be aceptable (generally spoken) to offer non-robust solutions istead of no solution at all? > (Also I'm not sure about different line endings in *nix and Windows= =2E) >=20 > That isn't the problem. The engines have always unified the various > platform-specific line endings to \endlinechar (otherwise TeX > portability would be a nonstarter). The problem is distinguishing eol > from space (gets converted very early in processing), handling the > contexts of active eol vs. normal eol, doing all this inside other > macros, etc. ... it's a steep and slippery slope. >=20 > If you want to convert from TeX to OOo, my suggestion is to use an > external program. An eol-delimited macro will hardly be a panacea for > that job, as you yourself pointed out. Yes, but I wanted it just for this very special thing. I hoped that it would be possible with some TeX-trickery or so =E2=80=A6 Maybe luaTeX could help here? With external programs I did not succeed in converting a single document, but that is all my fault. Thanks for your answers, Arno --------------enig13AFDC5608CD8F25C81D838E Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAk0hnyUACgkQcYXUw/rerZ40TQCgxaYdnwphGu/SMYD8uFFtOl1Z rEsAoJphT7RTaIGXvZiXgd0yERypMEa0 =YnW7 -----END PGP SIGNATURE----- --------------enig13AFDC5608CD8F25C81D838E--