From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:306:2d92::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id YB4ILoWf3GQtKgEASxT56A (envelope-from ) for ; Wed, 16 Aug 2023 12:05:57 +0200 Received: from aspmx1.migadu.com ([2001:41d0:306:2d92::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id 0FKbLYWf3GT2FwAAauVa8A (envelope-from ) for ; Wed, 16 Aug 2023 12:05:57 +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 730CF350D0 for ; Wed, 16 Aug 2023 12:05:57 +0200 (CEST) Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b="ic2P3Y/Y"; dmarc=pass (policy=none) header.from=posteo.net; 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" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1692180357; 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:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=1poEcLcqAvgScTnZSvZfXFwFivpYLAxOJz7WiaeeTl4=; b=V2mcaVtIY1KDop284wQm0WDRZHS5q2/mFVM+BimJhuzUA3XdA+GcZ4CJG8D11yawMYySaG 5Kv+v3OHXVAsXeUphu4iXVzY7ynezH3+GSWIvJm18csHFMUEA4s4qc2iNkHVYcoNIfco3Y vro5b0nZjCNlLU1N08IjI1o9LbSabaZDu3jND+Xb0H+0++J4zUIZbwnsS4TzJlIcLyJq2E w/kGwALONnrzvM0TzK63vCYgukt22a1U56Oz+HCYyEPyD3asCH2PQ4IbssWHvDrA/SBpSF AGK5lb+u0GZs7c4+1JD2ynN1YF4iugVunY5tIctRntfAhE4rlDowSfI2tzGV/A== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b="ic2P3Y/Y"; dmarc=pass (policy=none) header.from=posteo.net; 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" ARC-Seal: i=1; s=key1; d=yhetil.org; t=1692180357; a=rsa-sha256; cv=none; b=WxPrlXRDurVkm84YAPgJ/RwyVHyRxh8tRWE9JItSyKrYncfjnpI5VywEt9bVTa8kRVonm2 +qi1IkXwMSu8N4F+irF2H7ntrl+nknyaQCYl13MVZ/ldo6aCIkbtXJiohUEwxjYK7oSwow BtqUcCCPsugRImqO4HLhJyTj40tHnm8Z9UlP924EoQtOhPR84FF6dZTXafAzfI4mWsHpFq 4dVylom3CCyz8yoz1rd5nIbdGAoDKl1XekpyOLDlbjba8bfo0PZJPUnqgydy+Fw+rT2TTC rdYAnzfH2sB0TeIqhuD+e4UAfiN4QqMPveww4cOXNLIBgn1TFO+vQgcQW3rxKg== Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qWDOe-00036o-MV; Wed, 16 Aug 2023 06:05:00 -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 1qWDOd-00036f-EG for emacs-orgmode@gnu.org; Wed, 16 Aug 2023 06:04:59 -0400 Received: from mout02.posteo.de ([185.67.36.66]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qWDOa-0008BF-5H for emacs-orgmode@gnu.org; Wed, 16 Aug 2023 06:04:58 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id 49DEF240101 for ; Wed, 16 Aug 2023 12:04:53 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1692180293; bh=uBWJW1PgvRLx5VuxS/2uYnM1r1wlZ0wiRJtAspPhY64=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:From; b=ic2P3Y/Yhf7jr0nzz5b4ySlaXgEmZo/Nn5IJ6bTLsccmPnUma0/c1JU/yWxVBDcOf lcaklArr5WcihCQo5anKNYJleRHfhJJjXaO2vFmRre2IzQjC1RMHThY0h4raala/JK WlatdD7UxlpjKUradxf/pkWLCcU1Rhxl2Z6nB04tHPFal01mil5FZYbF65ncjNWpPK AKfbbV7X80/qIfU5aW3pIkmNrLS1DrsRGF9COZYmhjzmhaMXQfHglKeuIxtEK2WBtT XfOJj78/MMO6H6sa7mewwmlLcotvM1PSwW+OuCqKRDk64Pey1m/CZ2ZTJG5MfbgFpB Y6OX2LTNWUXQg== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4RQkJh4tnnz9rxV; Wed, 16 Aug 2023 12:04:52 +0200 (CEST) From: Ihor Radchenko To: Edgar Lux Cc: Emacs Orgmode Subject: Re: How to preserve indentation of title inside a latex src block when exporting to LaTeX? In-Reply-To: <530944580.355360.1692095755367@fidget.co-bxl> References: <530944580.355360.1692095755367@fidget.co-bxl> Date: Wed, 16 Aug 2023 10:05:21 +0000 Message-ID: <87sf8jnvz2.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=185.67.36.66; envelope-from=yantar92@posteo.net; helo=mout02.posteo.de X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 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, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H5=0.001, RCVD_IN_MSPIKE_WL=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-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Spam-Score: -7.05 X-Spam-Score: -7.05 X-Migadu-Queue-Id: 730CF350D0 X-Migadu-Scanner: mx2.migadu.com X-TUID: 8PdK8SCL+sry Edgar Lux writes: > Hello. How to preserve indentation of title inside a latex src block when exporting to LaTeX? > > For (annoying) reasons, I need a frontmatter block which is able to indent its contents. I am almost there, but the title line is not. I can edit this manually after export, but I would like to know if there is a way to do this... wait... there are filters. Is a filter the only solution? Thanks. > > #+begin_frontmatter > #+begin_src latex -i :exports results :eval yes :results replace > \title{Determine in-situ matrix properties} > \nothing{a} > #+end_src > #+end_frontmatter I think that you may post-process the result (see :post header arg), adding indentation. -i only affects the code block itself, not its results. And may you please elaborate why you need to preserve indentation? We generally assume that common indentation is not significant. -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at , or support my work at