From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id 4YE+C0lRkGJiwQAAbAwnHQ (envelope-from ) for ; Fri, 27 May 2022 06:19:21 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id mnE3CUlRkGJMfQAAG6o9tA (envelope-from ) for ; Fri, 27 May 2022 06:19:21 +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 BA4F11F7D3 for ; Fri, 27 May 2022 06:19:20 +0200 (CEST) Received: from localhost ([::1]:50116 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nuRRW-00065k-SK for larch@yhetil.org; Fri, 27 May 2022 00:19:18 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:48598) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nuRQv-00065J-VA for emacs-orgmode@gnu.org; Fri, 27 May 2022 00:18:41 -0400 Received: from mail-pf1-x432.google.com ([2607:f8b0:4864:20::432]:38600) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nuRQu-0003lu-Az for emacs-orgmode@gnu.org; Fri, 27 May 2022 00:18:41 -0400 Received: by mail-pf1-x432.google.com with SMTP id h13so3360775pfq.5 for ; Thu, 26 May 2022 21:18:39 -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=eARPFS05d1gP5jUr7UfRBv6v+S1q2g6aPA0VGhP7aTc=; b=C5z6hVk61TVyBUZdPQShSGYhbKKWL6YpuVNDh9WL2LcsV27ubNbqEtkWWqhHxtaVLJ wrApvWpPTBVVGfP8Ub8OkpToCbxNi4cszro29ebyhFIlTzYou2AZQ3QlWiJ0M0q7cFnU vmw/pkTQNo7Q3Rtp2C+eD1eGRVGujhY9z4TBNbKfQA7fY0YbcPgbUEUzOxlZQoH6dDOt LNmbcGQUhjS1cszPRpC35bocrbUAPPItbANEBOe2Xr0DJ+g9V7u+IkFbGbMxSlwCkQXa aj/3RrsUuVYLwN7iS/FJ9Kiuys/PLsSUqpSYPHJeIF5Kp261+2Is3XnUcJ8b44ZFFW3F rxRw== 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=eARPFS05d1gP5jUr7UfRBv6v+S1q2g6aPA0VGhP7aTc=; b=5wUn0G2arYRMk1DwML7RpCjgHV70UqLnLwZMzSFHB3c9RkE6k27WbXIcaJ4s4HyOk2 YVpDQCjNNBoFt6B9eFprCHYqsCgMvhSSQFURa9eCd1whxTPCwOalc1G/MK7hV9HDvvkN CUy67uA9R76v20e5Zp9C4NhJhsKSOSOxzMMcYDhX84qvNyGowInLjV919Nxa3+bjGvN1 zIH0rVJweflQ1AdvQWaX/HQQjGJhFHuG/Wz3uE1FIyuEZhe2dBN72k+Nc8cX1AlqbP65 /UlqqMJDY7YzhMgqBpgNvKfKjGiD54VUIXaZCf/GG3WzGa/0jDtJJ0zDcELgOBIpEvO2 u2PA== X-Gm-Message-State: AOAM532KtkZ5AMuP3zkSZGfRLh4V/Pss7jh1ep6dLtnyb2LoD1RXrqPV 72bM3F5euHb8dzSUUF0WhgFEZl57ye8537/Os4jntA== X-Google-Smtp-Source: ABdhPJw/pCgGX9wdrihIKZGxrAZAEU9tqaNOzDP2xcnNQAb5/bMergWaMcWCJPqLRPO/NChqoJEyag== X-Received: by 2002:a65:6854:0:b0:3fa:ad92:15f0 with SMTP id q20-20020a656854000000b003faad9215f0mr13747796pgt.12.1653625118506; Thu, 26 May 2022 21:18:38 -0700 (PDT) Received: from localhost ([104.223.86.8]) by smtp.gmail.com with ESMTPSA id n15-20020a170902968f00b001617ffc6d25sm839126plp.19.2022.05.26.21.18.35 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 26 May 2022 21:18:37 -0700 (PDT) From: Ihor Radchenko To: Juan Manuel =?utf-8?Q?Mac=C3=ADas?= Cc: Christian Moe , orgmode Subject: Re: [tip] org-publish to work with (very) large books In-Reply-To: <87tu9cv1yw.fsf@posteo.net> References: <87y1yovcip.fsf@posteo.net> <87a6b4pil3.fsf@christianmoe.com> <87a6b4zbew.fsf@localhost> <87tu9cv1yw.fsf@posteo.net> Date: Fri, 27 May 2022 12:19:16 +0800 Message-ID: <87y1yntxob.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::432; envelope-from=yantar92@gmail.com; helo=mail-pf1-x432.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=1653625160; 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=eARPFS05d1gP5jUr7UfRBv6v+S1q2g6aPA0VGhP7aTc=; b=kUVZ2FYxrluLlDRXiE7b08SmlqCOD7EEM0AtN6LTWuRRN2hoo6avPNDrEn+3mJY2wejl/b SthvSOffb1TveJJ8IKXis28zgODVkDwf4FB5eoVwv1V1NeSsrBCbrzGDv0AydRYOJbgVzY mOHv0dIMFJ1n+FgM/V2q+Lfs8iJT1fi+I4UicM3Udw/YU1bEJ6ZWfTQHr8d4+FrYQCPlDV MG9jvEOJpHLnLV4KImzX1UCGOMsd9ZBpeV8Tv2FiPOnWN8wSLwasdk06T87ANQwtkF1nP2 d2vsWrA1G74qAVR4vUPXyIj8+dvGrmouiRv6r8f/V4+nqcDu3rHXSOzgDouxgQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1653625160; a=rsa-sha256; cv=none; b=gDTsMpyC1qbis+08B4YpwF5Qkguci/oLQZ6XkbxTQEHJDcdGNZ2N5mxnZwC8IC7nIvkWcS +9xueUj2Cox6kgdAvKIP2IGf01rGzys7KtIJDaHLmHoZMSA7x6zsMJ23ELI5Ra5Jy3kEVo zUsOssW4T4Gu1+fQK7RZzJlgTSi/BRFL82e0mbeUl0g2i8O8ZJxQbPsUoAlpSxo0DVZIEX qYwsKSGNGHdaizGyuycXznHK+4A4G4s6nFTUdcYSglRtpe6zA5m2CTmrblt9NU46FoN/GU n9r/KHPOJfw3EQfBcQidXtiXx7+nokTmmNRJKD1A+MhB+838DsJ0uvO68DoDuw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=C5z6hVk6; 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: -8.54 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=C5z6hVk6; 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: BA4F11F7D3 X-Spam-Score: -8.54 X-Migadu-Scanner: scn0.migadu.com X-TUID: VjS+HH2AQjSS Juan Manuel Mac=C3=ADas writes: > Sorry for not explaining the \input part in more detail. I think the > essential part here is that all the .tex files (the subdocuments) are > already created by org-publish before I compile the master document. The > master document simply stores all the subdocuments: I use > \input{subdocument.tex} instead of the org #+INCLUDE directive (not the > LaTeX \include command). The master document calls ready-made TeX files, > not Org files. And it is independent of the whole org-publish process, > which is responsible for creating only the parts of the book. > This > procedure, apart from being able to compile parts of the book in real > time with latexmk -pvc, allows me to have more control over these parts. > But it makes more sense to use it when dealing with very long books. The > first time I used it was in a book of more than 1000 pages :-) I am not sure if I understand correctly. Do you mean that you only preview the book parts you are currently working on via latexmk -pvc? What kind of more control are you referring to? Best, Ihor