From mboxrd@z Thu Jan  1 00:00:00 1970
Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail
From: Arthur Miller <arthur.miller@live.com>
Newsgroups: gmane.emacs.help
Subject: Re: Emacs as a translator's tool
Date: Fri, 18 Sep 2020 20:26:23 +0200
Message-ID: <VI1PR06MB452625953FF81856AB9BE4DE963F0@VI1PR06MB4526.eurprd06.prod.outlook.com>
References: <871rn35lqc.fsf@mbork.pl> <87zh9r45ad.fsf@mbork.pl>
 <87h7vz2m5g.fsf@ebih.ebihd>
 <CAP_d_8XGk24C63t4HA_4P+0_n4Ta5J0San1Ac4OmtJqmCjK8Hg@mail.gmail.com>
 <87zh9qr67n.fsf@ericabrahamsen.net>
 <3DBA2692-28A0-4AC3-B884-78763A9C7B16@traduction-libre.org>
 <87tuzyr474.fsf@ericabrahamsen.net>
 <87h7rwtov7.fsf@ericabrahamsen.net>
 <VI1PR06MB4526718FE3E8F2D9268FD79E963E0@VI1PR06MB4526.eurprd06.prod.outlook.com>
 <87d02ktmpr.fsf@ericabrahamsen.net>
 <VI1PR06MB45266925718A798EFA43E1AF963E0@VI1PR06MB4526.eurprd06.prod.outlook.com>
 <875z8c8din.fsf@ericabrahamsen.net>
 <VI1PR06MB4526D1173A6E889CA978A55F963E0@VI1PR06MB4526.eurprd06.prod.outlook.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214";
	logging-data="26794"; mail-complaints-to="usenet@ciao.gmane.io"
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)
Cc: Jean-Christophe Helary <jean.christophe.helary@traduction-libre.org>,
 help-gnu-emacs <help-gnu-emacs@gnu.org>, Emanuel Berg <moasenwood@zoho.eu>,
 Yuri Khan <yuri.v.khan@gmail.com>
To: Eric Abrahamsen <eric@ericabrahamsen.net>
Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Fri Sep 18 20:50:26 2020
Return-path: <help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org>
Envelope-to: geh-help-gnu-emacs@m.gmane-mx.org
Original-Received: from lists.gnu.org ([209.51.188.17])
	by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
	(Exim 4.92)
	(envelope-from <help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org>)
	id 1kJLSk-0006sS-99
	for geh-help-gnu-emacs@m.gmane-mx.org; Fri, 18 Sep 2020 20:50:26 +0200
Original-Received: from localhost ([::1]:55762 helo=lists1p.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.90_1)
	(envelope-from <help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org>)
	id 1kJLSi-0001dR-07
	for geh-help-gnu-emacs@m.gmane-mx.org; Fri, 18 Sep 2020 14:50:24 -0400
Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:45464)
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <arthur.miller@live.com>)
 id 1kJL5b-0004aV-DN
 for help-gnu-emacs@gnu.org; Fri, 18 Sep 2020 14:26:31 -0400
Original-Received: from mail-vi1eur06olkn2041.outbound.protection.outlook.com
 ([40.92.17.41]:27616 helo=EUR06-VI1-obe.outbound.protection.outlook.com)
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <arthur.miller@live.com>)
 id 1kJL5Z-0005at-4T
 for help-gnu-emacs@gnu.org; Fri, 18 Sep 2020 14:26:30 -0400
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none;
 b=j6HyS7UCITnj/LmH/ELjS/5SKJkFu1cQqoi+GxmHtlfqfIyz+EWApxjczKcABIsNTZkafYcqV60NiuWXfk3ehBlGUi4LbxGGGsDvO9APRdtfHkh7yJjQi7zhQlUuAPvm96aonzWkmf71x5wQl7nS7+esXFo2PuQctgHSWs6+CwR0oX3woax8sX/1ApHfA4gT+frfP94yNWRSZ5zXBKzrmJ+IuJFtr9OcXbw/EhOai9Iw4zGb/JrjG/gZeFWh1PEdhQy40KuppwvbESS4gC+/Vwoe3+nJZmyijdiH8QN4GNyPYVgkooV4errVdIpNIwnVjnLhbC90qjpLKGadjG5pSQ==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; 
 s=arcselector9901;
 h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck;
 bh=6LgYDmCHnaICeRqjeQycUWuIKX9wRuSWC3gsXkLhe+0=;
 b=HheV3kHrT9+rHjhqhCms90D5IHomYM2/wp05xV2RPaSL+m9OpkLEhK1/oJW1FKfqRJhbj6hpCpLlRBD+twrgy4nfqonQ5J1VFTW6wH8CScXSo4xyGHFp7XAuHxJpEeNPVvwAV7mPhAuXIV0DQGhX1e0fyb481G2mE3KEOtXpW59vr7tkmZWvSxD4TuS81yk/Z79p4h5X5DZeuIB1Q4zvifXqApqJ+vbrRkvflYAMxS/OuDB4Rqa6R+Mf/d5f2h1VqHAt71dWh7d4RkeUv0eh8lTqc0vCNezvreqIbTCtWWocCz59lvMtE7OhI24tn0usn4EtLZ5EBqUxScvdMjpvBA==
ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=none; dmarc=none;
 dkim=none; arc=none
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=live.com; s=selector1; 
 h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck;
 bh=6LgYDmCHnaICeRqjeQycUWuIKX9wRuSWC3gsXkLhe+0=;
 b=HPyFwqJ8D2vKVntXf/qU0mXlkVcbeAliip5H+EdFlbBrQxyucay/6ja9hUCVjK/H2XgRs9xiXOD2wdiG3FCKbUfw5UkzYWPgWqrVxUhIJKmN5gWwfJL1OuNPVR7FXtRZjvaTxQwXAFEZctHr0xBxDmw2QW3C1vf7LItvF8e60ANOA3aYr1UpVm5AhWLzIADFA3RMNDyjHKOyr0kw/Zs+leCiYklEGa/KEhZ6rdDPbzHUFNFgtzlneySkYa45BDUzkx3q3ek1qXXnGRzcMlAAxPemV/JEHajst581ySIXGy53xBz6vUaVc62t8sBH8Ikf06J7AzLJd8vc8i+7ETbrlg==
