emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: "Juan Manuel Macías" <maciaschain@posteo.net>
To: Ypo <ypuntot@gmail.com>
Cc: Org-mode <emacs-orgmode@gnu.org>
Subject: Re: Help with a (query) replacement
Date: Sat, 12 Nov 2022 15:10:39 +0000	[thread overview]
Message-ID: <87k040jjio.fsf@posteo.net> (raw)
In-Reply-To: <4b3f7f60-9983-8a46-7a42-b14644f18347@gmail.com> (Ypo's message of "Sat, 12 Nov 2022 15:42:53 +0100")

Ypo writes:

> Hi
>
> I am copy-pasting e-books into org-mode to read and study them. 
>
> Usually, words come hyphenated, like "ato- mized", that I wanted to
> transform into "atomized". 
>
> I am trying with query replace, but I am starting to think that it is
> not the correct tool for this job. 
> I tried "query-replace [a-z]-" but I don't know how to exclude the
> letter before the "-".
>
> What would you advise?

I think it will be more practical for you to use pandoc:

With this command you can convert an epub format to org:

pandoc my-epub.epub -o my.epub.org

(https://pandoc.org)

You can also install calibre and convert your epubs to plain text from
there.

Best regards,

Juan Manuel 


  reply	other threads:[~2022-11-12 15:11 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-11-12 14:42 Help with a (query) replacement Ypo
2022-11-12 15:10 ` Juan Manuel Macías [this message]
2022-11-12 15:12   ` Ypo
2022-11-12 16:04     ` Juan Manuel Macías
2022-11-12 16:29       ` Juan Manuel Macías
2022-11-12 15:23   ` Juan Manuel Macías
2022-11-12 15:25     ` Ypo
2022-11-12 15:31 ` Alain.Cochard
2022-11-16 19:20   ` Ypo
2022-11-16 22:16     ` Alain.Cochard

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=87k040jjio.fsf@posteo.net \
    --to=maciaschain@posteo.net \
    --cc=emacs-orgmode@gnu.org \
    --cc=ypuntot@gmail.com \
    /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).