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 gN92FQlkk2LsXwEAbAwnHQ (envelope-from ) for ; Sun, 29 May 2022 14:16:09 +0200 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 QJZ9FQlkk2Ij3AAA9RJhRA (envelope-from ) for ; Sun, 29 May 2022 14:16:09 +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 D651313139 for ; Sun, 29 May 2022 14:16:08 +0200 (CEST) Received: from localhost ([::1]:56732 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nvHq4-0005a5-1I for larch@yhetil.org; Sun, 29 May 2022 08:16:08 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:34360) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nvHot-0005Yn-G5 for emacs-orgmode@gnu.org; Sun, 29 May 2022 08:14:55 -0400 Received: from mail-pj1-x1035.google.com ([2607:f8b0:4864:20::1035]:45796) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nvHor-0006dy-L7 for emacs-orgmode@gnu.org; Sun, 29 May 2022 08:14:55 -0400 Received: by mail-pj1-x1035.google.com with SMTP id w2-20020a17090ac98200b001e0519fe5a8so8206001pjt.4 for ; Sun, 29 May 2022 05:14:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:in-reply-to:references:date:message-id :mime-version:content-transfer-encoding; bh=aQUHoMC2q5OfQi2KQmMTJeV36WZLWUXVsEtc+KwxCTA=; b=YP0zxtuh/Xdbs2QNlrAyq8WOFhjFxZmsmjWA7czv+QKFDlbBKiQjTW77p8fKDChDNp /SimGSx0XJRHz13+QHD6VWc0JUFcyFKD/ajodCtYt1Qe3gnfGqF9k0MDHhL/4tDmKk5s p8d9b3OE+kERq33MsuUOu6scixBW85JQaYJVN7DDUIG5s1GfSxm8UAu8Mohea80se1Xl PfshMjTRoVkp5/IVfbKoc0SUt0IQcTFuTr0huNJXzB+7EZgRZzgQLB7eOCHLFLJePYN/ MeBs1vmrxq1QXQwWToUQu495dwek8G1h2w12vwEXSSJvQVG9h+JNoxj94peFHL8EdeY1 0tCw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:in-reply-to:references:date :message-id:mime-version:content-transfer-encoding; bh=aQUHoMC2q5OfQi2KQmMTJeV36WZLWUXVsEtc+KwxCTA=; b=fqkT3rDEjjHObY4wTvzSh1egx2dp88H4x/7TamCN36GqPB0HcB2xM4grhpjoE+sXGF X66UD4Q4GMHDoju1hsiSHAif3jB3et62YmbUSVi4aECuzsN6iwCy0CJIm50IGojl+dKZ ziQE530Ww2/uD7uCvZQJ1zmnpBOFVI9zuEoij6yEQs2eDZOX+PPm7w72WM214C5cfCao YXqLO4hHSH6fPVyaeV17z5UkqVA2VX61a/vUcCL07uNVhilo1kw4spLFW2Ygr43e87Wl ym3PjMaeRj7mbALaJwTiVj8N4mauEHKIQszgKLcvSxUXAm/vY81lV7ockZW4GJITnXej ftPQ== X-Gm-Message-State: AOAM532Hm6mwAhYuJpiJctv/cD9VlqZ7sXxMAXz3QpviMrgXhhUKE4Pz FHgkLkbf85kKon3o5WD4vKzg4sUNmM8= X-Google-Smtp-Source: ABdhPJwNv0z6tv/Raa1gGWAXilmqeI7veSzOJRWR0plhZU96/pNB/8ik59JmOGX3GNA/EkqWhfvhEg== X-Received: by 2002:a17:90a:b894:b0:1e2:d8f8:41e9 with SMTP id o20-20020a17090ab89400b001e2d8f841e9mr3314034pjr.20.1653826491053; Sun, 29 May 2022 05:14:51 -0700 (PDT) Received: from localhost ([64.32.23.62]) by smtp.gmail.com with ESMTPSA id ch12-20020a056a00288c00b004fa743ba3f9sm6790535pfb.2.2022.05.29.05.14.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 29 May 2022 05:14:50 -0700 (PDT) From: Ihor Radchenko To: Juan Manuel =?utf-8?Q?Mac=C3=ADas?= Cc: orgmode Subject: Re: [tip] org-publish to work with (very) large books In-Reply-To: <877d66vxrc.fsf@posteo.net> References: <87y1yovcip.fsf@posteo.net> <87a6b4pil3.fsf@christianmoe.com> <87a6b4zbew.fsf@localhost> <87tu9cv1yw.fsf@posteo.net> <87y1yntxob.fsf@localhost> <87pmjzmcg6.fsf@posteo.net> <871qwee4vr.fsf@localhost> <877d66vxrc.fsf@posteo.net> Date: Sun, 29 May 2022 20:15:30 +0800 Message-ID: <87pmjwwn4t.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=2607:f8b0:4864:20::1035; envelope-from=yantar92@gmail.com; helo=mail-pj1-x1035.google.com X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 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_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 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-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1653826568; 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: 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=aQUHoMC2q5OfQi2KQmMTJeV36WZLWUXVsEtc+KwxCTA=; b=j38EkQk8yZTZ3n//qK6JC/HjlZwEpxJtM75kNaYxPlxF1xCwqhB/D5NjINRFBnBauMgb6T B/5GKvsXUhiQWzlwpfMAb5WFfS+oWGWGYWXESzO0Nwr89LzmdhLrO5pXfS80ovoBPC0FBt YAew63gguZcLHsFSY4Co181GiKOb9bZipdp+WmsRPkQM0g3r2k+d5EVAg8oxAPD5eoNtI6 7yhhOMb1kHkZc8mnvCH0Ia3+W5k+OjAQ9cYpyoQ9N6kuq09RB+tX8FJOBa0SkeKrTTFVzV 9Pe5zEbHEr8lQfKxecq2foZ8F9E+NGA1tkOZqZA+a51FS+0JO1jjdVHgKOmj0w== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1653826568; a=rsa-sha256; cv=none; b=DL6XfGLW5Rv0t6Ieh2u6IB3mtR/bxWKSDMgD135Gh0wliNf1ppxaZehe9mFEYsAIUVFlqu +DLMxbKvHkGZjc+je48HtM/dozRWe9s1MDFTK9jSkdyIa37LXbDIFaPVHAkjGpQ8tY6GIM rqTMcYXgd/QGXuAvhYnPd4YfPPmRSdsmtseZg2Rir09oMvFiz2S9zymzutVZNgc9QtmZbs KbpxVRmuX6vdMg3Kz+Aybqu2dbEwjH3xz/Y5r6wgyojfUQ8G/n6mSEPtSphTl1ci5Gd6j4 GAob1MljAfcAVvVS4GwANCnNChmFwx7sOZkcqhiviUricnwTpWAIOCFEob7zGQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=YP0zxtuh; 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.34 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=YP0zxtuh; 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: D651313139 X-Spam-Score: -9.34 X-Migadu-Scanner: scn0.migadu.com X-TUID: JMaGJz2fVkVr Juan Manuel Mac=C3=ADas writes: > Improving performance and compile time in TeX is an old topic, and there > are a few tricks here and there. But TeX is what Emacs is, both are > venerably old; and both are single-thread. Yet, the information is surprisingly scattered. I was unable to find a single guide on the available possibilities. Mostly unanswered or partially answered questions from users. > There are more ''modern'' > approaches, like Patoline or Sile (of course, based heavily on TeX, > which is the father of everything). Sile, especially, is very > interesting and from time to time I like to play with it. The problem > with these new projects is that they don't have the LaTeX package > ecosystem, and they are poorly documented. Well, Sile in particular is > the work of a single person. Links: > > https://patoline.github.io/#documentation > > https://sile-typesetter.org/ Thanks! This is interesting. > As for LuaTeX, which is the state of the art today in the TeX ecosystem, > it is nothing more than TeX + a lua interpreter + the implementation of > advanced features from previous engines like pdfTeX and the experimental > Omega/Alef. It has the advantage that it is a scriptable TeX (TeX > primitives can be controlled by Lua scripts, and truly amazing things[1] > can be achieved with very little effort[2]); it has the disadvantage that > the scripting language is Lua. The ideal would have been a Lisp-TeX ;-) > > [1] The chickenize package contains many examples, some of them somewhat > absurd and not very useful in > appearance: https://www.ctan.org/pkg/chickenize > > [2] https://tug.org/TUGboat/tb31-3/tb99isambert.pdf For me, the main problem with LuaTeX is that it is generally not supported by publishers I deal with. Mostly, LaTeX is the requirement. Some even demand Word documents ): Hence, all the advanced features of LuaTeX cannot be used in real my real publications and I cannot convince myself to dedicate time for playing around with LuaTeX. Do you have anything from LuaTeX in mind that could improve the current ox-latex pdf export when LuaTeX is used as the TeX engine? >>> The moment one breaks down a large piece of work into specialized parts, >>> one gains more control over that piece of work. And org-publish helps >>> manage all of that. It is about managing a large book as a website (via >>> org-publish). In short, the combination of org-publish, projectile and >>> latexmk is quite productive for me in this type of work. >> >> This is a bit confusing. You still keep the book in a single giant Org >> file. It indeed does not mean anything given that we can always narrow >> to subtree, but I fail to see where you break the book into specialized >> parts then (LaTeX performance trickery aside). > > I think this is inaccurate. The book is split across multiple > subdocuments. The master file is just the 'outline' of the book. I see. After watching the video more carefully, I do see the your org file only had the bibliographies. Not the actual book text. Best, Ihor