From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id iHxWDWm9eWKoKwAAbAwnHQ (envelope-from ) for ; Tue, 10 May 2022 03:18:33 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id aCNPDGm9eWIeNQEAauVa8A (envelope-from ) for ; Tue, 10 May 2022 03:18:33 +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 C02C3298AC for ; Tue, 10 May 2022 03:18:32 +0200 (CEST) Received: from localhost ([::1]:39886 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1noEWF-0005OY-TE for larch@yhetil.org; Mon, 09 May 2022 21:18:31 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:59794) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1noEVs-0005OQ-A9 for emacs-orgmode@gnu.org; Mon, 09 May 2022 21:18:08 -0400 Received: from mail-pg1-x533.google.com ([2607:f8b0:4864:20::533]:44960) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1noEVq-0006Pc-Oj for emacs-orgmode@gnu.org; Mon, 09 May 2022 21:18:07 -0400 Received: by mail-pg1-x533.google.com with SMTP id v10so13399861pgl.11 for ; Mon, 09 May 2022 18:18:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:references:user-agent:in-reply-to :message-id:mime-version; bh=jVgYNrZ561fZcap/g7jwT9sHGpCttxfV77LsLClZEkg=; b=eoXs9FMm3/dD/onyYO6FbDdGlI5lrKiGpMGnCWnBvG3TRSmNa/PX4EUT98JyTNwdM9 d+A8ogRfdwBOiCD5v2BuarjRkmIO5MGR6zm1JXhgOGkE9dguM8raj2wwyycXRrbUnbLN 3Z3292lkBLe0GPqcmyS8iP03Xj3yuUkpNtqRYjSHVgS7bxZhn/R0/CvQgn6CH9hVb2wX /7W/16fmtvVyxFCF/ylCkfchxatwLjaYkMNPLDbtk0vozEOf7y2uPU1K6fVLIBoMpEH+ XwIK9iLEYVf2nBGFuqXwnvW01JmVva6FKw5KQViqYtl3USRbWzdjv5WvXpsMxZoIG/1X oS3g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:references:user-agent :in-reply-to:message-id:mime-version; bh=jVgYNrZ561fZcap/g7jwT9sHGpCttxfV77LsLClZEkg=; b=DNM8YCZKCyI3pUEFTg7J9uVs7kEeofnjhLSePg1r6qxS8wmbnySgV4y/2xGBUeMaxJ +hAU6PWedvgeVI7m5P0T/zuVZEMMFSS7ly78XXcvomy7p4YfMmLDETnVQ8MYRQ2cHzwy GNrVwtScDhbmp8/RFLLZsohhOMgysGN1J4bEkW4LysidFsBalR9MtEH5RplwLQe5w6K6 2Y7AQ8PBw+m0uw1Nnkk9W9dWRwnxCxIFTSh9mS0BSFkIQO35IwS0RzA0hYElgJ2rRJnl iS14WkIwBS6YDL7pXH3PE8PGVD53BivkxZrAnSoUwfy8MZx0S02IqJ1i9o64dJr+6rt4 PFDw== X-Gm-Message-State: AOAM532IAJxHmLNXsgwDEutkE0eIwzG7RY8Ya8HF8s+a4gaTrgI6CMfO PG8XKl3sgX96165mggj9FzQHsH/nARA= X-Google-Smtp-Source: ABdhPJwFaIcaFol8BZkYDE4L3zuHg+WAqeV0is/teiONc/r2pTrAK/Yy8xXoqfiX/kmK1V0EWNmWUQ== X-Received: by 2002:a05:6a02:19c:b0:3aa:1bf8:7388 with SMTP id bj28-20020a056a02019c00b003aa1bf87388mr15158156pgb.455.1652145484844; Mon, 09 May 2022 18:18:04 -0700 (PDT) Received: from localhost (61-245-128-160.3df580.per.nbn.aussiebb.net. [61.245.128.160]) by smtp.gmail.com with ESMTPSA id c6-20020a170902b68600b0015e8d4eb218sm539146pls.98.2022.05.09.18.18.03 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 09 May 2022 18:18:04 -0700 (PDT) From: Timothy To: sebastien.miquel@posteo.eu Cc: emacs-orgmode@gnu.org Subject: Re: [PATCH] New LaTeX code export option: engraved Date: Tue, 10 May 2022 09:13:46 +0800 References: <87wnf1z1w8.fsf@gmail.com> <53fd4fa3-9215-88fe-a90b-8ce3ea050073@posteo.eu> User-agent: mu4e 1.6.10; emacs 28.0.92 In-reply-to: <53fd4fa3-9215-88fe-a90b-8ce3ea050073@posteo.eu> Message-ID: <878rranq2f.fsf@gmail.com> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Received-SPF: pass client-ip=2607:f8b0:4864:20::533; envelope-from=tecosaur@gmail.com; helo=mail-pg1-x533.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, 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: , Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1652145512; 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=jVgYNrZ561fZcap/g7jwT9sHGpCttxfV77LsLClZEkg=; b=Ehob0aGcceU4ctw5vvzMAhN4cuVIsdOSGm7FSw82cQLAJ2L8GPIOOZaYuj5NZDgJCRH77r 4oQrULjEGmUkPmWvKF2OD3+gMSYnhRyQI6eHf8L0tTBYTt3ZW3BddsVcd+jSY4wFBK5FZ9 rcgxfgBUV7paSh5gvRS/ntw1aCFuWEnGcCoSA/wHbzU2aGjpxGEzrVSoGHi0Se7VG/JL2z lLndOu5cCwaXf5ebZD8XaifoDkTbMbrSNJUWmmw8fOc2hz59AkC0Lifjn6shS07xJszAop 8owiPcGnA308/vistqfUQKRCx58jv60iH8Yev33vHTMq9aOvYmrqKo+qUVTRNQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1652145512; a=rsa-sha256; cv=none; b=rRvNqROvgDWIYJKgOyxq3XNp54z53OUsUlPEoZshGn1LXl5GDZBOvbTchZ2nvrJi4q3H1J UxnBecSuoNf/3stX+7dgYJvjTxTAROg8NgWSDSlGc93i8QKLUbTFRdeOa4Tq9TMOVxPuKi bWN/kPU7eGuNjyZb/TgMNWOEI0Hq/GqSbJt3MxALWkE4R0gf2l6CqFolTd8BWn0yH/jZ68 jtyRmFWaJM8voWtyHYScpOJ619UeJKxJmwYWGU+6C7Y6IwM8D69KfXoDxNXgKldogij9ts r0zPkIWlhuBY32D6QHrV6Ji0T5CfCxpxn2syo+Z4Lhnr1HzCGSqAtKitMKnWrA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=eoXs9FMm; dmarc=pass (policy=none) header.from=gmail.com; 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: -4.61 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=eoXs9FMm; dmarc=pass (policy=none) header.from=gmail.com; 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: C02C3298AC X-Spam-Score: -4.61 X-Migadu-Scanner: scn0.migadu.com X-TUID: s/wFErvY5zEZ --=-=-= Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi Sebastien, > I=E2=80=99m quite exited and impressed to see this alternative to minted, > thank you. That=E2=80=99s great to hear! > I haven=E2=80=99t been able to test your patches to org, but I have tried > engrave-faces.el. Here=E2=80=99s a couple issues I=E2=80=99ve run into. Still helpful, thanks. > =C2=A01. engrave-faces-generate-preset generates emacs colors such as > =C2=A0=C2=A0=C2=A0 `:foreground =E2=80=9Cgrey70=E2=80=9D` which are not s= upported by > =C2=A0=C2=A0=C2=A0 engrave-faces-latex-gen-preamble-line and co. Ah. I=E2=80=99ve just found this snippet from `list-colors-print' =E2=94=8C=E2=94=80=E2=94=80=E2=94=80=E2=94=80 =E2=94=82 (apply 'format "#%02x%02x%02x" =E2=94=82 (mapcar (lambda (c) (ash c -8)) =E2=94=82 (color-values (car color)))) =E2=94=94=E2=94=80=E2=94=80=E2=94=80=E2=94=80 I=E2=80=99ll see if I can incorporate this into engrave-faces v0.3.1. > =C2=A02. `minted` supports a `mathescape` option to render math content > =C2=A0=C2=A0=C2=A0 inside code. `fvextra` supports the same option, but m= aths > =C2=A0=C2=A0=C2=A0 characters are escaped by engrave-faces-latex-face-map= per. I=E2=80=99l also take a look at this :) Thanks for the comments Sebastien. All the best, Timothy --=-=-=--