[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] Importing ODT/libreoffice into Org

From: Eric Abrahamsen
Subject: Re: [O] Importing ODT/libreoffice into Org
Date: Sun, 17 Jul 2016 12:24:57 -0700
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux)

Christian Moe <address@hidden> writes:

> Eric Abrahamsen writes:
>> I just had to convert a 200+ page document to Org by hand: searching
>> for italics worked, but not replace.
> Looks like pandoc is the way to go, I'll have to try it.
> Still, Search/Replace for italics in LibreOffice ought to work. Try this
> recipe:
> 1) Edit -> Find / Replace -> More options: check the box for "regular
>    expressions".
> 2) On "Search for", type "(.*)" (without the quotes, with the parens).
> 3) With the cursor still on the "Search for" box, click on "Format" and
>    select "Italics".
> 4) As a replacement, type: "/$1/" (for Org).
> 5) Replace all.

I have done that successfully in the past! This time it wouldn't work.
In the "other options" menu, after you choose the italics, there's a
"including styles" checkbox. Libreoffice would only find the italics if
that was checked, but if it was checked, clicking replace wouldn't work
-- it would ignore the contents of the replace box, and instead change
the style of the paragraph to "paragraph style". No matter what I poked,
that's all it would do. I appreciate Libreoffice in a way, but it's
mystery behavior like that that makes me get out of it as soon as
humanly possible.

It can be pandoc's job now!

reply via email to

[Prev in Thread] Current Thread [Next in Thread]