From: Christian Moe <mail@christianmoe.com>
To: Eric Abrahamsen <eric@ericabrahamsen.net>
Cc: emacs-orgmode@gnu.org
Subject: Re: Importing ODT/libreoffice into Org
Date: Sun, 17 Jul 2016 19:53:26 +0200 [thread overview]
Message-ID: <m2zipgducp.fsf@christianmoe.com> (raw)
In-Reply-To: <87r3atqu7s.fsf@ericabrahamsen.net>
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.
Annoyingly, there seems to be no way to write a macro for this in
LibreOffice, as formating attributes on search/replace isn't part of the
API. (If anyone has information to the contrary, please let me know.)
Yours,
Christian
next prev parent reply other threads:[~2016-07-17 17:53 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 [this message]
2016-07-17 19:24 ` Eric Abrahamsen
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=m2zipgducp.fsf@christianmoe.com \
--to=mail@christianmoe.com \
--cc=emacs-orgmode@gnu.org \
--cc=eric@ericabrahamsen.net \
/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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.