From: Jason Ross <jasonross1024@gmail.com>
To: emacs-orgmode@gnu.org
Subject: Re: Configuring ox-context
Date: Tue, 21 Dec 2021 08:19:13 -0800 [thread overview]
Message-ID: <8cde8270-704d-d515-dca4-0a65d910f9cd@gmail.com> (raw)
In-Reply-To: <e78cdff3-9d64-3bbe-939f-0e30ba145e28@mailbox.org>
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
next prev parent reply other threads:[~2021-12-21 16:20 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-12-21 15:50 Configuring ox-context juh
2021-12-21 16:19 ` Jason Ross [this message]
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=8cde8270-704d-d515-dca4-0a65d910f9cd@gmail.com \
--to=jasonross1024@gmail.com \
--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).