Original-Received: from DB8EUR06FT036.eop-eur06.prod.protection.outlook.com
 (2a01:111:e400:fc35::49) by
 DB8EUR06HT124.eop-eur06.prod.protection.outlook.com (2a01:111:e400:fc35::215)
 with Microsoft SMTP Server (version=TLS1_2,
 cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3391.15; Fri, 18 Sep
 2020 18:26:25 +0000
Original-Received: from VI1PR06MB4526.eurprd06.prod.outlook.com
 (2a01:111:e400:fc35::4d) by DB8EUR06FT036.mail.protection.outlook.com
 (2a01:111:e400:fc35::152) with Microsoft SMTP Server (version=TLS1_2,
 cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3391.15 via Frontend
 Transport; Fri, 18 Sep 2020 18:26:25 +0000
X-IncomingTopHeaderMarker: OriginalChecksum:732985D63CC22ADE2D610EF4EA543674E7921509F2F8D391FF0F7FCD8A551155;
 UpperCasedChecksum:EB903B2F84553C50D5BEC7F0EEEE6A0B5826540E6776EC3C1C1B9FC693BF450A;
 SizeAsReceived:9474; Count:48
Original-Received: from VI1PR06MB4526.eurprd06.prod.outlook.com
 ([fe80::b547:51cd:16c5:4487]) by VI1PR06MB4526.eurprd06.prod.outlook.com
 ([fe80::b547:51cd:16c5:4487%7]) with mapi id 15.20.3391.017; Fri, 18 Sep 2020
 18:26:25 +0000
In-Reply-To: <VI1PR06MB4526D1173A6E889CA978A55F963E0@VI1PR06MB4526.eurprd06.prod.outlook.com>
 (arthur miller's message of "Thu, 17 Sep 2020 19:44:03 +0000")
X-ClientProxiedBy: AM5PR0201CA0017.eurprd02.prod.outlook.com
 (2603:10a6:203:3d::27) To VI1PR06MB4526.eurprd06.prod.outlook.com
 (2603:10a6:803:ac::17)
X-Microsoft-Original-Message-ID: <87h7rveyb4.fsf@live.com>
X-MS-Exchange-MessageSentRepresentingType: 1
Original-Received: from pascal.homepc (90.230.29.56) by
 AM5PR0201CA0017.eurprd02.prod.outlook.com (2603:10a6:203:3d::27) with
 Microsoft SMTP Server (version=TLS1_2,
 cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3391.11 via Frontend
 Transport; Fri, 18 Sep 2020 18:26:24 +0000
X-Microsoft-Original-Message-ID: <87h7rveyb4.fsf@live.com>
X-TMN: [FnjTmkwVjd7TurI9wDK+xyLgJRXLh5Go]
X-MS-PublicTrafficType: Email
X-IncomingHeaderCount: 48
X-EOPAttributedMessage: 0
X-MS-Office365-Filtering-Correlation-Id: 2674fae8-65f1-4bf4-eeb8-08d85c005993
X-MS-TrafficTypeDiagnostic: DB8EUR06HT124:
X-Microsoft-Antispam: BCL:0;
X-Microsoft-Antispam-Message-Info: vPJPgMqB4jWH44jM7aF60fhRC7xVyBXP1gE/bYSytMdJKCkx2tO8buaghg6j5QHht6gq0HoFlGQFZutWlskQ14QwmeDeajFnaRuwqlbDSXglUgY0huaH+WMzf3PQrOAPGLjaUT3Cl7Kjx7W6UVI1Kvy+ArTvK7onkHXMmVvn8SB4E9pv2kNYMK+qS5xf+65DpAgPCVLpyk3B6EjsR7TgQw==
X-MS-Exchange-AntiSpam-MessageData: L2uzmaW2c/HwKiYirGM51D68M2oVCDepebYsv+7pLViDMRXkhZuFfwxaMfiviTuOhoOuqKFCecNvhMDYg8YP9dGTZvk9/UVNUK+ZlRVHsA/5We8CtsPqgYjdcVpvEmaaN3G6iF75/nd5Sb7CoEwxtQ==
X-OriginatorOrg: live.com
X-MS-Exchange-CrossTenant-Network-Message-Id: 2674fae8-65f1-4bf4-eeb8-08d85c005993
X-MS-Exchange-CrossTenant-OriginalArrivalTime: 18 Sep 2020 18:26:25.1464 (UTC)
X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted
X-MS-Exchange-CrossTenant-Id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa
X-MS-Exchange-CrossTenant-AuthSource: DB8EUR06FT036.eop-eur06.prod.protection.outlook.com
X-MS-Exchange-CrossTenant-AuthAs: Anonymous
X-MS-Exchange-CrossTenant-FromEntityHeader: Internet
X-MS-Exchange-CrossTenant-RMS-PersistedConsumerOrg: 00000000-0000-0000-0000-000000000000
X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB8EUR06HT124
Received-SPF: pass client-ip=40.92.17.41; envelope-from=arthur.miller@live.com;
 helo=EUR06-VI1-obe.outbound.protection.outlook.com
X-detected-operating-system: by eggs.gnu.org: First seen = 2020/09/18 14:26:25
X-ACL-Warn: Detected OS   = Windows NT kernel [generic] [fuzzy]
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,
 MSGID_FROM_MTA_HEADER=0.001, RCVD_IN_DNSWL_NONE=-0.0001,
 RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_PASS=-0.001,
 SPF_PASS=-0.001 autolearn=ham autolearn_force=no
X-Spam_action: no action
X-BeenThere: help-gnu-emacs@gnu.org
X-Mailman-Version: 2.1.23
Precedence: list
List-Id: Users list for the GNU Emacs text editor <help-gnu-emacs.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/help-gnu-emacs>,
 <mailto:help-gnu-emacs-request@gnu.org?subject=unsubscribe>
List-Archive: <https://lists.gnu.org/archive/html/help-gnu-emacs>
List-Post: <mailto:help-gnu-emacs@gnu.org>
List-Help: <mailto:help-gnu-emacs-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/help-gnu-emacs>,
 <mailto:help-gnu-emacs-request@gnu.org?subject=subscribe>
Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org
Original-Sender: "help-gnu-emacs"
 <help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org>
Xref: news.gmane.io gmane.emacs.help:124094
Archived-At: <http://permalink.gmane.org/gmane.emacs.help/124094>

> -------- Originalmeddelande --------
> Fr=C3=A5n: Eric Abrahamsen <eric@ericabrahamsen.net>
> Datum: 2020-09-17 20:27 (GMT+01:00)
> Till: arthur miller <arthur.miller@live.com>
> Kopia: Jean-Christophe Helary <jean.christophe.helary@traduction-libre.or=
g>,
> help-gnu-emacs <help-gnu-emacs@gnu.org>, Emanuel Berg <moasenwood@zoho.eu=
>, Yuri
> Khan <yuri.v.khan@gmail.com>
> =C3=84mne: Re: Emacs as a translator's tool
>
> arthur miller <arthur.miller@live.com> writes:
>
>> Sure, no rush at all. By the way, the original source is a book in pdf f=
ormat.
>
> Ha, this package won't do much at all, then! The main point is having
> source and translation together in the same buffer, and keeping
> correspondences between locations and glossary items. If the source
> isn't in Emacs at all, I don't think it will do much for you.

Ok, text extracted fine; I am not sure how to use the tool yet; but at
least I can repport that when I tried to enable org-translate-mode I got
error:

Symbol=E2=80=99s value as variable is void:org-export-filter-body-functions

That was solved by (require 'ox). I don't know if ox is supposed to be
included by default or not, but seems to solve it.

After that mode started correctly (in my org file), and asked me if I
wanted to index something:

Project not yet segmented, segment now? (y or n) y
You=E2=80=99re 0% done!

I have downloaded the source file just few minutes ago, so I guess I
have the latest version.

Any pointer what to do next/how to use the tool? How should I setup the
document so it can be used with the tool? How do I set the source file
(extracted text), do I need to copy it manually or can I set it up as a
file to be imported?

Currently I try to follow the book layout as closely as possible, so I
have a structure as this:

* Chapter X
** p1
** p2
...
** pn
*Chapyter Y
** pn+1
....