Hello, I often use COMMENT in headlines to block out text that I don't want exported. This works generally very well. However, sometimes I comment a headline that has no headline text, as in "* COMMENT" alone. These sections are ignored properly by the old exporter but not the new one.
This is a minor bug; all you have to do is add any text after the COMMENT. I thought it would be easy to figure out where this is going wrong but I was unable to. Sorry! Example org and exported tex files attached. Thanks, eric PS - I've been silent on this list for months now; it's annoying how work can interfere with what I would rather be doing... :( -- : Eric S Fraga, GnuPG: 0xC89193D8FFFCF67D : in Emacs 24.2.50.1 and Org release_7.9.1-225-ga5756f
* first some text * second some text which should appear in the new exporter *** second first some text which should appear *** COMMENT second third some text which should not appear *** COMMENT some text which should not appear *but* does actually appear unfortunately in the new exporter, although not in the old one. * COMMENT third some text which should not appear
% Created 2012-09-29 Sat 01:04 \documentclass{scrartcl} \usepackage[utf8]{inputenc} \usepackage[T1]{fontenc} \usepackage{fixltx2e} \usepackage{graphicx} \usepackage{longtable} \usepackage{float} \usepackage{wrapfig} \usepackage{soul} \usepackage{textcomp} \usepackage{marvosym} \usepackage[integrals]{wasysym} \usepackage{latexsym} \usepackage{amssymb} \usepackage{hyperref} \tolerance=1000 \usepackage{xcolor} \usepackage{listings} \usepackage{amsmath} \author{Eric Fraga} \date{\today} \title{comment} \hypersetup{ pdfkeywords={}, pdfsubject={}, pdfcreator={Generated by Org mode 7.9.1 in Emacs 24.2.50.1.}} \begin{document} \maketitle \tableofcontents \vspace*{1cm} \section{first} \label{sec-1} some text \section{second} \label{sec-2} some text which should appear in the new exporter \subsection{second first} \label{sec-2-1} some text which should appear \subsection{COMMENT} \label{sec-2-2} some text which should not appear \textbf{but} does actually appear unfortunately in the new exporter, although not in the old one. % Generated by Org mode 7.9.1 in Emacs 24.2.50.1. \end{document}