all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Nicolas Goaziou <mail@nicolasgoaziou.fr>
To: Salomon Turgman <sturgman@gmail.com>
Cc: org mode <emacs-orgmode@gnu.org>
Subject: Re: Import Reusable org-babel snippet using #+SETUPFILE
Date: Wed, 10 Jun 2020 01:09:22 +0200	[thread overview]
Message-ID: <8736734z19.fsf@nicolasgoaziou.fr> (raw)
In-Reply-To: <CA+yQROoZM0fUrZOLrGsrK-b_Rk_a2yRNmYs6Xy-24VLS29Kj1A@mail.gmail.com> (Salomon Turgman's message of "Tue, 9 Jun 2020 13:28:13 -0400")

Hello,

Salomon Turgman <sturgman@gmail.com> writes:

> Now, if I include the definition in every org file that I want to use it,
> everything works well. However, if I include the definition in a central
> org file that I import using #+SETUPFILE, things break and I don't get the
> proper output in my html exports.

SETUPFILE only imports keywords.

> Is there a way that I can "import" that snippet without rewriting it in
> every file I need it?

See (info "(org) Library of Babel")

Regards,

-- 
Nicolas Goaziou


  reply	other threads:[~2020-06-09 23:10 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-06-09 17:28 Import Reusable org-babel snippet using #+SETUPFILE Salomon Turgman
2020-06-09 23:09 ` Nicolas Goaziou [this message]
  -- strict thread matches above, loose matches on Subject: below --
2020-06-15 19:52 Douglas Perrin
2020-06-16 15:21 ` Salomon Turgman
2020-06-17 14:23   ` Salomon Turgman
2020-06-18 16:03 Douglas Perrin

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

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

  git send-email \
    --in-reply-to=8736734z19.fsf@nicolasgoaziou.fr \
    --to=mail@nicolasgoaziou.fr \
    --cc=emacs-orgmode@gnu.org \
    --cc=sturgman@gmail.com \
    /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 external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.