emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* [bug] COMMENT alone on heading ignored by new exporter
@ 2012-09-28 15:38 Eric Fraga
  2012-09-29  6:59 ` Nicolas Goaziou
  0 siblings, 1 reply; 3+ messages in thread
From: Eric Fraga @ 2012-09-28 15:38 UTC (permalink / raw)
  To: emacs-orgmode

[-- Attachment #1: Type: text/plain, Size: 755 bytes --]

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

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: comment.org --]
[-- Type: text/org, Size: 389 bytes --]

* 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

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #3: comment.tex --]
[-- Type: text/x-tex, Size: 1105 bytes --]

% 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}

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [bug] COMMENT alone on heading ignored by new exporter
  2012-09-28 15:38 [bug] COMMENT alone on heading ignored by new exporter Eric Fraga
@ 2012-09-29  6:59 ` Nicolas Goaziou
  2012-09-29 14:36   ` Eric Fraga
  0 siblings, 1 reply; 3+ messages in thread
From: Nicolas Goaziou @ 2012-09-29  6:59 UTC (permalink / raw)
  To: emacs-orgmode

Hello,

Eric Fraga <e.fraga@ucl.ac.uk> writes:

> 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 fixed. Thank you for the report.


Regards,

-- 
Nicolas Goaziou

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [bug] COMMENT alone on heading ignored by new exporter
  2012-09-29  6:59 ` Nicolas Goaziou
@ 2012-09-29 14:36   ` Eric Fraga
  0 siblings, 0 replies; 3+ messages in thread
From: Eric Fraga @ 2012-09-29 14:36 UTC (permalink / raw)
  To: Nicolas Goaziou; +Cc: emacs-orgmode

Nicolas Goaziou <n.goaziou@gmail.com> writes:

> Hello,
>
> Eric Fraga <e.fraga@ucl.ac.uk> writes:
>
>> 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 fixed. Thank you for the report.

Thanks.  Works fine now!
-- 
: Eric S Fraga, GnuPG: 0xC89193D8FFFCF67D
: in Emacs 24.2.50.1 and Org release_7.9.1-412-g75820c

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2012-09-29 14:36 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-09-28 15:38 [bug] COMMENT alone on heading ignored by new exporter Eric Fraga
2012-09-29  6:59 ` Nicolas Goaziou
2012-09-29 14:36   ` Eric Fraga

Code repositories for project(s) associated with this 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).