emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] How to use my own stylesheet for publishing to html ?


From: Mehul Sanghvi
Subject: Re: [O] How to use my own stylesheet for publishing to html ?
Date: Tue, 13 Aug 2013 10:06:25 -0400

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 <address@hidden> 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: address@hidden

reply via email to

[Prev in Thread] Current Thread [Next in Thread]