From: Mehul Sanghvi <mehul.sanghvi@gmail.com>
To: ML Emacs-orgmode <emacs-orgmode@gnu.org>
Subject: Re: How to use my own stylesheet for publishing to html ?
Date: Tue, 13 Aug 2013 10:06:25 -0400 [thread overview]
Message-ID: <CAPo9-A8afYG8X3YpMYFd-37f644N8EuYkOUUFkb1OnaVQSS-VQ@mail.gmail.com> (raw)
In-Reply-To: <86vc3agjt8.fsf@somewhere.org>
[-- Attachment #1: Type: text/plain, Size: 1444 bytes --]
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
<sva-news@mygooglest.com>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
[-- Attachment #2: Type: text/html, Size: 2456 bytes --]
prev parent reply other threads:[~2013-08-13 14:06 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-08-12 22:53 How to use my own stylesheet for publishing to html ? Mehul Sanghvi
2013-08-13 2:02 ` Mehul Sanghvi
2013-08-13 6:56 ` Sebastien Vauban
2013-08-13 14:06 ` Mehul Sanghvi [this message]
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=CAPo9-A8afYG8X3YpMYFd-37f644N8EuYkOUUFkb1OnaVQSS-VQ@mail.gmail.com \
--to=mehul.sanghvi@gmail.com \
--cc=emacs-orgmode@gnu.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).