Received: from mail.proteosys.com ([213.139.130.197]) by nummer-3.proteosys with Microsoft SMTPSVC(6.0.3790.3959); Mon, 8 Sep 2008 14:30:58 +0200 Received: by mail.proteosys.com (8.13.8/8.13.8) with ESMTP id m88CUqc8022839 for ; Mon, 8 Sep 2008 14:30:53 +0200 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 m88CQuQI011978 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 8 Sep 2008 14:26:57 +0200 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 m87M1Dwe004931; Mon, 8 Sep 2008 14:26:50 +0200 Received: by LISTSERV.UNI-HEIDELBERG.DE (LISTSERV-TCP/IP release 15.5) with spool id 21373 for LATEX-L@LISTSERV.UNI-HEIDELBERG.DE; Mon, 8 Sep 2008 14:26:50 +0200 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 m88CQo3E004013 for ; Mon, 8 Sep 2008 14:26:50 +0200 Received: from mailgate5.uea.ac.uk (mailgate5.uea.ac.uk [139.222.130.185]) by relay.uni-heidelberg.de (8.14.1/8.14.1) with ESMTP id m88CQa5N027064 for ; Mon, 8 Sep 2008 14:26:40 +0200 Received: from [139.222.128.187] (helo=ueams04.uea.ac.uk) by mailgate5.uea.ac.uk with esmtp (Exim 4.50) id 1KcfpE-0005xq-Qn for latex-l@listserv.uni-heidelberg.de; Mon, 08 Sep 2008 13:26:36 +0100 Received: from [139.222.202.58] by ueams04.uea.ac.uk with esmtp (Exim 4.69) (envelope-from ) id 1KcfpE-00035W-QE for latex-l@listserv.uni-heidelberg.de; Mon, 08 Sep 2008 13:26:36 +0100 User-Agent: Thunderbird 2.0.0.16 (Windows/20080708) MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Message-ID: <48C519FC.2020204@morningstar2.co.uk> Date: Mon, 8 Sep 2008 13:26:36 +0100 Reply-To: Mailing list for the LaTeX3 project Sender: Mailing list for the LaTeX3 project From: Joseph Wright Subject: \tlp_replace_in:Nnn To: LATEX-L@LISTSERV.UNI-HEIDELBERG.DE Precedence: list List-Help: , List-Unsubscribe: List-Subscribe: List-Owner: List-Archive: X-ProteoSys-SPAM-Score: -2.599 () BAYES_00 X-Scanned-By: MIMEDefang 2.64 on 213.139.130.197 Return-Path: owner-latex-l@LISTSERV.UNI-HEIDELBERG.DE X-OriginalArrivalTime: 08 Sep 2008 12:30:58.0139 (UTC) FILETIME=[BEE462B0:01C911AE] Status: R X-Status: X-Keywords: X-UID: 5238 Hello, I'm trying to achieve something similar to etoolbox's \patchcmd. Following some earlier discussion with Will, I decided to try the \tlp_replace_ ... functions. However, trying a minimal example: \documentclass{article} \usepackage{expl3} \CodeStart \def_new:NNn\macro 0 {TEXT} \tlp_new:N\g_temp_tlp \tlp_set:Nn\g_temp_tlp{ABCDE\macro} \tlp_replace_in:Nnn\g_temp_tlp{A}{B} \CodeStop \begin{document} \end{document} I get an error about undefined \l_tlp_replace_toks. I've not cut the burning-edge of expl3, so this may have been fixed. However, I thought I should report it. -- Joseph Wright Tel. 01604 810094 Morning Star Mobile 07974 148180 2 Dowthorpe End Earls Barton Northants NN6 0NH