From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric S Fraga Subject: Re: [patch] two bugs: one with comments and with exporting inline tasks Date: Thu, 04 Nov 2010 15:22:12 +0000 Message-ID: <878w19azbv.fsf@ucl.ac.uk> References: <87iq0gknpg.fsf@pinto.chemeng.ucl.ac.uk> <87pqunv83v.wl%n.goaziou@gmail.com> <87iq0fla93.fsf@ucl.ac.uk> <8739rjl3s6.fsf@ucl.ac.uk> <87mxppcz8r.wl%n.goaziou@gmail.com> <87lj59cyrz.wl%n.goaziou@gmail.com> <87k4ktcyax.wl%n.goaziou@gmail.com> <878w19gzdq.fsf@ucl.ac.uk> <87iq0dchfm.wl%n.goaziou@gmail.com> <87wrotgoer.fsf@ucl.ac.uk> <87hbfxcfq2.wl%n.goaziou@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Return-path: Received: from [140.186.70.92] (port=49770 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PE1dr-00087f-VO for emacs-orgmode@gnu.org; Thu, 04 Nov 2010 11:22:21 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PE1dp-0000d0-GP for emacs-orgmode@gnu.org; Thu, 04 Nov 2010 11:22:18 -0400 Received: from vscane-b.ucl.ac.uk ([144.82.108.141]:47019) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PE1dp-0000cd-B6 for emacs-orgmode@gnu.org; Thu, 04 Nov 2010 11:22:17 -0400 In-Reply-To: <87hbfxcfq2.wl%n.goaziou@gmail.com> (Nicolas Goaziou's message of "Thu, 04 Nov 2010 15:42:45 +0100") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Nicolas Goaziou Cc: Emacs Org mode mailing list Nicolas Goaziou writes: >>>>>> Eric S Fraga writes: > >> Are there any other I should be looking for? > > Could you test it with a minimal setup (emacs -q)? =3Demacs -q=3D is not good enough because it loads org version 6.33x. I have tried =3Demacs -Q=3D instead and then: #+begin_src emacs-lisp (add-to-list 'load-path "~/git/org-mode/lisp") (add-to-list 'load-path "/usr/share/org-mode/lisp") (require 'org-install) (require 'org-exp) (require 'org-latex) #+end_src If I then visit my =3Dexamplebug.org=3D file and type =3DC-c C-e l=3D to generate a latex export, I actually get an error: : Debugger entered--Lisp error: (args-out-of-range [0 1 0 0 0 0 0 0 0 0 0 0= 0 0 0 0 0 0 0 0] 29) : org-section-number(29) : org-export-define-heading-targets(nil) : org-export-preprocess-string(#("# -*- coding: utf-8; -*-\n#+TITLE: e= xamplebug.org\n#+AUTHOR: Eric S Fraga\n#+EMAIL: e.fraga@ucl.ac.uk\n#= +DESCRIPTION: \n#+KEYWORDS: \n#+LANGUAGE: en\n#+OPTIONS: H:3 num:t toc:n= il \\n:nil @:t ::t |:t ^:t -:t f:t *:t <:t\n#+OPTIONS: TeX:t LaTeX:t skip= :nil d:nil todo:t pri:nil tags:not-in-toc\n#+INFOJS_OPT: view:nil toc:nil l= toc:t mouse:underline buttons:0 path:http://orgmode.org/org-info.js\n#+EXPO= RT_SELECT_TAGS: export\n#+EXPORT_EXCLUDE_TAGS: noexport\n#+LINK_UP: \n#+L= INK_HOME: \n#+XSLT: \n\n* problem exporting to latex with inline tasks\n\n*= point 1* \n\nI often use inline tasks to help me organise my thoughts as I = am\nwriting long documents. However, exporting these no longer seems to\nw= ork.\n\n***************************** TODO figure out why this doesn't work= \n***************************** END\n\n\n\n*point 2*\n\nThis is some text t= he follows the inline task.\n" 0 25 (fontified nil font-lock-fontified t) 2= 5 26 (fontified nil) 26 34 (fontified nil font-lock-fontified t) 34 39 (fon= tified nil) 39 53 (fontified nil font-lock-fontified t) 53 54 (fontified ni= l) 54 63 (fontified nil font-lock-fontified t) 63 67 (fontified nil) 67 79 = (fontified nil font-lock-fontified t) 79 80 (fontified nil) 80 88 (fontifie= d nil font-lock-fontified t) 88 93 (fontified nil) 93 110 (fontified nil fo= nt-lock-fontified t) 110 111 (fontified nil) 111 126 (fontified nil font-lo= ck-fontified t) 126 127 (fontified nil) 127 139 (fontified nil font-lock-fo= ntified t) 139 140 (fontified nil) 140 155 (fontified nil font-lock-fontifi= ed t) 155 156 (fontified nil) 156 225 (fontified nil font-lock-fontified t)= 225 226 (fontified nil) 226 298 (fontified nil font-lock-fontified t) 298 = 299 (fontified nil) 299 368 (fontified nil font-lock-fontified t) 368 397 (= fontified nil font-lock-fontified t) 397 398 (fontified nil rear-nonsticky = (mouse-face highlight keymap invisible intangible help-echo org-linked-text= ) font-lock-fontified t) 398 399 (fontified nil) 399 427 (fontified nil fon= t-lock-fontified t) 427 428 (fontified nil) 428 459 (fontified nil font-loc= k-fontified t) 459 460 (fontified nil) 460 473 (fontified nil font-lock-fon= tified t) 473 474 (fontified nil) 474 487 (fontified nil font-lock-fontifie= d t) 487 488 (fontified nil) 488 496 (fontified nil font-lock-fontified t) = 496 497 (fontified nil) 497 498 (fontified nil) 498 500 (fontified nil) 500= 544 (fontified nil) 544 545 (fontified nil) 545 815 (fontified nil) 815 86= 2 (fontified nil)) :emph-multiline t :for-LaTeX t :comments nil :tags not-i= n-toc :priority nil :footnotes t :drawers nil :timestamps t :todo-keywords = t :add-text nil :skip-before-1st-heading nil :select-tags ("export") :exclu= de-tags ("noexport") :LaTeX-fragments nil) : org-export-as-latex(nil) : call-interactively(org-export-as-latex) : org-export(nil) : call-interactively(org-export nil nil) Argghhhhh! Not sure why this is happening. --=20 : Eric S Fraga (GnuPG: 0xC89193D8FFFCF67D) in Emacs 23.2.1 : using Org-mode version 7.02trans (release_7.3.18.g3818)