From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id uMQkIpozuWC+GQAAgWs5BA (envelope-from ) for ; Thu, 03 Jun 2021 21:55:06 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id EPBpHZozuWCkAwAA1q6Kng (envelope-from ) for ; Thu, 03 Jun 2021 19:55:06 +0000 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 1D56621A97 for ; Thu, 3 Jun 2021 21:55:06 +0200 (CEST) Received: from localhost ([::1]:52044 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lotQn-0002OY-57 for larch@yhetil.org; Thu, 03 Jun 2021 15:55:05 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:35020) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lotQA-0002O7-N2 for emacs-orgmode@gnu.org; Thu, 03 Jun 2021 15:54:26 -0400 Received: from mail-io1-xd2b.google.com ([2607:f8b0:4864:20::d2b]:41610) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lotQ9-0008Rm-8v for emacs-orgmode@gnu.org; Thu, 03 Jun 2021 15:54:26 -0400 Received: by mail-io1-xd2b.google.com with SMTP id p66so5756015iod.8 for ; Thu, 03 Jun 2021 12:54:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:references:subject:message-id:date:user-agent:mime-version :in-reply-to:content-language:content-transfer-encoding; bh=Wm3Xubf0UYm9QMJiO2JNoDvQnjFCcCTtv9qMGHzZPlI=; b=TdcKt/R12jcIv3Nv2U80KLdYlceKx+772ps9Y3r9xVei7aa9Fka4Y9hkKwdGCd5LBV mn//so/6GSn9NEE3VmlDd4yRR/SUSnM1BavLs79oKprc1Wv5IwhUhaifKHDUpy4V5opE sICtH4sMAnO5p74HBeXNZ3AoKw3JCxi1IbyXN9a2aLVbJfzP2QJUZsinZI8sSQT5z9bD DCI4RqNuFFe4AgU6b1/uCFooQX5D7MwHwUMg4v1MmFY8gJRyALSnbszj1iyNwzgkTFe+ U4JbDw3IUWfbLam3Pw9PcYEQ044DcoV/lCX7hopvN39ZnOFZNK5M+MUfmA6Vcr0jAbyZ 4hGw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:references:subject:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=Wm3Xubf0UYm9QMJiO2JNoDvQnjFCcCTtv9qMGHzZPlI=; b=Fc0bop9HRyj8yaOC1zD2gEgbOKL/Ri5GMtHttZ/vVbwCqyFHGEzduwyWBmb6ZLROl3 wR+jwGVf8LoTdiWXfFjWBcYCkesp3C3NQNEWO8aZ27XgquMWN/UqEIKkBXZTBdKuER5J 5+bjUwJfKaXA4kUVG8asrLppqqYcbDtP/EcqX7N5jU7AdnaCStLvVjqOszVzoo8RBCRl ya3/Mkc0tEIgAxV21SFBTaZ0J6zhCvl5JLwP4RL1V+3B8PumUdtM2lkw5Ygq42/8bBbN f4RVjSf9srl/FzQn//W85X/6EGeqU6aee3CShCu9Z4Pl02yUOfplJA3hcdSKQtJg7L7k XIDA== X-Gm-Message-State: AOAM530MeNWf6q2nbttS2lVU+B2bzkKkpRcBZfeaeAqp92PGTDcr3QY8 2yMM7fAiKS/DT/fUDzfWAOJisn4rw+4= X-Google-Smtp-Source: ABdhPJzxUoPVAoyfyJ6Q86CqB8ZZMlpnGEPnP0t5O1+S2Vut5D7lSqm01+j6adCRZwg8OHcFGFM/pg== X-Received: by 2002:a05:6638:151:: with SMTP id y17mr632253jao.128.1622750063641; Thu, 03 Jun 2021 12:54:23 -0700 (PDT) Received: from ?IPv6:2603:6011:2807:283d:277e:a032:e92b:b887? (2603-6011-2807-283d-277e-a032-e92b-b887.res6.spectrum.com. [2603:6011:2807:283d:277e:a032:e92b:b887]) by smtp.gmail.com with ESMTPSA id h6sm2076415iop.40.2021.06.03.12.54.22 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 03 Jun 2021 12:54:23 -0700 (PDT) From: Scott Randby To: emacs-orgmode@gnu.org References: <49a9e4a9-8787-6951-6c98-062426fb5202@gmail.com> <8735u0w507.fsf@alphaville.usersys.redhat.com> Subject: Re: LaTeX fragment preview weirdness Message-ID: <8d2cfcdc-202a-f641-ef7c-e639d1db0ac3@gmail.com> Date: Thu, 3 Jun 2021 15:54:21 -0400 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.10.2 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=windows-1252; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=2607:f8b0:4864:20::d2b; envelope-from=srandby@gmail.com; helo=mail-io1-xd2b.google.com X-Spam_score_int: -26 X-Spam_score: -2.7 X-Spam_bar: -- X-Spam_report: (-2.7 / 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_FROM=0.001, NICE_REPLY_A=-0.603, RCVD_IN_DNSWL_NONE=-0.0001, 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.23 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 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1622750106; 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: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=Wm3Xubf0UYm9QMJiO2JNoDvQnjFCcCTtv9qMGHzZPlI=; b=TEWL8OKttFYeBukFNjgrwf9/+IG/mFKOmcW/Z19ed9uab+IClr3ASZg38aNxe6UtsU+wsU dDKOi7SuvTdd8GWxFHMRstFuwfu0RLXed6DT/BY/7deHbjkxnh8JEYGUSWqpxFKjIl83PK 4y3nXiNGUamvBdTVkI2N9vDZWgLst1TP9B9g59erc5nnsSm0gv9L3lueNDg83fbBmQIhi8 RM8SuKv4pe8lSrEpNVylvWyNQBEZqGwqFjvBO6cq7Aj+T0fM7+jzFsWxW0kwuNyKeUHFnA /V80MRNdAFnhk/ZpIVhNb7f5q0rURjEIiQkdWfjf1keJadIAA02dy1FYb7Hurg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1622750106; a=rsa-sha256; cv=none; b=EkutjGRAjQMTPklU9qAYn20BRt9CBcv/WTExIFmN5LhrwjuJgSvxQHI3s7CYA6Jp7LklvK /V5nIO+qS7PbLq/bdnfE75xTg+ZTckLNkqylIUhCQfJ7uQldd4G8+V8IJj+/+Xh4Q2uQ7E z9kFqtKMe1HFnAXhYt0UqZPUXDDyJEFKDcXh05G+Mj04EHqLp+AEYHiR99YLwa3bHoUMSb rR+RGff6hvXuqgILeKiV+VbNVMz8wWlwT57QotOU8/tfSbnYnGnuop8teA0/rm8HzAmQgV mlVMJV339zF7Z8VzrSyB//6FprRPQCHoNgqn/tflJ/g9sCEtiOy55A/bMftj9g== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20161025 header.b="TdcKt/R1"; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of emacs-orgmode-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=emacs-orgmode-bounces@gnu.org X-Migadu-Spam-Score: -3.13 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20161025 header.b="TdcKt/R1"; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of emacs-orgmode-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=emacs-orgmode-bounces@gnu.org X-Migadu-Queue-Id: 1D56621A97 X-Spam-Score: -3.13 X-Migadu-Scanner: scn1.migadu.com X-TUID: mawnuY/zI6tG > On 6/2/21 1:28 PM, Nick Dokos wrote: >> You probably want #+LATEX_HEADER_EXTRA, not #+LATEX_HEADER. Do >> >>     (info "(org) Latex header and sectioning") >> >> where it says: >> >> #+BEGIN_QUOTE >>     The LaTeX export back-end appends values from ‘LATEX_HEADER’ and >> ‘LATEX_HEADER_EXTRA’ keywords to the LaTeX header.  The docstring for >> ‘org-latex-classes’ explains in more detail.  Also note that LaTeX >> export back-end does not append ‘LATEX_HEADER_EXTRA’ to the header when >> previewing LaTeX snippets (see *note Previewing LaTeX fragments::). >> #+END_QUOTE >> > On 6/2/21 2:19 PM, Scott Randby wrote: > > That worked after I deleted the old images in the ltximg directory. I hardly ever preview LaTeX fragments, but I'm changing #+latex_header: to #+latex_header_extra: everywhere. > I had to do a little extra work to get subtree export to work properly. Subtree export appears to also not append ‘LATEX_HEADER_EXTRA’ to the header. I had to add the values I need to the properties of the subtree using 'EXPORT_LATEX_HEADER_EXTRA'. This actually cleaned up a lot of the code, but it was work I'd been putting off. Scott