emacs-orgmode@gnu.org archives
 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")


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")


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:

  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=8736734z19.fsf@nicolasgoaziou.fr \
    --to=mail@nicolasgoaziou.fr \
    --cc=emacs-orgmode@gnu.org \
    --cc=sturgman@gmail.com \


* 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


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).