emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Brady Trainor <algebrat@uw.edu>
To: emacs-orgmode@gnu.org
Subject: Re: Text above first headline is being exported, despite :export: tag	being used.
Date: Sat, 18 Oct 2014 15:20:41 -0700	[thread overview]
Message-ID: <87siilvx3a.fsf@uw.edu> (raw)
In-Reply-To: loom.20141017T032901-392@post.gmane.org

Charles Berry <ccberry@ucsd.edu> 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	other threads:[~2014-10-18 22:21 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-10-17  0:20 Text above first headline is being exported, despite :export: tag being used Brady Trainor
2014-10-17  1:30 ` Charles Berry
2014-10-18 22:20   ` Brady Trainor [this message]
2014-10-19  1:56     ` Charles C. Berry
2014-10-19  6:48       ` Nicolas Goaziou

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=87siilvx3a.fsf@uw.edu \
    --to=algebrat@uw.edu \
    --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).