From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.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 iEQwCGwuM2OxCwEAbAwnHQ (envelope-from ) for ; Tue, 27 Sep 2022 19:10:04 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id WCBnB2wuM2OsIAAAG6o9tA (envelope-from ) for ; Tue, 27 Sep 2022 19:10:04 +0200 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 CCF4E13177 for ; Tue, 27 Sep 2022 19:10:02 +0200 (CEST) Received: from localhost ([::1]:58260 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1odE5p-0004K8-Kp for larch@yhetil.org; Tue, 27 Sep 2022 13:10:01 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:57796) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1odDYD-0006kK-Q8 for emacs-orgmode@gnu.org; Tue, 27 Sep 2022 12:35:19 -0400 Received: from sonic307-9.consmr.mail.ne1.yahoo.com ([66.163.190.32]:37522) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1odDY0-00080e-Ad for emacs-orgmode@gnu.org; Tue, 27 Sep 2022 12:35:16 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aol.com; s=a2048; t=1664296500; bh=XJpUhd/K6T/huk9IpFNgPiPhH6rwkH7QoDkjkCAR79k=; h=From:To:Subject:In-Reply-To:References:Date:From:Subject:Reply-To; b=W0AR/dKyEHGU8YaOuw4dJoll6Xg6fKOS6F5QsQvLgCRf4n7Wz6ntA3cUoVDhDzLLQAl/YzDwWHCR8xRA/rwfdHQePvwcSdo+oX5k0s5ZTMcVC14KNurnHSLMmPvC9YpZjlmqIE6fNiRogznpXxvU7rEh4zXSo3NwfkHJ7DuTFPLY3WakROoZB8jRF2J0x0AdnpBmVtMfIDY7peEhartA7sfhA6ATRTLkEVmDUrehDkSPxUQc5v642ksB5R01rTVyEh5Oyy4HHeGgiNbvZ3PFeN8UZ2kJVJ6F7Nv7ETlw4Ej10lq4OfJS9U+Mb1VGVob0j1DLRQPO9jmTVRvEe+b9UQ== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1664296500; bh=cpilKiUuNzZR2UebbPnVyHm/r9WV3iAtRDS0Ln/djCm=; h=X-Sonic-MF:From:To:Subject:Date:From:Subject; b=HAlh1BQq3zab227KhVcNikey5WNGAK1NYD+XAWl/nJENIuaOttelaZ5QqkqkKdXi6cKEDOYSTyccy39dEBAUnJlCwAQNO8Z9RPiFy1KFDjomZsoYMZLu/4yNUZ4O+HHhsWsVh5pccNusP1QEJMojKNwS3luiEYXU7mcyk2esOdxDx+bDfVNAn6QSEl0ihotyAhnXkWn8qRrsNtpX+SNe0gspN5th8Qm4e7z4fI5O0/eZwj2ueN4MULhVPD83VKBZndlrJlhfScMf2EHm3u8qgYfUCtH4W6n9CUvgi3lcdDAkwqkzXtg1awtyFfc1Xh2OEO8FClFb6bC2KXZqkI9Q6w== X-YMail-OSG: U_jDJWQVM1l9tIKlmZrvh.7bHHg.h0QIb29.IqZkbNVHJTVM8se9RSzsf7XKBpX Q35WGAMD0B0hJiJMicoCIrAsEIrsu511RjMKKfRGwenROhq2TbpfvsnWiRX5V0jOW3CQl5gOQq_s HWMGUbsv17fuCg3AAJRd9IZl3FVb72RjCtHY8AySdv_UDnHSTo05HAmV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oo.com with HTTP; Tue, 27 Sep 2022 16:35:00 +0000 Received: by hermes--production-bf1-759bcdd488-hrxt2 (Yahoo Inc. Hermes SMTP Server) with ESMTPA ID a223d15a6459a66eacd975e75de862ed; Tue, 27 Sep 2022 16:34:55 +0000 (UTC) From: Hendursaga To: Juan Manuel =?utf-8?Q?Mac=C3=ADas?= , orgmode Subject: Re: Create in Org a bilingual book with facing pages In-Reply-To: <87h70tyyiz.fsf@posteo.net> References: <87h70tyyiz.fsf@posteo.net> Date: Tue, 27 Sep 2022 12:34:50 -0400 Message-ID: <87zgeku66t.fsf@aol.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Mailer: WebService/1.1.20702 mail.backend.jedi.jws.acl:role.jedi.acl.token.atz.jws.hermes.aol Received-SPF: pass client-ip=66.163.190.32; envelope-from=hendursaga@aol.com; helo=sonic307-9.consmr.mail.ne1.yahoo.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, 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" 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=1664298603; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=XJpUhd/K6T/huk9IpFNgPiPhH6rwkH7QoDkjkCAR79k=; b=I3ci8C2SkSy9Vd9d05js3C+3xDGO86J78fKNdwry0uoZC3r7ax6Z1OrO3cXBrwHy2xbjE4 7BdACGVGvT/cx3kDTdJgnhFdbkPHtFnS2riSz8U/Q6NJs4qei1d4eSIM+hoHfBYFjA1Bqd VjtUvl/abcdtExudmzGzvRLorKLD7lY3tjgZg0eIke2IxCMD8TZJi0Ag3HESHb2JSW5vN9 uMhCdPPSeYaK6QCcHFgN9dHpjAbniLX5MoW+Lzhyo0kdTnnt6qgXXe4SLX2Jv3U18r1p2S atTcFFg2HQN7I0QnE9YrtBv97Xb0wCgaIDIqYkpPRfzzNqQ39raZhDVyM601bA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1664298603; a=rsa-sha256; cv=none; b=GqjKiXj7tgLPrDb/kuccx4wKUfpPbZv6cuFTGVZnEG40O+ZqN1Zzjt2rfsN9E4cbqAEH3i jJATPBxy7R/zQq7w7GOJwBM6YEXHqKYPvNyLvwqUFJb+mjry8v89XGMtN1die7UhE0EAbW ezQUlMhQQuzWLhZbQ54ru8626v8Xo6S1ow1UgEdUO4rEKZOlxmkf+8cIfaGqMvdyne0QI1 j/b6O+XyC3TBFqIke+xxAr+dSL1FjI2nRyGdZcq4jQhY6snMVtqJBfxH1k7ZIub9fPMVIe ux3cF8OmoTqIYEfomXjHJrHpfsSPYvCa5DZ9Y6JwtpYkXg8wG98WMvVWHH4ThA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=aol.com header.s=a2048 header.b="W0AR/dKy"; dmarc=pass (policy=reject) header.from=aol.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: -2.34 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=aol.com header.s=a2048 header.b="W0AR/dKy"; dmarc=pass (policy=reject) header.from=aol.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: CCF4E13177 X-Spam-Score: -2.34 X-Migadu-Scanner: scn0.migadu.com X-TUID: lg5PiW0eK8W0 Juan Manuel Mac=C3=ADas writes: > The bilingual critical edition (ancient Greek/Spanish) of the letters of = Demosthenes and Aeschines has recently been published in Spain, a book whos= e production and typesetting I have taken charge of, using Org and Org-publ= ish. What is the name of this book / the publisher's page? I don't really know S= panish, and only a little Greek, but I'm fascinated by bilingual editions, = especially with critical apparati. I've been looking for a workflow for cre= ating my own (possibly critical) bilingual works, but so far, months later,= I haven't really found anything satisfactory. > First of all, for this kind of work you have to take into account an inhe= rent limitation of TeX: the compilation process in TeX is a single-threaded= process. That is, in TeX you cannot compile different parts of a document,= with different configurations (=3D different preambles), at the same time. To clarify: you mean that you would have to have two distinct documents so = that, say, the page titles, fonts, indices, etc can be specific to that "la= nguage half" of a work? I would've thought you could just have everything i= n one document. That's how I've been (trying to) do it so far, using the re= ledpar package, an extension of reledmac. Did you / have you tried using th= at? I've also tried various other packages, like the parallel package. > On the other hand, since in this book the content of the odd and even pag= es is variable, the synchronization has been done per page, so that the rea= der always obtains the same content on the odd and even page when facing th= e open book. For the Greek document I used the reledmac LaTeX package[...] I've looked at reledmac, and I agree, it is pretty sophisticated. Can you c= larify which synchronization method(s) you use? If you do use reledpar, in = section 6.2.2, it lists the different ways you can synchronize. Otherwise, = could you try to explain in terms it uses? > Once both PDFs are obtained and synchronized, they are loaded into the ma= ster Org document using the pdfpages LaTeX package. Since it was necessary = to introduce in certain pages some commands specific to each page, such as = page styles, index entries or labels for references, and to avoid having to= load the pages one by one with pdfpages commands, I wrote a function that = obtains the number of pages of the synchronized PDF (via mutool) and it doe= s all that work. [...] To clarify once more: when you introduce page-specific commands, is this in= the original PDF documents that you generate, or are those, like, trimmed = and then you add on the headers etc later, or what? > And that=E2=80=99s it. The next challenge for this fall is going to be a = trilingual edition of the New Testament (Greek, Latin, Spanish). [...] Are you aware of Kevin Klement's trilingual edition[1] of Wittgenstein's Tr= actatus Logico-Philosophicus? (OK, it's technically bilingual, but with two= separate English translations along with the original German!) He uses PHP= (gross, I know!) to collate everything into a LaTeX document to then gener= ate the various final versions. Besides the PHP, you might pick up a techni= que or two! (Or three!) ~ Hendursaga [1] https://people.umass.edu/klement/tlp/