From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mehul Sanghvi Subject: Re: How to use my own stylesheet for publishing to html ? Date: Tue, 13 Aug 2013 10:06:25 -0400 Message-ID: References: <86vc3agjt8.fsf@somewhere.org> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=089e010d8a021d982904e3d4bf04 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:43102) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1V9FF1-0001cm-P1 for emacs-orgmode@gnu.org; Tue, 13 Aug 2013 10:06:33 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1V9FEw-0003PO-QB for emacs-orgmode@gnu.org; Tue, 13 Aug 2013 10:06:31 -0400 Received: from mail-wi0-x235.google.com ([2a00:1450:400c:c05::235]:63866) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1V9FEw-0003PE-HJ for emacs-orgmode@gnu.org; Tue, 13 Aug 2013 10:06:26 -0400 Received: by mail-wi0-f181.google.com with SMTP id en1so665475wid.8 for ; Tue, 13 Aug 2013 07:06:25 -0700 (PDT) In-Reply-To: <86vc3agjt8.fsf@somewhere.org> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: ML Emacs-orgmode --089e010d8a021d982904e3d4bf04 Content-Type: text/plain; charset=ISO-8859-1 Sebastian, Thanks. I'll try that out and see what happens. I am running into another problem currently which I'll send out email about. cheers, mehul On Tue, Aug 13, 2013 at 2:56 AM, Sebastien Vauban wrote: > Hello Mehul, > > Mehul Sanghvi wrote: > >> I have the following in a template file [...] > >> and in my index.org file I do: > >> > >> #+SETUPFILE: ~/Env/emacs/_org-templates/level-0.org > >> > >> Yet when I publish the project, although the stylesheet gets copied to > >> the right place, it is not getting used in the generated index.html. > It is > >> using org-info.js instead. I am following the tutorial for publishing > that > >> is in the Worg. > >> > >> I am using Orgmode 8.0.3 and the behaviour is also exhibited in the > latest > >> from git. > > > > I made some changes: > > > > - Removed #+SETUPFILE: from index.org > > > > - Added :html-head to org-publish-project-alist > > > > And that seems to have done the trick. So it seems the problem is with > the > > template that I was referring to in #+SETUPFILE which I'll need to look > at, > > one option at a time, unless someone can point me to what is wrong with > it. > > 'could be that, since Org 8, #+SETUPFILE needs a filepath/name enclosed in > double quotes: > > #+SETUPFILE: "path/to/file.org" > > Best regards, > Seb > > -- > Sebastien Vauban > > > -- Mehul N. Sanghvi email: mehul.sanghvi@gmail.com --089e010d8a021d982904e3d4bf04 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
Sebastian,

=A0 =A0 =A0 Thanks. =A0 I= 9;ll try that out and see what happens. =A0I am running into another proble= m currently which I'll send out email about.

<= br>
cheers,

=A0 =A0 =A0 mehul



On Tue= , Aug 13, 2013 at 2:56 AM, Sebastien Vauban <sva-news@mygooglest.c= om> wrote:
Hello Mehul,

Mehul Sanghvi wrote:
>> I have the following in a template file [...]
>> and in my index.org file I do:
>>
>> #+SETUPFILE: ~/Env/emacs/_org-templates/level-0.org
>>
>> Yet when I publish the project, =A0although the stylesheet gets co= pied to
>> the right place, it is not getting used in the generated index.htm= l. =A0It is
>> using org-info.js instead. =A0I am following the tutorial for publ= ishing that
>> is in the Worg.
>>
>> I am using Orgmode 8.0.3 and the behaviour is also exhibited in th= e latest
>> from git.
>
> I made some changes:
>
> =A0- Removed #+SETUPFILE: from index.org
>
> =A0- Added :html-head to org-publish-project-alist
>
> And that seems to have done the trick. =A0So it seems the problem is w= ith the
> template that I was referring to in #+SETUPFILE which I'll need to= look at,
> one option at a time, unless someone can point me to what is wrong wit= h it.

'could be that, since Org 8, #+SETUPFILE needs a filepath/name en= closed in
double quotes:

=A0 #+SETUPFILE: "path/to/file.org"

Best regards,
=A0 Seb

--
Sebastien Vauban





-- Mehul N. Sanghvi
email: meh= ul.sanghvi@gmail.com
--089e010d8a021d982904e3d4bf04--