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 ECw3D9D+wWGKtQAAgWs5BA (envelope-from ) for ; Tue, 21 Dec 2021 17:20:32 +0100 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 KE4fC9D+wWEZJwAA1q6Kng (envelope-from ) for ; Tue, 21 Dec 2021 16:20:32 +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 0059E80B2 for ; Tue, 21 Dec 2021 17:20:32 +0100 (CET) Received: from localhost ([::1]:35420 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mzhsN-0003ab-5P for larch@yhetil.org; Tue, 21 Dec 2021 11:20:31 -0500 Received: from eggs.gnu.org ([209.51.188.92]:45540) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mzhrD-0003Y3-9O for emacs-orgmode@gnu.org; Tue, 21 Dec 2021 11:19:19 -0500 Received: from [2607:f8b0:4864:20::532] (port=33370 helo=mail-pg1-x532.google.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mzhrB-00034F-Or for emacs-orgmode@gnu.org; Tue, 21 Dec 2021 11:19:19 -0500 Received: by mail-pg1-x532.google.com with SMTP id f125so12813783pgc.0 for ; Tue, 21 Dec 2021 08:19:16 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=subject:to:references:from:message-id:date:user-agent:mime-version :in-reply-to:content-language:content-transfer-encoding; bh=v4yVnXpC4EojjFdOnmDOQx7fr1+Fa8ft42z33R37WUA=; b=bz3cHMHhXMQmoK6/0fCSwz62fgJrL4q82D2kxKDTOIYytOIvrfY0IHQUU4ZqnY3XRi gXiCGImxkCnOBI1As7nWSPAnIzyHTAQjNvrEbPDCaWZDF9+PsanP3LRCkciRBlMwSv+C VmlkGl7drTGkYm8xcqzS+ckaeYqbfmq2QYYqfh95g+p2W61BUtpvmshtQriNIJicnFVq VNpbl3MmPQghu8OdLO5XZPrdIYodncxt8dsLFiuyRHGb/stB67jXBmD1I41TtALwik0p s6tfhRWXt6Z3Ct8c+v9mF9w1jv36wlvlorQAPHhQ3iaJVBrVBm8mBl0TJFLTp+Zn8mz+ Vypg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=v4yVnXpC4EojjFdOnmDOQx7fr1+Fa8ft42z33R37WUA=; b=JTv14tpUh60FZxmqPMvDlMkiSSIlFUERsdcHsqB9EDMP4Z/r7jV5GgQ6T1e8oas0NQ ha2kjrExo65R8A+hukuFUyLv+IxG0LZlulUDYZL1XOIDtcennFZrnU8k+e1jsMPg8pyt IooCFpJ69izl9xqRY8zoRws8jxDrgJBkdO8aEdZCY+38mVw025G4oW/uvMvnLNP+i1ao 8em2QBNY1HyQ0A01dSxfy2MF8ZrzD/xGZpcP35+dG+iyrOJklTyGIN8iyvUQUWzssepN PwNP0fVNHZxKnEYclFpux2CEzg65hqNYxGHEf1W/UJE0bHvHhgL7Xa9ncpQZt9pYkA2q PZpg== X-Gm-Message-State: AOAM532g0Lm56gc9YUwwJl4SPMK0LtS4ZHAbCDW3DN791On82llbB1FL fq6b8tt0rc7RnOZXGIixBz8EKcvuzvs= X-Google-Smtp-Source: ABdhPJwazNQmLYTseRx+PY952d5vT3YiIWtUSyxeExE2ohgdib9io6XcVQivYJbeeaZdMctQm1uWAg== X-Received: by 2002:a05:6a00:1310:b0:4b9:f9b8:1f47 with SMTP id j16-20020a056a00131000b004b9f9b81f47mr4014269pfu.25.1640103555373; Tue, 21 Dec 2021 08:19:15 -0800 (PST) Received: from [192.168.1.124] (c-71-59-145-34.hsd1.or.comcast.net. [71.59.145.34]) by smtp.gmail.com with ESMTPSA id m3sm3039861pjz.10.2021.12.21.08.19.14 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 21 Dec 2021 08:19:14 -0800 (PST) Subject: Re: Configuring ox-context To: emacs-orgmode@gnu.org References: From: Jason Ross Message-ID: <8cde8270-704d-d515-dca4-0a65d910f9cd@gmail.com> Date: Tue, 21 Dec 2021 08:19:13 -0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.14.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit X-Host-Lookup-Failed: Reverse DNS lookup failed for 2607:f8b0:4864:20::532 (failed) Received-SPF: pass client-ip=2607:f8b0:4864:20::532; envelope-from=jasonross1024@gmail.com; helo=mail-pg1-x532.google.com X-Spam_score_int: -30 X-Spam_score: -3.1 X-Spam_bar: --- X-Spam_report: (-3.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_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, NICE_REPLY_A=-2.012, RCVD_IN_DNSWL_NONE=-0.0001, RDNS_NONE=0.793, 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" 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=1640103632; 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=v4yVnXpC4EojjFdOnmDOQx7fr1+Fa8ft42z33R37WUA=; b=OhpjDFO7MzrMFHaFO/M6eTpB6WaDrBUlItrvdWsigrwYi1YMwyJJOdk3kItZdAthNZl5QD rScSTtwtH9Qj36py2CYB0PbaqAHS2En5ziIJYJygL+qHuRFbo/YhpUb94BSgWlXclgPTVX wYGVQ6bTHaPSJiJRi3Gc4tphi+gXybOWEUZzWzH7FAIfwQMFqT8a4kE4Dd/AgoF5bAaCUJ wGowvSicmiU9I4bo348KP7IwMhYpXvp66d7PGcidqmRSHYk3SMPB4zcy0ngOIMCgIUtH1F //cI0PlwpZebAe1Pc2Jt9xD4bZYyz/BNVa0x4NHuHMVaPP50/O7UBgX5usTTSQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1640103632; a=rsa-sha256; cv=none; b=ubylPvXAx5I4XRV9EAO0bSHHTu8c0SCTM20U0faleFsNZaf0ISG24LwA5sv2wIw0+4LGzn 7fG+TLJSKCSScO6bMLlbOzraLi9lC9UIQTsiYJ8lq+D03DqwqbGWCzbf+5F7rrf3N+7wGY IiDq1h8W6sNIjlzpHg+3Dw4+2pETBcPYELDv8GhhFHfY18izrtsopdMw8EoyF2bwQtMr0Q RJRtiN5kiW5Xt/0LoREA2svoOqMNIySg/tn+H47wXwNIdX9C1hOYCS+v/XaIToJVZiCX/i XKAKEW22aQnW3Vtm8apXWH5dkDuaYzksyMA6ElKqL7en5HSArWpE59/6wf5zwA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=bz3cHMHh; 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: -5.73 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=bz3cHMHh; 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: 0059E80B2 X-Spam-Score: -5.73 X-Migadu-Scanner: scn0.migadu.com X-TUID: p1hNDH//G72Y On 12/21/21 7:50 AM, juh wrote: > Dear all, > > this configuration does not work. > > #+begin_src emacs-lisp >     (use-package ox-context >       :straight (ox-context :type git :host github :repo > "Jason-S-Ross/ox-context") >     :config >     (add-to-list 'org-context-presets-alist >      '("book" . >        (:literal "\n\\environment juh.env-garamond >   \n\\environment juh.env-garamond-trimsize5-8 >   \n\\environment juh.env-makeups >   \n\\environment juh.env-umbruch >   \n\\environment juh.env-heading >   \n\\environment juh.env-layout >   \n\\environment juh.env-header-footer >   \n\\environment juh.env-ligaturen" >         :template "report" >         :snippets ("title-article"))))) > #+end_src > > test.org: > > #+title: Test > #+context_preset: book > #+context_snippet: title-snippet > > I get an export but the styles are not applied. > > Any hints? > juh Your configuration looks correct to me. Can you verify that the lines \environment juh.env-garamond \environment juh.env-garamond-trimsize5-8 \environment juh.env-makeups \environment juh.env-umbruch \environment juh.env-heading \environment juh.env-layout \environment juh.env-header-footer \environment juh.env-ligaturen appear in the file "test.mkiv" that gets generated? Thanks, Jason