From mboxrd@z Thu Jan 1 00:00:00 1970 From: Larrabee Strow Subject: HTML literal output Date: Mon, 28 Dec 2015 11:42:23 -0500 Message-ID: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=e89a8f2344d95180ad0527f7fd1c Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:56768) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aDasP-0000cA-4I for emacs-orgmode@gnu.org; Mon, 28 Dec 2015 11:42:30 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aDasN-0003P6-Nl for emacs-orgmode@gnu.org; Mon, 28 Dec 2015 11:42:29 -0500 Received: from mail-ig0-x22e.google.com ([2607:f8b0:4001:c05::22e]:36458) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aDasN-0003Nz-GQ for emacs-orgmode@gnu.org; Mon, 28 Dec 2015 11:42:27 -0500 Received: by mail-ig0-x22e.google.com with SMTP id ph11so148388617igc.1 for ; Mon, 28 Dec 2015 08:42:24 -0800 (PST) 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 --e89a8f2344d95180ad0527f7fd1c Content-Type: text/plain; charset=UTF-8 I am using orgmode to produce html for the Hugo static web site generator. Hugo requires yaml at the top of the html file for configuration. Previously (8.3beta) this worked by putting the yaml inside BEGIN_HTML blocks., but it does not work with version 8.3.2 org-mode Version 8.3.2 I am unable to get orgmode to pass literal "html" on export. Input file: ----------------------------------------------- #+STARTUP: showall expand #+options: toc:nil #+BEGIN_HTML --- date: "2014-07-28" title: "Testeight" type: "page" menu: "docs" weight: 3 --- #+END_HTML * Hello This is the first line html output file: ----------------------------------------------

— date: "2014-07-28" title: "Testeight" type: "page" menu: "docs" weight: 3 —

etc. In orgmode 8.3beta this worked. I got the html export file below --- date: "2014-07-28" title: "Testeight" type: "page" menu: "docs" weight: 3 ---

1 Hello

This is the first line

Also, is there any way to make "Body only:" on as the default in the exporter menu? I do not want to use publish. Thank you. Larrabee ------------------------------------------ L. Larrabee Strow UMBC Physics Department Email: strow@umbc.edu Phone: 724-288-6933 --e89a8f2344d95180ad0527f7fd1c Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
I am using orgmode to produce html for the Hugo stati= c web site generator.=C2=A0 Hugo requires yaml at the top of the html file = for configuration.=C2=A0 Previously (8.3beta) this worked by putting the ya= ml inside BEGIN_HTML blocks., but it does not work with version 8.3.2
=

org-mode Version 8.3.2

I am unable to get= orgmode to pass literal "html" on export.

Input file:
-----------------------------------------------
#+STARTUP: showall expand
#+options: toc:nil
#+BEGIN_HTML
---
date: "2014-07-28"
<= div>title: "Testeight"
type: "page"
menu: "docs"
weight: 3
---
#+END_H= TML

* Hello

This is the f= irst line


html output file:
----------------------------------------------
<div cl= ass=3D"HTML">
<p>
&#x2014;
=
date: "2014-07-28"
title: "Testeight"
type: "page"
menu: "docs"
w= eight: 3
&#x2014;
</p>

etc.

In orgmode 8.3beta this worked.=C2=A0 I go= t the html export file below

---
da= te: "2014-07-28"
title: "Testeight"
type: "page"
menu: "docs"
weight: = 3
---

<div id=3D"outline-contain= er-sec-1" class=3D"outline-2">
<h2 id=3D&quo= t;sec-1"><span class=3D"section-number-2">1</spa= n> Hello</h2>
<div class=3D"outline-text-2"= id=3D"text-1">
<p>
This is the firs= t line
</p>
</div>
</div>


Also, is there any way to make= "Body only:" on as the default in the exporter menu?=C2=A0 I do = not want to use publish.

Thank you.

=
Larrabee

------------------------------= ------------
L. Larrabee Strow
UMBC Physics Department
--e89a8f2344d95180ad0527f7fd1c--