emacs-orgmode
[Top][All Lists]
Advanced

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

Re: [O] Text above first headline is being exported, despite :export: ta


From: Brady Trainor
Subject: Re: [O] Text above first headline is being exported, despite :export: tag being used.
Date: Sat, 18 Oct 2014 15:20:41 -0700
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux)

Charles Berry <address@hidden> writes:

> Brady Trainor <algebrat <at> uw.edu> writes:
>
>> But I have trees tagged for export, while text above first headline is
>> being exported. Can anyone confirm? 
>
> It works for me. Can you provide an ECM[1]?
>

I have in a file simply:

--8<---------------cut here---------------start------------->8---
Text above first headline. 

* first headline for export          :export:
--8<---------------cut here---------------end--------------->8---

I start Emacs with =emacs -q=, and apply =M-x package-initialize=. 

With =M-x version RET= and =M-x org-version RET=, I find

,----
| GNU Emacs 24.3.1 (x86_64-pc-linux-gnu, GTK+ Version 3.10.7) of
| 2014-03-07 on lamiak, modified by Debian
| 
| Org-mode version 8.2.10 (8.2.10-elpa @
| /home/iam/.emacs.d/elpa/org-20141013/)
`----

With =C-c C-e l l=, the associated .tex file includes

,----
| \begin{document}
| 
| \maketitle
| \tableofcontents
| 
| Text above first headline. 
| 
| \section{first headline for export}
| \label{sec-1}
| % Emacs 24.3.1 (Org mode 8.2.10)
| \end{document}
`----

or for completeness, the entire contents are

--8<---------------cut here---------------start------------->8---
% Created 2014-10-18 Sat 15:11
\documentclass[11pt]{article}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage{fixltx2e}
\usepackage{graphicx}
\usepackage{longtable}
\usepackage{float}
\usepackage{wrapfig}
\usepackage{rotating}
\usepackage[normalem]{ulem}
\usepackage{amsmath}
\usepackage{textcomp}
\usepackage{marvosym}
\usepackage{wasysym}
\usepackage{amssymb}
\usepackage{hyperref}
\tolerance=1000
\author{iam}
\date{\today}
\title{ecm}
\hypersetup{
  pdfkeywords={},
  pdfsubject={},
  pdfcreator={Emacs 24.3.1 (Org mode 8.2.10)}}
\begin{document}

\maketitle
\tableofcontents

Text above first headline. 

\section{first headline for export}
\label{sec-1}
% Emacs 24.3.1 (Org mode 8.2.10)
\end{document}
--8<---------------cut here---------------end--------------->8---


--
Brady




reply via email to

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