[Orgmode] orgstruct-mode bug: cannot sort region if next line is not a structure element

2009-09-24 Thread Robin Green
In orgstruct-mode, if you have these three lines:

* TODO in a simulation, it will fail with Future mempty: it'll never happen, 
buddy if there is no ResetCmd :FIXME:
* DONE outputs simultaneous with a ResetCmd, *and* the ResetCmds themselves, 
might be dropped :FIXME:
-}

and you select the first two lines with the mouse, so that the cursor
(point?) is at the start of the third line, and then press C-c ^ to
sort them, orgstruct-mode complains that this key has no function
outside structure elements.

This is with the org-mode included in emacs 23.1.


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


Re: [Orgmode] orgstruct-mode bug: cannot sort region if next line is not a structure element

2009-09-24 Thread Carsten Dominik


On Sep 24, 2009, at 8:23 AM, Robin Green wrote:


In orgstruct-mode, if you have these three lines:

* TODO in a simulation, it will fail with Future mempty: it'll  
never happen, buddy if there is no ResetCmd :FIXME:
* DONE outputs simultaneous with a ResetCmd, *and* the ResetCmds  
themselves, might be dropped :FIXME:

-}

and you select the first two lines with the mouse, so that the cursor
(point?) is at the start of the third line, and then press C-c ^ to
sort them, orgstruct-mode complains that this key has no function
outside structure elements.


Well, the cursor is not on a headline!

Press C-x C-x to exchange point and mark, and then try again

- Carsten



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


Re: [Orgmode] =code= and ~verbatim~ with bashslash (\), LaTeX export

2009-09-24 Thread Carsten Dominik

Hi Jeff,

thanks for the report, this should now work correctly.

- Carsten

On Sep 23, 2009, at 11:23 PM, Jeff Kowalczyk wrote:

Is there a way to escape backslashes (\) in code and verbatim that  
will export to LaTeX correctly?


When writing =\\host\share= or =C:\path\to=, pdftolatex output is  
incorrect.


The various methods described in [1] don't work for me in Org.

Thanks,
Jeff

[1] 
http://stackoverflow.com/questions/256457/how-does-one-insert-a-backslash-or-a-tilde-into-latex






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




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


Re: [Orgmode] display of links on headlines

2009-09-24 Thread Carsten Dominik

Hi Andreas,

I don't know a way to fix this appart from inserting that space.

- Carsten

On Sep 23, 2009, at 4:11 PM, Andreas Amann wrote:


Hi,

not sure if the following small (but for me annoying) display glitch
is worth to report, but I noticed that links which are on a headline
cause a following ellipsis to be wrongly underlined as well. A minimal
example which demonstrates what I mean would be the following:


