From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id 0MJwOBOQD2LlYgEAgWs5BA (envelope-from ) for ; Fri, 18 Feb 2022 13:24:51 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id qF/mNBOQD2IlGgEAauVa8A (envelope-from ) for ; Fri, 18 Feb 2022 13:24:51 +0100 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 57E4830197 for ; Fri, 18 Feb 2022 13:24:51 +0100 (CET) Received: from localhost ([::1]:54580 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nL2Je-0006zM-DB for larch@yhetil.org; Fri, 18 Feb 2022 07:24:50 -0500 Received: from eggs.gnu.org ([209.51.188.92]:41554) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nL2Ir-0006yt-Hs for emacs-orgmode@gnu.org; Fri, 18 Feb 2022 07:24:01 -0500 Received: from mout01.posteo.de ([185.67.36.65]:37771) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nL2In-0006nf-Vy for emacs-orgmode@gnu.org; Fri, 18 Feb 2022 07:24:01 -0500 Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id D5623240027 for ; Fri, 18 Feb 2022 13:23:53 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.de; s=2017; t=1645187033; bh=K6l8Vqn0WLYiTe1nTzTwRfV6+3DukT7EmcdyMYa//6k=; h=From:To:Cc:Subject:Date:Autocrypt:OpenPGP:From; b=nWfw0N9eEntMsP+bEsPFWJiw6W9e7c7A6ZSJMLofA4NcfaOIovagzoiBf7uOjQcx9 4vi264OzctWVwoXdjnt7dxSSZUolvq/KIhjdonytZo1iVtW28GJm2r9EoYMWbFJp3E CwRTzHehkXKfSBP4Ur7Js6ou9rT/yaICOQs/Oso7M0Q0U2zmICmLwEiXGE6svpx9R4 ehFOYlWhH8B8+OUEFFkjMEMB0K+E1zZvcyGJint6IQK2d4G/iRDuJZN4/vz4cb1Qkz u+UCFpGhPpKl37TtxvzNYEjSDguxbBhbcNpBrd9i5XbxwIraeo4j66Alj8w4+AK9vA VlWrizWRzQPDQ== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4K0W8864lGz9rwn; Fri, 18 Feb 2022 13:23:52 +0100 (CET) References: From: Michael Eliachevitch To: William Denton Subject: Re: LaTeX letters in Org Date: Fri, 18 Feb 2022 11:43:56 +0000 In-reply-to: Message-ID: <87a6eocqi0.fsf@posteo.de> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: quoted-printable Autocrypt: addr=m.eliachevitch@posteo.de; keydata=xsBNBFHFxZABCADAAv2siayhA7Etl85WcwcyMPBD2bt/6Wh3A8a12AURV5J4tprzgbdlxC0w1LofvklG7ls25NERAY931hvQW+f5GEI0pwoNNFXEkKDa8/J4SxhrqXx8CJA85owPq1g4cFeO1ooQJ32BewlRGsnhd+taYExZ76oaMnFtx6jYjf6mPbjDyiLhC+Og3MBpOqAnmX7mhStgJl0uru1ZGEB17tzzVuQ4ljDv/MvUagVFymQBhmlbzvze5eLeDn90Ot0DjWHy3HzCFMEnVqQy8rmEA8N9GOANwyMY79KVymsPakeNwacPRFzYXCZvolC5jtY6I/1ALvVtNc45JyZWty+rMPo3ABEBAAHNGG0uZWxpYWNo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YUwwtnJ6HfW2Ia91s+4RuhdGd42kidf+3a7cTGHVn8aKKXLlteTFBeOZGnWl48dSQBC09rpq6DUOJPkmSPo3tMCYFSUyNZe7ebKNfU3P4PNreZoG4rDVkWBqNKu986WQOoYc2O0OspbC7JXrk0wiGMQKWWOW3Gw OpenPGP: url=https://posteo.de/keys/m.eliachevitch@posteo.de.asc Received-SPF: pass client-ip=185.67.36.65; envelope-from=m.eliachevitch@posteo.de; helo=mout01.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, 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: , Cc: emacs-orgmode@gnu.org Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1645187091; 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: openpgp:openpgp:autocrypt:autocrypt; bh=Rv2nKxtx3Gced3s9jEHoCU69J39k69GLKzj+lkEnbTI=; b=h+DsXvBzkyN0EPJhFRw7gq34YgC6RDoVV/hXR6fWwuGx1dIZ50Vea8O2z2onAueKVx7+/a dQD/G1+3cGjpQhILWB/adAGg3nRhIX6oaRoY2paOFFzbRnKimYYJrWCxMS5bwFT+GtLwBt h7LIChTW8/EcZdTYAde/IjlXMBu8i034a8dv5JnleaMblIlPODvqqlTH5OVYrVvYfDSY9c C4wR82GssCXfiqE0ht3jk6ozCmA00CGvBcRT4h6SUmmCphBXx14ZgEWXWxRsHWJXfXphnR ERHVHH3WzTcvUqy6ENsDUqulTyksFL+QlILLBGMep2wkXq8aAPIHZDSvSEXXfw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1645187091; a=rsa-sha256; cv=none; b=PGev0Zf3fdjwsjym+rQgMS0w8u3lQKrSYt5GdtAvalQQkaBtVPTChbQr+L3J40TlAawbF5 92JWoK5jofzX13Q9h+t8YeS/rl4HJcNRiuRck7Wn3HvOvYDx5AU4mAHfM1Ky1GicZQEVh9 fauH+rnUJmvTJDwrMO2E121Eg5bZAjuN8lLzARKx62W1Amckji5nU+D0SORYpA+yfV99K9 7lFjFLVwY6FpJNXFAo/4OogoS1FMzTw5Yy9+jvaIyBwRWH70s1njiAycrgbnX2EwISWCXI jN6eTDs1MvRey2ZO7JQMSNUzcZwA9rzyQ3WIiMlJLGsrO5P8wZOnY4tE5AL7aA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.de header.s=2017 header.b=nWfw0N9e; dmarc=pass (policy=none) header.from=posteo.de; 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: -5.53 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.de header.s=2017 header.b=nWfw0N9e; dmarc=pass (policy=none) header.from=posteo.de; 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: 57E4830197 X-Spam-Score: -5.53 X-Migadu-Scanner: scn1.migadu.com X-TUID: 15OGUoeXfVxt Hi Bill, On 2022-01-29 at 12:39 -05, William Denton wrote: > I wrote up how to use Org to write letters with the LaTeX letter class. H= ere's > the link in case anyone's interested: > > https://www.miskatonic.org/2022/01/28/latex-letters-in-org/ Cool, I'll try to remember this for when I write my next letter. You write > I found it safest to use the #+latex: way of including LaTeX fragments. I= t doesn=E2=80=99t mess up the syntax highlight or the exporting. When I have multiple lines of latex, I prefer including a latex export bloc= k over multiple `#+latex` lines, e.g. #+begin_export latex \closing{Sincerely,} \ps{P.S. I need not tell you this is a secret. Good-night again.} \end{letter} #+end_export If you have `org-src-fontify-natively' to `t', this will even get you latex= -syntax highlighting within the block, or if you find that too distracting,= you can set that variable to `nil'. Sometimes it's useful to edit the late= x-block in your latex major mode via `org-edit-export-block' (). Currently the number of org export options you need is not too high, but if= it grows you can move boilerplate of the letter itself via either `#+setup= file:` or just including a separate latex file. I'm think if there's a way = to adapt the latex class For not using the title, via not set `#+options: title:nil' ? For this kind of short writing I'm always wondering whether doing it in org= -mode is really worth it. I see a trade-of between the convenience of org-= markup (e.g. emphasis markers, itemize lists, links, =E2=80=A6), and the in= convience of adding literal latex to org-mode, which is just a bit more cum= bersome than doing so in an actual latex file with a latex major mode*. Esp= eciall since you don't use headers anyway. If I do some writing where the t= ransition between notes to the final product is fluid, then it's a no-brain= er and I would do so from org immediately. But because I just enjoy writing= in org-mode so much more, I would probably also do it like you from now on. * I can use auctex in latex export blocks, but I don't think latex language= servers like digestif (https://github.com/astoff/digestif) work well with = them. Cheers, Michael -- Michael Eliachevitch Public PGP Key: https://keyoxide.org/hkp/546908c782383ad0e7d894ec1b8f95c812= 5dce31