* add-to-list problem with ox-context
@ 2022-01-18 12:06 juh
0 siblings, 0 replies; only message in thread
From: juh @ 2022-01-18 12:06 UTC (permalink / raw)
To: org-mode-email
Hi all,
I guess that I am not able to configure ox-context like this:
#+begin_src emacs-lisp
(use-package ox-context
:straight (ox-context :type git :host github :repo
"Jason-S-Ross/ox-context")
:config
(setq org-context-pdf-process '("context --mode=trimsize %f"))
(add-to-list 'org-context-presets-alist
'("book1" .
(:literal "\n\\environment juh.env-garamond
\n\\environment juh.env-garamond-trimsize5.5-8.5
\n\\environment juh.env-umbruch
\n\\environment juh.env-layout
\n\\environment juh.env-ligaturen
\n\\environment juh.env-heading
\n\\environment juh.env-deutsch"
:template "report"
:snippets ("title-report"))))
(add-to-list 'org-context-presets-alist
'("book2" .
(:literal "\n\\environment juh.env-gentium
\n\\environment juh.env-gentium-trimsize5.5-8.5
\n\\environment juh.env-umbruch
\n\\environment juh.env-layout
\n\\environment juh.env-ligaturen
\n\\environment juh.env-heading
\n\\environment juh.env-deutsch"
:template "report"
:snippets ("title-report"))))
)
#+end_src
While book1 works book2 give the default style of ox-context. So I guess
that either I made a mistake (most likely) or somehow
org-context-presets-alist don't get more than one additional entry.
TIA
juh
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2022-01-18 13:02 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-01-18 12:06 add-to-list problem with ox-context juh
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).