emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Eric Abrahamsen <eric@ericabrahamsen.net>
To: emacs-orgmode@gnu.org
Subject: Re: Importing ODT/libreoffice into Org
Date: Sun, 17 Jul 2016 12:24:57 -0700	[thread overview]
Message-ID: <877fckqd86.fsf@ericabrahamsen.net> (raw)
In-Reply-To: m2zipgducp.fsf@christianmoe.com

Christian Moe <mail@christianmoe.com> 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	other threads:[~2016-07-17 19:25 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-07-16 19:05 Importing ODT/libreoffice into Org Eric Abrahamsen
2016-07-16 19:15 ` Samuel W. Flint
2016-07-16 19:38   ` Eric Abrahamsen
2016-07-16 19:41   ` Eric Abrahamsen
2016-07-16 21:08 ` John Kitchin
2016-07-16 21:14   ` Eric Abrahamsen
2016-07-16 22:13     ` John Kitchin
2016-07-16 22:15       ` Eric Abrahamsen
2016-07-17 17:53 ` Christian Moe
2016-07-17 19:24   ` Eric Abrahamsen [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=877fckqd86.fsf@ericabrahamsen.net \
    --to=eric@ericabrahamsen.net \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).