From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id mITtDmcabGbNUwEAe85BDQ:P1 (envelope-from ) for ; Fri, 14 Jun 2024 10:24:39 +0000 Received: from aspmx1.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2.migadu.com with LMTPS id mITtDmcabGbNUwEAe85BDQ (envelope-from ) for ; Fri, 14 Jun 2024 12:24:39 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20230601 header.b=ZPlcDGMJ; 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"; dmarc=pass (policy=none) header.from=gmail.com ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1718360678; 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:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=yGlga8Ur6waAUt5g5UPRK7xZREnDfDw1cTueXvxCRyM=; b=M5ggA6mfclv0kGnCPSlQ/cGvJebVxu3JxX++4tOtXfsg66UCyaD6yTNAJqfFWY6NK4t4/L JYv6cxs1OuwDzJN4scVrHmsWdAZ2MxSm1BnkDqCSTpOtSAF5hQM0/j4zlC/nzvQk0ty4BS t3iRYwrLjzrEhUDMSg80cl4WnydFsm1miQ3to6flP5FPuKoU3nXTMNVg54PgaFrgo9lwzo 0QpGc1mfxrgf7E/a8VfyHhMxj1xc3aA/jmINkI6SUWAcSBRjna7a+ZBNzYyoxeGGfwhvEd g5ucoeIU/5rsjWZylBRNWLo2uCd9z8B3PpBICGwhtt6BU3iBY3PUdEulr0iJNA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20230601 header.b=ZPlcDGMJ; 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"; dmarc=pass (policy=none) header.from=gmail.com ARC-Seal: i=1; s=key1; d=yhetil.org; t=1718360678; a=rsa-sha256; cv=none; b=vBjFckKhg30/pNCAYud08S1lCLWL6xU9wSe8YVp2sL2SDsEo3vYRj0zT114Ygl+mOdU0wA egTH7gcbdeuAU62llPvTfInfFo8zFqJzGKSRNrFqBpveUX9PhCY4Hj+tJDNqa77U22KY57 MBcJz+TZQPdzqhJLjrqcOEJDGJjACGSaCtAZHziAm9Tfuvwxl4M9HRjEyG6XW962ZGLNwp RktygCNBT4TekmMfaNnTG1fbytaP66EFa/UDpYBXHLrPrXorUj9Zr0b+q5ai9+TSvG03VS 30s1Qo51YFPSXFKtUR3qrdSWqL5vMvTCs4XCXjq0kxj0D6P986x342+sJ7V4Jg== 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 E5B7E3BF0F for ; Fri, 14 Jun 2024 12:24:38 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sI45i-0005O3-K3; Fri, 14 Jun 2024 06:23:30 -0400 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 1sHMsD-000798-7t for emacs-orgmode@gnu.org; Wed, 12 Jun 2024 08:14:42 -0400 Received: from mail-ed1-x533.google.com ([2a00:1450:4864:20::533]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1sHMsA-0007ve-Di for emacs-orgmode@gnu.org; Wed, 12 Jun 2024 08:14:40 -0400 Received: by mail-ed1-x533.google.com with SMTP id 4fb4d7f45d1cf-579fa270e53so3524526a12.3 for ; Wed, 12 Jun 2024 05:14:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1718194473; x=1718799273; darn=gnu.org; h=to:subject:message-id:date:from:mime-version:from:to:cc:subject :date:message-id:reply-to; bh=yGlga8Ur6waAUt5g5UPRK7xZREnDfDw1cTueXvxCRyM=; b=ZPlcDGMJwcUf3wO4+nrugRIUoqBKBALgPf+bbT7uMX5jJTLexg5MWnI2zKDZsdNFVF wOwSgV9Kza3kwmu1Zzc4qFSziNX4l7FpaXwaYwZHB0qM/OU7r6Yn/Vnya4GemuNUU5F6 gSfy9CLn2oUgc/+oMvuNj7798Ys67qC5aCRwfnaamYuG//wmKTih0fQBjMq27wz97lU2 WNDxug43oqY4n/6iTb1R+4EAV0TRsNw460X/dpjR/v5W+PqBcYIbH9xpZKew++6EhmJt 7uFlF0YEe5YN9y3HaS5eJVAj4E374bndOiwn+C0CXnk1sLvddnExIIm0dYP3GxwPT7eO Vzvw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1718194473; x=1718799273; h=to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=yGlga8Ur6waAUt5g5UPRK7xZREnDfDw1cTueXvxCRyM=; b=dI/4z0lnXIuCgy0jkdQgmjQb4Uj+r2JDz4JS7V2j10CPsU4pmpIUb1uywIv9OvvF8S XdF8hN7x4x5NoYvGHiXJj8zq9tRPZNc5AXbaR7/gWKFpjGzAtBi6aEHdOmanK7yin0DO 9G/Z44tylTNnI3HmTg2fNErx5f41/AmkRn85lvK2o1V5iZSoCGfjkwihsb3jT1QKQKhn EdfMEgiwmf8VSlGPyil26kXMTVImZa3s7i/TNOuqjc9M63LAsTLhydrY/cpR4ZKrmhQl 6RUQXuUDfOvJwfXaO63klkWoP+Sjthw19ETXjZ+MV33lpoUTsh1rDOxQfxmRGPRgJNBs Absw== X-Gm-Message-State: AOJu0Yzi4GZQbTOF6woQl3R/kOk6Tx0fjuT/KeqkClMqste5nZE6ABA5 6u0AXsGVdoNWH9zdlUCfzQd9+2RTVJULXmq2wJWewOoANnuF0KZmBrg2NEj/SPV1HhzEVn74zZv CNHE+Tw540lgSHWNitwt9sdILeCX7NSUH X-Google-Smtp-Source: AGHT+IEp+V4TVP4EXlYBgdUu21eXDfZZJVzQ2QIzfNwip4ZTcWyQpoLtA20OGl1LVG5mo/mz8a63zB5lruUbgvYvk6A= X-Received: by 2002:a50:d7dd:0:b0:57c:74b1:bf51 with SMTP id 4fb4d7f45d1cf-57ca97626b3mr1466651a12.20.1718194472990; Wed, 12 Jun 2024 05:14:32 -0700 (PDT) MIME-Version: 1.0 From: Risto Stevcev Date: Wed, 12 Jun 2024 14:14:32 +0200 Message-ID: Subject: Strip out #+title in #+include To: emacs-orgmode@gnu.org Content-Type: multipart/alternative; boundary="00000000000037bf29061ab05324" Received-SPF: pass client-ip=2a00:1450:4864:20::533; envelope-from=risto1@gmail.com; helo=mail-ed1-x533.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, HTML_MESSAGE=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-Mailman-Approved-At: Fri, 14 Jun 2024 06:23:29 -0400 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 X-Migadu-Spam-Score: -6.46 X-Spam-Score: -6.46 X-Migadu-Queue-Id: E5B7E3BF0F X-Migadu-Scanner: mx13.migadu.com X-TUID: umUvi5aP2/x2 --00000000000037bf29061ab05324 Content-Type: text/plain; charset="UTF-8" There doesn't seem to be a way to strip out the `#+title` from an `#+include`d org file. As a result, for complex org documents, if you end up `#+include`ing multiple org files that have `#+title`s, it ends up appending them all, which can often not be what you want, which is true in my case. There's this solution I found, but it strips out the title entirely, rather than controlling which `#+title`s get exported, such as only the title of the root doc: https://emacs.stackexchange.com/questions/18420/unwanted-concatenation-of-multiple-title-and-author-when-using-include --00000000000037bf29061ab05324 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
There doesn't seem to be a way to strip out the `= #+title` from an `#+include`d org file. As a result, for complex org docume= nts, if you end up `#+include`ing multiple org files that have `#+title`s, = it ends up appending them all, which can often not be what you want, which = is true in my case.

There's this solution I fo= und, but it strips out the title entirely, rather than controlling which `#= +title`s get exported, such as only the title of the root doc:
https://emacs.stackex= change.com/questions/18420/unwanted-concatenation-of-multiple-title-and-aut= hor-when-using-include
--00000000000037bf29061ab05324--