From mboxrd@z Thu Jan 1 00:00:00 1970 From: Xavier Maillard Subject: Publishing orgmode files Date: Fri, 20 Feb 2015 07:09:04 +0100 Message-ID: Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:40481) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YOgm2-00088B-Ai for emacs-orgmode@gnu.org; Fri, 20 Feb 2015 01:09:18 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YOglx-0004ww-PA for emacs-orgmode@gnu.org; Fri, 20 Feb 2015 01:09:14 -0500 Received: from out4-smtp.messagingengine.com ([66.111.4.28]:47212) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YOglx-0004wo-DF for emacs-orgmode@gnu.org; Fri, 20 Feb 2015 01:09:09 -0500 Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.nyi.internal (Postfix) with ESMTP id 64FC420C4D for ; Fri, 20 Feb 2015 01:09:06 -0500 (EST) Received: from kcals.intra.maillard.im (unknown [90.18.88.187]) by mail.messagingengine.com (Postfix) with ESMTPA id 01EFE6800C2 for ; Fri, 20 Feb 2015 01:09:06 -0500 (EST) 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: emacs-orgmode@gnu.org --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Hello, I am trying to publish my org project but I am lost in the way I can tweak my projects. Is there some good tutorial I can follow step by step in order to publish several files at once ? My site tree is like this: web/ =E2=94=9C=E2=94=80=E2=94=80 Makefile =E2=94=9C=E2=94=80=E2=94=80 css =E2=94=82=C2=A0=C2=A0 =E2=94=94=E2=94=80=E2=94=80 style.css =E2=94=9C=E2=94=80=E2=94=80 gnupg.org =E2=94=9C=E2=94=80=E2=94=80 header =E2=94=82=C2=A0=C2=A0 =E2=94=94=E2=94=80=E2=94=80 header.org =E2=94=9C=E2=94=80=E2=94=80 index.org =E2=94=9C=E2=94=80=E2=94=80 org-templates =E2=94=82=C2=A0=C2=A0 =E2=94=94=E2=94=80=E2=94=80 level-0.org =E2=94=94=E2=94=80=E2=94=80 publish_config.el I am using a Makefile to build it from the command line but it is just a gadget that just make a call to `org-publish-project'. Where I am totally lost is with how I can tweak my publish option. Turns out I can add many options directly into org-mode files but that's not practical to clone/duplicate them in several places. This is where org-templates should enter the dance but either I use them bad or it just not the way to go. I am tryng as a simple example, to replace the default (included) style with my own (stored in css/style.css). My org-templates/level-0.org has this: #+STYLE: # Local Variables: # org-html-head-include-default-style: nil # org-html-head-include-scripts: nil # End: All of this has been stolen here and there but it just does nothing. Elsewhere I have seen we can embed :style in the `org-publish-project-alist' (same result). Some people are using #+HTML_HEAD_EXTRA instead. So what is the way to go just for this basic stuff ? I have nothing configured with org-mode (8.2.10 version by the way) and I am using the defaults eveywhere. Can someone help ? Thank you. =2D- Xavier --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQQcBAEBCgAGBQJU5s+BAAoJEN4v/Iaa+lFlNFwf/RFnEyVVg9vybUs+FTHwAXeu V6gvJN7ezFjdOTaKQTLZjLDcq7bxL5lUteszrUj1T4ZlshBiY8jQRcOkWiewteCs dmsyk00kcRmGEFkSBPjes3E2ncWxnVGvY7MpdeEOlNP/TdLBtVWBppjh1DWz5c8T rTPIJ6sPV5zkZUcoa1LnMI0TymUv7qKCMzxgotPVkRyjqotyxj3TsXxWot7m4353 E6Fc+FO3K1xlHQgg/gp5QqeiiHwX1linpy7XbXCc/JXvhqXtHLdWOyfrnaILGYdD vtVVv9qxm5dsIdCL99mEiMMIrb2kXF3JY++Aqq+Irf0GtMtptfu3opQtPkWWk2ql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