From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id ePsiGYhzTl+oQQAA0tVLHw (envelope-from ) for ; Tue, 01 Sep 2020 16:15:04 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id 0K0NFYhzTl/1UQAAB5/wlQ (envelope-from ) for ; Tue, 01 Sep 2020 16:15:04 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id A2A389404C2 for ; Tue, 1 Sep 2020 16:15:03 +0000 (UTC) Received: from localhost ([::1]:52296 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kD8w1-0002b0-Uh for larch@yhetil.org; Tue, 01 Sep 2020 12:15:01 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:35726) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kD8vX-0002Zc-By for emacs-orgmode@gnu.org; Tue, 01 Sep 2020 12:14:31 -0400 Received: from mail.tuxteam.de ([5.199.139.25]:60309) by eggs.gnu.org with esmtps (TLS1.2:DHE_RSA_AES_128_CBC_SHA1:128) (Exim 4.90_1) (envelope-from ) id 1kD8vU-0005yS-OQ for emacs-orgmode@gnu.org; Tue, 01 Sep 2020 12:14:31 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=tuxteam.de; s=mail; h=From:In-Reply-To:Content-Type:MIME-Version:References:Message-ID:Subject:To:Date; bh=yUP424CZ9DyxvRhYoe6fBT/3TPpifPSJae/GpaloSGQ=; b=ZJZc5+3S5PoMbQBMlC49YwOTpczHdv9Hsle1xc529l0wuy1vv3IGqs6qDVBF/SpWBCbwNQsvg1MMQbcLIxgVZYWicprsBxUHrCybBKQC637RkC8ivWXXUQ3tH+EtQUZJ3v44Ndz/As/KQSB6KQRow6n8JzQ+mMZz1yimY3hU4a9TnGp87+A04RJMnQ4BpulQRHmwOvf4zMsfJiu4AYC/bBj0SfRJJMt0Gc2gx39CroO1XgLFOJp7D7CKYxHQpqwJEbHGbS0I63ANDvFmfi3wB9iyqdSCIUJcFhP+tWZkhtHMLE1oylkNngLajmZHEw1Ax2wQjTn7RUbSYGDBAt0EWA==; Received: from tomas by mail.tuxteam.de with local (Exim 4.80) (envelope-from ) id 1kD8vR-0005Wy-PK for emacs-orgmode@gnu.org; Tue, 01 Sep 2020 18:14:25 +0200 Date: Tue, 1 Sep 2020 18:14:20 +0200 To: emacs-orgmode@gnu.org Subject: Re: Mass conversion of items Message-ID: <20200901161420.GA20966@tuxteam.de> References: <87sgc1lejc.fsf@skimble.plus.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="jRHKVT23PllUwdXP" Content-Disposition: inline In-Reply-To: <87sgc1lejc.fsf@skimble.plus.com> User-Agent: Mutt/1.5.21 (2010-09-15) From: Received-SPF: pass client-ip=5.199.139.25; envelope-from=tomas@tuxteam.de; helo=mail.tuxteam.de X-detected-operating-system: by eggs.gnu.org: First seen = 2020/09/01 10:59:00 X-ACL-Warn: Detected OS = Linux 3.1-3.10 [fuzzy] X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Scanner: scn0 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=tuxteam.de header.s=mail header.b=ZJZc5+3S; dmarc=none; spf=pass (aspmx1.migadu.com: domain of emacs-orgmode-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=emacs-orgmode-bounces@gnu.org X-Spam-Score: -3.31 X-TUID: ckXangbd/bbY --jRHKVT23PllUwdXP Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Sep 01, 2020 at 04:09:27PM +0100, Sharon Kimble wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA512 >=20 > I'm hoping that someone can help with this problem I have. >=20 > I have several org-mode files which have some specific formatting in > individual items, specifically - >=20 > - --8<---------------cut here---------------start------------->8--- > \uuline{foo} > - --8<---------------cut here---------------end--------------->8--- >=20 > This gives a double-underling of 'foo' when exported to latex and built > into a pdf file. >=20 > I'm now in the situation when the double underlining also needs to be > italicised, and in org-mode its showing as - >=20 > - --8<---------------cut here---------------start------------->8--- > /\uuline{foo}/ > - --8<---------------cut here---------------end--------------->8--- > =20 > This gives a double-underling and italicised of 'foo' when exported to > latex and built into a pdf file. >=20 > I would like to change about 150+ 'foos' and possibly using > 'replace-string' to do it. Also, 'foo' is lots of different words which > includes spaces between some of them. So how can I do it please? Hm. From your description it's unclear what exactly are you after. A couple of questions to try to zoom into that: - You want to change the text in the curly braces, i.e. what you call 'foo' above? Is this text always different? Is it possible to state a rule describing how this text looks like and by what you want to replace it? Or is the process going to be manual? - All that stuff: is it in one file or scattered across multiple files? I'm sure there are a couple of other questions I just forget now, But we'll get there :) Cheers - t --jRHKVT23PllUwdXP Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (GNU/Linux) iEYEARECAAYFAl9Oc1wACgkQBcgs9XrR2kaM7gCePdlviQWVSTj5oEGM4aJEmLKD LbsAn3zOp7YkbDoO2rd0bgsoVOeR0g80 =+EWB -----END PGP SIGNATURE----- --jRHKVT23PllUwdXP--