# -*- coding: utf-8; -*- #+TITLE: examplebug.org #+AUTHOR: Eric S Fraga #+EMAIL: e.fraga@ucl.ac.uk #+DATE: 2010.08.30 14:14:04 #+DESCRIPTION: #+KEYWORDS: #+LANGUAGE: en #+OPTIONS: H:3 num:t toc:t \n:nil @:t ::t |:t ^:t -:t f:t *:t <:t #+OPTIONS: TeX:t LaTeX:t skip:nil d:nil todo:t pri:nil tags:not-in-toc #+INFOJS_OPT: view:nil toc:nil ltoc:t mouse:underline buttons:0 path:http://orgmode.org/org-info.js #+EXPORT_SELECT_TAGS: export #+EXPORT_EXCLUDE_TAGS: noexport #+LINK_UP: #+LINK_HOME: #+XSLT: * comments in latex export This is some text that should appear normally. The next few lines are a comment which should not be exported. #+ this line will be ignored, as it should be #+ #+ as will this one but the one in between will not *Immediately* before this sentence is the appearance of =#+= which should not be there. I believe the regex requires a space after the plus sign but maybe a check for end of line =$= as an alternative to a space could be used? I.e. something like =#\+\( |$\)= although I don't know if that type of expression will work... * problem exporting to latex with inline tasks I often use inline tasks to help me organise my thoughts as I am writing long documents. However, exporting these no longer seems to work. ***************************** TODO figure out why this doesn't work ***************************** END There are two problems with exporting inline tasks: 1. If the whole document is exported, the inline task headline text is inserted into the =[ ]= optional argument for an =\item=, generating something like this: : \item[@ TODO figure out why this doesn't work] Further, this text in the =[]= appears in subsequent items as well! See the attached =pdf= document. 2. If only the current subtree is exported, the exported latex ends just before the inline task. I believe both of these problems are related to the new list handling as I used to be able to export inline tasks perfectly fine in September. * version information #+begin_src emacs-lisp :results output :exports results (format "%s\n%s" (org-version) (emacs-version)) #+end_src #+results: : Org-mode version 7.01trans (release_7.01h.514.g878d) : GNU Emacs 23.2.1 (i486-pc-linux-gnu, GTK+ Version 2.20.0) : of 2010-08-14 on raven, modified by Debian