From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:8:6d80::]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id wDMiOi7KZWB2qQAAgWs5BA (envelope-from ) for ; Thu, 01 Apr 2021 15:27:10 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id MK/iMy7KZWC8DAAAbx9fmQ (envelope-from ) for ; Thu, 01 Apr 2021 13:27:10 +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 2F2E121BC5 for ; Thu, 1 Apr 2021 15:27:10 +0200 (CEST) Received: from localhost ([::1]:43552 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lRxLp-0007uA-Cp for larch@yhetil.org; Thu, 01 Apr 2021 09:27:09 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:40038) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lRxKe-0007sa-4N for emacs-orgmode@gnu.org; Thu, 01 Apr 2021 09:25:56 -0400 Received: from mail-pj1-x102c.google.com ([2607:f8b0:4864:20::102c]:52037) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lRxKS-0002xk-42 for emacs-orgmode@gnu.org; Thu, 01 Apr 2021 09:25:55 -0400 Received: by mail-pj1-x102c.google.com with SMTP id s21so1160040pjq.1 for ; Thu, 01 Apr 2021 06:25:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=references:user-agent:from:to:cc:subject:in-reply-to:message-id :date:mime-version; bh=+BqIaEwiLuJHqBhipRHzWaEd756PT8B9Hqjb+tUdYBw=; b=NxaNixiGp/+SysxJHfn3JzLeylqpWm61szlnznfkC65vlekAl4gBiJ2te1HbjQLA9l TBVtJ16Ga6o3SfAlKxyqvAVdlzVIzULnlLgkvhoYfnTrpVGmE3QMjhAbOUBynu93j0e0 yrbcuLqHQLXvEqKooUZJEl7+8mzc87/KsSSGQ4IAOSw7l7z4WbvcraARwvc2r4P3+u6U 6E3jB/7fISJWaECG28LE0IBOHA3FGteiBw5OhU+v9jDNkGzO3VH80nTVc30VjQb0mGMM xnxaDxXLVrS5uxkXzxF6qXOq3VLjuCpiEPBIAKlrVgjthY7J7Lr998DkGuVaZ/P2XR9s BXRQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:references:user-agent:from:to:cc:subject :in-reply-to:message-id:date:mime-version; bh=+BqIaEwiLuJHqBhipRHzWaEd756PT8B9Hqjb+tUdYBw=; b=gA6qfNZeLM7hekR33B3WjySiOdDhxRuDpYUP5gNPas7VvZb3YXyZw0iaVKbNgmjyZB UYIBrpNLEkzmYHpO6q3iccBkl09JxdRTh/bl/LJ9hMrD8uJg+jWD17MOuRq80eQOswom pF+/Fq8AyoruD6YKrLWkRp+yCm50puTqRoKc6AqPPGCEN/mgPTLbSKOBpCAa+t9hnsEC PdLImzgKHvbiXanaL4/QIwvKZ+TV7oJquT/fockzrclPF6wMD9HOPxVeQFcEQs+OYPmk 1wEGQl9yYL//zOi2R6zN+DXXvF475TIRPC40o17GiRLFxnT+ePquDB2ebPqtlN7jJMQd M9gQ== X-Gm-Message-State: AOAM530w5LdpqZyNgDsoymSe/P2//yIGtL5uFi/X3TqPfy9EBAKU9f4E C40TVhxs8xvLDoROGke4GLY= X-Google-Smtp-Source: ABdhPJzh4yqJtUmVIE8xpECvyGgRnH0ZaGhL3YDYUo5xbyCmV5FntFdqfnu8/Eq3+v3WCSc/M4+mOg== X-Received: by 2002:a17:902:d507:b029:e7:370d:b3c2 with SMTP id b7-20020a170902d507b02900e7370db3c2mr8086900plg.73.1617283542118; Thu, 01 Apr 2021 06:25:42 -0700 (PDT) Received: from localhost (180-150-91-8.b4965b.per.nbn.aussiebb.net. [180.150.91.8]) by smtp.gmail.com with ESMTPSA id j3sm5505179pfi.74.2021.04.01.06.25.40 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 01 Apr 2021 06:25:41 -0700 (PDT) References: <88a3facd-2f95-42b7-135a-d2ec6a730ba7@gmail.com> <86tuosdfh6.fsf@login.ifi.uio.no> <86pmzgd7zm.fsf@login.ifi.uio.no> <87o8f0wsr5.fsf@posteo.net> <87pmzfhcep.fsf@ucl.ac.uk> <864kgrch4a.fsf@login.ifi.uio.no> <8735wacx8b.fsf@ucl.ac.uk> <871rbufkww.fsf@gmail.com> <87czve1bom.fsf@ucl.ac.uk> User-agent: mu4e 1.4.15; emacs 28.0.50 From: Timothy To: Eric S Fraga Subject: Re: About exporting In-reply-to: <87czve1bom.fsf@ucl.ac.uk> Message-ID: <87v996dtm5.fsf@gmail.com> Date: Thu, 01 Apr 2021 21:25:38 +0800 MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=2607:f8b0:4864:20::102c; envelope-from=tecosaur@gmail.com; helo=mail-pj1-x102c.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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, 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: , Cc: emacs-orgmode@gnu.org 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=1617283630; 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=+BqIaEwiLuJHqBhipRHzWaEd756PT8B9Hqjb+tUdYBw=; b=Odhpd/HLiYMw8He0yX1E2xq4gypN1T6uw8xW+bqUT3BJHf/ZiIdAcs3dbh07Fs7iyVR3mD zn4Q65XFe62ib3OtssFO47GRsfIKaz8kNAMAfqS3DD3vqjs8SYVXplLEXUvHF46JhNgMh2 NhDwDeN6dooHiv1XSJaSu4uDQPgJCmQZTCNiOMvTgGbiMINoyMqcJOqWTSOdvkqbUvwBHU M3Fft+XzRydLRjA77hxgwrJSSgPVAMtuopFshwjBzSHZP6Z3YTxzSQpt8EZeRv8WaQte34 LLi9udp0ZsqiCckVYW03g+FB/qcAHIGm0ug0NAR/b3JjeYyms60YA0CBCGdeRw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1617283630; a=rsa-sha256; cv=none; b=OC4tEeSvlERdxFX9rayCgdJoMWnhboGF6Rf37eAZUNIKXtNtR+xGzFe8z0fdPLeOi6XnJc e8lNF/g03QgrPS/0NrVNnnDnaDn+AnwdoNfje0RiGfQevn2BOjjKm/ZA1vSX7fEHn2TzjE wXyDE7UaJvd0M64WKPIayxRiM0mtl5OUnT7ofgEiVJ3NSs5qCpiuKuPXOjmrXAigBoDBOj uxpd7yqdZtmN438utzE8fbLy0WNgdxVxI0C4W6zb5n87SJgm6kMKZmD00aELcCnl16iseh w5UAroY6W/sCN8ro3nn+ryX9iSiXltt8nIvI0H1+lipuSBTkfQVeW7ToyGl2JA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20161025 header.b=NxaNixiG; 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=NxaNixiG; 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: 2F2E121BC5 X-Spam-Score: -3.13 X-Migadu-Scanner: scn0.migadu.com X-TUID: XylAzrLSaIw9 Eric S Fraga writes: > On Thursday, 1 Apr 2021 at 16:50, Timothy wrote: >> I think in part this works for me because of a particular system I >> have in place (that IMHO works *wonderfully* with Org) which I plan on >> submitting patches to upstream (to Org) in the not-to-distant future. > > Interesting. Look forward to seeing this! If you want to get an "sneak peek" you may be interested in taking a quick look at: https://tecosaur.github.io/emacs-config/config.html#content-feature-preamble In essence this system is the combination of LaTeX snippet / generated content with feature detection. For example, this is what I have for working with Julia code: #+begin_src emacs-lisp (add-to-list 'org-latex-conditional-features '((and org-export-has-code-p "^[ \t]*#\\+begin_src julia\\|^[ \t]*#\\+BEGIN_SRC julia\\|src_julia") . julia-code) t) (add-to-list 'org-latex-feature-implementations '(julia-code :snippet org-latex-julia-mono-fontspec :order 0) t) (add-to-list 'org-latex-feature-implementations '(.microtype-lualatex :eager t :when (microtype julia-code) :prevents microtype :order 0.1 :snippet "\\usepackage[activate={true,nocompatibility},final,tracking=true,factor=2000]{microtype}\n")) (add-to-list 'org-latex-feature-implementations '(.custom-font-no-mono :eager t :prevents custom-font :order 0 :snippet (org-latex-fontset :serif :sans)) t) #+end_src It's been evolving for a several weeks now, and I feel like it should soon settle down enough that I will be happy preparing a patch based on it. -- Timothy