* [[http://testlink.org][headerlink]]
test body


Putting this into a file test.org and starting emacs with

$ emacs -Q test.org

displays the line

* headerlink...

where headerlink and the ellipses ... are both underlined. Since the
ellipses is not part of the link, I would expect that it should not be
underlined. This keeps annoying me and I fix it by adding a space as
the last character in the headline. Unfortunately my lisp knowledge
is not sufficient to find the probably trivial real fix for this, ...

I used today's org-mode (4cb3e37) and a recent emacs CVS (August)  
built.



Thanks,
Andreas




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




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


Re: [Orgmode] Re: How to add comments in a plain list

2009-09-24 Thread Carsten Dominik


On Sep 22, 2009, at 7:30 PM, René wrote:


Eric S Fraga ucecesf at ucl.ac.uk writes:

At Tue, 22 Sep 2009 10:10:41 -0400, Bernt Hansen wrote:

At column 0 - probably not.

1. first
2. second
   #+ comment about second item
   #+ Another comment goes here
3. third
4. fourth

The #+ comment probably isn't officially supported either... it just
happens to work.  Sorry about the run-around :)


Unfortunately, in this case Emacs doesn't fontify those lines as if  
they were

comments.


It does now.

- Carsten



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


Re: [Orgmode] fontification and icon issues

2009-09-24 Thread Carsten Dominik


On Sep 22, 2009, at 4:11 PM, David O'Toole wrote:


A couple of issues:

1. org-fontify-whole-heading-line and org-startup-indented seem to
conflict with one another. See screenshot:

http://dto.github.com/images/folio.png

The headline background color extends to the next line. The problem  
goes

away when you set org-startup-indented to nil and M-x org-mode.


This is a display bug in Emacs, which cannot be solved by Org-mode.



BTW org-startup-indented is cool.


Thanks.



2. using add-text-properties to specify a display property (or even  
just
a face) for any part of an org headline text kills the fontification  
of

the rest of the text (TODO keyword and leading stars unaffected.) I'm
trying to use font-lock-add-keywords to display the images.


Can you make an example file, and maybe a small function that does set  
these properties, so that I can see what you mean?


- Carsten



Maybe I should use overlays instead?


This can be done, but if every line in a very large file gets
an overlay, performance is severely degraded.

- Carsten







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




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


Re: [Orgmode] Org-mode version 6.30trans; Cursor does not move to end-of-line in agenda view

2009-09-24 Thread Bastien
Hi Carsten,

Carsten Dominik carsten.domi...@gmail.com writes:

 yes, Org does not allow to put the cursor at the end of the line in
 the agenda.  This is an artifact and hast to do with the fact that the
 agenda often looks at text properties to access information about the
 item.  The \n does not have those properties.

 I could fix this, but I don't actually see a good reason for it.
 Give me one, and I will change it.

Let's try:

  when one wants to shift-select the entry one cannot select it 
  entirely because the cursor cannot reach the end of the line, 
  which is especially annoying for links.

Besides that (only good) reason, I guess it just looks weird... 
I reported this problem before as well.

-- 
 Bastien


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


[Orgmode] Re: two custom agenda view questions

2009-09-24 Thread Matthew Lundin
Michael Gilbert m...@gilbert.org writes:

 On Sep 23,2009, at 8:05 PM, Matt Lundin wrote:

 Michael Gilbert m...@gilbert.org writes:

 (1) I want to define a custom agenda view that displays only those
 tasks that have today as a deadline or are past-due. Since many of my
 tasks also have scheduled timestamps, sometimes these end up being
 the
 same day. It looks to me as if they will be left out if I skip
 scheduled items, even if they also have a current deadline. How can I
 finesse this?

 --8---cut here---start-8---
 (setq org-agenda-custom-commands
  '((d Due today agenda 
   ((org-deadline-warning-days 1)
(org-agenda-skip-scheduled-if-deadline-is-shown t)
(org-agenda-skip-function '(org-agenda-skip-entry-if
 notdeadline))
 --8---cut here---end---8---

 Thank you! This was the element I wasn't able to discover: org-agenda-
 skip-scheduled-if-deadline-is-shown. Alas, when I test this, it still
 displays scheduled entries that are not deadlines. I don't think I'm
 overriding it elsewhere – I don't have a lot of agenda settings. Does
 this work for you?

There was one mistake in the command above. The local variable
org-deadline-warning-days should be set to 0 (otherwise you'll get items
due tomorrow).

--8---cut here---start-8---
 (setq org-agenda-custom-commands
  '((d Due today agenda 
 ((org-deadline-warning-days 0)
  (org-agenda-skip-scheduled-if-deadline-is-shown t)
  (org-agenda-skip-function '(org-agenda-skip-entry-if 
'notdeadline))
--8---cut here---end---8---


Here's a sample file:

--8---cut here---start-8---
* TODO Scheduled today
  SCHEDULED: 2009-09-24 Thu
* TODO Scheduled yesterday
  SCHEDULED: 2009-09-23 Wed
* TODO Deadline and scheduled today
  SCHEDULED: 2009-09-24 Thu DEADLINE: 2009-09-24 Thu
* TODO Deadline past due
  DEADLINE: 2009-09-22 Tue
* TODO Deadline tomorrow
  DEADLINE: 2009-09-25 Fri
--8---cut here---end---8---

When I call the custom agenda command (with org-deadline-warning-days
set to 0) on this file, I get the following:

--8---cut here---start-8---
Day-agenda (W39):
Thursday   24 September 2009
  test:   In  -2 d.:  TODO Deadline past due
  test:   Deadline:   TODO Deadline and scheduled today
--8---cut here---end---8---

Perhaps you could test this on your setup to see if you get the same
results.

Best,
Matt


 (2) Eventually, I want to create a DONE log of copies of items as
 they
 get finished, with contextual data retained. But for right now, all I
 want is to be able to switch to an agenda view of tasks that were
 complete today. I've tried a few ideas that seemed like low-hanging
 fruit here, but no luck.

 Type l in the agenda for log mode.

 Interesting. I did explore that a bit. Wasn't able to configure it to
 my liking, but I'll return to it.

 Thank you so much, Matt.

 -- Michael


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


[Orgmode] linking to region

2009-09-24 Thread Maurizio Vitale

Is it possible to grab a link to a region in a file in such a way that
C-c C-o visit the file after narrowing-to-region?

The reason I'd like this is that I'm starting using org-mode for
requirement tracking and when referencing a standard I'd find
preferable to open only the relevant fragment rather than the complete
document.

Regards,

Maurizio
-- 



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


[Orgmode] MobileOrg beta tester invitation

2009-09-24 Thread Richard Moreland
Hi,

So it took a little bit longer than I expected, but we are now ready
to accept beta testers to help finalize MobileOrg before submitting it
to the App Store.  There are some issues that still need polish, but
we are nearly feature complete.

There are several ways you can help:

* Bugs:  Please report any bugs or confusing behavior in the app.

* Documentation:  Located on the app's website.  It is brand new and
there are bound to be some confusing or incomplete sections.

* Website:  The app's website may have problems too, perhaps it
doesn't look right in your browser.  Please report any of these
issues.

* Ideas:  We are trying to keep the feature set tight for the 1.0
release in order to get it out there to everyone.  However, new ideas
are always welcome.

If you'd like to help us get to 1.0 smoothly, please send me an email
off-list with your device ID.  To retrieve your device ID:

1. Connect your iPod or iPod Touch to your machine
2. Choose your device in the source list in iTunes
3. Click the 'Summary' tab in iTunes.
4. Click on the 'Serial Number' label.  It should change to 'Identifier'.
5. Click on the Edit menu, then select 'Copy'
6. Paste the device ID in an email to me.

Alternatively, search for 'UDID Sender' by 'Inside Root Media' in the
App Store.  It is a small app that will simply email your device ID
to an email address of your choice.

I'll reply with further instructions to help you get started.

Thanks for your help!

-Richard


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


[Orgmode] Possible Bug with :html-extension in HTML Exporter

2009-09-24 Thread Ian Barton
I am trying to export a project as php files. I realize that this an 
offence against the XHTML Gods, which is probably why I am having a problem.


The relevant bit of my org-publish-project-alist looks like:

 (org-mobile
  :base-directory ~/nfs/firewall/Documents/org/
  :base-extension org
  :publishing-directory ~/nfs/firewall/public_html/org-mobile/
  :recursive t
  :publishing-function org-publish-org-to-html
  :headline-levels 4 ; Just the default for this 
project.

  :auto-preamble t
  :auto-index t
  :html-extension php
  :index-filename sitemap.org
  :index-title Sitemap
  )

I have tried both php and php. However, the exporter insists on the 
One True Path of exporting everything with a .html extension.


I am using df3fca503e9136edea8a1defe54926c3d3c03b63 
refs/remotes/origin/HEAD.


Ian.


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


[Orgmode] Verse construct generates invalid LaTeX code

2009-09-24 Thread Antti Kaihola
Here's an example file:


-versetest.org
Test case for verse bug

#+BEGIN_VERSE
This is
the first stanza.

This is
the second stanza.
#+END_VERSE
-versetest.org


It generates the following LaTeX code with the C-c C-e L command
(excerpt with line numbers added):


-versetest.tex
22: \begin{verse}
23: This is\\
24: the first stanza.\\
25: \\
26: This is\\
27: the second stanza.\\
28: \end{verse}
-versetest.tex


When compiled with pdflatex, it causes this error:


-pdflatex output
! LaTeX Error: There's no line here to end.

See the LaTeX manual or LaTeX Companion for explanation.
Type  H return  for immediate help.
 ...  
  
l.25 \\
-pdflatex output


Org-mode probably instructs pdflatex to ignore errors since C-c C-e d
compiles the .org file just fine, just without any break between
the stanzas.

Edition 1.6 of the LaTeX2e documentation states:

  Separate the lines of each stanza with \\, and use one or more blank
  lines to separate the stanzas,

so the correct LaTeX output would be:


-corrected versetest.tex
22: \begin{verse}
23: This is\\
24: the first stanza.
25: 
26: This is\\
27: the second stanza.
28: \end{verse}
-corrected versetest.tex


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


[Orgmode] Re: linking to region

2009-09-24 Thread Maurizio Vitale
 Bernt == Bernt Hansen be...@norang.ca writes:

 Is it possible to grab a link to a region in a file in such a way
 that C-c C-o visit the file after narrowing-to-region?
 
 The reason I'd like this is that I'm starting using org-mode for
 requirement tracking and when referencing a standard I'd find
 preferable to open only the relevant fragment rather than the
 complete document.

Bernt I don't think that's currently possible without writing a
Bernt little lisp code.  There is an org-follow-link-hook but it
Bernt doesn't seem to be executed for all link types - only browser
Bernt urls if I'm reading the code correctly.

But the region should be encoded in the link, as there no way to figure
out what is the extent of the interesting area automatically.

Regarding org-follow-link-hook, I'm not familiar with org-mode code, but
it seems to me that is invoked for all URL types, but only after the
'viewing' has happened. I may well be wrong.

Thanks for the suggestion.
Regards, 

 Maurizio



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


[Orgmode] clocktable :timestamp t, show CLOSED times

2009-09-24 Thread Jeff Kowalczyk
I have a need to timestamp clocked-time items in the clocktable summary. All 
headings are status DONE, logged with timestamp CLOSED.

Can CLOSED be added as a timestamp which will be included in the clocktable 
column?


Per the Org Manual: 

 :timestamp A timestamp for the entry, when available.
 Look for SCHEDULED, DEADLINE, TIMESTAMP and TIMESTAMP_IA, in this order.

SCHEDULED and DEADLINE seem mutually exclusive to CLOSED, I haven't used them 
to be certain of that.

I don't know what TIMESTAMP(_IA) means, it seems to be active or inactive 
timestamps found in the description text. When found, those do get included in 
the timestamp column.

Thanks,
Jeff


  



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


[Orgmode] Re: linking to region

2009-09-24 Thread Bernt Hansen
Maurizio Vitale
m...@cuma.i-did-not-set--mail-host-address--so-tickle-me writes:

 Bernt == Bernt Hansen be...@norang.ca writes:

  Is it possible to grab a link to a region in a file in such a way
  that C-c C-o visit the file after narrowing-to-region?
  
  The reason I'd like this is that I'm starting using org-mode for
  requirement tracking and when referencing a standard I'd find
  preferable to open only the relevant fragment rather than the
  complete document.

 Bernt I don't think that's currently possible without writing a
 Bernt little lisp code.  There is an org-follow-link-hook but it
 Bernt doesn't seem to be executed for all link types - only browser
 Bernt urls if I'm reading the code correctly.

 But the region should be encoded in the link, as there no way to figure
 out what is the extent of the interesting area automatically.

Current links don't have region information - just a match to the first
occurrence of text in the file.  What would a region link look like and
how would you generate one?


 Regarding org-follow-link-hook, I'm not familiar with org-mode code,
but it seems to me that is invoked for all URL types, but only after
the 'viewing' has happened. I may well be wrong.

That didn't seem to be the case for my quick test of the hook.

-Bernt

PS. Please use reply-all when responding otherwise I might miss articles
that are really addressed to me.



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


[Orgmode] bug?: C-e passes ellipses if no tags are present

2009-09-24 Thread Alan E. Davis
This may not be a bug, but it bugs me alot.  When using remember to store a
note, C-e passes the ellipses.  I am using an alternate font for the
ellipses.  I live in utter terror of deleting ellipses, so I am keenly aware
anymore when something is out of the ordinary.

It doesn't feel right to me to pass the ellipses.  When a tag is added, C-e
goes to the end of the headline, and I am able to proceed normally.

The ideal outcome for me, would be if C-e always moved before the ellipses.
Is this contrary to expectations?

Thank you,

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


Re: [Orgmode] bug?: C-e passes ellipses if no tags are present

2009-09-24 Thread Darlan Cavalcante Moreira
At Fri, 25 Sep 2009 07:08:31 +1000,
Alan E. Davis wrote:
 
 This may not be a bug, but it bugs me alot.  When using remember to store a
 note, C-e passes the ellipses.  I am using an alternate font for the
 ellipses.  I live in utter terror of deleting ellipses, so I am keenly aware
 anymore when something is out of the ordinary.
 
 It doesn't feel right to me to pass the ellipses.  When a tag is added, C-e
 goes to the end of the headline, and I am able to proceed normally.
 
 The ideal outcome for me, would be if C-e always moved before the ellipses.
 Is this contrary to expectations?
 
 Thank you,
 
 Alan Davis

In addition to this, is is possible to map the Home and End keys to the same
functions of C-a and C-e, respectively?  I prefer the Home and End keys instead
of C-a and C-e and, although this can be easily accomplished with some lines in
the dotemacs file, it's good to have it as a default, IMHO.

However, I'm not sure if this is against an emacs convention, since in the
Wanderlust E-Mail reader only C-a and C-e are remapped to modified functions as
with org-mode right now. Maybe they are really supposed to be different.
-- 
Darlan Cavalcante Moreira
darc...@gmail.com


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


Re: [Orgmode] Re: Weekly review of completed actions

2009-09-24 Thread Russell Adams
On Thu, Sep 24, 2009 at 03:53:14PM -0400, Matt Lundin wrote:
 Kevin Chow kevinmc...@gmail.com writes:
 
  After long searching I've decided that org-mode will be my productivity
  tool of choice. I'm actually learning emacs just so I can use org-mode
  and right now I'm a bit of a newb.
 
  My question is how do I process my todo list in a way that I can mark
  something as done or archived or something and then have it not show up
  in my normal view and instead go into a list of completed actions. I'm
  sure there's an easy way to do this but I'm still new enough not to
  know what it is. Thanks in advance for your help!
 
 http://orgmode.org/manual/Agenda-commands.html#Agenda-commands
 
 By default, completed items will not show up in your todo list. 
 
 You can, however, see completed items at any time:
 
1. By pressing l in the daily/weekly agenda view (and, optionally
v a or v A to include archived items).
 
2. By doing a TODO search for DONE items. (C-c a T DONE)
 
 You can also create custom agenda commands for a variety of scenarios.
 
 - Matt

Using log mode to see completed todos is good, but for longer running
items I insert inactive timestamps into a todo item each time I come
back to it.

Then in log mode I can press '[' to enable the viewing of inactive
timestamps and see a detailed log.

Enjoy!

--
Russell Adamsrlad...@adamsinfoserv.com

PGP Key ID: 0x1160DCB3   http://www.adamsinfoserv.com/

Fingerprint:1723 D8CA 4280 1EC9 557F  66E8 1154 E018 1160 DCB3


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


[Orgmode] Problem with LaTeX snippets preview

2009-09-24 Thread Paul Burkander
Hi all,

I'm having trouble viewing LaTeX snippets in org-mode.  I have dvipng
installed.

I entered the following test code:
\begin{equation}
\sqrt{5}+\frac{2}{3}
\end{equation}

and tried C-c C-x C-l

but then I only see an empty box where the png should be.  The messages
buffer reads:

Creating image...1
Loading latexenc...done
Failed to create dvi file from /tmp/orgtex608161G.tex
Creating image...done.  Use `C-c C-c' to remove images.
Cannot find image file `/home/paul/org/ltxpng/classes_0001.png' [53 times]
Temporary highlights/overlays removed from current buffer

There is no /tmp/orgtex608161G.tex that I can find.

Oddly, I had a file called org on my desktop, and it was putting png file
in there.  I got rid of that folder, thinking it was somehow confusing
things, and now I can't find any newly created png file.

help?  anyone?
___
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[Orgmode] Fwd: Problem with LaTeX snippets preview

2009-09-24 Thread Paul Burkander
It seems that the file in on my Desktop was from an archived org folder,
from when the preview LaTeX snippets actually worked for me on a different
computer.

-- Forwarded message --
From: Paul Burkander paulburkan...@gmail.com
Date: Thu, Sep 24, 2009 at 8:15 PM
Subject: Problem with LaTeX snippets preview
To: emacs-orgmode@gnu.org


Hi all,

I'm having trouble viewing LaTeX snippets in org-mode.  I have dvipng
installed.

I entered the following test code:
\begin{equation}
\sqrt{5}+\frac{2}{3}
\end{equation}

and tried C-c C-x C-l

but then I only see an empty box where the png should be.  The messages
buffer reads:

Creating image...1
Loading latexenc...done
Failed to create dvi file from /tmp/orgtex608161G.tex
Creating image...done.  Use `C-c C-c' to remove images.
Cannot find image file `/home/paul/org/ltxpng/classes_0001.png' [53 times]
Temporary highlights/overlays removed from current buffer

There is no /tmp/orgtex608161G.tex that I can find.

Oddly, I had a file called org on my desktop, and it was putting png file
in there.  I got rid of that folder, thinking it was somehow confusing
things, and now I can't find any newly created png file.

help?  anyone?
___
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[Orgmode] Export bug: LaTeX TOC headline numbers above 100 overlap headline

2009-09-24 Thread Jeff Kowalczyk
When the headline count for a pdftolatex export gets to be more than 100 lines, 
the TOC renders with the headline number directly touching the headline text. 
More than 1,000, and it starts to overlap.

It would seem that LaTeX calculates the space to allocate for the headline 
number based on too few initial entries.

I have included a simple test case below.

Thanks,
Jeff

* Headline 0
* Headline 1
* Headline 2
* Headline 3
* Headline 4
* Headline 5
* Headline 6
* Headline 7
* Headline 8
* Headline 9
* Headline 10
* Headline 11
* Headline 12
* Headline 13
* Headline 14
* Headline 15
* Headline 16
* Headline 17
* Headline 18
* Headline 19
* Headline 20
* Headline 21
* Headline 22
* Headline 23
* Headline 24
* Headline 25
* Headline 26
* Headline 27
* Headline 28
* Headline 29
* Headline 30
* Headline 31
* Headline 32
* Headline 33
* Headline 34
* Headline 35
* Headline 36
* Headline 37
* Headline 38
* Headline 39
* Headline 40
* Headline 41
* Headline 42
* Headline 43
* Headline 44
* Headline 45
* Headline 46
* Headline 47
* Headline 48
* Headline 49
* Headline 50
* Headline 51
* Headline 52
* Headline 53
* Headline 54
* Headline 55
* Headline 56
* Headline 57
* Headline 58
* Headline 59
* Headline 60
* Headline 61
* Headline 62
* Headline 63
* Headline 64
* Headline 65
* Headline 66
* Headline 67
* Headline 68
* Headline 69
* Headline 70
* Headline 71
* Headline 72
* Headline 73
* Headline 74
* Headline 75
* Headline 76
* Headline 77
* Headline 78
* Headline 79
* Headline 80
* Headline 81
* Headline 82
* Headline 83
* Headline 84
* Headline 85
* Headline 86
* Headline 87
* Headline 88
* Headline 89
* Headline 90
* Headline 91
* Headline 92
* Headline 93
* Headline 94
* Headline 95
* Headline 96
* Headline 97
* Headline 98
* Headline 99
* Headline 100
* Headline 101
* Headline 102
* Headline 103
* Headline 104
* Headline 105
* Headline 106
* Headline 107
* Headline 108
* Headline 109
* Headline 110
* Headline 111
* Headline 112
* Headline 113
* Headline 114
* Headline 115
* Headline 116
* Headline 117
* Headline 118
* Headline 119
* Headline 120




  



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


[Orgmode] Export bug: _ { chars in enough headlines, pdflatex export fails

2009-09-24 Thread Jeff Kowalczyk
Export to pdflatex fails if underscore or unclosed bracket characters are in 
enough headlines.

Thanks,
Jeff

Testcase file demonstrating pdflatex export fail:

---

#+OPTIONS:   H:3 num:t toc:t \n:nil @:t ::t |:t ^:nil -:t f:t *:t :t
#+OPTIONS:   TeX:t LaTeX:nil skip:nil d:t todo:nil pri:nil tags:nil
* Headline
#+CAPTION: Clocktable Summary
#+LABEL: tbl:clock
#+ATTR_LaTeX: longtable
#+BEGIN: clocktable :maxlevel 2 :scope subtree
Clock summary at [2009-09-24 Thu 21:37]

| L | Headline   | Time   |  |
|---+++--|
|   | *Total time*   | *2:01* |  |
|---+++--|
| 1 | Headline   | 2:01   |  |
| 2 | Headline 0_{   || 0:01 |
| 2 | Headline 1_{   || 0:01 |
| 2 | Headline 2_{   || 0:01 |
| 2 | Headline 3_{   || 0:01 |
| 2 | Headline 4_{   || 0:01 |
| 2 | Headline 5_{   || 0:01 |
| 2 | Headline 6_{   || 0:01 |
| 2 | Headline 7_{   || 0:01 |
| 2 | Headline 8_{   || 0:01 |
| 2 | Headline 9_{   || 0:01 |
| 2 | Headline 10_{  || 0:01 |
| 2 | Headline 11_{  || 0:01 |
| 2 | Headline 12_{  || 0:01 |
| 2 | Headline 13_{  || 0:01 |
| 2 | Headline 14_{  || 0:01 |
| 2 | Headline 15_{  || 0:01 |
| 2 | Headline 16_{  || 0:01 |
| 2 | Headline 17_{  || 0:01 |
| 2 | Headline 18_{  || 0:01 |
| 2 | Headline 19_{  || 0:01 |
| 2 | Headline 20_{  || 0:01 |
| 2 | Headline 21_{  || 0:01 |
| 2 | Headline 22_{  || 0:01 |
| 2 | Headline 23_{  || 0:01 |
| 2 | Headline 24_{  || 0:01 |
| 2 | Headline 25_{  || 0:01 |
| 2 | Headline 26_{  || 0:01 |
| 2 | Headline 27_{  || 0:01 |
| 2 | Headline 28_{  || 0:01 |
| 2 | Headline 29_{  || 0:01 |
| 2 | Headline 30_{  || 0:01 |
| 2 | Headline 31_{  || 0:01 |
| 2 | Headline 32_{  || 0:01 |
| 2 | Headline 33_{  || 0:01 |
| 2 | Headline 34_{  || 0:01 |
| 2 | Headline 35_{  || 0:01 |
| 2 | Headline 36_{  || 0:01 |
| 2 | Headline 37_{  || 0:01 |
| 2 | Headline 38_{  || 0:01 |
| 2 | Headline 39_{  || 0:01 |
| 2 | Headline 40_{  || 0:01 |
| 2 | Headline 41_{  || 0:01 |
| 2 | Headline 42_{  || 0:01 |
| 2 | Headline 43_{  || 0:01 |
| 2 | Headline 44_{  || 0:01 |
| 2 | Headline 45_{  || 0:01 |
| 2 | Headline 46_{  || 0:01 |
| 2 | Headline 47_{  || 0:01 |
| 2 | Headline 48_{  || 0:01 |
| 2 | Headline 49_{  || 0:01 |
| 2 | Headline 50_{  || 0:01 |
| 2 | Headline 51_{  || 0:01 |
| 2 | Headline 52_{  || 0:01 |
| 2 | Headline 53_{  || 0:01 |
| 2 | Headline 54_{  || 0:01 |
| 2 | Headline 55_{  || 0:01 |
| 2 | Headline 56_{  || 0:01 |
| 2 | Headline 57_{  || 0:01 |
| 2 | Headline 58_{  || 0:01 |
| 2 | Headline 59_{  || 0:01 |
| 2 | Headline 60_{  || 0:01 |
| 2 | Headline 61_{  || 0:01 |
| 2 | Headline 62_{  || 0:01 |
| 2 | Headline 63_{  || 0:01 |
| 2 | Headline 64_{  || 0:01 |
| 2 | Headline 65_{  || 0:01 |
| 2 | Headline 66_{  || 0:01 |
| 2 | Headline 67_{  || 0:01 |
| 2 | Headline 68_{  || 0:01 |
| 2 | Headline 69_{  || 0:01 |
| 2 | Headline 70_{  || 0:01 |
| 2 | Headline 71_{  || 0:01 |
| 2 | Headline 72_{  || 0:01 |
| 2 | Headline 73_{  || 0:01 |
| 2 | Headline 74_{  || 0:01 |
| 2 | Headline 75_{  || 0:01 |
| 2 | Headline 76_{  || 0:01 |
| 2 | Headline 77_{  || 0:01 |
| 2 | Headline 78_{  || 0:01 |
| 2 | Headline 79_{  || 0:01 |
| 2 | Headline 80_{  || 0:01 |
| 2 | Headline 81_{  || 0:01 |
| 2 | Headline 82_{  || 0:01 |
| 2 | Headline 83_{  || 0:01 |
| 2 | Headline 84_{  || 0:01 |
| 2 | Headline 85_{  || 0:01 |
| 2 | Headline 86_{  || 0:01 |
| 2 | Headline 87_{  || 0:01 |
| 2 | Headline 88_{  || 0:01 |
| 2 | Headline 89_{  || 0:01 |
| 2 | Headline 90_{  || 0:01 |
| 2 | Headline 91_{  || 0:01 |
| 2 | Headline 92_{  || 0:01 |
| 2 | Headline 93_{  || 0:01 |
| 2 | Headline 94_{  || 0:01 |
| 2 | Headline 95_{  || 0:01 |
| 2 | Headline 96_{  || 0:01 |
| 2 | Headline 97_{  || 0:01 |
| 2 | Headline 98_{  || 0:01 |
| 2 | Headline 99_{  || 0:01 |
| 2 | Headline 100_{ || 0:01 |
| 2 | Headline 101_{ || 0:01 |
| 2 | Headline 102_{ || 0:01 |
| 2 | Headline 103_{ || 0:01 |
| 2 | Headline 104_{ || 0:01 |
| 2 | Headline 105_{ || 0:01 |
| 2 | Headline 106_{ || 0:01 |
| 2 | Headline 107_{ || 0:01 |
| 2 | Headline 108_{ || 0:01 |
| 2 | Headline 109_{ || 0:01 |
| 2 | Headline 110_{ || 0:01