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: [bug] two bugs: one with comments and with exporting	inline tasks
Date: Tue, 02 Nov 2010 23:11:21 +0000	[thread overview]
Message-ID: <8739rjl3s6.fsf@ucl.ac.uk> (raw)
In-Reply-To: <87iq0fla93.fsf@ucl.ac.uk> (Eric S. Fraga's message of "Tue, 02 Nov 2010 20:51:36 +0000")

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

Eric S Fraga <ucecesf@ucl.ac.uk> writes:

> Nicolas Goaziou <n.goaziou@gmail.com> writes:
>
>> Hello,
>>
>>>>>>> Eric S Fraga writes:
>>
>>> 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.
>>
>> Well, this is strange. I tried to get back to 7.01h, 7.01 and 6.36c
>> and I obtain this same behavior.
>>
>> What kind of export did you use to obtain?
>>
>> Regards,
>>
>> -- Nicolas
>
> Well, now that you ask, I'm not sure what I used to obtain!  <blush>  I
> don't have any PDFs from when I was preparing my big proposal in August
> and September other than the final version (which obviously didn't have
> any inline tasks in it...).  So maybe I've been very unfair to you and
> the problem has always existed.  Sorry!
>
> It's still the case that there are two problems.  For the first, there's
> obviously some leakage from the HTML export into the LaTeX export in
> that the list entry (which comes from the inline heading) is given an
> argument that seems to be HTML/CSS code...  For the second problem,
> maybe I've misunderstood the export of a sub-tree -- I've initiated the
> export outside the inline heading so the export should include
> everything below the heading above?
>
> I'll play around some more tonight if I get a chance to see if I can
> narrow down the reasons for the failure.

I have done so and there's some interesting behaviour.  Here is a
summary of 4 different results exporting essentially the same content
for the attached org file:

1. export the whole file (C-cC-ed) produces a document with all the
   content but with the inline task defining a latex =\item= with a
   strange label (as indicated in my earlier message).

2. go to the headline and select the sub-tree (C-c@) and then export
   (C-cC-ed) generates a PDF with only the text up to the start (but not
   including) of the inline task.

3. place the cursor on *point 1* and export the sub-tree (C-cC-e1d)
   generates the same output as the previous point.

4. finally, place the cursor on *point 2* and export the sub-tree
   (C-cC-e1d) exports only the text *after* the inline task.


Basically, for the last three cases, the exporter has a problem figuring
out what sub-tree actually is.  I don't think the problems have anything
to do with the new list handling (apologies again!).

I hope this helps somebody figure out what is going on.

Thanks,
eric

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: short example org file demonstrating bug --]
[-- Type: text/orgmode, Size: 859 bytes --]

# -*- coding: utf-8; -*-
#+TITLE:     examplebug.org
#+AUTHOR:    Eric S Fraga
#+EMAIL:     e.fraga@ucl.ac.uk
#+DESCRIPTION: 
#+KEYWORDS: 
#+LANGUAGE:  en
#+OPTIONS:   H:3 num:t toc:nil \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: 

* problem exporting to latex with inline tasks

*point 1* 

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

*point 2*

This is some text the follows the inline task.

[-- Attachment #3: Type: text/plain, Size: 121 bytes --]


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

[-- Attachment #4: Type: text/plain, Size: 201 bytes --]

_______________________________________________
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode

  reply	other threads:[~2010-11-02 23:11 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 [this message]
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
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=8739rjl3s6.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).