emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: juh <juh+org-mode@mailbox.org>
To: org-mode-email <emacs-orgmode@gnu.org>
Subject: Configuring ox-context
Date: Tue, 21 Dec 2021 16:50:53 +0100	[thread overview]
Message-ID: <e78cdff3-9d64-3bbe-939f-0e30ba145e28@mailbox.org> (raw)

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


             reply	other threads:[~2021-12-21 15:51 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-12-21 15:50 juh [this message]
2021-12-21 16:19 ` Configuring ox-context Jason Ross
2021-12-21 17:55   ` juh
2021-12-21 18:04     ` Jason Ross
2021-12-21 18:36       ` juh
2021-12-21 18:56         ` juh
2021-12-21 19:05           ` Jason Ross
2021-12-22 11:24             ` juh
2021-12-22 18:37               ` Jason Ross
2021-12-23  7:24                 ` juh
2021-12-23 20:16                   ` Denis Maier
2021-12-24 16:36                     ` Jason Ross

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=e78cdff3-9d64-3bbe-939f-0e30ba145e28@mailbox.org \
    --to=juh+org-mode@mailbox.org \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).