[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Mass conversion of items
From: |
tomas |
Subject: |
Re: Mass conversion of items |
Date: |
Tue, 1 Sep 2020 18:14:20 +0200 |
User-agent: |
Mutt/1.5.21 (2010-09-15) |
On Tue, Sep 01, 2020 at 04:09:27PM +0100, Sharon Kimble wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA512
>
> I'm hoping that someone can help with this problem I have.
>
> I have several org-mode files which have some specific formatting in
> individual items, specifically -
>
> - --8<---------------cut here---------------start------------->8---
> \uuline{foo}
> - --8<---------------cut here---------------end--------------->8---
>
> This gives a double-underling of 'foo' when exported to latex and built
> into a pdf file.
>
> I'm now in the situation when the double underlining also needs to be
> italicised, and in org-mode its showing as -
>
> - --8<---------------cut here---------------start------------->8---
> /\uuline{foo}/
> - --8<---------------cut here---------------end--------------->8---
>
> This gives a double-underling and italicised of 'foo' when exported to
> latex and built into a pdf file.
>
> 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
signature.asc
Description: Digital signature