Re: [O] Text above first headline is being exported, despite :export: tag being used.

2014-10-18 Thread Nicolas Goaziou
Hello,

"Charles C. Berry"  writes:

> I confirm that the ECM *fails* in maint.
>
> But it *succeeds* in master.

Since modifying maint is not an option until Emacs' new release, and
given than master will become maint thereafter, I think the situation is
as fine as possible.


Regards,

-- 
Nicolas Goaziou



Re: [O] Text above first headline is being exported, despite :export: tag being used.

2014-10-18 Thread Charles C. Berry

On Sat, 18 Oct 2014, Brady Trainor wrote:


Charles Berry  writes:


Brady Trainor  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



[snip]

I confirm that the ECM *fails* in maint.

But it *succeeds* in master.

HTH,

Chuck




Re: [O] Text above first headline is being exported, despite :export: tag being used.

2014-10-18 Thread Brady Trainor
Charles Berry  writes:

> Brady Trainor  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




Re: [O] Text above first headline is being exported, despite :export: tag being used.

2014-10-16 Thread Charles Berry
Brady Trainor  uw.edu> writes:


> 
> I read
> 
> ,
> | ‘SELECT_TAGS’ 
> | The tags that select a tree for export (org-export-select-tags). The
> | default value is :export:. Within a subtree tagged with :export:,
> | you can still exclude entries with :noexport: (see below). When
> | headlines are selectively exported with :export: anywhere in a file,
> | text before the first headline is ignored.
> `
> 
> 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]?

HTH,

Chuck

[1] http://orgmode.org/worg/org-faq.html#ecm




[O] Text above first headline is being exported, despite :export: tag being used.

2014-10-16 Thread Brady Trainor

At

http://orgmode.org/manual/Export-settings.html

I read

,
| ‘SELECT_TAGS’ 
| The tags that select a tree for export (org-export-select-tags). The
| default value is :export:. Within a subtree tagged with :export:,
| you can still exclude entries with :noexport: (see below). When
| headlines are selectively exported with :export: anywhere in a file,
| text before the first headline is ignored.
`

But I have trees tagged for export, while text above first headline is
being exported. Can anyone confirm? 

--
Brady