From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.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 gC6WHzlV22RcYAAASxT56A (envelope-from ) for ; Tue, 15 Aug 2023 12:36:41 +0200 Received: from aspmx1.migadu.com ([2001:41d0:306:2d92::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id +OWJHzlV22ReNgEA9RJhRA (envelope-from ) for ; Tue, 15 Aug 2023 12:36:41 +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 252224D717 for ; Tue, 15 Aug 2023 12:36:41 +0200 (CEST) Authentication-Results: aspmx1.migadu.com; dkim=fail ("body hash did not verify") header.d=mailfence.com header.s=20210208-e7xh header.b="r5gv/pnU"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=mailfence.com (policy=quarantine); 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=1692095801; 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:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=lDtwR8X0QPEiOu5WAdRtYYARdTCe2sk1xHimFW9wyG0=; b=P3zKQV1mRt2ya8KJYV0Y6gZRToRe3ACYeyAS3RzEWcUbffPVcFSufhbNLCjfmkhAV0xruG amtLum9qT021Q/RfVhBU5yD8IdkS2MsQ6LEgPhapG6wA4tz3He1LuaXe4HLc3LYgINnhHc M7uScTLsKSzbUu4pHF//NdMx6ufo9MEoV1qcRHg8mKDWm9SD3LbHymO3M/54GsRf/BgYor lOhUF2XipAWN2Jk5fkZLuC6xRfVCwJ7RAhD0FV6eY1AyBVLlKooS4SJuQMDwLwD0hFfavb aBpNos7KUKsO7VlxDFAHc0PZs7cq2N4ror2XSrZ6OXAXpwlBWyhz0oUkfhj8tw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("body hash did not verify") header.d=mailfence.com header.s=20210208-e7xh header.b="r5gv/pnU"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=mailfence.com (policy=quarantine); 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=1692095801; a=rsa-sha256; cv=none; b=CLajtlu7x2uGBjVfpe7wYeaXRDC+AGeGgImpoorK1PQ2YNLRhYxr07U1KlvYt1YFQ53YoZ 5cDVIjmqmdMNaQICnGlcL1HnliMykb+H2H67GsCIjmdjaImYkSxs2+xT8oxWrGlIBKkK1b uAWHZUsFW9HR3b743DDp7o2obRdQ3oJinmGVigtgBHwgyDp4/Jg8mRSJPmfzAFz3tzZg1i BrDe0cPk7bAv65IaEhHrW9yXx7PX5k6oEyH6GzeSzd+m3kCpoRERn8Etcaq7jVBd9Jg24t DNQIYi2BPl3J3yajdrN5rUk9Y+KP2iPtEwhqN69kgJ9tXoRcs68LGeW+aTyrrg== Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qVrPD-0003Ee-G0; Tue, 15 Aug 2023 06:36:07 -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 1qVrPB-0003ES-VG for emacs-orgmode@gnu.org; Tue, 15 Aug 2023 06:36:06 -0400 Received: from wilbur.contactoffice.com ([212.3.242.68]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qVrP7-0001hL-Qu for emacs-orgmode@gnu.org; Tue, 15 Aug 2023 06:36:05 -0400 Received: from fidget.co-bxl (fidget.co-bxl [10.2.0.33]) by wilbur.contactoffice.com (Postfix) with ESMTP id 3735F9B1 for ; Tue, 15 Aug 2023 12:35:57 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1692095757; s=20210208-e7xh; d=mailfence.com; i=edgarlux@mailfence.com; h=Date:Message-ID:MIME-Version:Content-Type:To:Subject:From:Content-Transfer-Encoding; l=1202; bh=lDtwR8X0QPEiOu5WAdRtYYARdTCe2sk1xHimFW9wyG0=; b=r5gv/pnUeAHfLoWvkI0aKfQazVryWKzkK+cm5X6SMJF0c7IiE3nNL89tgTutH26d wMCCDpiD7eh4Fn7lMKgPQOYVNgLanQ3trS73vGSu1fFZJ9me8CiyjNtvTy3Vxvc7Cfi sfT8U5U6RvDv/sHDXKSw1dAnYTcuz3/BOFnArgnJG6ZvR76wpGh/0lcOjImGEj7U9lP qDE9P6YIbdwf1522Lt5I8a5VfmVDMis2aZyCD0mfqs+AdlY8z6C33zX9AX+D0FL0LTL ktL//mIPMO4JSz5P2nNZwOw/tJGS/o8Tzu3DpGRoWwDFZRz6j+qymDmOggJdDdyANoh xyoy6DHinA== Date: Tue, 15 Aug 2023 12:35:55 +0200 (CEST) Message-ID: <530944580.355360.1692095755367@fidget.co-bxl> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 To: Emacs Orgmode Subject: How to preserve indentation of title inside a latex src block when exporting to LaTeX? From: Edgar Lux Content-Transfer-Encoding: 7bit X-Mailer: ContactOffice Mail X-ContactOffice-Account: com:195124330 Received-SPF: pass client-ip=212.3.242.68; envelope-from=edgarlux@mailfence.com; helo=wilbur.contactoffice.com X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 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_LOW=-0.7, 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: 6.00 X-Spam-Score: 6.00 X-Migadu-Queue-Id: 252224D717 X-Migadu-Spam: Yes X-Migadu-Scanner: mx2.migadu.com X-Spam: Yes X-TUID: HkkqmpFMZuO6 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. #+options: toc:nil title:nil timestamp:nil #+begin_src emacs-lisp (org-babel-do-load-languages 'org-babel-load-languages '( (latex . t) )) #+end_src #+begin_frontmatter #+begin_src latex -i :exports results :eval yes :results replace \title{Determine in-situ matrix properties} \nothing{a} #+end_src #+end_frontmatter #+caption: Notice that title is not indented, but nothing is. #+results: : \begin{frontmatter} : \title{Determine in-situ matrix properties} : \nothing{a} : \end{frontmatter} #+begin_src emacs-lisp (concat (emacs-version) "\n" (org-version)) #+end_src #+RESULTS: : GNU Emacs 28.2 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.36, cairo version 1.17.6) : of 2023-01-03 : 9.5.5 -- Sent with https://mailfence.com Secure and private email