From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id aEiqItq4b2NGPAAAbAwnHQ (envelope-from ) for ; Sat, 12 Nov 2022 16:16:42 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id MLy0Itq4b2NMXAAA9RJhRA (envelope-from ) for ; Sat, 12 Nov 2022 16:16:42 +0100 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 40446FEEC for ; Sat, 12 Nov 2022 16:16:42 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1otsFA-0002Mr-T7; Sat, 12 Nov 2022 10:16:28 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1otsF8-0002Lz-Va for emacs-orgmode@gnu.org; Sat, 12 Nov 2022 10:16:27 -0500 Received: from mail-wr1-x431.google.com ([2a00:1450:4864:20::431]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1otsF6-0003yK-DD for emacs-orgmode@gnu.org; Sat, 12 Nov 2022 10:16:26 -0500 Received: by mail-wr1-x431.google.com with SMTP id g12so10028990wrs.10 for ; Sat, 12 Nov 2022 07:16:23 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=in-reply-to:from:references:cc:to:content-language:subject :user-agent:mime-version:date:message-id:from:to:cc:subject:date :message-id:reply-to; bh=qTAkByhJUrgtsvRzcEcrUNhQm1QLl4tjY2y9p09cm/Q=; b=cfTvMMOa4L+do1jW4JyUaFuaeQxNzkaKAT94tR5THX3t52kJNgO7t3vDtXrq/8gadc vq02XxWHY/y8u6jd8pz7JuRAKqY2sSNCpuTKhTmUtDUE61BuQTrh9Lezh4sJJGtrYHsI wtfPOGgv4/OOR/1X8x0jiKllPPBMJeTErY/7o8yzpgY9BWcMSdznGOXphfFJ7RyxSN6p QZq8DG872wk/ek/f1/cPk/fXaNDud0C/3aciVBeDqP4XWktj2CMwkb3O1QG1klsfqaTf YXEmV3XzVgpdYdyjkiy/OKVfEZINlCyqctUTfvmxDEV4erfIFOI5yU4Pqy55CWBZ3BlV 80xA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=in-reply-to:from:references:cc:to:content-language:subject :user-agent:mime-version:date:message-id:x-gm-message-state:from:to :cc:subject:date:message-id:reply-to; bh=qTAkByhJUrgtsvRzcEcrUNhQm1QLl4tjY2y9p09cm/Q=; b=aBCwOXO1nK/hyIgspOk1uCEtWbj0wBJpdPsgAd1j1g42xq/DFCLTaqoxachMjFOMPP SzQvFc715O+9/iUWW/SHFGR0Kr4ArUGv8YZ3Z6G+Jz9XcHjUIoZoI1tLqAEGjYd0EKVW CULhUly3xppc+ypd/d6zuvmTzGG+gWiYr+d4fkedtdZkwpYiZlsfCNRswXtKHRO0YpqT 3rxSQ4lAUWkgwDi5fCN386s1rIcl9bFI/C+Who49ggRZk4f0+tZzZiOfqHjGiEE8eX7H UbVimoKzqL63JPokQgtaiCriuVOVI/Z3ajoEThrKY6hpX/4eL8VTX73cehRtGgpnjUK9 mEPQ== X-Gm-Message-State: ANoB5pkJb9/rOFTvWCKeLBdEX0tTyQ8YHpSet/YZUddALqlYt1Tklb2F Mskv90mfxROAh4miTBidWJ4= X-Google-Smtp-Source: AA0mqf7D7TCW7IWNgBLqwPLga/Np1Ue3wU42B9L80OpYyz6Ym9mUXki+3E7UGV2BaXWf3A0BwCYytg== X-Received: by 2002:adf:de0e:0:b0:236:8f64:a5c5 with SMTP id b14-20020adfde0e000000b002368f64a5c5mr3669835wrm.167.1668266181928; Sat, 12 Nov 2022 07:16:21 -0800 (PST) Received: from [192.168.0.97] (static-236-73-225-77.ipcom.comunitel.net. [77.225.73.236]) by smtp.gmail.com with ESMTPSA id a7-20020adfdd07000000b0024165454262sm4629414wrm.11.2022.11.12.07.16.21 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sat, 12 Nov 2022 07:16:21 -0800 (PST) Content-Type: multipart/alternative; boundary="------------cYw6LNELbxE3xwDJ22dxhZYS" Message-ID: Date: Sat, 12 Nov 2022 16:12:10 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101 Thunderbird/91.11.0 Subject: Re: Help with a (query) replacement Content-Language: en-GB To: =?UTF-8?Q?Juan_Manuel_Mac=c3=adas?= Cc: Org-mode References: <4b3f7f60-9983-8a46-7a42-b14644f18347@gmail.com> <87k040jjio.fsf@posteo.net> From: Ypo In-Reply-To: <87k040jjio.fsf@posteo.net> Received-SPF: pass client-ip=2a00:1450:4864:20::431; envelope-from=ypuntot@gmail.com; helo=mail-wr1-x431.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, NICE_REPLY_A=-0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: emacs-orgmode-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1668266202; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=qTAkByhJUrgtsvRzcEcrUNhQm1QLl4tjY2y9p09cm/Q=; b=FzmJtQzX6qF7R51zWNVayM6OO9RerkljwVx2HiDjxFp1vbsW/hSS7RT7knYMl9RxnUpAWO sobtT2zK2vBpr3vjV8bF4J7SjM5LmzR9jTTZepCJCqEou5xt74NS9AnPhkqwOAdVahTLXJ F/QnUV24I2+4dGj0phi5DgMaYPYZi/YWKzf41jj9bmMxyxgxXovyvmsfJSvI62Rm1AMjKt FwkjGocMXtJKnUJWaaxg9Hhld8onItHS2RVGqy2xbGcSa6naahVCjdi9gtV+CR+gisXo2U xdIlCO10UTWt+sxmOvAM8j/qVfCeenZWvhtPRakuhCeFaCct1fH1yg+sASOA7A== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1668266202; a=rsa-sha256; cv=none; b=Yj5Pd84Ij1991pa/RPfexWt+Eq9uIr0xP7ef4OOvqM8SihC78DfPbjQK3JKzWlk/ccgIfh j+jIkhxQfBqb9ls0z9Zi8iGy6o45LseTFnQ5sDEGmQxg8wKJX5L0ZRNpLEw9B5nCysMIxS 8JS+Qmpy1zIXA1SJXYoSVnDXQ6xiS63/YGxNpjIoryR2F6bymuNvuzCCKdQsdZXsIWW8YA 8NWE6jmVMc5J6dyzYjEqwqq7oKbkyQbM8aWK+wbB5uk8WSYp5CQBHiYmXLjIIRTGi+4XQi PP5ML86NT7+Wu5v8mm8a22nKIDJpSZz3mpasCcT8F8nMrY2aLEokj0OM3UR66Q== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=cfTvMMOa; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -9.04 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=cfTvMMOa; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 40446FEEC X-Spam-Score: -9.04 X-Migadu-Scanner: scn0.migadu.com X-TUID: 4CNHbyLPFKI5 This is a multi-part message in MIME format. --------------cYw6LNELbxE3xwDJ22dxhZYS Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Thanks, Juan Manuel. I normally study using PDF books. Their typography is like "hardcoded", so a post-processing using Orgmode is needed, I think. El 12/11/2022 a las 16:10, Juan Manuel Macías escribió: > 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 --------------cYw6LNELbxE3xwDJ22dxhZYS Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 8bit

Thanks, Juan Manuel.

I normally study using PDF books. Their typography is like "hardcoded", so a post-processing using Orgmode is needed, I think.

El 12/11/2022 a las 16:10, Juan Manuel Macías escribió:
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 
--------------cYw6LNELbxE3xwDJ22dxhZYS--