From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id ICslIWyDTl8ZDgAA0tVLHw (envelope-from ) for ; Tue, 01 Sep 2020 17:22:52 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id EIXpHGyDTl9GXgAAbx9fmQ (envelope-from ) for ; Tue, 01 Sep 2020 17:22:52 +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 2C1099404CA for ; Tue, 1 Sep 2020 17:22:52 +0000 (UTC) Received: from localhost ([::1]:36116 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kD9zf-0001af-3f for larch@yhetil.org; Tue, 01 Sep 2020 13:22:51 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:56260) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kD9zG-0001aY-Ad for emacs-orgmode@gnu.org; Tue, 01 Sep 2020 13:22:26 -0400 Received: from static.214.254.202.116.clients.your-server.de ([116.202.254.214]:38164 helo=ciao.gmane.io) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kD9zD-0007Eq-UP for emacs-orgmode@gnu.org; Tue, 01 Sep 2020 13:22:26 -0400 Received: from list by ciao.gmane.io with local (Exim 4.92) (envelope-from ) id 1kD9zA-0007z2-Tx for emacs-orgmode@gnu.org; Tue, 01 Sep 2020 19:22:20 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: emacs-orgmode@gnu.org From: Sharon Kimble Subject: Re: Mass conversion of items Date: Tue, 01 Sep 2020 18:22:02 +0100 Message-ID: <87blipl8ed.fsf@skimble.plus.com> References: <87sgc1lejc.fsf@skimble.plus.com> <20200901161420.GA20966@tuxteam.de> Mime-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: quoted-printable User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) Cancel-Lock: sha1:cB40CqXItWiU4g6qFBS1omJnBGg= Received-SPF: pass client-ip=116.202.254.214; envelope-from=geo-emacs-orgmode@m.gmane-mx.org; helo=ciao.gmane.io X-detected-operating-system: by eggs.gnu.org: First seen = 2020/09/01 12:15:08 X-ACL-Warn: Detected OS = Linux 2.2.x-3.x [generic] [fuzzy] X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, HEADER_FROM_DIFFERENT_DOMAINS=0.001, 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=none; 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: 1.99 X-TUID: 5Im2tYvq2/lR =2D----BEGIN PGP SIGNED MESSAGE----- Hash: SHA512 Thanks for replying Tomas. writes: > 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=20=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? Okay, being very specific, all of '\uuline{foo}' remains, but with a forward slash at the beginning and end of '\uuline{foo}' to achieve this '/\uuline{foo}/' Thanks Sharon.=20=20=20=20 > > I'm sure there are a couple of other questions I just forget now, > But we'll get there :) > > Cheers > - t > =2D --=20 Debian 10.5, fluxbox 1.3.7, emacs 27.1, org 9.3.7 =2D----BEGIN PGP SIGNATURE----- iQJPBAEBCgA5FiEELSc/6QwVBIYugJDbNoGAGQr4g1sFAl9OgzobHGJvdWRpY2Nh c0Bza2ltYmxlLnBsdXMuY29tAAoJEDaBgBkK+INb0cYP/iJ65wP+ZIA2nPXnxZLK OZebw3ghKx1xTFQvCXc3m5UXCjkDUgAk9sJpGdpx/FvzzHWvpmpkQkPybnyRXBwM Ogc1PlEJRjhXMbAwyocvNmpoBMzF90c5xa3ge7qmbn9ogNr61l4oD0ZMaIjwA30k Rsz2lzuv4GRCv3R7r6W1Y3H11ks9bt0QE3vZKgnUb7veKW50bZcJMqRwL1xGIYB4 HnuG7GNOAnTuf2dGF1BMco2NBONEYQhhL5WUksGb5nqLKDqa664BhTPHT1L6jPay TeBfSc3gSQHU2hPp2/iiaYlvkiQFKsS6Q7wQ1+IwrYKNkbaszkRvjS9wmzV6CMc9 so4N/Dbx9LsTXlA/8YbjYbYWUGDuCBot5MJc9OjX27+uP0BqhoIux93UsjpWKAFB e721RTLewXDtQLV/uoVxEfWGUxOKBEw7VDhyPOZ72Gxk8c7EhUQC3bLRLHDe3mZi Y99JKXYbfL0Mcfl+5/wbD91L1BJt29+KZAqzvrYRKaU8AAHrBZcStgn1en/m5JS0 fPTXDOvTHedIdpqLz3oQIU7FAQs+RD/PbbVf+8vXcaq6k8MZeuNki2E0lBxVo/cu FHJBnbY7o3vUDwDXMyV23IUBMLLDy4ug0dK2+NBGTM7SosJazNq4mWdMgAtWVfYi 0ARNlhp4bixDDlOwtfTkS3lQ =3DkqHe =2D----END PGP SIGNATURE-----