emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Configuring ox-context


From: Jason Ross
Subject: Re: Configuring ox-context
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



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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]