emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Eric S Fraga <ucecesf@ucl.ac.uk>
To: Nicolas Goaziou <n.goaziou@gmail.com>
Cc: Emacs Org mode mailing list <emacs-orgmode@gnu.org>
Subject: Re: [patch] two bugs: one with comments and with exporting	inline tasks
Date: Thu, 04 Nov 2010 15:22:12 +0000	[thread overview]
Message-ID: <878w19azbv.fsf@ucl.ac.uk> (raw)
In-Reply-To: <87hbfxcfq2.wl%n.goaziou@gmail.com> (Nicolas Goaziou's message of "Thu, 04 Nov 2010 15:42:45 +0100")

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

>>>>>> Eric S Fraga writes:
>
>> Are there any other I should be looking for?
>
> Could you test it with a minimal setup (emacs -q)?

=emacs -q= is not good enough because it loads org version 6.33x.  I
have tried =emacs -Q= 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 =examplebug.org= file and type =C-c C-e l= 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:     examplebug.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:nil \\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 ltoc:t mouse:underline buttons:0 path:http://orgmode.org/org-info.js\n#+EXPORT_SELECT_TAGS: export\n#+EXPORT_EXCLUDE_TAGS: noexport\n#+LINK_UP:   \n#+LINK_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\nwork.\n\n***************************** TODO figure out why this doesn't work\n***************************** END\n\n\n\n*point 2*\n\nThis is some text the follows the inline task.\n" 0 25 (fontified nil font-lock-fontified t) 25 26 (fontified nil) 26 34 (fontified nil font-lock-fontified t) 34 39 (fontified nil) 39 53 (fontified nil font-lock-fontified t) 53 54 (fontified nil) 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 (fontified nil font-lock-fontified t) 88 93 (fontified nil) 93 110 (fontified nil font-lock-fontified t) 110 111 (fontified nil) 111 126 (fontified nil font-lock-fontified t) 126 127 (fontified nil) 127 139 (fontified nil font-lock-fontified t) 139 140 (fontified nil) 140 155 (fontified nil font-lock-fontified 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 font-lock-fontified t) 427 428 (fontified nil) 428 459 (fontified nil font-lock-fontified t) 459 460 (fontified nil) 460 473 (fontified nil font-lock-fontified t) 473 474 (fontified nil) 474 487 (fontified nil font-lock-fontified 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 862 (fontified nil)) :emph-multiline t :for-LaTeX t :comments nil :tags not-in-toc :priority nil :footnotes t :drawers nil :timestamps t :todo-keywords t :add-text nil :skip-before-1st-heading nil :select-tags ("export") :exclude-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.

-- 
: Eric S Fraga (GnuPG: 0xC89193D8FFFCF67D) in Emacs 23.2.1
: using Org-mode version 7.02trans (release_7.3.18.g3818)

  reply	other threads:[~2010-11-04 15:22 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-11-02 10:46 [bug] two bugs: one with comments and with exporting inline tasks Eric S Fraga
2010-11-02 19:27 ` Nicolas Goaziou
2010-11-02 20:51   ` Eric S Fraga
2010-11-02 23:11     ` Eric S Fraga
2010-11-04  7:41       ` Nicolas Goaziou
2010-11-04  7:51         ` [patch] " Nicolas Goaziou
2010-11-04  8:01           ` Nicolas Goaziou
2010-11-04 10:24             ` Eric S Fraga
2010-11-04 14:05               ` Nicolas Goaziou
2010-11-04 14:21                 ` Eric S Fraga
2010-11-04 14:42                   ` Nicolas Goaziou
2010-11-04 15:22                     ` Eric S Fraga [this message]
2010-11-04 15:28                       ` Nicolas Goaziou
2010-11-04 16:17                         ` Eric S Fraga
2010-11-04 16:32                           ` Sébastien Vauban
2010-11-04 17:45                             ` Nicolas Goaziou
2010-11-05  8:01                               ` Sébastien Vauban
2010-11-05  8:58                               ` Sébastien Vauban
2010-11-05 12:50                                 ` Eric S Fraga
2010-11-05 12:50                               ` Eric S Fraga

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=878w19azbv.fsf@ucl.ac.uk \
    --to=ucecesf@ucl.ac.uk \
    --cc=emacs-orgmode@gnu.org \
    --cc=n.goaziou@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public 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).