emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: "Sebastien Vauban" <wxhgmqzgwmuf-geNee64TY+gS+FvcfC7Uqw@public.gmane.org>
To: emacs-orgmode-mXXj517/zsQ@public.gmane.org
Subject: Re: SETUPFILE and variants
Date: Wed, 13 Feb 2013 20:46:37 +0100	[thread overview]
Message-ID: <8638x0dmjm.fsf@somewhere.org> (raw)
In-Reply-To: 87d2w4cnfr.fsf@gmail.com

Hi Nicolas,

Nicolas Goaziou wrote:
> Sebastien Vauban writes:
>
>> With the new exporter, I still couldn't find how to use a setup file.
>> Neither with:
>>
>> - the old `#+SETUPFILE:' directive
>
> Still working here.
>
>> - the new one (?): `#+SETUP_FILE:'
>
> It has been dropped. You can safely forget it.
>
>> - the soon to be unique one (?): `#+INCLUDE:'
>
> It should work too.
>
> I had indeed considered dropping #+SETUPFILE. but if we keep it, we
> might be able to define an :EXPORT_SETUPFILE: for subtree export (not
> implemented). So, after all, I

I could advocate that you could define an :EXPORT_INCLUDE: as well, that is
file to be included for the subtree export.

Do you prone the utilization of one over the other?

> Anyway, for the time being, I prefer to focus on real bugs.

I fully agree.

>> ECM file:
>>
>> #+TITLE:     Example of Tasks
>> #+AUTHOR:    Sebastien Vauban
>> #+DESCRIPTION:
>> #+KEYWORDS:
>> #+LANGUAGE:  en
>>
>> #+INCLUDE: "~/src/org-style/bigblow.setup"
>>
>> * Marketing
>>
>> ** STRT Hire PR firm
>
> What does "bigblow.setup" contain?

In essence: links to CSS and JavaScript "libraries":

--8<---------------cut here---------------start------------->8---
# -*- mode: org; -*-

#+STYLE: <script src="http://code.jquery.com/jquery-1.9.0.js"></script>
#+STYLE: <script src="http://code.jquery.com/ui/1.10.0/jquery-ui.js"></script>

#+STYLE: <link rel="stylesheet" type="text/css" href="http://svn-server/org-style/trunk/bigblow/css/bigblow.css"/>
#+STYLE: <link rel="stylesheet" type="text/css" href="http://svn-server/org-style/trunk/bigblow/css/htmlize.css"/>
#+STYLE: <script type="text/javascript" src="http://svn-server/org-style/trunk/bigblow/js/bigblow.js"></script>
#+STYLE: <script type="text/javascript" charset="utf-8" src="http://svn-server/org-style/trunk/bigblow/js/jquery.scrollTo-1.4.3.1-min.js"></script>
#+STYLE: <script type="text/javascript" charset="utf-8" src="http://svn-server/org-style/trunk/bigblow/js/jquery.localscroll-min.js"></script>

#+STYLE: <link rel="stylesheet" type="text/css" href="css/bigblow.css"/>
#+STYLE: <link rel="stylesheet" type="text/css" href="css/htmlize.css"/>
#+STYLE: <script type="text/javascript" src="js/bigblow.js"></script>
#+STYLE: <script type="text/javascript" src="js/jquery.scrollTo-1.4.3.1-min.js"></script>
#+STYLE: <script type="text/javascript" src="js/jequery.localscroll-min.js"></script>
--8<---------------cut here---------------end--------------->8---

> I have no problem with this ECM.

I really don't understand what's going on. I see that the checks are made
whether the file exist or not. I did press C-c C-c each time before
exporting -- to be sure (because it seems anyway to work without doing that).

But nothing... I'll to find out another way to understand what's going on...

> Also what did you expect?

My CSS style to be applied! ;-)

Best regards,
  Seb

-- 
Sebastien Vauban

  reply	other threads:[~2013-02-13 19:46 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-02-12 15:44 SETUPFILE and variants Sebastien Vauban
2013-02-13 14:12 ` Nicolas Goaziou
2013-02-13 19:46   ` Sebastien Vauban [this message]
2013-02-13 19:54     ` Nicolas Goaziou
2013-02-14  8:55       ` Sebastien Vauban
2013-02-13 20:42     ` Sebastien Vauban

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=8638x0dmjm.fsf@somewhere.org \
    --to=wxhgmqzgwmuf-genee64ty+gs+fvcfc7uqw@public.gmane.org \
    --cc=emacs-orgmode-mXXj517/zsQ@public.gmane.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).