Re: [Orgmode] Re: Org-mode Code Blocks Manuscript: Request For Comments

2010-12-09 Thread Thomas S. Dye

Aloha Seb,

Thanks for your detailed and thorough review.  Your comments will help  
us revise the paper.  Much appreciated.


All the best,
Tom

On Dec 7, 2010, at 12:55 PM, Sébastien Vauban wrote:


Hi Eric,

Let's see if I'm a good proof-reader. Here are my comments, looking  
at things

not already said by others:

Page 1 -- ... desirable to mix prose, (add input data?,) code, and
computational results.

Page 3 -- It'd be better not to have commas in front of the Org-mode  
block in

Figure 1.

Page 9 -- You say that tags and properties of a node are inherited  
by its
sub-nodes. I agree for tags, not for properties (at least, by  
default).


Page 10 -- Active code blocks are marked with a source line,  
followed by a
name unique within the document. Why don't you call such named  
code blocks

as in Babel's code base?

BTW, what happens if there is a name clash with other code blocks  
(in the same

document, or in the LOB)?  Though, this is not for your paper...

Page 12 -- When results is set to output, what do you mean by  
collected from
STDOUT incrementally?  Not sure about the added value of  
incrementally...


Page 16 -- I find the name of the code block ps-to-dot very badly  
chosen. PS

makes me think of PostScript, while you mean here Pascal's triangle...

Page 17 -- In the LaTeX ATTR, better use linewidth instead of  
textwidth. This

is a more secure setting.

Page 18 -- Is the default value of var (1 2 1) compliant with the  
pass table

beneath it?

Side comment -- Wouldn't you use a standard way of handling the  
acronyms in
LaTeX, so that they're expanded when required, and listed at the end  
of the

document?  Example of such acro: ESS.

For the rest, an excellent document, but not that good (IMHO) for  
publishing
to a statistics journal. For doing so, I find you'd have to only  
include R
examples, and show that you can do everything Sweave can do, and  
even much

more. But I would focus on stats a lot more than it is here.

But, the way it is written, it is much more general, and offers a  
much widen

view. So, this is excellent, but for another audience.

Best regards,
 Seb

--
Sébastien Vauban


___
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



___
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


Re: [Orgmode] source code block export no expansion

2010-12-09 Thread Thomas S. Dye

Hi Andreas,

I've put a bug report on Eric and Dan's stack.  Thanks again for  
pointing this out.


All the best,
Tom

On Dec 7, 2010, at 8:55 PM, Andreas Leha wrote:


Hi Tom,

thanks a lot for looking into it!  Fixing this is unfortunately off  
my limits.


But for me the unnamed session is a valid work-around for me, since  
I do not need several sessions right now.  Thanks for this hint.


Cheers,
Andreas



Am 07.12.2010 21:14, schrieb Thomas S. Dye:


Aloha Andreas,

Thanks for your patience and persistence.  I think this might  
qualify as a bug.  Using your code, if I don't run R in a session,  
or if I run R in a session but don't name the session, everything  
works as expected.  The behavior changes for me when the session  
gets a name.


All the best,
Tom


On Dec 7, 2010, at 9:46 AM, Andreas Leha wrote:


Hi Tom,

thanks for the answer and thanks for spotting the typo.  But even  
with the typo corrected during export the noweb links are still  
exported.

  #+srcname: mod1
  #+begin_src R :tangle no :export code
print(mod1)
  #+end_src

  #+srcname: mod2
  #+begin_src R :tangle no :export code
print(mod2)
  #+end_src

  #+srcname: part1
  #+begin_src R :noweb tangle :tangle yes :exports code :session *R*
mod1
mod2
  #+end_src

Result:
...
\lstset{language=R}
\begin{lstlisting}
print(mod1)
print(mod2)
\end{lstlisting}
...



Am 07.12.2010 20:33, schrieb Thomas S. Dye:


Aloha Andreas,

On Dec 7, 2010, at 8:49 AM, Andreas Leha wrote:


Hi Tom,

thanks for this answer.  This indeed comes closer to what I want.

But, some comments:

(1) There seems to be an error in the manual:
In the manual the :noweb tangle header argument is given  
as :noweb yes,

which is why I missed that option.


I believe this is fixed at the source now, but am not sure how  
long it will take to propagate to the distributed documentation.



(2) The noweb link are expanded *always* (i.e. execution, export,
tangle) even with the :noweb tangle option:
 #+srcname: mod1
 #+begin_src R :tangle no :export code
   print(mod1)
 #+end_src

 #+srcname: mod2
 #+begin_src R :tangle no :export code
   print(mod2)
 #+end_src

 #+srcname: part1
 #+begin_src R :noweb tangle :tangle yes :export code :session *R*
   mod1
   mod2
 #+end_src




Perhaps this has to do with using :export instead of the correct  
header argument, :exports?



(3) I am looking for an option to disable the noweb link expansion
during *export* only.  However, as I understand it, the :noweb  
tangle
header option is supposed to disable the expansion also for  
*execution*.


This isn't how it works for me.  :noweb tangle inhibits noweb  
expansion during export only.




So, is this not possible right now?



It is possible now.  If the :exports header argument doesn't fix  
your problem, come back to the list.


All the best,
Tom


Cheers,
Andreas



Am 07.12.2010 19:37, schrieb Thomas S. Dye:

Aloha Andreas,

Perhaps :noweb tangle will do what you want.

hth,
Tom

On Dec 7, 2010, at 7:38 AM, Andreas Leha wrote:


Hi all,

I have a question about exporting source code blocks.  Say, I  
have
several modules (mod1, mod2), that build a bigger part (part1)  
of my

program, e.g.:


#+srcname: mod1
#+begin_src R :tangle no :export code
  print(mod1)
#+end_src

#+srcname: mod2
#+begin_src R :tangle no :export code
  print(mod2)
#+end_src

#+srcname: part1
#+begin_src R :noweb yes :tangle yes :export code :session *R*
  mod1
  mod2
#+end_src


Now during the tangling I would like to tangle just the full  
part1 -
with noweb links being expanded.  Also during execution the  
noweb links

should be expanded.  This is not a problem.

But at the same time, during the export I'd like to export all  
three
code snippets, but I'd prefer the noweb links not to be  
expanded.  Is

that possible?

Thanks in advance,
Andreas

___
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



___
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


--
Andreas Leha

Universitätsmedizin Göttingen
Abteilung Medizinische Statistik
Humboldtallee 32
37073 Göttingen

Tel: +49 (0)551 39-10710
Fax: +49 (0)551 39-4995

http://www.ams.med.uni-goettingen.de/amsneu/leha.html



University Medical Center Göttingen
Department for Medical Statistics
Humboldtallee 32
37073 Göttingen
Germany

Phone: +49 (0) 551 39-10710
Fax: +49 (0) 551 39-4995

http://www.ams.med.uni-goettingen.de/amsneu/leha-en.html


___
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




--
Andreas Leha

Universitätsmedizin Göttingen
Abteilung Medizinische Statistik
Humboldtallee 32

[Orgmode] Re: MobileOrg Android 0.4.5

2010-12-09 Thread Gour
On Sun, 21 Nov 2010 18:25:34 -0500
 Matthew == Matthew Jones wrote:

Hello Matthew,

Matthew For those interested, I have released MobileOrg Android 0.4.5
Matthew to the Market (search for MobileOrg) and for direct download
Matthew here: http://matburt.net/files/mobileorg-release.apk

I am considering to buy some mid-range Android phone since there are
no (yet) Meego devices (except N900 for Maemo), and they will
probably be quite expensive when they come out.

I'd like to use MobileOrg and I'm curios what would you recommend
between:

a) Samsung I5800 Galaxy 3 and

b) SE X10 Mini Pro or

c) some other model?

Afaict, X10 Mini Pro won't get support for 2.2 (soon), so I'm curious
if running Android 2.2 phone is advantageous for MobileOrg app?

Besides MobileOrg, I'd like to have some decent email client with IMAP
support, would do some surfing with the browser and possible some
Skype/SIP VoIP calls (investigating about Sipdroid)


Sincerely,
Gour

-- 

Gour  | Hlapicina, Croatia  | GPG key: CDBF17CA



signature.asc
Description: PGP signature
___
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


Re: [Orgmode] Feature request [7.3]

2010-12-09 Thread Manish
On Wed, Dec 8, 2010 at 2:29 AM, Dave Abrahams wrote:

 When using Org for planning, I often find myself corrupting my Org
 files.  All kinds of things can go wrong, but the basic issue is that
 agenda items have a syntax, and it's easy to violate, especially when
 I'm going *fast*, which after all is what Org is supposed to enable!

 For example, a typical captured item looks like:

 ** TODO Set up yasnippet
   SCHEDULED: 2010-11-22 Mon
   :PROPERTIES:
   :Link: [[some-nasty-link]]
   :ID:       A0B4159C-D796-40DF-9ADD-93DF03577B68
   :END:
   [2010-11-20 Sat 20:17]

 Now, suppose I'm looking at this in the agenda and I want to add some
 commentary.

I am not sure what you mean by agenda here since you don't see the
full entry in the agenda.

 Where should I open the new line?  If I choose wrongly, my
 agenda will start to misbehave (e.g. items will appear to be
 un-reschedulable because they'll acquire a second SCHEDULED date).


When in the entry in org file, use `C-c C-z' and when in agenda just
use `z' to add a correctly formatted  and timestamped note.

 So I'm requesting some more help from Org in maintaining proper Org
 syntax.  Could Org have a mode that prevents things from being modified
 incorrectly?  For example, it'd be awesome if dates were smart (TAB into
 one, hit return, get a smart date editor).

FWIW, I find shift+up/down arrow sufficiently magical for my use case,
but I suppose you have already tried that.

 It'd be great if there were
 a way to make the ID property read-only (or really really hard to
 change). I'd love it if there were a way to create a link to an org
 item that narrows the view to just that item, so I don't inadvertently
 mess anything else up.  Do you get the idea?

You mean like if you clicked/returned on an item in agenda it should
take you to the entry in org file but narrowed to that item?  I had
earlier added a call to org-narrow (I think) to the code that enables
follow mode and the code that jumps to the entry in the org file.  It
used to work nice but was a minor irritation when I needed to widen it
all the time.  I have since lost the code but it should be reasonable
easy to reproduce.

HTH
-- 
Manish

___
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


[Orgmode] Re: Automatically insert inactive timestamps

2010-12-09 Thread Matt Lundin
Andrew J. Korty a...@iu.edu writes:

 Bernt Hansen be...@norang.ca wrote:

 (add-hook 'org-insert-heading-hook 'bh/insert-heading-inactive-timestamp)

 Using org-insert-heading-hook is more elegant than my way, but I only
 want timestamps on TODO entries, so I use

 #+begin_src emacs-lisp
 (defadvice org-insert-todo-heading (after ajk/org-time-stamp-new-headline 
 activate
  compile)
  (let ((previous-location (point))); not sure why save-excursion doesn't 
 work
(org-insert-time-stamp (current-time) t t
   (concat \n  (make-string (org-current-level) ? )))
(goto-char previous-location)))
 #+end_src

 Here's my vote for a new hook, org-insert-todo-heading-hook. :-)


FWIW, I use the todo state hook to insert an inactive timestamp when
changing to an active todo state (provided a timestamp doesn't already
exist):

--8---cut here---start-8---
(defun my-org-todo-insert-timestamp ()
  Insert an inactive timestamp if none exists.
  (when (string-match (regexp-opt (append my-org-next-actions my-org-projects)) 
state)
(let ((ts (org-entry-get nil TIMESTAMP_IA)))
  (unless ts
(save-excursion
  (org-back-to-heading)
  (org-show-entry)
  (next-line 1)
  (unless (or (looking-at (concat \\s-+ org-deadline-time-regexp))
  (looking-at (concat \\s-+ org-scheduled-time-regexp)))
(previous-line 1))
  (end-of-line)
  (org-insert-time-stamp (current-time) t t \n)
  (indent-for-tab-command))

;; Add a time stamp to the entry if an active todo state is added
;; and there is no timestamp
(add-hook 'org-after-todo-state-change-hook 'my-org-todo-insert-timestamp)
--8---cut here---end---8---

Then to use this hook when calling org-insert-todo-heading, I set the
following:

(setq org-treat-insert-todo-heading-as-state-change t)

Best,
Matt

___
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


Re: [Orgmode] Feature request [7.3]

2010-12-09 Thread Eric S Fraga
Dave Abrahams d...@boostpro.com writes:

 When using Org for planning, I often find myself corrupting my Org
 files.  All kinds of things can go wrong, but the basic issue is that

I do have a couple of rules I follow to avoid problems. 

1. I usually have a blank line between the meta data (scheduled,
   properties) and any subsequent text, whether part of that entry or
   the following headline.  I accomplish this by ensuring that my
   capture templates all insert such a blank line, typically followed by
   the date of insertion.

2. I also always use the =C-c C-d=, =C-c C-s= and =C-c C-x p= sequences
   to manage the meta data so org takes care of keeping things sane.


However:

[...]

 So I'm requesting some more help from Org in maintaining proper Org
 syntax.  Could Org have a mode that prevents things from being modified
 incorrectly?  For example, it'd be awesome if dates were smart (TAB into
 one, hit return, get a smart date editor).  

This would be quite nice, even something as simple as having RET, within
a time stamp, doing the equivalent of org-time-stamp or
org-time-stamp-inactive depending on the current state of the time
stamp.

 It'd be great if there were
 a way to make the ID property read-only (or really really hard to
 change).

This is where column mode comes in quite handy?  I tend to use column
mode to edit properties and so I never come near the ID property as it
usually isn't displayed.

 I'd love it if there were a way to create a link to an org
 item that narrows the view to just that item, so I don't inadvertently
 mess anything else up.  

org-narrow-to-subtree does some of this...

HTH,
eric

-- 
: Eric S Fraga (GnuPG: 0xC89193D8FFFCF67D) in Emacs 23.2.1
: using Org-mode version 7.3 (release_7.3.223.gc6a94)

___
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


Re: [Orgmode] Re: Automatically insert inactive timestamps

2010-12-09 Thread Andrew J. Korty

Nick Dokos nicholas.do...@hp.com wrote:


Andrew J. Korty a...@iu.edu wrote:

 Bernt Hansen be...@norang.ca wrote:
 
  (add-hook 'org-insert-heading-hook 'bh/insert-heading-inactive-timestamp)
 
 Using org-insert-heading-hook is more elegant than my way, but I only

 want timestamps on TODO entries, so I use
 


I think you should be able to use org-entry-get in the hook to get the
TODO property of the entry and then conditionally add the timestamp -
something like this:

   (if (equal (org-entry-get (point) TODO) TODO)
  add the timestamp


Iirc, the problem is that the entry doesn't yet have a todo keyword at
the time the hook is run.

ajk

___
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


[Orgmode] [PATCH] use code font for example footnote labels

2010-12-09 Thread Brian Gough
---
 doc/org.texi |4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/doc/org.texi b/doc/org.texi
index aecb224..a29f544 100644
--- a/doc/org.texi
+++ b/doc/org.texi
@@ -12892,9 +12892,9 @@ fninline@r{define footnotes inline}
 fnnoinline  @r{define footnotes in separate section}
 fnlocal @r{define footnotes near first reference, but not inline}
 fnprompt@r{prompt for footnote labels}
-fnauto  @r{create [fn:1]-like labels automatically (default)}
+fnauto  @r{create @code{[fn:1]}-like labels automatically (default)}
 fnconfirm   @r{offer automatic label for editing or confirmation}
-fnplain @r{create [1]-like labels automatically}
+fnplain @r{create @code{[1]}-like labels automatically}
 fnadjust@r{automatically renumber and sort footnotes}
 nofnadjust  @r{do not renumber and sort automatically}
 @end example
-- 
1.6.0.6


___
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


[Orgmode] Re: Clock report: ignore empty entries (7.3)

2010-12-09 Thread Markus Heller
Bernt Hansen be...@norang.ca writes:

 Markus Heller helle...@gmail.com writes:

 Hello everybody,

 I also like the new looks of the clock report, but I have one question.

 My scope is set to agenda-with-archives, and I'm wondering if it is
 possible to ignore files with no clock info for the tstart tend
 interval.

 Yes it's possible.

 Add :fileskip0 t and :stepskip0 t

 #+BEGIN: clocktable :maxlevel 2 :scope agenda :tstart 2010-10-30 Sat 
 :tend 2010-11-05 Fri :step day :fileskip0 t :stepskip0 t
 #+END:

Bernt,

thanks for your help, as usual.

I have org.pdf for Release 7.3, but the word ``fileskip'' cannot be
found.  I assume this is not in the docu then?

Thanks and Cheers
Markus


___
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


Re: [Orgmode] Org-mode Code Blocks Manuscript: Request For Comments

2010-12-09 Thread Eric Schulte
Hi Nick,

Thanks for the feedback.

Nick Dokos nicholas.do...@hp.com writes:


 Finally, the questions: in Sec. 4.1.3, I may be missing something
 fundamental, but I don't understand how that works at all. In
 particular, is the table formula complete as it stands?  How does it
 get the diagonals? How are these things passed to the code block? Why
 does the code block have values given to the variables? Is it correct
 as it stands, or are things missing? This is the one section where I
 was completely lost.  Could somebody explain?


Thanks for bringing this up.  I truncated the table formulas so that
they wouldn't overrun the page.  This lead to an incomplete example
which didn't work.  In the current version of the paper (up at the old
link [1]) I have expanded these formulas and split them across multiple
lines.  Although Org-mode (unfortunately) does not (yet) support
multi-line table formulas, as least all of the required information is
now present so this example should no longer be quite so mystifying.


 Thanks,
 Nick

Footnotes: 
[1]  http://cs.unm.edu/~eschulte/org-paper/babel.pdf


___
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


[Orgmode] Re: [MobileOrg] Specify files to be sync'ed

2010-12-09 Thread Markus Heller
Matthew Jones bsdmatb...@gmail.com writes:

 Hey 
 Markus,http://orgmode.org/manual/Pushing-to-MobileOrg.html#Pushing-to-MobileOrgIf
  you configure org-mobile-files to contain just the files you want copied 
 over, then that is all that will be synced during an org-mobile-push

D'oh, you'd *think* I'd be able to read the manual a bit more thoroughly
...  Thanks for banging my head on it, Matthew!!

Markus


___
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


[Orgmode] [PATCH] make use of the provided @ie and @eg macros to fix the spacing

2010-12-09 Thread Brian Gough
---
 doc/org.texi |   86 +-
 1 files changed, 43 insertions(+), 43 deletions(-)

diff --git a/doc/org.texi b/doc/org.texi
index 4b4163e..c1be294 100644
--- a/doc/org.texi
+++ b/doc/org.texi
@@ -481,7 +481,7 @@ Capture - Refile - Archive
 * Capture:: Capturing new stuff
 * Attachments:: Add files to tasks
 * RSS Feeds::   Getting input from RSS feeds
-* Protocols::   External (e.g. Browser) access to Emacs and Org
+* Protocols::   External (@eg{} Browser) access to Emacs and 
Org
 * Refiling notes::  Moving a tree from one place to another
 * Archiving::   What to do with finished projects
 
@@ -1193,7 +1193,7 @@ the previously used indirect buffer.
 @cindex @code{showeverything}, STARTUP keyword
 
 When Emacs first visits an Org file, the global state is set to
-OVERVIEW, i.e. only the top level headlines are visible.  This can be
+OVERVIEW, @ie{} only the top level headlines are visible.  This can be
 configured through the variable @code{org-startup-folded}, or on a
 per-file basis by adding one of the following lines anywhere in the
 buffer:
@@ -1213,7 +1213,7 @@ for this property are @code{folded}, @code{children}, 
@code{content}, and
 @code{all}.
 @table @asis
 @orgcmd{C-u C-u @key{TAB},org-set-startup-visibility}
-Switch back to the startup visibility of the buffer, i.e. whatever is
+Switch back to the startup visibility of the buffer, @ie{} whatever is
 requested by startup options and @samp{VISIBILITY} properties in individual
 entries.
 @end table
@@ -1284,7 +1284,7 @@ customize the variable @code{org-M-RET-may-split-line}.}. 
 If the
 command is used at the beginning of a headline, the new headline is
 created before the current line.  If at the beginning of any other line,
 the content of that line is made the new heading.  If the command is
-used at the end of a folded subtree (i.e. behind the ellipses at the end
+used at the end of a folded subtree (@ie{} behind the ellipses at the end
 of a headline), then a headline like the current one will be inserted
 after the end of the subtree.
 @orgcmd...@key{ret},org-insert-heading-respect-content}
@@ -1318,7 +1318,7 @@ level).
 @orgcmd{m...@key{down},org-move-subtree-down}
 Move subtree down (swap with next subtree of same level).
 @orgcmd{C-c C-x C-w,org-cut-subtree}
-Kill subtree, i.e. remove it from buffer but save in kill ring.
+Kill subtree, @ie{} remove it from buffer but save in kill ring.
 With a numeric prefix argument N, kill N sequential subtrees.
 @orgcmd{C-c C-x M-w,org-copy-subtree}
 Copy subtree to kill ring.  With a numeric prefix argument N, copy the N
@@ -1482,7 +1482,7 @@ as bullets.
 @emph{Ordered} list items start with a numeral followed by either a period or
 a right parenthe...@footnote{you can filter out any of them by configuring
 @code{org-plain-list-ordered-item-terminator}.}, such as @samp{1.} or
-...@samp{1)}.  If you want a list to start with a different value (e.g. 20), 
start
+...@samp{1)}.  If you want a list to start with a different value (@eg{} 20), 
start
 the text of the item with @code{[@@2...@footnote{if there's a checkbox in the
 item, the cookie must be put @emph{before} the checkbox.}.  Those constructs
 can be used in any item of the list in order to enforce a particular
@@ -1722,7 +1722,7 @@ or on a per-file basis by using
 Org-mode supports the creation of footnotes.  In contrast to the
 @file{footnote.el} package, Org-mode's footnotes are designed for work on a
 larger document, not only for one-off documents like emails.  The basic
-syntax is similar to the one used by @file{footnote.el}, i.e. a footnote is
+syntax is similar to the one used by @file{footnote.el}, @ie{} a footnote is
 defined in a paragraph that is started by a footnote marker in square
 brackets in column 0, no indentation allowed.  If you need a paragraph break
 inside a footnote, use the @LaTeX{} idiom @samp{\par}.  The footnote reference
@@ -1799,7 +1799,7 @@ S   @r{Short for first @code{r}, then @code{s} action.}
 n   @r{Normalize the footnotes by collecting all definitions (including}
 @r{inline definitions) into a special section, and then numbering them}
 @r{in sequence.  The references will then also be numbers.  This is}
-@r{meant to be the final step before finishing a document (e.g. sending}
+@r{meant to be the final step before finishing a document (e.g., sending}
 @r{off an email).  The exporters do this automatically, and so could}
 @r{something like @code{message-send-hook}.}
 d   @r{Delete the footnote at point, and all definitions of and references}
@@ -2575,7 +2575,7 @@ following command:
 Install a new formula for the current column and replace current field with
 the result of the formula.  The command prompts for a formula, with default
 taken from the @samp{#+TBLFM} line, applies it to the current field and
-stores it.  

[Orgmode] [PATCH] use emdashes when needed

2010-12-09 Thread Brian Gough
---
 doc/org.texi |   14 +++---
 1 files changed, 7 insertions(+), 7 deletions(-)

diff --git a/doc/org.texi b/doc/org.texi
index fc4b17d..c30378c 100644
--- a/doc/org.texi
+++ b/doc/org.texi
@@ -943,7 +943,7 @@ to the mailing list, in order to minimize the work the 
mailing list
 moderators have to do.}.
 
 For bug reports, please first try to reproduce the bug with the latest
-version of Org available - if you are running an outdated version, it is
+version of Org available---if you are running an outdated version, it is
 quite possible that the bug has been fixed already.  If the bug persists,
 prepare a report and provide as much information as possible, including the
 version information of Emacs (@kbd{M-x emacs-version @key{RET}}) and Org
@@ -6150,7 +6150,7 @@ with a prefix arg, finalize and then jump to the captured 
item.
 @orgcmd{C-c C-w,org-capture-refile}
 Finalize the capture process by refiling (@pxref{Refiling notes}) the note to
 a different place.  Please realize that this is a normal refiling command
-that will be executed - so the cursor position at the moment you run this
+that will be executed---so the cursor position at the moment you run this
 command is important.  If you have inserted a tree with a parent and
 children, first move the cursor back to the parent.  Any prefix argument
 given to this command will be passed on to the @code{org-refile} command.
@@ -7746,7 +7746,7 @@ having to recreate the agen...@footnote{custom commands 
can preset a filter by
 binding the variable @code{org-agenda-filter-preset} as an option.  This
 filter will then be applied to the view and persist as a basic filter through
 refreshes and more secondary filtering.  The filter is a global property of
-the entire agenda view - in a block agenda, you should only set this in the
+the entire agenda view---in a block agenda, you should only set this in the
 global options section, not in the section of an individual block.}
 
 You will be prompted for a tag selection letter; @key{SPC} will mean any tag at
@@ -8024,7 +8024,7 @@ Org will create entries (in org-mode syntax) in that file 
instead.  Most
 entries will be stored in a date-based outline tree that will later make it
 easy to archive appointments from previous months/years.  The tree will be
 built under an entry with a @code{DATE_TREE} property, or else with years as
-top-level entries.  Emacs will prompt you for the entry text - if you specify
+top-level entries.  Emacs will prompt you for the entry text---if you specify
 it, the entry will be created in @code{org-agenda-diary-file} without further
 interaction.  If you directly press @key{RET} at the prompt without typing
 text, the target file will be shown in another window for you to finish the
@@ -10038,7 +10038,7 @@ exportable as a beamer presentation.  By default, the 
top-level entries (or
 the first level below the selected subtree heading) will be turned into
 frames, and the outline structure below this level will become itemize lists.
 You can also configure the variable @code{org-beamer-frame-level} to a
-different level - then the hierarchy above frames will produce the sectioning
+different level---then the hierarchy above frames will produce the sectioning
 structure of the presentation.
 
 A template for useful in-buffer settings or properties can be inserted into
@@ -12632,7 +12632,7 @@ Source code blocks can be evaluated during export, or 
when pressing @kbd{C-c
 C-c} in the block.  The most important thing to realize here is that Org mode
 files which contain code snippets are, in a certain sense, like executable
 files.  So you should accept them and load them into Emacs only from trusted
-sources - just like you would do with a program you install on your computer.
+sources---just like you would do with a program you install on your computer.
 
 Make sure you know what you are doing before customizing the variables
 which take off the default security brakes.
@@ -13028,7 +13028,7 @@ indentation shifts by t...@footnote{see the variable
 stars but the last one are made invisible using the @code{org-hide}
 f...@footnote{turning on @code{org-indent-mode} sets
 @code{org-hide-leading-stars} to @code{t} and @code{org-adapt-indentation} to
-...@code{nil}.} - see below under @samp{2.} for more information on how this
+...@code{nil}.}---see below under @samp{2.} for more information on how this
 works.  You can turn on @code{org-indent-mode} for all files by customizing
 the variable @code{org-startup-indented}, or you can turn it on for
 individual files using
-- 
1.6.0.6


___
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


[Orgmode] [PATCH] explain how to check the default version of Org

2010-12-09 Thread Brian Gough
---
 doc/org.texi |3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)

diff --git a/doc/org.texi b/doc/org.texi
index 6b6d643..3a7356b 100644
--- a/doc/org.texi
+++ b/doc/org.texi
@@ -813,8 +813,7 @@ questions (FAQ), links to tutorials, e...@.  This page is 
located at
 @cindex XEmacs
 
 @b{Important:} @i{If you are using a version of Org that is part of the Emacs
-distribution or an XEmacs package, please skip this section and go directly
-to @ref{Activation}.}
+distribution or an XEmacs package, please skip this section and go directly to 
@ref{Activation}.  To see what version of Org (if any) is part of your Emacs 
distribution, type @kbd{M-x load-library RET org} and then @kbd{M-x 
org-version}.}
 
 If you have downloaded Org from the Web, either as a distribution @file{.zip}
 or @file{.tar} file, or as a Git archive, you must take the following steps
-- 
1.6.0.6


___
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


[Orgmode] [PATCH] make time stamps consistent with timestamps

2010-12-09 Thread Brian Gough
---
 doc/org.texi |4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/doc/org.texi b/doc/org.texi
index 930f948..553d670 100644
--- a/doc/org.texi
+++ b/doc/org.texi
@@ -6608,7 +6608,7 @@ create new nodes as new parents for refiling on the fly, 
check the
 variable @code{org-refile-allow-creating-parent-nodes}.
 When the variable @code{org-log-refi...@footnote{with corresponding
 @code{#+STARTUP} keywords @code{logrefile}, @code{lognoterefile},
-and @code{nologrefile}} is set, a time stamp or a note will be
+and @code{nologrefile}} is set, a timestamp or a note will be
 recorded when an entry has been refiled.
 @orgkey{C-u C-c C-w}
 Use the refile interface to jump to a heading.
@@ -7987,7 +7987,7 @@ $  @r{Archive all selected entries.}
 A  @r{Archive entries by moving them to their respective archive siblings.}
 t  @r{Change TODO state.  This prompts for a single TODO keyword and}
@r{changes the state of all selected entries, bypassing blocking and}
-   @r{suppressing logging notes (but not time stamps).}
+   @r{suppressing logging notes (but not timestamps).}
 +  @r{Add a tag to all selected entries.}
 -  @r{Remove a tag from all selected entries.}
 s  @r{Schedule all items to a new date.  To shift existing schedule dates}
-- 
1.6.0.6


___
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


[Orgmode] [PATCH] tangling is not a widely-known term, describe it as literate programming

2010-12-09 Thread Brian Gough
---
 doc/org.texi |5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/doc/org.texi b/doc/org.texi
index 1a2b3dd..930f948 100644
--- a/doc/org.texi
+++ b/doc/org.texi
@@ -770,7 +770,7 @@ create dynamic @i{agenda views}.
 
 Org mode contains the Org Babel environment which allows you to work with
 embedded source code blocks in a file, to facilitate code evaluation,
-documentation, and tangling.
+documentation, and literate programming techniques.
 
 Org's automatic, context-sensitive table editor with spreadsheet
 capabilities can be integrated into any major mode by activating the
@@ -11103,7 +11103,8 @@ Source code can be included in Org-mode documents using 
a @samp{src} block,
 
 Org-mode provides a number of features for working with live source code,
 including editing of code blocks in their native major-mode, evaluation of
-code blocks, tangling of code blocks, and exporting code blocks and their
+code blocks, converting code blocks into source files (known as @dfn{tangling} 
+in literate programming), and exporting code blocks and their
 results in several formats.  This functionality was contributed by Eric
 Schulte and Dan Davison, and was originally named Org-babel.
 
-- 
1.6.0.6


___
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


[Orgmode] [PATCH] typo/grammar fix for .done CSS explanation

2010-12-09 Thread Brian Gough
---
 doc/org.texi |2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/doc/org.texi b/doc/org.texi
index 1c44a79..6b6d643 100644
--- a/doc/org.texi
+++ b/doc/org.texi
@@ -9701,7 +9701,7 @@ p.date  @r{publishing date}
 p.creator   @r{creator info, about org-mode version}
 .title  @r{document title}
 .todo   @r{TODO keywords, all not-done states}
-.done   @r{the DONE keywords, all stated the count as done}
+.done   @r{the DONE keywords, all states that count as done}
 .WAITING@r{each TODO keyword also uses a class named after itself}
 .timestamp  @r{timestamp}
 .timestamp-kwd  @r{keyword associated with a timestamp, like SCHEDULED}
-- 
1.6.0.6


___
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


Re: [Orgmode] Another LaTeX export corner case...

2010-12-09 Thread Scot Becker
 Is this a bug, or something that I must learn an Org incantation to work
 around?

 Well it's a bug in the sense that it's undesirable behaviour.  I use the
somewhat ugly workaround of just switching to LaTeX \footnote{} commands
just for those footnotes where I need optional arguments.   But I'd be glad
not to have to mix footnote commands.

Scot
___
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


Re: [Orgmode] Pandoc can now do Org

2010-12-09 Thread Scot Becker
Puneeth,

Very cool!  This opens up a lot of nice importers for org-mode.

Scot


On Mon, Dec 6, 2010 at 4:45 AM, Puneeth puncha...@gmail.com wrote:

 Hi Jeff,

 On Mon, Dec 6, 2010 at 12:54 AM, Jeff Horn jrhorn...@gmail.com wrote:
  Nice! I looked at pandoc once but don't remember a lot about it. How
  well does your importer handle math?
 

 The LaTeX reader (and therefore the Orgmode writer) of pandoc does
 math pretty well. You may want to try it, to see if it fits your
 needs.

 But some other things are broken and need to be fixed. It doesn't seem
 to have table support, as of now. Also, it seems to parse some
 environments incorrectly as quote environments. I didn't look at the
 source, so I do not know for sure.

 --
 Puneeth

 ___
 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

___
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


[Orgmode] Captions Source Code

2010-12-09 Thread Andreas Leha
Hi all,

has the feature of captions for source code blocks made any progress
(see http://thread.gmane.org/gmane.emacs.orgmode/27896/focus=27913)?

I am very interested in this feature for the latex listings package.

Regards,
Andreas



smime.p7s
Description: S/MIME Cryptographic Signature
___
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


Re: [Orgmode] Feature request [7.3]

2010-12-09 Thread Dave Abrahams
At Wed, 8 Dec 2010 23:11:09 +0530,
Manish wrote:
 
  Manish mailtomanish.sha...@gmail.com
 Subject: Re: [Orgmode] Feature request [7.3]
 Date: Wed, 8 Dec 2010 23:11:09 +0530
 To: Dave Abrahams d...@boostpro.com
 Cc: emacs-orgmode@gnu.org
 Message-ID: aanlktikjaxo4bm1gbignzvjyzrddyrfqy_0vbwhcw...@mail.gmail.com
 
 On Wed, Dec 8, 2010 at 2:29 AM, Dave Abrahams wrote:
 
  When using Org for planning, I often find myself corrupting my Org
  files.  All kinds of things can go wrong, but the basic issue is that
  agenda items have a syntax, and it's easy to violate, especially when
  I'm going *fast*, which after all is what Org is supposed to enable!
 
  For example, a typical captured item looks like:
 
  ** TODO Set up yasnippet
    SCHEDULED: 2010-11-22 Mon
    :PROPERTIES:
    :Link: [[some-nasty-link]]
    :ID:       A0B4159C-D796-40DF-9ADD-93DF03577B68
    :END:
    [2010-11-20 Sat 20:17]
 
  Now, suppose I'm looking at this in the agenda and I want to add some
  commentary.
 
 I am not sure what you mean by agenda here since you don't see the
 full entry in the agenda.

Exactly.  Sometimes I am dealing with agenda items from plain org.
For example, if I've stored a link to the item and follow it from an
agenda item, I end up in my todo.org file.

  Where should I open the new line?  If I choose wrongly, my
  agenda will start to misbehave (e.g. items will appear to be
  un-reschedulable because they'll acquire a second SCHEDULED date).
 
 
 When in the entry in org file, use `C-c C-z' and when in agenda just
 use `z' to add a correctly formatted  and timestamped note.

Yes, I use those keys.  The problem is that I edit fast, and an errant
key here or there can blow the syntax of items to heck.

  So I'm requesting some more help from Org in maintaining proper Org
  syntax.  Could Org have a mode that prevents things from being modified
  incorrectly?  For example, it'd be awesome if dates were smart (TAB into
  one, hit return, get a smart date editor).
 
 FWIW, I find shift+up/down arrow sufficiently magical for my use case,
 but I suppose you have already tried that.

Yes, I've tried all the simple things.  I'm really asking for regular
org to act more like the agenda in some ways.

  It'd be great if there were
  a way to make the ID property read-only (or really really hard to
  change). I'd love it if there were a way to create a link to an org
  item that narrows the view to just that item, so I don't inadvertently
  mess anything else up.  Do you get the idea?
 
 You mean like if you clicked/returned on an item in agenda it should
 take you to the entry in org file but narrowed to that item?  

spacebar already does that.  But if I have an *org link* to an 

  [[id: ... ]] 

item and follow that I end up with no narrowing.

 I had earlier added a call to org-narrow (I think) to the code that
 enables follow mode and the code that jumps to the entry in the org
 file.  It used to work nice but was a minor irritation when I needed
 to widen it all the time.  I have since lost the code but it should
 be reasonable easy to reproduce.

That's nice, but not what I'm asking for.  I'm asking for a
comprehensive re-think of editing in plain org mode.

-- 
Dave Abrahams
BoostPro Computing
http://www.boostpro.com


___
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


[Orgmode] Are there better ways to export wide LaTeX tables/figures?

2010-12-09 Thread Kai

 Hi all,

After spending a few hours experimenting with orgmode's exporting of 
tables to LaTeX, I've got three problems to do with wide tables/figures, 
which I'm hoping have smarter solutions that what I could find:


1) When one has a table of even moderate width it will run off the 
page by default when exported to LaTeX and then pdf-published, since by 
default LaTeX will not automatically fit the column sizes to the page 
width, nor wrap text within cells to fit.  As far as I can tell, within 
orgmode, one has to do manual tweaking in the +ATTR_LaTeX line of the 
table like:


#+ATTR_LaTeX: tabular width=\textwidth 
align=|p{1.8cm}|p{1.5cm}|p{1.5cm}|p{1.3cm}|


...and set the column widths manually (in the example above, manually 
set four column widths).  Is there a better way to do this from within 
orgmode?




2) Now after one does all that hand-tweaking and trial and error of 
setting the LaTeX table column widths manually, the printed table may 
finally fit on the page, BUT still be wider than \textwidth, and appear 
off-center (it will be aligned on the left, but extend past the right 
margin).  I found this technique of centering the over-wide table/figure 
using \makebox:

http://texblog.net/latex-archive/layout/centering-figure-table/
...which basically involves wrapping the LaTeX table code with  
\noindent\makebox[\textwidth]{% and a closing curly brace, }.  But I 
could not find a way to specify that within orgmode; if I have something 
like the following it will not work, the table does not end up being 
exported:


#+LaTeX: \noindent\makebox[\textwidth]{%

#+CAPTION: A wide table.
#+LABEL: tbl:wide_table
#+ATTR_LaTeX: tabular width=\textwidth 
align=|p{1.8cm}|p{1.5cm}|p{1.5cm}|p{1.3cm}|p{2cm}|p{2.25cm}|p{1.7cm}|
| Technology | Stack Efficiency | System Efficiency | Lifetime [years] | 
Degradation [microV/h] | Estimated High-volume manufacturing cost [2007 
Euros/kW] | Target Sale Price [2007 Euros/kW] |

|+--+---+--++--+---|
| AFC| 0.43-0.5 | 0.27-0.32 |  0.5-1.1 
|  10-30 
|  325-675 
|   120-230 |


#+LaTeX: %}

Is there any way to specify from the orgmode file that the (too wide) 
exported LaTeX table should be absolutely centered in the page, so as to 
avoid manual fixes per table in the tex file after exporting?  Same 
question applies to large images that one wants wider than \textwidth, 
yet centered within the page - is there a way to do it cleanly?




3) Finally, is there a way to specify a smaller text size for tables 
consistently?  e.g. within the exported LaTex file, one could manually 
specify \footnotesize table text like:


\begin{table}[htb]\footnotesize

But is there a way to specify that from orgmode, and avoid post-export 
manual fixes in the tex file?



Thanks in advance, any and all help appreciated!

K

___
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


[Orgmode] MobileOrg for Android v0.4.8

2010-12-09 Thread C64 Whiz
Hello,

My Droid1 just got updated with Android v2.2.1 (FRG83D) and thought I'd give
WebDav sync'ing over SSL another try.  This time the error I get is File
https://index.org was not found.  Which is weird in itself as my
web browser finds it fine.

Next, I was informed of an upgrade for MobileOrg 0.4.8 so I upgraded.  Went
into MobileOrg and got a Java null pointer exception...multiple times...in a
row.  When I finally closed the error dialogs, my org data was gone.

Next, I uninstalled the app and re-installed fresh.  Attempted a WebDav SSL
Sync and got the same file https:. was not found error.  However, when
I quit and go back into the application there was no more Java null pointer
exception.

Next, I reset my sync settings to the files on my SDCard and my data came
back (though there were still parsing errors).

So, it seems SSL syncing still isn't working but I'm not sure if its
MobileOrg or still Android.  Anyone have other/similar experiences?

--C64Whiz


P.S. FWIW, I tried downloading a file from my SSL server (unknown SSL Cert
signer) and downloading *still* doesn't work.  So above is probably just
still an Android issue.
___
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


[Orgmode] Re: Org-mode Code Blocks Manuscript: Request For Comments

2010-12-09 Thread Eric Schulte
Hi,

Sorry about my absence from this thread, I've run into a very busy week
and haven't been able to give this topic the attention it requires.

Many thanks to everyone who has given feedback, I've just finished
folding in your comments (updated copies of the .org and .pdf are now at
the original links below) and everything from misspellings to higher
level questions and suggestions were very helpful.

I'll respond to a couple of specific questions in separate threads,
however the question of venue seems to be of global interest so I'll
address that here.

The reproducible research community seems to be composed of a number of
only partially overlapping sub-communities, of these the ones of which I
am aware include biologists, physicists, economists, and statisticians.
I am not aware of any reproducible research publication which has
visibility into all of these sub-communities.  One of the only unifying
elements of the practice of Reproducible Research as I am aware of it is
the dominance of R and Sweave as the tools of choice.  Given these
points submitting a general paper to a journal (like JSS) with a history
of publishing RR and Sweave articles seems like a good bet.  Also JSS
has some very nice features like the fact that both the .pdf and .org
files comprising the paper could be made freely available for download
(I haven't talked to anyone at JSS, but this seems to be their policy).

It is very possible that there does exist a more appropriate venue,
however none that I have seen seem to hold significantly more promise
than JSS.  It may be the case that no single publication can
sufficiently introduce Babel (this is certainly true for Org-mode at
large), however hopefully this will serve as a good start, perhaps later
to be supplemented with smaller publications in venues targeting other
communities.

Thanks again for all the great feedback -- Eric

Eric Schulte schulte.e...@gmail.com writes:

 Hi,

 Dan Davison, Tom Dye, Carsten Dominik and myself have been working on a
 paper introducing Org-mode's code block functionality.  We plan to
 submit this paper to the Journal of Statistical Software.  As both
 Org-mode and the code block functionality are largely products of this
 mailing list community, and in the spirit of an open peer review process
 we are releasing the current draft of the paper here to solicit your
 review and comments.

 Both the .org and .pdf formats of the paper are available at the
 following locations.

 http://cs.unm.edu/~eschulte/org-paper/babel.org

 http://cs.unm.edu/~eschulte/org-paper/babel.pdf

 Thanks -- Eric

___
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


[Orgmode] [PATCH] sexp can set its face (was: Including current time in agenda)

2010-12-09 Thread Łukasz Stelmach
suvayu ali fatkasuvayu+li...@gmail.com writes:

 I actually tried to set the text properties for the string instead,
 but looks like org-agenda is ignoring that.

 (defun jd:org-current-time ()
   Return current-time if date is today.
   (when (equal date (calendar-current-date))
 (propertize (format-time-string %H:%M Current time) 'font-lock-face
   '(:weight bold :foreground DodgerBlue4 :background snow

To accomplish this you'd have to apply the following patch and use 'face
property rather than font-lock-face.

Why can't a sexp choose its 'face after all?

--8---cut here---start-8---
diff --git a/lisp/org-agenda.el b/lisp/org-agenda.el
index 20c901a..ba5eafc 100644
--- a/lisp/org-agenda.el
+++ b/lisp/org-agenda.el
@@ -4650,8 +4650,7 @@ the documentation of `org-diary'.
 (defun org-agenda-get-sexps ()
   Return the sexp information for agenda display.
   (require 'diary-lib)
-  (let* ((props (list 'face nil
- 'mouse-face 'highlight
+  (let* ((props (list 'mouse-face 'highlight
  'help-echo
  (format mouse-2 or RET jump to org file %s
  (abbreviate-file-name buffer-file-name
--8---cut here---end---8---

-- 
Miłego dnia,
Łukasz Stelmach


___
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


Re: [Orgmode] Re: Org-mode Code Blocks Manuscript: Request For Comments

2010-12-09 Thread Eric Schulte
Hi Seb,

Thanks for the proof reading.  I have answers for some of your questions
below.

Sébastien Vauban wxhgmqzgw...@spammotel.com writes:


 Page 9 -- You say that tags and properties of a node are inherited by its
 sub-nodes. I agree for tags, not for properties (at least, by default).


With respect to code blocks properties are inherited by subnodes, at
least all properties which can be used as header arguments are
inherited.


 BTW, what happens if there is a name clash with other code blocks (in the same
 document, or in the LOB)?  Though, this is not for your paper...


While no behavior is guaranteed in this case (meaning don't do it :)) I
believe that whichever code block is found first will be used, in
practice this would probably mean that local code blocks will override
lob code blocks, but I make no guarantees


 Side comment -- Wouldn't you use a standard way of handling the acronyms in
 LaTeX, so that they're expanded when required, and listed at the end of the
 document?  Example of such acro: ESS.


I don't understand what you mean by standard acronyms can you give a
specific location and how you would suggest it be changed?

Thanks -- Eric

___
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


Re: [Orgmode] Elsevier's Executable Paper Grand Challenge

2010-12-09 Thread Joost Helberg
Bill,

An org-file instance on a virtual machine based on GNU/Linux and other
open source stuff doesn't limit any redistribution and will always run
on the right host. The host architecture is the only limitation then.

One issue with org-mode and babel is the necessary availability of all
tools called by the babel-lines. Publishing a VM File with all tools
installed as the container of a scientific document solves this.

January 15th is a bit close though.

regards,

Joost

 Bill == Bill White bi...@wolfram.com writes:
  Subject: [Orgmode] Elsevier's Executable Paper Grand Challenge
  From: Bill White bi...@wolfram.com
  To: emacs-orgmode@gnu.org
  Date: Tue, 07 Dec 2010 13:26:01 -0600

  In light of recent paper by Davison, Dominik, Dye and Schulte, this
  sounds like something org-mode could address:
  http://www.executablepapers.com

  There is a USD 1 first-place award.

 Executable Paper Grand Challenge is a contest created to improve the
 way scientific information is communicated and used.

 It asks:

 How can we develop a model for executable files that is compatible
 with the user’s operating system and architecture and adaptable to
 future systems?

 How do we manage very large file sizes?

 How do we validate data and code, and decrease the reviewer’s
 workload?

 How to support registering and tracking of actions taken on the
 ‘executable paper?’

 The purpose of the Executable Paper Challenge is to invite scientists
 to put forth their ideas pertaining to these pressing and unsolved
 questions.

  See http://www.executablepapers.com for more information, deadlines, etc.

  Cheers -

  bw
  -- 
  Bill White . bi...@wolfram.com . http://members.wolfram.com/billw
  No ma'am, we're musicians.

  ___
  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


-- 
Snow B.V.http://snow.nl
___
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


Re: [Orgmode] Pandoc can now do Org

2010-12-09 Thread Puneeth
On Thu, Dec 9, 2010 at 3:29 AM, Scot Becker scot.bec...@gmail.com wrote:
 Puneeth,

 Very cool!  This opens up a lot of nice importers for org-mode.

Yes, Pandoc is pretty cool and it ought to have org-mode! :)

-- Puneeth

___
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


[Orgmode] [PATCH] use @result{} instead of -- (looks nicer)

2010-12-09 Thread Brian Gough
---
 doc/org.texi |   54 +++---
 1 files changed, 27 insertions(+), 27 deletions(-)

diff --git a/doc/org.texi b/doc/org.texi
index 7df03fe..94a4290 100644
--- a/doc/org.texi
+++ b/doc/org.texi
@@ -5304,20 +5304,20 @@ various inputs will be interpreted, the items filled in 
by Org-mode are
 in @b{bold}.
 
 @example
-3-2-5 -- 2003-02-05
-2/5/3 -- 2003-02-05
-14-- @b{200...@b{06}-14
-12-- @b{200...@b{07}-12
-2/5   -- @b{2007}-02-05
-Fri   -- nearest Friday (default date or later)
-sep 15-- @b{2006}-09-15
-feb 15-- @b{2007}-02-15
-sep 12 9  -- 2009-09-12
-12:45 -- @b{200...@b{06}-@b{13} 12:45
-22 sept 0:34  -- @b{2006}-09-22 0:34
-w4-- ISO week for of the current year @b{2006}
-2012 w4 fri   -- Friday of ISO week 4 in 2012
-2012-w04-5-- Same as above
+3-2-5 @result{} 2003-02-05
+2/5/3 @result{} 2003-02-05
+14@result{} @b{200...@b{06}-14
+12@result{} @b{200...@b{07}-12
+2/5   @result{} @b{2007}-02-05
+Fri   @result{} nearest Friday (default date or later)
+sep 15@result{} @b{2006}-09-15
+feb 15@result{} @b{2007}-02-15
+sep 12 9  @result{} 2009-09-12
+12:45 @result{} @b{200...@b{06}-@b{13} 12:45
+22 sept 0:34  @result{} @b{2006}-09-22 0:34
+w4@result{} ISO week for of the current year @b{2006}
+2012 w4 fri   @result{} Friday of ISO week 4 in 2012
+2012-w04-5@result{} Same as above
 @end example
 
 Furthermore you can specify a relative date by giving, as the
@@ -5329,13 +5329,13 @@ a single letter, you use the abbreviation of day name, 
the date will be
 the Nth such day.  E.g.
 
 @example
-+0-- today
-. -- today
-+4d   -- four days from today
-+4-- same as above
-+2w   -- two weeks from today
-++5   -- five days from default date
-+2tue -- second Tuesday from now.
++0@result{} today
+. @result{} today
++4d   @result{} four days from today
++4@result{} same as above
++2w   @result{} two weeks from today
+++5   @result{} five days from default date
++2tue @result{} second Tuesday from now.
 @end example
 
 @vindex parse-time-months
@@ -5349,9 +5349,9 @@ start time and a duration (in HH:MM format). Use `-' or 
`-{}-' as the separator
 in the former case and use '+' as the separator in the latter case. E.g.
 
 @example
-11am-1:15pm-- 11:00-13:15
-11am--1:15pm   -- same as above
-11am+2:15  -- same as above
+11am-1:15pm@result{} 11:00-13:15
+11am--1:15pm   @result{} same as above
+11am+2:15  @result{} same as above
 @end example
 
 @cindex calendar, for selecting date
@@ -13295,9 +13295,9 @@ Org will move the following key bindings in Org files, 
and in the agenda
 buffer (but not during date selection).
 
 @example
-S-UP  -  M-p S-DOWN -  M-n
-S-LEFT-  M-- S-RIGHT-  M-+
-C-S-LEFT  -  M-S--   C-S-RIGHT  -  M-S-+
+S-UP  @result{}  M-p S-DOWN @result{}  M-n
+S-LEFT@result{}  M-- S-RIGHT@result{}  M-+
+C-S-LEFT  @result{}  M-S--   C-S-RIGHT  @result{}  M-S-+
 @end example
 
 @vindex org-disputed-keys
-- 
1.6.0.6


___
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


[Orgmode] org-agenda-follow-narrowed ?

2010-12-09 Thread Dave Abrahams

When I'm in the agenda, if I hit SPC, I get a nice narrowed view of the
current item.  When I toggle org-agenda-follow-mode, I get org to show
me the current item without hitting SPC---but it's not narrowed.  It
also has the property drawer collapsed.  What I'd like is to have org
follow me with exactly the result of hitting SPC.  Possible?

Thanks,

-- 
Dave Abrahams
BoostPro Computing
http://www.boostpro.com


___
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


[Orgmode] [PATCH] use macro for @LaTeX name

2010-12-09 Thread Brian Gough
---
 doc/org.texi |  254 +-
 1 files changed, 127 insertions(+), 127 deletions(-)

diff --git a/doc/org.texi b/doc/org.texi
index 94a4290..4b4163e 100644
--- a/doc/org.texi
+++ b/doc/org.texi
@@ -556,7 +556,7 @@ Structural markup elements
 * Horizontal rules::Make a line
 * Comment lines::   What will *not* be exported
 
-Embedded l...@tex{}
+Embedded @LaTeX{}
 
 * Special symbols:: Greek letters and other symbols
 * Subscripts and superscripts::  Simple syntax for raising/lowering text
@@ -571,7 +571,7 @@ Exporting
 * The export dispatcher::   How to access exporter commands
 * ASCII/Latin-1/UTF-8 export::  Exporting to flat files with encoding
 * HTML export:: Exporting to HTML
-* LaTeX and PDF export::Exporting to l...@tex{}, and processing to PDF
+* LaTeX and PDF export::Exporting to @LaTeX{}, and processing to PDF
 * DocBook export::  Exporting to DocBook
 * TaskJuggler export::  Exporting to TaskJuggler
 * Freemind export:: Exporting to Freemind mind maps
@@ -590,13 +590,13 @@ HTML export
 * CSS support:: Changing the appearance of the output
 * JavaScript support::  Info and Folding in a web browser
 
-...@tex{} and PDF export
+...@latex{} and PDF export
 
 * LaTeX/PDF export commands::   Which key invokes which commands
 * Header and sectioning::   Setting up the export file structure
-* Quoting LaTeX code::  Incorporating literal l...@tex{} code
-* Tables in LaTeX export::  Options for exporting tables to l...@tex{}
-* Images in LaTeX export::  How to insert figures into l...@tex{} output
+* Quoting LaTeX code::  Incorporating literal @LaTeX{} code
+* Tables in LaTeX export::  Options for exporting tables to @LaTeX{}
+* Images in LaTeX export::  How to insert figures into @LaTeX{} output
 * Beamer class export:: Turning the file into a presentation
 
 DocBook export
@@ -707,7 +707,7 @@ Hacking
 * Add-on packages:: Available extensions
 * Adding hyperlink types::  New custom link types
 * Context-sensitive commands::  How to add functionality to such commands
-* Tables in arbitrary syntax::  Orgtbl for l...@tex{} and other programs
+* Tables in arbitrary syntax::  Orgtbl for @LaTeX{} and other programs
 * Dynamic blocks::  Automatically filled blocks
 * Special agenda views::Customized views
 * Extracting agenda information::  Postprocessing of agenda information
@@ -775,7 +775,7 @@ documentation, and tangling.
 Org's automatic, context-sensitive table editor with spreadsheet
 capabilities can be integrated into any major mode by activating the
 minor Orgtbl mode.  Using a translation step, it can be used to maintain
-tables in arbitrary file types, for example in l...@tex{}.  The structure
+tables in arbitrary file types, for example in @LaTeX{}.  The structure
 editing and list creation capabilities can be used outside Org with
 the minor Orgstruct mode.
 
@@ -792,7 +792,7 @@ ends, for example:
 @r...@bullet{} a full agenda and planner with deadlines and work scheduling}
 @pindex GTD, Getting Things Done
 @r...@bullet{} an environment in which to implement David Allen's GTD system}
-...@r{@bullet{} a simple hypertext system, with HTML and l...@tex{} export}
+...@r{@bullet{} a simple hypertext system, with HTML and @LaTeX{} export}
 @r...@bullet{} a publishing tool to create a set of interlinked webpages}
 @r...@bullet{} an environment for literate programming}
 @end example
@@ -1725,7 +1725,7 @@ larger document, not only for one-off documents like 
emails.  The basic
 syntax is similar to the one used by @file{footnote.el}, i.e. a footnote is
 defined in a paragraph that is started by a footnote marker in square
 brackets in column 0, no indentation allowed.  If you need a paragraph break
-inside a footnote, use the l...@tex{} idiom @samp{\par}.  The footnote 
reference
+inside a footnote, use the @LaTeX{} idiom @samp{\par}.  The footnote reference
 is simply the marker in square brackets, inside text.  For example:
 
 @example
@@ -1737,7 +1737,7 @@ The Org homepage[fn:1] now looks a lot better than it 
used to.
 Org-mode extends the number-based syntax to @emph{named} footnotes and
 optional inline definition.  Using plain numbers as markers (as
 @file{footnote.el} does) is supported for backward compatibility, but not
-encouraged because of possible conflicts with l...@tex{} snippets 
(@pxref{Embedded
+encouraged because of possible conflicts with @LaTeX{} snippets 
(@pxref{Embedded
 LaTeX}).  Here are the valid references:
 
 @table @code
@@ -1749,7 +1749,7 @@ snippet.
 A named footnote reference, where @code{name} is a unique label word, or, for
 simplicity of automatic creation, a number.
 @item [fn:: This is the inline definition of this footnote]
-A l...@tex{}-like anonymous footnote where the definition is given directly at 
the

Re: [Orgmode] agenda does not call file

2010-12-09 Thread Carsten Dominik


On Dec 6, 2010, at 6:20 PM, maur...@mboucher.info wrote:


Hi org-moders,

1 configuration
~~~
Below, a piece of my org-agenda-custom-commands. I want to obtain my
notes from my ordinary agenda files and from carto.org. Some of them  
are

tagged note with the property CATEGORY openstreetmap

(n . Notes)
   (na toutes tags note nil)
   (nc connexions
((tags CATEGORY=\connexions internet\+note
  ((org-agenda-remove-tags t))
  )))
   (no osm
   (
(tags CATEGORY=\openstreetmap\+note
 ((org-agenda-remove-tags t)))
(tags CATEGORY=\openstreetmap\+note
  ((org-agenda-files '(/home/momo/org/ordi/ 
carto.org))

   (org-agenda-remove-tags t)
   ))
  ))


Hi Maurice,

you have discovered that in a block agenda view, it
is only possible to *restrict* the range of files
used in a block, not to widen it.  I was not aware
myself of this restriction, but looking at the code
I see it is there.

The reason for this is that, in order to speed things up,
Org does some prep work on the agenda files before parsing
for the different blocks.  At that prep stage, all the files
are pulled in.

So you can get this to work by setting the list of agenda
files to all agenda files plus the extra file in the *global*
option section for this custom command.

The following might work (untested):

(no osm
((tags CATEGORY=\openstreetmap\+note
((org-agenda-remove-tags t)))
 (tags CATEGORY=\openstreetmap\+note
((org-agenda-files '(/home/momo/org/ordi/carto.org))
 (org-agenda-remove-tags t)
 )))
((org-agenda-files (cons /home/momo/org/ordi/carto.org (org-agenda- 
files)



This should work because the values in option sections are
evaluated before use (which is why you normally would
have to quote them).

Hope this helps.

- Carsten





2 manip1

With C-c a n o, my agenda looks like :

2.1 bad
---

,
| Headlines with TAGS match: CATEGORY=openstreetmap+note
|   openstreetmap:  osmosis
|   openstreetmap:  org et osm ou gmap : pour indiquer un lieu
|   openstreetmap:  Exemple de lettre à l'administration pour  
libérer les données

|
|
| Headlines with TAGS match: CATEGORY=openstreetmap+note
`


3 manip2

Now, I load file carto.org and if I lock agenda restriction to this  
file

(C-c C-x ) I get :

3.1 good


,
| Headlines with TAGS match: CATEGORY=openstreetmap+note
|   openstreetmap:  Openstreetmap
|   openstreetmap:  josm et tilecache
|   openstreetmap:  fichier traces
|   openstreetmap:  commandes
|   openstreetmap:  marquage d'un endroit ?
|   openstreetmap:  cartes vélo et piétion garmin
|   openstreetmap:  cartes garmin de Geofabrik
|   openstreetmap:  commande osmosis
|   openstreetmap:  OpenStreetMap/OpenLayers and Privoxy
|   openstreetmap:  Finding all affected URLs
|   openstreetmap:  Comparing the files
|
|===
| Headlines with TAGS match: CATEGORY=openstreetmap+note
|   openstreetmap:  Openstreetmap
|   openstreetmap:  josm et tilecache
|   openstreetmap:  fichier traces
|   openstreetmap:  commandes
|   openstreetmap:  marquage d'un endroit ?
|   openstreetmap:  cartes vélo et piétion garmin
|   openstreetmap:  cartes garmin de Geofabrik
|   openstreetmap:  commande osmosis
|   openstreetmap:  OpenStreetMap/OpenLayers and Privoxy
|   openstreetmap:  Finding all affected URLs
|   openstreetmap:  Comparing the files
`


4 manip3

I agenda lock agenda restriction remove ( C-c C-x ), I get :

4.1 excellent
-

,
| Headlines with TAGS match: CATEGORY=openstreetmap+note
|   openstreetmap:  osmosis
|   openstreetmap:  org et osm ou gmap : pour indiquer un lieu
|   openstreetmap:  Exemple de lettre à l'administration pour  
libérer les données

|
| ===
| Headlines with TAGS match: CATEGORY=openstreetmap+note
|   openstreetmap:  Openstreetmap
|   openstreetmap:  josm et tilecache
|   openstreetmap:  fichier traces
|   openstreetmap:  commandes
|   openstreetmap:  marquage d'un endroit ?
|   openstreetmap:  cartes vélo et piétion garmin
|   openstreetmap:  cartes garmin de Geofabrik
|   openstreetmap:  commande osmosis
|   openstreetmap:  OpenStreetMap/OpenLayers and Privoxy
|   openstreetmap:  Finding all affected URLs
|   openstreetmap:  Comparing the files
`


5 Conclusion


If I kill the buffer carto.org, I need to repeat manip2 and manip3 to
succeed. Just reloading file carto.org is inefficient.

I suppose the agenda command does not consider the required file
(carto.org), even if this command loads it - I can see it in list of
buffers.

Maybe my configuration is wrong and of course, no errors occur at any
time.

emacs :
GNU Emacs 23.2.1 

[Orgmode] [PATCH] use kbd font

2010-12-09 Thread Brian Gough
---
 doc/org.texi |2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/doc/org.texi b/doc/org.texi
index be62056..d1a00c2 100644
--- a/doc/org.texi
+++ b/doc/org.texi
@@ -7754,7 +7754,7 @@ refreshes and more secondary filtering.  The filter is a 
global property of
 the entire agenda view - in a block agenda, you should only set this in the
 global options section, not in the section of an individual block.}
 
-You will be prompted for a tag selection letter; SPC will mean any tag at
+You will be prompted for a tag selection letter; @key{SPC} will mean any tag at
 all.  Pressing @key{TAB} at that prompt will offer use completion to select a
 tag (including any tags that do not have a selection character).  The command
 then hides all entries that do not contain or inherit this tag.  When called
-- 
1.6.0.6


___
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


Re: [Orgmode] Re: Org-mode Code Blocks Manuscript: Request For Comments

2010-12-09 Thread Thomas S. Dye

Hi Chuck,

I put Rpackage.org up on Worg.  When you have the Worg setup worked  
out you might want to change uses.org, where your contribution is  
described.


Thanks for the contribution.

All the best,
Tom

On Dec 8, 2010, at 9:20 PM, Charles C. Berry wrote:


On Tue, 7 Dec 2010, Thomas S. Dye wrote:


Aloha Chuck,
On Dec 6, 2010, at 6:48 PM, Charles C. Berry wrote:



[stuff deleted]



Thanks for sharing this.  It looks useful.  Would you consider  
putting it on Worg with the other babel source block examples?




OK, I've put up a fresh version at

http://famprevmed.ucsd.edu/faculty/cberry/org-mode/Rpackage.org

I could not push it to Worg, in spite of my best try at following http://orgmode.org/worg/worg-git.php 
.

(Yes, I did email as directed.)

Chuck


Charles C. BerryDept of Family/ 
Preventive Medicine

cbe...@tajo.ucsd.eduUC San Diego
http://famprevmed.ucsd.edu/faculty/cberry/  La Jolla, San Diego  
92093-0901






___
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


[Orgmode] [PATCH] include explanations of how to look up a docstring

2010-12-09 Thread Brian Gough
---
 doc/org.texi |6 ++
 1 files changed, 2 insertions(+), 4 deletions(-)

diff --git a/doc/org.texi b/doc/org.texi
index b9ff083..faa552e 100644
--- a/doc/org.texi
+++ b/doc/org.texi
@@ -1346,8 +1346,7 @@ Clone a subtree by making a number of sibling copies of 
it.  You will be
 prompted for the number of copies to make, and you can also specify if any
 timestamps in the entry should be shifted.  This can be useful, for example,
 to create a number of tasks related to a series of lectures to prepare.  For
-more details, see the docstring of the command
-...@code{org-clone-subtree-with-time-shift}.
+more details, see the docstr...@footnote{docstrings for commands can be 
displayed with @kbd{M-x describe-function} or @kbd{C-h f}.} of the command 
@code{org-clone-subtree-with-time-shift}.
 @orgcmd{C-c C-w,org-refile}
 Refile entry or region to a different location.  @xref{Refiling notes}.
 @orgcmd{C-c ^,org-sort-entries-or-items}
@@ -1760,8 +1759,7 @@ Since Org allows multiple references to the same note, 
you can then use
 @vindex org-footnote-auto-label
 Footnote labels can be created automatically, or you can create names yourself.
 This is handled by the variable @code{org-footnote-auto-label} and its
-corresponding @code{#+STARTUP} keywords.  See the docstring of that variable
-for details.
+corresponding @code{#+STARTUP} keywords. See the docstr...@footnote{docstrings 
for variables can be displayed with @kbd{M-x describe-variable} or @kbd{C-h 
v}.} of that variable for details.
 
 @noindent The following command handles footnotes:
 
-- 
1.6.0.6


___
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


Re: [Orgmode] [PATCH] displaymath environment and MathJax

2010-12-09 Thread Carsten Dominik

Hi Lukasz,

this looks like a MathJax bug to me.  MathJax does understand
equation and many other environments - so I do not really understand
why it does not take displaymath.

So I believe you should file a report to MathJax and see what their
answer is.

If I understand correctly, the displaymath environment is
somehow fragile.  When using amsmath.sty (which is a good
idea), then displaymath is redefined anyway to fall back
to equation*.

Do the LaTeX experts on this group have a comment on this issue?
It seems strange that displaymath would need special configuration
of MathJax while all the other environments do work out of the box.

- Carsten

On Dec 7, 2010, at 6:42 PM, Łukasz Stelmach wrote:


Greetings All.

The following patch makes MathJax consider \begin{displaymath} and
\end{displaymath} as math environmetn boundaries. For someone who,  
like

me, keeps The not so short introduction to LaTeX2e alway around, the
displaymath environment is the default way to introduce a block of  
math.


In fact '\[' and '\]' are also mentioned there but the environment is
used in every single example so the patch minimizes the surprise.

--8---cut here---start-8---
diff --git a/lisp/org-html.el b/lisp/org-html.el
index d1fe06d..2380c12 100644
--- a/lisp/org-html.el
+++ b/lisp/org-html.el
@@ -290,7 +290,7 @@ You can also customize this for each buffer,  
using something like

 \TeX/noUndefined.js\],
tex2jax: {
inlineMath: [ [\(\,\)\] ],
-displayMath: [ ['$$','$$'], [\[\,\]\] ],
+displayMath: [ ['$$','$$'], [\[\,\]\], [\\\ 
\\begin{displaymath}\,\end{displaymath}\] ],
skipTags: [\script\,\noscript\,\style\,\textarea 
\,\pre\,\code\],

ignoreClass: \tex2jax_ignore\,
processEscapes: false,
--8---cut here---end---8---

--
Miłego dnia,
Łukasz Stelmach


___
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



___
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


[Orgmode] [PATCH] fix commas that should be full stops, semicolons or emdashes

2010-12-09 Thread Brian Gough
---
 doc/org.texi |   50 +-
 1 files changed, 25 insertions(+), 25 deletions(-)

diff --git a/doc/org.texi b/doc/org.texi
index c1be294..937a83c 100644
--- a/doc/org.texi
+++ b/doc/org.texi
@@ -1760,7 +1760,7 @@ Since Org allows multiple references to the same note, 
you can then use
 @vindex org-footnote-auto-label
 Footnote labels can be created automatically, or you can create names yourself.
 This is handled by the variable @code{org-footnote-auto-label} and its
-corresponding @code{#+STARTUP} keywords, see the docstring of that variable
+corresponding @code{#+STARTUP} keywords.  See the docstring of that variable
 for details.
 
 @noindent The following command handles footnotes:
@@ -2997,7 +2997,7 @@ a link targeting a headline, in-buffer completion can be 
used.  Just type a
 star followed by a few optional letters into the buffer and press
 @kbd...@key{tab}}.  All headlines in the current buffer will be offered as
 completions.}.  In non-Org files, the search will look for the words in the
-link text, in the above example the search would be for @samp{my target}.
+link text.  In the above example the search would be for @samp{my target}.
 
 Following a link pushes a mark onto Org's own mark ring.  You can
 return to the previous position with @kbd{C-c }.  Using this command
@@ -3286,7 +3286,7 @@ previously recorded positions.
 @cindex links, finding next/previous
 Move forward/backward to the next link in the buffer.  At the limit of
 the buffer, the search fails once, and then wraps around.  The key
-bindings for this are really too long, you might want to bind this also
+bindings for this are really too long; you might want to bind this also
 to @kbd{C-n} and @kbd{C-p}
 @lisp
 (add-hook 'org-load-hook
@@ -5948,7 +5948,7 @@ If you restart Emacs and clock into any task, Org will 
notice that you have a
 dangling clock which was never clocked out from your last session.  Using
 that clock's starting time as the beginning of the unaccounted-for period,
 Org will ask how you want to resolve that time.  The logic and behavior is
-identical to dealing with away time due to idleness, it's just happening due
+identical to dealing with away time due to idleness; it's just happening due
 to a recovery event rather than a set amount of idle time.
 
 You can also check all the files visited by your Org agenda for dangling
@@ -6278,7 +6278,7 @@ Text to be inserted as it is.
 @vindex org-default-notes-file
 Specification of where the captured item should be placed.  In Org-mode
 files, targets usually define a node.  Entries will become children of this
-node, other types will be added to the table or list in the body of this
+node.  Other types will be added to the table or list in the body of this
 node.  Most target specifications contain a file name.  If that file name is
 the empty string, it defaults to @code{org-default-notes-file}.
 
@@ -7754,7 +7754,7 @@ refreshes and more secondary filtering.  The filter is a 
global property of
 the entire agenda view - in a block agenda, you should only set this in the
 global options section, not in the section of an individual block.}
 
-You will be prompted for a tag selection letter, SPC will mean any tag at
+You will be prompted for a tag selection letter; SPC will mean any tag at
 all.  Pressing @key{TAB} at that prompt will offer use completion to select a
 tag (including any tags that do not have a selection character).  The command
 then hides all entries that do not contain or inherit this tag.  When called
@@ -7916,10 +7916,10 @@ same location where state change notes are put.  
Depending on
 Dispatcher for all command related to attachments.
 @c
 @orgcmd{C-c C-s,org-agenda-schedule}
-Schedule this item, with prefix arg remove the scheduling timestamp
+Schedule this item.  With prefix arg remove the scheduling timestamp
 @c
 @orgcmd{C-c C-d,org-agenda-deadline}
-Set a deadline for this item, with prefix arg remove the deadline.
+Set a deadline for this item.  With prefix arg remove the deadline.
 @c
 @orgcmd{k,org-agenda-action}
 Agenda actions, to set dates for selected items to the cursor date.
@@ -7987,7 +7987,7 @@ will be passed through to the @kbd{s} and @kbd{d} 
commands, to bulk-remove
 these special timestamps.
 @example
 r  @r{Prompt for a single refile target and move all entries.  The entries}
-   @r{will no longer be in the agenda, refresh (@kbd{g}) to bring them back.}
+   @r{will no longer be in the agenda; refresh (@kbd{g}) to bring them back.}
 $  @r{Archive all selected entries.}
 A  @r{Archive entries by moving them to their respective archive siblings.}
 t  @r{Change TODO state.  This prompts for a single TODO keyword and}
@@ -8237,7 +8237,7 @@ For command sets creating a block agenda,
 @code{org-agenda-custom-commands} has two separate spots for setting
 options.  You can add options that should be valid for just a single
 command in the set, and options that should be valid for all 

[Orgmode] [PATCH] fix plain text that looks better with markup

2010-12-09 Thread Brian Gough
---
 doc/org.texi |8 
 1 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/doc/org.texi b/doc/org.texi
index 937a83c..be62056 100644
--- a/doc/org.texi
+++ b/doc/org.texi
@@ -2884,7 +2884,7 @@ Defaults to @code{lines}.
 If you want to plot to a file, specify 
@code{@var{path/to/desired/output-file}}.
 
 @item labels
-List of labels to be used for the deps (defaults to the column headers if
+List of labels to be used for the @code{deps} (defaults to the column headers 
if
 they exist).
 
 @item line
@@ -9054,7 +9054,7 @@ snippets will be identified as @LaTeX{} source code:
 @itemize @bullet
 @item
 Environments of any k...@footnote{when @file{MathJax} is used, only the
-environment recognized by @file{MathJax} will be processed.  When dvipng is
+environment recognized by @file{MathJax} will be processed.  When 
@file{dvipng} is
 used to create images, any @LaTeX{} environments will be handled.}.  The only
 requirement is that the @code{\begin} statement appears on a new line,
 preceded by only whitespace.
@@ -10433,7 +10433,7 @@ resource or resource node which is known to 
TaskJuggler, such as
 
 The exporter will handle dependencies that are defined in the tasks either
 with the @samp{ORDERED} attribute (@pxref{TODO dependencies}), with the
-...@samp{blocker} attribute (see org-depend.el) or alternatively with a
+...@samp{blocker} attribute (see @file{org-depend.el}) or alternatively with a
 @samp{depends} attribute. Both the @samp{BLOCKER} and the @samp{depends}
 attribute can be either @samp{previous-sibling} or a reference to an
 identifier (named @samp{task_id}) which is defined for another task in the
@@ -11916,7 +11916,7 @@ When using @code{:dir}, you should supply a relative 
path for file output
 (@eg{} @code{:file myfile.jpg} or @code{:file results/myfile.jpg}) in which
 case that path will be interpreted relative to the default directory.
 
-In other words, if you want your plot to go into a folder called Work in your
+In other words, if you want your plot to go into a folder called @file{Work} 
in your
 home directory, you could use
 
 @example
-- 
1.6.0.6


___
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


[Orgmode] final proofreading patches

2010-12-09 Thread Brian Gough
Hi.  I just sent our final set of proofreading patches.  For reference
the complete list is below, there were 25 in total.

-- 
Brian Gough

Network Theory Ltd,
Publishing Free Software Manuals --- http://www.network-theory.co.uk/

+ 03619e889bf061607785f092481dbfe36bcee9be correct doc typos
+ 04038c5a1f22ecf8219343e5ea80d1c7298edb90 more serious typos
+ 20ba1bd3800f5865cbbf27ae1d550efb892abd90 mismatched quotes
+ 67ff0e20cede3ae9afa332a6881184a5153c0881 make Nth consistent
+ 2c77e5b2a3b48708b2e0993fe773950332fd6dd2 correct language names, acronyms etc.
+ 246fdc680679a86c77c2736629711cd49e626fa2 correct grammar
+ e2a062e23efc44204a7ac124546f1f8b24524d32 use @result{} instead of -- (looks 
nicer)
+ c877cff82e6b88ddf8e0e3c8bfca08988aad2751 use macro for @LaTeX name
+ 993f9dc9423ffea980f74efea1adae152b7e7d05 make use of the provided @ie and @eg 
macros to fix the spacing
+ 03720efc58d37cbf16c6697d3647de7de144c32e fix commas that should be full 
stops, semicolons or emdashes
+ 4fe070423e44307dea9e37348187f7fa9985be34 fix plain text that looks better 
with markup
+ 3e3e3e036de59ab35147ede5f7f234626a4ae96b use kbd font
+ 20b1221c8ae3971bd34ea9f7b092944385935fa1 improvements to wording style
+ 07859f743f7c17bd1895feaa0fb4ac14cdeb9ed6 include explanations of how to look 
up a docstring
+ 62147b263d953cda67813e3ea914f2f6f67f4987 use a full sentence
+ bb75bc08045deda9d7216852b8c35d99faacdd97 tangling is not a widely-known term, 
describe it as literate programming
+ 19ba8a650b91265d31d0c5dfb20f67a872d4d6d0 make time stamps consistent with 
timestamps
+ 9e9260cd609f184d59207254737018dfab49f747 make explanation of keyword lines 
clearer
+ b3afbe555fdc233c5c1d84948b822421d091cebe use emdashes when needed
+ dc1d7e9c5300a043b7ed47728b2347dde7f6a290 put emacs functions in code font
+ c33bc9c261643853a3bf72b711d153cb78226a74 use code font for example footnote 
labels
+ c813b438bf54233f58c019fe67b13780a1cb69de fix missing word in math formatting 
section
+ b042807abbdd78a948c1f0d2e845836c208cb061 typo/grammar fix for .done CSS 
explanation
+ 54b3245810441906c8759bd82d251ef523ba8dbc explain how to check the default 
version of Org
+ cf1f46960b02b13ae704fdc1f29911c35f350724 add index entries

___
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


Re: [Orgmode] Feature request [7.3]

2010-12-09 Thread Eric S Fraga
Dave Abrahams d...@boostpro.com writes:

[...]

  It'd be great if there were a way to make the ID property
  read-only (or really really hard to change).
 
 This is where column mode comes in quite handy?  

 Link please?

Apologies;  I meant column view within org mode: info - org -
Properties and Columns - Column view


[...]

 But the point is that these are just examples.  I think Org wasn't
 designed with the idea that it would end up having much of a
 grammar, but it grew one.  I'm arguing for a UI re-think for the
 tool Org has become.

Yes, I can see what you are getting at.  However, one of the nicest
things about org is that it doesn't necessarily impose a structure on
everything and so a formal grammar could get in the way.  One could
argue that the flexibility of the system is it's main source of
effectiveness!  That and the fact that it is based on pure text.
However, this doesn't argue against improvements in the user interface
when necessary!

-- 
Eric S Fraga (: http://www.homepages.ucl.ac.uk/~ucecesf/ :)

___
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


[Orgmode] How do I insert just a time stamp in a capture template?

2010-12-09 Thread Charles Cave
I use capture to log how I am spending my time. Every time I start a new task, 
drink a cup of coffee, have a break, arrive at work, go home, I want to quickly 
capture a note.

I use the following template

(l Log Time 
entry (file+datetree c:/charles/My Dropbox/GTD/timelog.org) 
** %U - %^{Activity}  :TIME:)
)

A typical entry from this template looks like:

* 2010
** 2010-12-December
*** 2010-12-09 Thursday
 [2010-12-09 Thu 08:10] - Arrived at the office   :TIME:

I would like to just have the time in the headline not the complete date time
stamp.

I couldn't find a % extension in the documenation
(9.1.3.2 Template expansion)

How can I just include a time only in the heading?

Charles

P.S.  My capture-mode tutorial project should be released this weeekend




___
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


[Orgmode] latex export of source code in lists

2010-12-09 Thread Andreas Leha
Hi all,

(how) can I have source code block in lists not breaking the latex
exported list?

Example:
* Test
  1) this is the first item
 #+srcname: code
 #+begin_src R :tangle no :export code
   print(some code)
 #+end_src
 which has some code

  2) this is the second item

This results in
  \section{Test}
  \label{sec-1}
 
  \begin{enumerate}
  \item this is the first item
  \end{enumerate}

  \lstset{language=R}
  \begin{lstlisting}
  print(some code)
  \end{lstlisting}
   which has some code

  \begin{enumerate}
  \item this is the second item
  \end{enumerate}

While I expect this:
  \section{Test}
  \label{sec-1}
 
  \begin{enumerate}
  \item this is the first item
\lstset{language=R}
\begin{lstlisting}
print(some code)
\end{lstlisting}
 which has some code

  \item this is the second item
  \end{enumerate}

Thanks,
Andreas





smime.p7s
Description: S/MIME Cryptographic Signature
___
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


[Orgmode] Dumb question

2010-12-09 Thread Alawin

 Hi all

I am an emacs and org-mode beginner.
I have a thousand unanswered questions but the mailing lsit and worg are 
very useful.

Is there a way to print the orgmode help docstring fully expanded ?

Best wishes

alainwinter

___
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


[Orgmode] [BUG] org splitting window weird layout

2010-12-09 Thread Leo
Hello all,

Function org-fast-tag-selection may create a three-window layout like
this: http://imagebin.org/127056.

This is due to org-switch-to-buffer-other-window subject to
split-window-sensibly and thus

  (org-switch-to-buffer-other-window  *Org tags*)

is not guaranteed to switch to the window created by
(split-window-vertically).

I have temporarily fixed the problem with the patch attached
(http://imagebin.org/127057). I think a proper fix may have to be in
org-switch-to-buffer-other-window, i.e. add an extra argument to
indicate preferring horizontal or vertical split and let bound
split-width-threshold or split-height-threshold accordingly, and fix the
places where it is used.

diff -c /usr/local/unix/site-lisp/orgmode/org.el\~ 
/usr/local/unix/site-lisp/orgmode/org.el

--- /usr/local/unix/site-lisp/orgmode/org.el~   Mon Dec  6 18:24:00 2010

   
+++ /usr/local/unix/site-lisp/orgmode/org.elThu Dec  9 10:30:09 2010

   
@@ -13026,7 +13026,7 @@
   (setq exit-after-next (not exit-after-next)))

   
(setq expert nil)   

   
(delete-other-windows)  

   
-   (split-window-vertically)   

   
+   (set-window-buffer (split-window-vertically)  *Org tags*) 

   
(org-switch-to-buffer-other-window  *Org tags*)   

   
(org-fit-window-to-buffer)))

   
 ((or (= c ?\C-g)   

   


   
Diff finished.  Thu Dec  9 10:30:48 2010
  

HTH,
Leo


___
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


Re: [Orgmode] Another LaTeX export corner case...

2010-12-09 Thread richard . lawrence
Scot Becker writes:

 I use the
 somewhat ugly workaround of just switching to LaTeX \footnote{} commands
 just for those footnotes where I need optional arguments.   But I'd be
 glad
 not to have to mix footnote commands.

Ah, I hadn't thought of that.  Thanks!

Richard




___
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


Re: [Orgmode] Re: Two issues with :VISIBILITY: property

2010-12-09 Thread Carsten Dominik

Hi Cassio,

while I agree that it would be nice to keep the detailed
visibility structure of a tree while moving it, the effort
to implement that is rather large.

Org moves the tree by cutting it out and pasting it back in.

Outline visibility is done using overlays, not text properties.
Overlays are lost when cutting and pasting text.

So what one would have to do is save all the overlays, compute
their relative distance to the tree head, and re-install
them after pasting.  Possible, but an unproportional
effort in my view.

Org settles currently for this:

When a tree is folded entirely, it will be folded after it has
been moved.  When it is not folded entirely, then it will
remain unfolded after the pasting.

I think that this is entirely acceptable, so I don't view
it as a bug.  Desirable - maybe yes, but not
important in my view.

- Carsten

On Dec 7, 2010, at 1:12 AM, Cassio Koshikumo wrote:


Thanks a lot, Matt! The patch did correct the second issue.

About the first one:

I cannot replicate this. When I move the headlines, they remain  
folded.


It's strange that you cannot replicate this behavior. I got today's
snapshot and disabled all my customizations to try a vanilla install,
and it's still there.

Just to make sure we're talking about the same thing: when you move
the Level 1 tree (the one that has the PROPERTY drawer) it really
keeps folded? I ask because I noticed that, if I move one of its
children, everything remains folded. But if I move the parent tree,
the entire tree gets expanded.

By the way, it doesn't even take a VISIBILITY setting to cause this.  
Say I have:


* Chapter 1
Text under Chapter 1.

** Section A
 Text under Section A.

* Chapter 2
Text under Chapter 2.

** Section B
 Text under Section B.

Using S-TAB, I go to OVERVIEW:

* Chapter 1...
* Chapter 2...

Now I place the cursor on Chapter 1 and press TAB:

* Chapter 1
Text under Chapter 1.

** Section A...

* Chapter 2...

Right now, Section A remains folded, which is what you'd expect
(because Chapter 1 is only showing its children). But, if I move
Chapter 1 down, putting it after Chapter 2, Section A gets
expanded:

* Chapter 2...

* Chapter 1
Text under Chapter 1.

** Section A
 Text under Section A.

This behavior is absolutely consistent here... If you really cannot
replicate it, I wonder what could be causing it in my installation.

Thanks again for your help and time,

--
Cássio Koshikumo

___
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



___
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


Re: [Orgmode] Feature request [7.3]

2010-12-09 Thread Dave Abrahams
At Thu, 09 Dec 2010 08:57:54 +,
Eric S Fraga wrote:
 
 Dave Abrahams d...@boostpro.com writes:
 
 [...]
 
   It'd be great if there were a way to make the ID property
   read-only (or really really hard to change).
  
  This is where column mode comes in quite handy?  
 
  Link please?
 
 Apologies;  I meant column view within org mode: info - org -
 Properties and Columns - Column view

Wow, having that on completely messes up the agenda view!

 [...]
 
  But the point is that these are just examples.  I think Org wasn't
  designed with the idea that it would end up having much of a
  grammar, but it grew one.  I'm arguing for a UI re-think for the
  tool Org has become.
 
 Yes, I can see what you are getting at.  However, one of the nicest
 things about org is that it doesn't necessarily impose a structure on
 everything and so a formal grammar could get in the way.  

I'm not asking to change the grammar, I'm just asking the editor to be
smarter about the grammar that has actually evolved.

 One could argue that the flexibility of the system is it's main
 source of effectiveness!  

Could, but total flexibility doesn't work for everyone.

 That and the fact that it is based on pure
 text.  However, this doesn't argue against improvements in the user
 interface when necessary!

...or even when possible?

-- 
Dave Abrahams
BoostPro Computing
http://www.boostpro.com


___
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


Re: [Orgmode] Are there better ways to export wide LaTeX tables/figures?

2010-12-09 Thread Thomas S. Dye

Aloha Kai,

I've just pushed one solution to the problem of wide tables up to http://orgmode.org/worg/org-tutorials/org-latex-export.php 
.  Here it is for your convenience:


The LaTeX exporter is currently able to export tabular and longtable
environments. In situations where the width of the table needs to be
specified, the tabularx package is a good solution, but this isn't
supported by the exporter.  You can get the tabularx environment with
the proper setup and calling a handy function in the Library of Babel.

First, load the tabularx and booktabs packages:

=#+LATEX_HEADER: \usepackage{tabularx,booktabs}=

Then, give your table a name, e.g., =#+tblname: test-table= and put it
somewhere the LaTeX exporter won't see.

Finally, create a LaTeX source block something like this:

: #+source: tabularx-export
: #+begin_src latex :exports results :results latex
:   \begin{table}[htb!]
:   \centering
:   \footnotesize
:   \caption{A table to test the tabularx environment}
:   \label{tab:test-table}
:   booktabs(table=test-table,align=lX,env=tabularx,width=\ 
\textwidth)

:   \end{table}
:  #+end_src

When you export the file to LaTeX, this code block is expanded in a
=#+results:= block and wrapped in =#+BEGIN_LaTeX= ... =#+END_LaTeX=.   
The booktabs function does most of the work.


The X alignment in the example is defined by tabularx to calculate the  
width of the column automatically and then wrap its contents.  This  
works well in most cases, but you might need to define a column type  
that sets the contents ragged right, something like this:


\newcolumntype{Y}{{\raggedright\arraybackslash}X}

This requires the array package, so you might need a line like this,  
too:


LaTex_HEADER: \usepackage{array}

hth,
Tom

On Dec 8, 2010, at 4:08 PM, Kai wrote:


Hi all,

After spending a few hours experimenting with orgmode's exporting of  
tables to LaTeX, I've got three problems to do with wide tables/ 
figures, which I'm hoping have smarter solutions that what I could  
find:


1) When one has a table of even moderate width it will run off the  
page by default when exported to LaTeX and then pdf-published,  
since by default LaTeX will not automatically fit the column sizes  
to the page width, nor wrap text within cells to fit.  As far as I  
can tell, within orgmode, one has to do manual tweaking in the  
+ATTR_LaTeX line of the table like:


#+ATTR_LaTeX: tabular width=\textwidth align=|p{1.8cm}|p{1.5cm}| 
p{1.5cm}|p{1.3cm}|


...and set the column widths manually (in the example above,  
manually set four column widths).  Is there a better way to do this  
from within orgmode?




2) Now after one does all that hand-tweaking and trial and error of  
setting the LaTeX table column widths manually, the printed table  
may finally fit on the page, BUT still be wider than \textwidth, and  
appear off-center (it will be aligned on the left, but extend past  
the right margin).  I found this technique of centering the over- 
wide table/figure using \makebox:

http://texblog.net/latex-archive/layout/centering-figure-table/
...which basically involves wrapping the LaTeX table code with   
\noindent\makebox[\textwidth]{% and a closing curly brace, }.   
But I could not find a way to specify that within orgmode; if I have  
something like the following it will not work, the table does not  
end up being exported:


#+LaTeX: \noindent\makebox[\textwidth]{%

#+CAPTION: A wide table.
#+LABEL: tbl:wide_table
#+ATTR_LaTeX: tabular width=\textwidth align=|p{1.8cm}|p{1.5cm}| 
p{1.5cm}|p{1.3cm}|p{2cm}|p{2.25cm}|p{1.7cm}|
| Technology | Stack Efficiency | System Efficiency | Lifetime  
[years] | Degradation [microV/h] | Estimated High-volume  
manufacturing cost [2007 Euros/kW] | Target Sale Price [2007 Euros/ 
kW] |
|+--+--- 
+--+ 
+-- 
+---|
| AFC| 0.43-0.5 | 0.27-0.32 |   
0.5-1.1 |  10-30  
|  325-675  
|   120-230 |


#+LaTeX: %}

Is there any way to specify from the orgmode file that the (too  
wide) exported LaTeX table should be absolutely centered in the  
page, so as to avoid manual fixes per table in the tex file after  
exporting?  Same question applies to large images that one wants  
wider than \textwidth, yet centered within the page - is there a way  
to do it cleanly?




3) Finally, is there a way to specify a smaller text size for tables  
consistently?  e.g. within the exported LaTex file, one could  
manually specify \footnotesize table text like:


\begin{table}[htb]\footnotesize

But is there a way to specify that from orgmode, and avoid post- 
export manual fixes in the tex file?



Thanks in advance, any and all help appreciated!

K

___
Emacs-orgmode mailing 

Re: **: Re: [Orgmode] Re: Org-mode Code Blocks Manuscript: Request For Comments

2010-12-09 Thread Sébastien Vauban
Hi Eric,

Eric Schulte wrote:
 Thanks for the proof reading.  I have answers for some of your questions
 below.

Sure!

 Page 9 -- You say that tags and properties of a node are inherited by its
 sub-nodes. I agree for tags, not for properties (at least, by default).

 With respect to code blocks properties are inherited by subnodes, at
 least all properties which can be used as header arguments are
 inherited.

OK. You're talking now of the properties *of code blocks*. The, your paragraph
is a bit misleading, as you're also talking of tags -- which do not apply to
code blocks...

Having made the above distinction, I now understand your paragraph.

 BTW, what happens if there is a name clash with other code blocks (in the 
 same
 document, or in the LOB)?  Though, this is not for your paper...

 While no behavior is guaranteed in this case (meaning don't do it :)) I
 believe that whichever code block is found first will be used, in
 practice this would probably mean that local code blocks will override
 lob code blocks, but I make no guarantees

Some ideas:

- report the conflict in a very visible way (at execution and export times)

- having the ability to look for potential clashes (some
  =list-code-block-shadows=)

- (why not?) being able to add the filename of the code block we want to use,
  to resolve the conflict (if we don't want to change the names...)

 Side comment -- Wouldn't you use a standard way of handling the acronyms in
 LaTeX, so that they're expanded when required, and listed at the end of the
 document?  Example of such acro: ESS.

 I don't understand what you mean by standard acronyms can you give a
 specific location and how you would suggest it be changed?

#+TITLE: Inserting proper acronyms in LaTeX
#+DATE:  2010-12-09
#+LANGUAGE:  en_US

#+LaTeX_HEADER: \usepackage[printonlyused]{acronym}% (not in medium TeX Live 
installation)

* Prologue

\ac{ESS} is a great add-on to Emacs.

* Epilogue

Emacs is made public by the \ac{FSF}. The second time the acronym \ac{FSF} is
used, it should not be expanded in the PDF...

All of that being taken care automagically by LaTeX itself, and the =acronym=
package. Plus you gain hyperlinks from every usage of acronym to its
definition table...

* Acronyms

\begin{acronym}[LONGEST]
\acro{EEPROM} {Electrically Erasable Programmable \acs{ROM}}
\acro{ESS}{Emacs Speaks Statistics}
\acro{FSF}{Free Software Foundation}
\acro{GNU}{GNU is Not Unix}
\end{acronym}

** Note:noexport:

Unused acronyms won't be outputted in the final PDF... Out of the 4 defined
acronyms, only the 2 used will be listed at the end of the document... thanks
to the option =printonlyused=.

* Conclusion

Does this answer your question?

For me, this is one of the only missing piece that should be made more
standard into Org.

The real problem is: how do we have something clean for the HTML export, even
if ultra-minimal (like having no LaTeX symbols outputted in the middle of the
text, having always/never acronym expansion, printing all acronyms
independently of the fact they're used or not).

Best regards,
  Seb

-- 
Sébastien Vauban


___
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


Re: [Orgmode] Fast tag selection can split window wrongly

2010-12-09 Thread Leo
On 2010-12-09 15:41 +, Anthony Lander wrote:
 To fix the horizontal splitting, try adding this to your .emacs (works
 for me):

 (setq split-width-threshold most-positive-fixnum)

   -anthony

I have sent in a suggestion on how to fix it. I think the fault is at
org not taking that into account.

Cheers,
Leo

___
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


Re: [Orgmode] agenda does not call file

2010-12-09 Thread Maurice Boucher
Hi Carsten,

Carsten Dominik carsten.domi...@gmail.com écrivit :

 you have discovered that in a block agenda view, it
 is only possible to *restrict* the range of files
 used in a block, not to widen it.  I was not aware
 myself of this restriction, but looking at the code
 I see it is there.

 The reason for this is that, in order to speed things up,
 Org does some prep work on the agenda files before parsing
 for the different blocks.  At that prep stage, all the files
 are pulled in.

 So you can get this to work by setting the list of agenda
 files to all agenda files plus the extra file in the *global*
 option section for this custom command.

 The following might work (untested):

 (no osm
 ((tags CATEGORY=\openstreetmap\+note
   ((org-agenda-remove-tags t)))
  (tags CATEGORY=\openstreetmap\+note
   ((org-agenda-files '(/home/momo/org/ordi/carto.org))
(org-agenda-remove-tags t)
)))
 ((org-agenda-files (cons /home/momo/org/ordi/carto.org (org-agenda-
 files)


 This should work because the values in option sections are
 evaluated before use (which is why you normally would
 have to quote them).

Thanks for your answer.

Your code is right but it gives twice the same agenda and it was not my
goal.

I want to recognize which are the files my notes come from.

I add a filetag carto on my file carto.org to separate the agenda view
and with your example, I rewrite my command :

(no osm
 ((tags CATEGORY=\openstreetmap\+note
((org-agenda-remove-tags t)))
  (tags CATEGORY=\openstreetmap\+carto
((org-agenda-files '(/home/momo/org/ordi/carto.org))
 (org-agenda-remove-tags t)
 )))
 ((org-agenda-files (cons /home/momo/org/ordi/carto.org
 (org-agenda-files)

I use to put notes about the same subject in different files or sections
like answer mail, program. I just keep important and definitive
notes in special files (here carto.org). By this way I can see and
reorganize all of them.

I think the most difficult about org-mode is not about configuration -
documentation, faqs, tutorials are very good - but about organizing
files, todo, tags, etc. in the best way to keep these objects small,
simple and well structured. 

Bye,

Maurice

___
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


Re: [Orgmode] Re: MobileOrg Android 0.4.5

2010-12-09 Thread Matthew Jones
Hey Gour, it's hard for me to recommend a device to anyone since they are
usually based on regional availability and personal tastes.   You should
know that MobileOrg works exactly the same on all devices from Android 1.5 -
2.2+ and, unless things are going to change dramatically, I wouldn't expect
it to work any different on 2.3+

There are some things that I really like to have... like a physical
keyboard, and I require the ability to root the phone and have the option of
installing whatever ROM I see fit.

Having said that, my wife just got a Samsung Fascinate (Verizon's Galaxy S)
and it is a killer phone... other parts of the world may be able to get one
with a front facing camera, which is pretty slick.

Whatever device you get it is likely to come with the Gmail and regular
email app I don't think you can buy an Android phone that will not at
least let you set up an IMAP/POP/Exchange email account on.

I have no need to use Skype or any VOIP provider so I can't comment on that.

http://matburt.net


On Wed, Dec 8, 2010 at 11:12 AM, Gour g...@atmarama.net wrote:

 On Sun, 21 Nov 2010 18:25:34 -0500
  Matthew == Matthew Jones wrote:

 Hello Matthew,

 Matthew For those interested, I have released MobileOrg Android 0.4.5
 Matthew to the Market (search for MobileOrg) and for direct download
 Matthew here: http://matburt.net/files/mobileorg-release.apk

 I am considering to buy some mid-range Android phone since there are
 no (yet) Meego devices (except N900 for Maemo), and they will
 probably be quite expensive when they come out.

 I'd like to use MobileOrg and I'm curios what would you recommend
 between:

 a) Samsung I5800 Galaxy 3 and

 b) SE X10 Mini Pro or

 c) some other model?

 Afaict, X10 Mini Pro won't get support for 2.2 (soon), so I'm curious
 if running Android 2.2 phone is advantageous for MobileOrg app?

 Besides MobileOrg, I'd like to have some decent email client with IMAP
 support, would do some surfing with the browser and possible some
 Skype/SIP VoIP calls (investigating about Sipdroid)


 Sincerely,
 Gour

 --

 Gour  | Hlapicina, Croatia  | GPG key: CDBF17CA
 

 ___
 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


___
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


Re: [Orgmode] What is the proper way to set the time span for a diary-float appointment?

2010-12-09 Thread Michael Brand
Hi Robert

On Wed, Dec 8, 2010 at 16:29, Robert Horn rjh...@panix.com wrote:
 I wanted to set up a regular meeting that would appear in the agenda
 grid.  I discovered that the following works:

 ... Regular Meeting 13:00-14:00
 %%(diary-float t 2 1)

 This creates a first tuesday of each month meeting, from 1300h to 1400h.
 This works because the default for the
 org-agenda-search-headline-for-time is t.

 Is there a better way to do this?  It seems odd to split the date from
 the time.  I didn't find anything that combines the date rules of
 diary-float with the ability to also specify a time interval.

One possibility is
* Regular Meeting
  SCHEDULED: %%(diary-float t 2 1) 13:00-14:00

Michael

___
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


Re: [Orgmode] final proofreading patches

2010-12-09 Thread Carsten Dominik

Hi Brian and Barry

thanks a lot, I have taken all the patches with two exceptions:

1. I had some problems in the past with the @eg macros, so
   I need to look at that more closely.
2. I am not putting in the footnotes about hot to access Emacs  
docstrings.


Thank you very much, I am sure this is a great improvement
in consistency and style of the book.

- Carsten

On Dec 8, 2010, at 10:21 PM, Brian Gough wrote:


Hi.  I just sent our final set of proofreading patches.  For reference
the complete list is below, there were 25 in total.

--
Brian Gough

Network Theory Ltd,
Publishing Free Software Manuals --- http://www.network-theory.co.uk/

+ 03619e889bf061607785f092481dbfe36bcee9be correct doc typos
+ 04038c5a1f22ecf8219343e5ea80d1c7298edb90 more serious typos
+ 20ba1bd3800f5865cbbf27ae1d550efb892abd90 mismatched quotes
+ 67ff0e20cede3ae9afa332a6881184a5153c0881 make Nth consistent
+ 2c77e5b2a3b48708b2e0993fe773950332fd6dd2 correct language names,  
acronyms etc.

+ 246fdc680679a86c77c2736629711cd49e626fa2 correct grammar
+ e2a062e23efc44204a7ac124546f1f8b24524d32 use @result{} instead of  
-- (looks nicer)

+ c877cff82e6b88ddf8e0e3c8bfca08988aad2751 use macro for @LaTeX name
+ 993f9dc9423ffea980f74efea1adae152b7e7d05 make use of the provided  
@ie and @eg macros to fix the spacing
+ 03720efc58d37cbf16c6697d3647de7de144c32e fix commas that should be  
full stops, semicolons or emdashes
+ 4fe070423e44307dea9e37348187f7fa9985be34 fix plain text that looks  
better with markup

+ 3e3e3e036de59ab35147ede5f7f234626a4ae96b use kbd font
+ 20b1221c8ae3971bd34ea9f7b092944385935fa1 improvements to wording  
style
+ 07859f743f7c17bd1895feaa0fb4ac14cdeb9ed6 include explanations of  
how to look up a docstring

+ 62147b263d953cda67813e3ea914f2f6f67f4987 use a full sentence
+ bb75bc08045deda9d7216852b8c35d99faacdd97 tangling is not a widely- 
known term, describe it as literate programming
+ 19ba8a650b91265d31d0c5dfb20f67a872d4d6d0 make time stamps  
consistent with timestamps
+ 9e9260cd609f184d59207254737018dfab49f747 make explanation of  
keyword lines clearer

+ b3afbe555fdc233c5c1d84948b822421d091cebe use emdashes when needed
+ dc1d7e9c5300a043b7ed47728b2347dde7f6a290 put emacs functions in  
code font
+ c33bc9c261643853a3bf72b711d153cb78226a74 use code font for example  
footnote labels
+ c813b438bf54233f58c019fe67b13780a1cb69de fix missing word in math  
formatting section
+ b042807abbdd78a948c1f0d2e845836c208cb061 typo/grammar fix  
for .done CSS explanation
+ 54b3245810441906c8759bd82d251ef523ba8dbc explain how to check the  
default version of Org

+ cf1f46960b02b13ae704fdc1f29911c35f350724 add index entries

___
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



___
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


[Orgmode] [PATCH] org-entry-properties: enhance docstring

2010-12-09 Thread Julien Danjou
* org.el (org-entry-properties): Enhance docstring.

Signed-off-by: Julien Danjou jul...@danjou.info
---
 lisp/org.el |2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/lisp/org.el b/lisp/org.el
index 6474126..b7ae6ae 100644
--- a/lisp/org.el
+++ b/lisp/org.el
@@ -13381,7 +13381,7 @@ if the property key was used several times.
 POM may also be nil, in which case the current entry is used.
 If WHICH is nil or `all', get all properties.  If WHICH is
 `special' or `standard', only get that subclass.  If WHICH
-is a string only get exactly this property.  Specific can be a string, the
+is a string only get exactly this property.  SPECIFIC can be a string, the
 specific property we are interested in.  Specifying it can speed
 things up because then unnecessary parsing is avoided.
   (setq which (or which 'all))
-- 
1.7.2.3


___
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


[Orgmode] Re: How do I insert just a time stamp in a capture template?

2010-12-09 Thread Charles Cave
Charles Cave charles.cave at gmail.com writes:


 (l Log Time 
 entry (file+datetree c:/charles/My Dropbox/GTD/timelog.org) 
 ** %U - %^{Activity}  :TIME:)

 How can I just include a time only in the heading?

Thank you Juan for responding to my question:

   %(sexp) allows to include lisp expressions in a capture template.

   %(format-time-string %H:%M) should insert the current time.

My template now looks like

(l Log Time entry (file+datetree c:/charles/My Dropbox/GTD/timelog.org)
** %(format-time-string \%H:%M\) - %^{Activity}  :TIME:)

Note the escaped quotation marks near %H:%M because this function is inside 
another string.

Here are today's entries from the timelog.org file

*** 2010-12-10 Friday
 08:45 - Arrived - coffee and email   :TIME:
 09:00 - Updated sexp in .emacs   :TIME:
 09:13 - Responded to org-mode postings   :TIME:









___
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


[Orgmode] Re: Clock report: ignore empty entries (7.3)

2010-12-09 Thread Bernt Hansen
Markus Heller helle...@gmail.com writes:

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

 Markus Heller helle...@gmail.com writes:

 Hello everybody,

 I also like the new looks of the clock report, but I have one question.

 My scope is set to agenda-with-archives, and I'm wondering if it is
 possible to ignore files with no clock info for the tstart tend
 interval.

 Yes it's possible.

 Add :fileskip0 t and :stepskip0 t

 #+BEGIN: clocktable :maxlevel 2 :scope agenda :tstart 2010-10-30 Sat 
 :tend 2010-11-05 Fri :step day :fileskip0 t :stepskip0 t
 #+END:

 Bernt,

 thanks for your help, as usual.

 I have org.pdf for Release 7.3, but the word ``fileskip'' cannot be
 found.  I assume this is not in the docu then?

This support went in a few commits after the 7.3 release.  The org.pdf
from the current master branch does include the fileskip0 documentation.

Regards,
Bernt

___
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


[Orgmode] Re: Project management Dynamic block per tag + [Babel]

2010-12-09 Thread Francesco Pizzolante


Hi Matt,

Thanks a lor for you answer.

I preferred your second suggestion as I can add it directly to my Org buffer:

 --8---cut here---start-8---
 #+source: tasklist
 #+begin_src emacs-lisp :var person=me
  (let (tasklist)
    (org-map-entries
     (lambda ()
       (add-to-list 'tasklist
                    (concat -  (nth 4 (org-heading-components)
     (concat person /!TODO) 'agenda)
    (mapconcat 'identity tasklist \n))
 #+end_src

 #+call: tasklist(person=Jenny)
 --8---cut here---end---8---

 Add this to an org file, replace Jenny with the appropriate name, and
 type C-c C-c to spit out a list (of all TODO items tagged with the
 relevant name) that looks like this:

 --8---cut here---start-8---
 #+results: tasklist(person=Jenny)
 #+begin_example
 - Call George
 - Call Archie
 - Estimate cost of widgets
 --8---cut here---end---8---

Currently you code returns todo items with the todo keyword TODO only.

What do I have to change in order to get all todo items with selected todo
keyword? As an example, I'd like to keep in the lists the todo items with TODO
and STARTED but not the ones marked as DONE, WAIT or NEW.

Thanks again for your help.

Regards,
Francesco


___
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


Re: [Orgmode] Captionshttp://adzes.tsdye2.com Source Code

2010-12-09 Thread Thomas S. Dye

Aloha Andreas,

Here's one way to get captions with source code listings and a list of  
listings.


Use org-special-blocks to export a listing environment, e.g.

#+BEGIN_listing
#+source: identification-part
#+begin_src latex :exports code
  \NeedsTeXFormat{LaTeX2e}
  \ProvidesClass{org-article}[2010/11/25 0.3 (TSD)]
#+end_src
#+LATEX: \caption[The identification part of the class file]{The  
identification part of the class file.}\label{fig:identification-part}

#+END_listing

The caption is in LaTeX here (which has the advantage of the optional  
argument).


You'll need to define a listing float type for LaTeX.  With the float  
package it might look like this:


\newfloat{listing}{h}{lol}
\newcommand\listingscaption{Listing}
\floatname{listing}{\listingscaption}
\newcommand\listoflistingscaption{List of Listings}
\providecommand\listoflistings{\listof{listing}{\listoflistingscaption}}
\floatplacement{listing}{htb!}

If you're using the KOMA scripts, which complain about the float  
package, something like this should work:


\DeclareNewTOC[type=listing,name=Listing,float,floatpos=htb!]{lol}
\newcommand\listoflistings{\listoftoc[List of Listings]{lol}}

hth,
Tom

On Dec 8, 2010, at 1:10 PM, Andreas Leha wrote:


Hi all,

has the feature of captions for source code blocks made any progress
(see http://thread.gmane.org/gmane.emacs.orgmode/27896/focus=27913)?

I am very interested in this feature for the latex listings package.

Regards,
Andreas

___
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



___
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


Re: [Orgmode] latex export of source code in lists

2010-12-09 Thread Thomas S. Dye

Hi Andreas,

In my experience, lists are a bit fragile this way (probably  
necessarily).  One workaround might be to float the source code block  
(in the way I mentioned in a previous message) and then cross  
reference it from the list.


* Test
  1) this is the first item (Listing \ref{fig:first-code})
  2) this is the second item (Listing \ref{fig:second-code})

But this might not be what you're after.

All the best,
Tom

On Dec 8, 2010, at 11:38 PM, Andreas Leha wrote:


Hi all,

(how) can I have source code block in lists not breaking the latex
exported list?

Example:
* Test
 1) this is the first item
#+srcname: code
#+begin_src R :tangle no :export code
  print(some code)
#+end_src
which has some code

 2) this is the second item

This results in
 \section{Test}
 \label{sec-1}

 \begin{enumerate}
 \item this is the first item
 \end{enumerate}

 \lstset{language=R}
 \begin{lstlisting}
 print(some code)
 \end{lstlisting}
  which has some code

 \begin{enumerate}
 \item this is the second item
 \end{enumerate}

While I expect this:
 \section{Test}
 \label{sec-1}

 \begin{enumerate}
 \item this is the first item
   \lstset{language=R}
   \begin{lstlisting}
   print(some code)
   \end{lstlisting}
which has some code

 \item this is the second item
 \end{enumerate}

Thanks,
Andreas



___
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



___
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


[Orgmode] Export to LaTeX bug

2010-12-09 Thread Francesco Pizzolante
Hi,

Exporting to LaTeX generates a weird a usepackage line (with fixltx2e).

Here's a simple example:

--8---cut here---start-8---
#+TITLE: Test export LaTeX

* This is a simple test
--8---cut here---end---8---

Look at the 4th line of the resulting export:

--8---cut here---start-8---
% Created 2010-12-09 Thu 17:04
\documentclass[11pt]{article}
\usepackage[utf8x]{inputenc}
\usepackage[(T1 fontenc)]{( fixltx2e)}
\usepackage{listings}
\usepackage{xcolor}
\providecommand{\alert}[1]{\textbf{#1}}
\begin{document}



\title{Test export \LaTeX{}}
\author{Francesco Pizzolante}
\date{09 December 2010}
\maketitle

\setcounter{tocdepth}{3}
\tableofcontents
\vspace*{1cm}

\section{This is a simple test}
\label{sec-1}

\end{document}
--8---cut here---end---8---

Thanks,
F.

___
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


[Orgmode] Re: Dumb question

2010-12-09 Thread Tassilo Horn
Alawin alainwin...@free.fr writes:

Hi!

 Is there a way to print the orgmode help docstring fully expanded ?

Err, what do you mean with orgmode help docstring?

In case you want to print a Worg page, simply export it to PDF and print
that using `C-c C-e d'.  That requires a LaTeX installation.  If you
don't have one, you could also print the buffer into a postscript file
using

  C-u M-x ps-print-buffer-with-faces RET foo.ps RET

and then print the foo.ps document.

Bye,
Tassilo


___
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


[Orgmode] [Babel] LaTeX code not exported

2010-12-09 Thread Francesco Pizzolante
Hi,

LaTeX code blocks are ignored when exporting to HTML or PDF.

The following Org example:

--8---cut here---start-8---
#+TITLE: Test export LaTeX
#+BABEL: :exports code

#+begin_src latex
\documentclass{article}
#+end_src
--8---cut here---end---8---

Gives the following HTML result:

--8---cut here---start-8---
body
div id=content

h1 class=titleTest export LaTeX/h1


div id=table-of-contents
h2Table of Contents/h2
div id=text-table-of-contents
ul
lia href=#sec-11 This is a simple test/a/li
/ul
/div
/div

div id=outline-container-1 class=outline-2
h2 id=sec-1span class=section-number-21/span This is a simple 
test/h2
div class=outline-text-2 id=text-1


/div
/div
div id=postamble
p class=author Author: Francesco Pizzolante
/p
p class=date Date: 2010-12-09 17:41:54 /p
/div
/div
/body
--8---cut here---end---8---

Is this a bug? Do I miss an option somewhere?

Any help is welcome.

Regards,
Francesco

___
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


Re: [Orgmode] [PATCH] include explanations of how to look up a docstring

2010-12-09 Thread Giovanni Ridolfi
Brian Gough b...@network-theory.co.uk writes:

 include explanations of how to look up a docstring

 --- a/doc/org.texi
 +++ b/doc/org.texi
 @@ -1346,8 +1346,7 @@ Clone a subtree by making a number of sibling copies of 
 it.  You will be
[...]
 This can be useful, for example,
  to create a number of tasks related to a series of lectures to prepare.  For
 -more details, see the docstring of the command
 -...@code{org-clone-subtree-with-time-shift}.
 +more details, see the docstr...@footnote{docstrings for commands can
 be displayed with @kbd{M-x describe-function} or @kbd{C-h f}.} 

[...]

  This is handled by the variable @code{org-footnote-auto-label} and its
 -corresponding @code{#+STARTUP} keywords.  See the docstring of that variable
 -for details.
 +corresponding @code{#+STARTUP} keywords. See the
 docstr...@footnote{docstrings for variables can be displayed with
 @kbd{M-x describe-variable} or @kbd{C-h v}.} of that variable for
 details.

IMO these explanations are redundant. 

It is an Org-mode manual not a GNU/Emacs manual.

see eg:
http://lists.gnu.org/archive/html/emacs-orgmode/2006-11/msg00012.html

;-)

cheers,
Giovanni

___
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


Re: [Orgmode] [babel] void-function org-babel-load-file

2010-12-09 Thread Karl Maihofer

Zitat von Karl Maihofer ignora...@gmx.de:

,
| Debugger entered--Lisp error: (void-function org-babel-load-file)
|   (org-babel-load-file (expand-file-name


I found the definition of org-babel-load-file in ob-tangle.el, so I added

(require 'ob-tangle)

before the function is called in my init.el. And it works now.

But I think this is a bug, isn't it?

Regards,
Karl



___
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


Re: [Orgmode] MobileOrg for Android v0.4.8

2010-12-09 Thread Matthew Jones
Hi C64, you'll notice that the bug is still open in the bugtracker:
https://github.com/matburt/mobileorg-android/issues

It has not been fixed yet

http://matburt.net


On Wed, Dec 8, 2010 at 7:43 PM, C64 Whiz c64w...@gmail.com wrote:

 Hello,

 My Droid1 just got updated with Android v2.2.1 (FRG83D) and thought I'd
 give WebDav sync'ing over SSL another try.  This time the error I get is
 File https://index.org was not found.  Which is weird in itself
 as my web browser finds it fine.

 Next, I was informed of an upgrade for MobileOrg 0.4.8 so I upgraded.  Went
 into MobileOrg and got a Java null pointer exception...multiple times...in a
 row.  When I finally closed the error dialogs, my org data was gone.

 Next, I uninstalled the app and re-installed fresh.  Attempted a WebDav SSL
 Sync and got the same file https:. was not found error.  However, when
 I quit and go back into the application there was no more Java null pointer
 exception.

 Next, I reset my sync settings to the files on my SDCard and my data came
 back (though there were still parsing errors).

 So, it seems SSL syncing still isn't working but I'm not sure if its
 MobileOrg or still Android.  Anyone have other/similar experiences?

 --C64Whiz


 P.S. FWIW, I tried downloading a file from my SSL server (unknown SSL Cert
 signer) and downloading *still* doesn't work.  So above is probably just
 still an Android issue.

 ___
 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


___
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


Re: [Orgmode] latex export of source code in lists

2010-12-09 Thread Andreas Leha
Hi Tom,

thanks for all your input!  This is great.

Using a float environment around my listings is an option I have not
considered yet, as I have a lot of code snippets in the one file, which
would result in several pages of floating listings.  But I'll use that
option anyway or do completely without lists then.

Thanks again,
Andreas



Am 09.12.2010 18:25, schrieb Thomas S. Dye:
 Hi Andreas,

 In my experience, lists are a bit fragile this way (probably
 necessarily).  One workaround might be to float the source code block
 (in the way I mentioned in a previous message) and then cross
 reference it from the list.

 * Test
   1) this is the first item (Listing \ref{fig:first-code})
   2) this is the second item (Listing \ref{fig:second-code})

 But this might not be what you're after.

 All the best,
 Tom

 On Dec 8, 2010, at 11:38 PM, Andreas Leha wrote:

 Hi all,

 (how) can I have source code block in lists not breaking the latex
 exported list?

 Example:
 * Test
  1) this is the first item
 #+srcname: code
 #+begin_src R :tangle no :export code
   print(some code)
 #+end_src
 which has some code

  2) this is the second item

 This results in
  \section{Test}
  \label{sec-1}

  \begin{enumerate}
  \item this is the first item
  \end{enumerate}

  \lstset{language=R}
  \begin{lstlisting}
  print(some code)
  \end{lstlisting}
   which has some code

  \begin{enumerate}
  \item this is the second item
  \end{enumerate}

 While I expect this:
  \section{Test}
  \label{sec-1}

  \begin{enumerate}
  \item this is the first item
\lstset{language=R}
\begin{lstlisting}
print(some code)
\end{lstlisting}
 which has some code

  \item this is the second item
  \end{enumerate}

 Thanks,
 Andreas



 ___
 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


-- 
Andreas Leha

Universitätsmedizin Göttingen
Abteilung Medizinische Statistik
Humboldtallee 32
37073 Göttingen

Tel: +49 (0)551 39-10710
Fax: +49 (0)551 39-4995

http://www.ams.med.uni-goettingen.de/amsneu/leha.html



University Medical Center Göttingen
Department for Medical Statistics
Humboldtallee 32
37073 Göttingen
Germany

Phone: +49 (0) 551 39-10710
Fax: +49 (0) 551 39-4995

http://www.ams.med.uni-goettingen.de/amsneu/leha-en.html




smime.p7s
Description: S/MIME Cryptographic Signature
___
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


Re: [Orgmode] Captionshttp://adzes.tsdye2.com Source Code

2010-12-09 Thread Andreas Leha
Hi Tom,

thanks for the answer.  Works great.

The lstlistings LaTeX package, however, has the advantage of providing
captions without a float environment - it has its own caption= switch.

So I hoped, that I could do just
 #+source: identification-part
 #+begin_src latex :exports code
   \NeedsTeXFormat{LaTeX2e}
   \ProvidesClass{org-article}[2010/11/25 0.3 (TSD)]
  #+end_src
and the Org-Export-Latex-Listings-W-Names option (maybe in connection
with a header argument) would also produce a caption in the latex  output.
But I could not find an option or header switch. So I guess it's just
not there...

Cheers,
Andreas







Am 09.12.2010 16:44, schrieb Thomas S. Dye:
 Aloha Andreas,

 Here's one way to get captions with source code listings and a list of
 listings.

 Use org-special-blocks to export a listing environment, e.g.

 #+BEGIN_listing
 #+source: identification-part
 #+begin_src latex :exports code
   \NeedsTeXFormat{LaTeX2e}
   \ProvidesClass{org-article}[2010/11/25 0.3 (TSD)]
 #+end_src
 #+LATEX: \caption[The identification part of the class file]{The
 identification part of the class file.}\label{fig:identification-part}
 #+END_listing

 The caption is in LaTeX here (which has the advantage of the optional
 argument).

 You'll need to define a listing float type for LaTeX.  With the float
 package it might look like this:

 \newfloat{listing}{h}{lol}
 \newcommand\listingscaption{Listing}
 \floatname{listing}{\listingscaption}
 \newcommand\listoflistingscaption{List of Listings}
 \providecommand\listoflistings{\listof{listing}{\listoflistingscaption}}
 \floatplacement{listing}{htb!}

 If you're using the KOMA scripts, which complain about the float
 package, something like this should work:

 \DeclareNewTOC[type=listing,name=Listing,float,floatpos=htb!]{lol}
 \newcommand\listoflistings{\listoftoc[List of Listings]{lol}}

 hth,
 Tom

 On Dec 8, 2010, at 1:10 PM, Andreas Leha wrote:

 Hi all,

 has the feature of captions for source code blocks made any progress
 (see http://thread.gmane.org/gmane.emacs.orgmode/27896/focus=27913)?

 I am very interested in this feature for the latex listings package.

 Regards,
 Andreas

 ___
 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


-- 
Andreas Leha

Universitätsmedizin Göttingen
Abteilung Medizinische Statistik
Humboldtallee 32
37073 Göttingen

Tel: +49 (0)551 39-10710
Fax: +49 (0)551 39-4995

http://www.ams.med.uni-goettingen.de/amsneu/leha.html



University Medical Center Göttingen
Department for Medical Statistics
Humboldtallee 32
37073 Göttingen
Germany

Phone: +49 (0) 551 39-10710
Fax: +49 (0) 551 39-4995

http://www.ams.med.uni-goettingen.de/amsneu/leha-en.html




smime.p7s
Description: S/MIME Cryptographic Signature
___
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


[Orgmode] Example for beamer export with blocks and twocolumn

2010-12-09 Thread Loris Bennett
Hi,

Is there a complete example of getting blocks and two-columns to work
with beamer export? The corresponding code is not being generated in the
latex file. I assume there is something wrong with my
org-export-latex-classes. I'm using Org-mode 7.3 with Emacs 23.1.1.  

This seems to have cropped up before, but I didn't see a solution that
seemed applicable to my case.

Thanks,

Loris
-- 
Dr. Loris Bennett
ZEDAT Computer Centre
Freie Universität Berlin
Berlin, Germany


___
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


[Orgmode] Re: Dumb question

2010-12-09 Thread Charles Cave
Alawin alainwinter at free.fr writes:

 Is there a way to print the orgmode help docstring fully expanded ?

First of all, please use the subject line of your message to give
a summary of your question.

And second .. don't put yourself down! Someone else may have the same
question but were too shy to ask.

Now to answer your question. Are you taking about the Help window
that is displayed? For example, if I want to get help on
org-capture I type the commands:

C-h f

   I am prompted for a function name  describe function: 

org-capture

A help window is displayed

If I wanted to print this window I would:
1. Copy the text in that window 

C-x h(select buffer)
Copy   9from the menu

Open a new Word document  (I run GNU Emacs on Windows)
Paste the text 
Print the document


Alternatively you could save the help window to a text file
then print the text file. What operating system are you using?

C-x C-w
 You are asked for a file name
myhelp.txt  (or whatever name you want)


I hope this helps. 

Char;es



___
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


Re: [Orgmode] latex export of source code in lists

2010-12-09 Thread Nicolas Goaziou
Hello,

 Andreas Leha writes:

 Hi all, (how) can I have source code block in lists not breaking the
 latex exported list?

It should be fixed on git head.

Regards,

-- Nicolas

___
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


[Orgmode] Re: Babel amp; sh amp; Windows

2010-12-09 Thread Sébastien Vauban
Hi,

Michael Gauland wrote:
 Srinivas sp_us at yahoo.com writes:
 I tried the following:
 #+srcname: directory-tree
 #+BEGIN_SRC sh :dir /bin :results output org replace :exports results
 tree
 #+END_SRC
 
 The output is as given below:
 
 #+results: directory-tree
 c:\binMore? 

What I do is using Cygwin's shell, instead of cmd.exe (default from MS). That
way, I even get more portable code across machines (- Ubuntu).

Best regards,
  Seb

-- 
Sébastien Vauban


___
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


[Orgmode] Re: Org-mode Code Blocks Manuscript: Request For Comments

2010-12-09 Thread Sébastien Vauban
Hi Eric,

Eric Schulte wrote:
 Thanks for the proof reading.  I have answers for some of your questions
 below.

Sure!

 Page 9 -- You say that tags and properties of a node are inherited by its
 sub-nodes. I agree for tags, not for properties (at least, by default).

 With respect to code blocks properties are inherited by subnodes, at
 least all properties which can be used as header arguments are
 inherited.

OK. You're talking now of the properties *of code blocks*. The, your paragraph
is a bit misleading, as you're also talking of tags -- which do not apply to
code blocks...

Having made the above distinction, I now understand your paragraph.

 BTW, what happens if there is a name clash with other code blocks (in the 
 same
 document, or in the LOB)?  Though, this is not for your paper...

 While no behavior is guaranteed in this case (meaning don't do it :)) I
 believe that whichever code block is found first will be used, in
 practice this would probably mean that local code blocks will override
 lob code blocks, but I make no guarantees

Some ideas:

- report the conflict in a very visible way (at execution and export times)

- having the ability to look for potential clashes (some
  =list-code-block-shadows=)

- (why not?) being able to add the filename of the code block we want to use,
  to resolve the conflict (if we don't want to change the names...)

 Side comment -- Wouldn't you use a standard way of handling the acronyms in
 LaTeX, so that they're expanded when required, and listed at the end of the
 document?  Example of such acro: ESS.

 I don't understand what you mean by standard acronyms can you give a
 specific location and how you would suggest it be changed?

#+TITLE: Inserting proper acronyms in LaTeX
#+DATE:  2010-12-09
#+LANGUAGE:  en_US

#+LaTeX_HEADER: \usepackage[printonlyused]{acronym}% (not in medium TeX Live 
installation)

* Prologue

\ac{ESS} is a great add-on to Emacs.

* Epilogue

Emacs is made public by the \ac{FSF}. The second time the acronym \ac{FSF} is
used, it should not be expanded in the PDF...

All of that being taken care automagically by LaTeX itself, and the =acronym=
package. Plus you gain hyperlinks from every usage of acronym to its
definition table...

* Acronyms

\begin{acronym}[LONGEST]
\acro{EEPROM} {Electrically Erasable Programmable \acs{ROM}}
\acro{ESS}{Emacs Speaks Statistics}
\acro{FSF}{Free Software Foundation}
\acro{GNU}{GNU is Not Unix}
\end{acronym}

** Note:noexport:

Unused acronyms won't be outputted in the final PDF... Out of the 4 defined
acronyms, only the 2 used will be listed at the end of the document... thanks
to the option =printonlyused=.

* Conclusion

Does this answer your question?

For me, this is one of the only missing piece that should be made more
standard into Org.

The real problem is: how do we have something clean for the HTML export, even
if ultra-minimal (like having no LaTeX symbols outputted in the middle of the
text, having always/never acronym expansion, printing all acronyms
independently of the fact they're used or not).

Best regards,
  Seb

-- 
Sébastien Vauban


___
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


[Orgmode] [PATCH] put emacs functions in code font

2010-12-09 Thread Brian Gough
---
 doc/org.texi |   44 ++--
 1 files changed, 22 insertions(+), 22 deletions(-)

diff --git a/doc/org.texi b/doc/org.texi
index c30378c..aecb224 100644
--- a/doc/org.texi
+++ b/doc/org.texi
@@ -12381,13 +12381,13 @@ are active:
 
 @multitable @columnfractions 0.25 0.75
 @kindex C-c C-c
-...@item @kbd{C-c C-c} @tab org-babel-execute-src-block
+...@item @kbd{C-c C-c} @tab @code{org-babel-execute-src-block}
 @kindex C-c C-o
-...@item @kbd{C-c C-o} @tab org-babel-open-src-block-result
+...@item @kbd{C-c C-o} @tab @code{org-babel-open-src-block-result}
 @kindex C-up
-...@item @kbd...@key{up}}@tab org-babel-load-in-session
+...@item @kbd...@key{up}}@tab @code{org-babel-load-in-session}
 @kindex M-down
-...@item @kbd...@key{down}}  @tab org-babel-pop-to-session
+...@item @kbd...@key{down}}  @tab @code{org-babel-pop-to-session}
 @end multitable
 
 In an Org-mode buffer, the following key bindings are active:
@@ -12395,46 +12395,46 @@ In an Org-mode buffer, the following key bindings are 
active:
 @multitable @columnfractions 0.45 0.55
 @kindex C-c C-v a
 @kindex C-c C-v C-a
-...@item @kbd{C-c C-v a} @ @ @r{or} @ @ @kbd{C-c C-v C-a} @tab 
org-babel-sha1-hash
+...@item @kbd{C-c C-v a} @ @ @r{or} @ @ @kbd{C-c C-v C-a} @tab 
@code{org-babel-sha1-hash}
 @kindex C-c C-v b
 @kindex C-c C-v C-b
-...@item @kbd{C-c C-v b} @ @ @r{or} @ @ @kbd{C-c C-v C-b} @tab 
org-babel-execute-buffer
+...@item @kbd{C-c C-v b} @ @ @r{or} @ @ @kbd{C-c C-v C-b} @tab 
@code{org-babel-execute-buffer}
 @kindex C-c C-v f
 @kindex C-c C-v C-f
-...@item @kbd{C-c C-v f} @ @ @r{or} @ @ @kbd{C-c C-v C-f} @tab 
org-babel-tangle-file
+...@item @kbd{C-c C-v f} @ @ @r{or} @ @ @kbd{C-c C-v C-f} @tab 
@code{org-babel-tangle-file}
 @kindex C-c C-v g
-...@item @kbd{C-c C-v g} @tab org-babel-goto-named-source-block
+...@item @kbd{C-c C-v g} @tab @code{org-babel-goto-named-source-block}
 @kindex C-c C-v h
-...@item @kbd{C-c C-v h} @tab org-babel-describe-bindings
+...@item @kbd{C-c C-v h} @tab @code{org-babel-describe-bindings}
 @kindex C-c C-v l
 @kindex C-c C-v C-l
-...@item @kbd{C-c C-v l} @ @ @r{or} @ @ @kbd{C-c C-v C-l} @tab 
org-babel-lob-ingest
+...@item @kbd{C-c C-v l} @ @ @r{or} @ @ @kbd{C-c C-v C-l} @tab 
@code{org-babel-lob-ingest}
 @kindex C-c C-v p
 @kindex C-c C-v C-p
-...@item @kbd{C-c C-v p} @ @ @r{or} @ @ @kbd{C-c C-v C-p} @tab 
org-babel-expand-src-block
+...@item @kbd{C-c C-v p} @ @ @r{or} @ @ @kbd{C-c C-v C-p} @tab 
@code{org-babel-expand-src-block}
 @kindex C-c C-v s
 @kindex C-c C-v C-s
-...@item @kbd{C-c C-v s} @ @ @r{or} @ @ @kbd{C-c C-v C-s} @tab 
org-babel-execute-subtree
+...@item @kbd{C-c C-v s} @ @ @r{or} @ @ @kbd{C-c C-v C-s} @tab 
@code{org-babel-execute-subtree}
 @kindex C-c C-v t
 @kindex C-c C-v C-t
-...@item @kbd{C-c C-v t} @ @ @r{or} @ @ @kbd{C-c C-v C-t} @tab org-babel-tangle
+...@item @kbd{C-c C-v t} @ @ @r{or} @ @ @kbd{C-c C-v C-t} @tab 
@code{org-babel-tangle}
 @kindex C-c C-v z
 @kindex C-c C-v C-z
-...@item @kbd{C-c C-v z} @ @ @r{or} @ @ @kbd{C-c C-v C-z} @tab 
org-babel-switch-to-session
+...@item @kbd{C-c C-v z} @ @ @r{or} @ @ @kbd{C-c C-v C-z} @tab 
@code{org-babel-switch-to-session}
 @end multitable
 
 @c When possible these keybindings were extended to work when the control key 
is
 @c kept pressed, resulting in the following additional keybindings.
 
 @c @multitable @columnfractions 0.25 0.75
-...@c @item @kbd{C-c C-v C-a} @tab org-babel-sha1-hash
-...@c @item @kbd{C-c C-v C-b} @tab org-babel-execute-buffer
-...@c @item @kbd{C-c C-v C-f} @tab org-babel-tangle-file
-...@c @item @kbd{C-c C-v C-l} @tab org-babel-lob-ingest
-...@c @item @kbd{C-c C-v C-p} @tab org-babel-expand-src-block
-...@c @item @kbd{C-c C-v C-s} @tab org-babel-execute-subtree
-...@c @item @kbd{C-c C-v C-t} @tab org-babel-tangle
-...@c @item @kbd{C-c C-v C-z} @tab org-babel-switch-to-session
+...@c @item @kbd{C-c C-v C-a} @tab @code{org-babel-sha1-hash}
+...@c @item @kbd{C-c C-v C-b} @tab @code{org-babel-execute-buffer}
+...@c @item @kbd{C-c C-v C-f} @tab @code{org-babel-tangle-file}
+...@c @item @kbd{C-c C-v C-l} @tab @code{org-babel-lob-ingest}
+...@c @item @kbd{C-c C-v C-p} @tab @code{org-babel-expand-src-block}
+...@c @item @kbd{C-c C-v C-s} @tab @code{org-babel-execute-subtree}
+...@c @item @kbd{C-c C-v C-t} @tab @code{org-babel-tangle}
+...@c @item @kbd{C-c C-v C-z} @tab @code{org-babel-switch-to-session}
 @c @end multitable
 
 @node Batch execution,  , Key bindings and useful functions, Working With 
Source Code
-- 
1.6.0.6


___
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


Re: [Orgmode] latex export of source code in lists

2010-12-09 Thread Thomas S. Dye

Aloha Andreas,

I gather Nicolas Goaziou has worked some magic so that your example  
works with lists now.


I had problems using the listings package in situations where LaTeX  
changes \linewidth, as it can do inside lists.  I got bad line breaks  
and wasn't able to make them good.  If listings works for you in this  
kind of environment, please let me know how you got it to work.


All the best,
Tom

On Dec 9, 2010, at 7:47 AM, Andreas Leha wrote:


Hi Tom,

thanks for all your input!  This is great.

Using a float environment around my listings is an option I have not
considered yet, as I have a lot of code snippets in the one file,  
which

would result in several pages of floating listings.  But I'll use that
option anyway or do completely without lists then.

Thanks again,
Andreas



Am 09.12.2010 18:25, schrieb Thomas S. Dye:

Hi Andreas,

In my experience, lists are a bit fragile this way (probably
necessarily).  One workaround might be to float the source code block
(in the way I mentioned in a previous message) and then cross
reference it from the list.

* Test
 1) this is the first item (Listing \ref{fig:first-code})
 2) this is the second item (Listing \ref{fig:second-code})

But this might not be what you're after.

All the best,
Tom

On Dec 8, 2010, at 11:38 PM, Andreas Leha wrote:


Hi all,

(how) can I have source code block in lists not breaking the latex
exported list?

Example:
* Test
1) this is the first item
   #+srcname: code
   #+begin_src R :tangle no :export code
 print(some code)
   #+end_src
   which has some code

2) this is the second item

This results in
\section{Test}
\label{sec-1}

\begin{enumerate}
\item this is the first item
\end{enumerate}

\lstset{language=R}
\begin{lstlisting}
print(some code)
\end{lstlisting}
 which has some code

\begin{enumerate}
\item this is the second item
\end{enumerate}

While I expect this:
\section{Test}
\label{sec-1}

\begin{enumerate}
\item this is the first item
  \lstset{language=R}
  \begin{lstlisting}
  print(some code)
  \end{lstlisting}
   which has some code

\item this is the second item
\end{enumerate}

Thanks,
Andreas



___
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




--
Andreas Leha

Universitätsmedizin Göttingen
Abteilung Medizinische Statistik
Humboldtallee 32
37073 Göttingen

Tel: +49 (0)551 39-10710
Fax: +49 (0)551 39-4995

http://www.ams.med.uni-goettingen.de/amsneu/leha.html



University Medical Center Göttingen
Department for Medical Statistics
Humboldtallee 32
37073 Göttingen
Germany

Phone: +49 (0) 551 39-10710
Fax: +49 (0) 551 39-4995

http://www.ams.med.uni-goettingen.de/amsneu/leha-en.html


___
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



___
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


Re: [Orgmode] Captionshttp://adzes.tsdye2.com Source Code

2010-12-09 Thread Thomas S. Dye

Aloha Andreas,

Good to hear it works for you.

I don't believe there is currently a way to use #+CAPTION: with  
anything other than links to images and with tables.


The approach with org-special-blocks has the advantage that it will  
work with the minted package as well as the listings package, in case  
you decide to switch packages mid-stream.


All the best,
Tom

On Dec 9, 2010, at 7:39 AM, Andreas Leha wrote:


Hi Tom,

thanks for the answer.  Works great.

The lstlistings LaTeX package, however, has the advantage of providing
captions without a float environment - it has its own caption= switch.

So I hoped, that I could do just
#+source: identification-part
#+begin_src latex :exports code
  \NeedsTeXFormat{LaTeX2e}
  \ProvidesClass{org-article}[2010/11/25 0.3 (TSD)]
 #+end_src
and the Org-Export-Latex-Listings-W-Names option (maybe in connection
with a header argument) would also produce a caption in the latex   
output.

But I could not find an option or header switch. So I guess it's just
not there...

Cheers,
Andreas







Am 09.12.2010 16:44, schrieb Thomas S. Dye:

Aloha Andreas,

Here's one way to get captions with source code listings and a list  
of

listings.

Use org-special-blocks to export a listing environment, e.g.

#+BEGIN_listing
#+source: identification-part
#+begin_src latex :exports code
 \NeedsTeXFormat{LaTeX2e}
 \ProvidesClass{org-article}[2010/11/25 0.3 (TSD)]
#+end_src
#+LATEX: \caption[The identification part of the class file]{The
identification part of the class file.}\label{fig:identification- 
part}

#+END_listing

The caption is in LaTeX here (which has the advantage of the optional
argument).

You'll need to define a listing float type for LaTeX.  With the float
package it might look like this:

\newfloat{listing}{h}{lol}
\newcommand\listingscaption{Listing}
\floatname{listing}{\listingscaption}
\newcommand\listoflistingscaption{List of Listings}
\providecommand\listoflistings{\listof{listing} 
{\listoflistingscaption}}

\floatplacement{listing}{htb!}

If you're using the KOMA scripts, which complain about the float
package, something like this should work:

\DeclareNewTOC[type=listing,name=Listing,float,floatpos=htb!]{lol}
\newcommand\listoflistings{\listoftoc[List of Listings]{lol}}

hth,
Tom

On Dec 8, 2010, at 1:10 PM, Andreas Leha wrote:


Hi all,

has the feature of captions for source code blocks made any progress
(see http://thread.gmane.org/gmane.emacs.orgmode/27896/focus=27913)?

I am very interested in this feature for the latex listings package.

Regards,
Andreas

___
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




--
Andreas Leha

Universitätsmedizin Göttingen
Abteilung Medizinische Statistik
Humboldtallee 32
37073 Göttingen

Tel: +49 (0)551 39-10710
Fax: +49 (0)551 39-4995

http://www.ams.med.uni-goettingen.de/amsneu/leha.html



University Medical Center Göttingen
Department for Medical Statistics
Humboldtallee 32
37073 Göttingen
Germany

Phone: +49 (0) 551 39-10710
Fax: +49 (0) 551 39-4995

http://www.ams.med.uni-goettingen.de/amsneu/leha-en.html


___
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



___
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


Re: [Orgmode] Example for beamer export with blocks and twocolumn

2010-12-09 Thread suvayu ali
Sorry forgot to Include a line,

On Fri, Dec 10, 2010 at 4:30 AM, suvayu ali fatkasuvayu+li...@gmail.com wrote:


 #+BEAMER_FRAME_LEVEL: 3
 #+COLUMNS: %40ITEM %10BEAMER_env(Env) %9BEAMER_envargs(Env Args) 
 %4BEAMER_col(Col) %10BEAMER_extra(Extra)
 ^


-- 
Suvayu

Open source is the future. It sets us free.

___
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


Re: [Orgmode] Example for beamer export with blocks and twocolumn

2010-12-09 Thread suvayu ali
Hi Loris,

On Thu, Dec 9, 2010 at 3:55 PM, Loris Bennett
loris.benn...@fu-berlin.de wrote:
 Hi,

 Is there a complete example of getting blocks and two-columns to work
 with beamer export? The corresponding code is not being generated in the
 latex file. I assume there is something wrong with my
 org-export-latex-classes. I'm using Org-mode 7.3 with Emacs 23.1.1.


This is an example from a resent presentation I gave. This shows up as
a plot on the left column and 2 equations related to the plot on the
right column.


#+BEAMER_FRAME_LEVEL: 3

.

* Some Section
** Some Subsection
*** \subsecname \\ some description
 Columns  :B_columns:
 :PROPERTIES:
 :BEAMER_env: columns
 :END:

* 0.4  :B_column:
  :PROPERTIES:
  :BEAMER_env: column
  :END:
  #+ATTR_LaTeX: width=4.5cm,height=6cm,angle=0
  [[file:~/org/path/to/image1.png]]

* 0.5  :B_column:
  :PROPERTIES:
  :BEAMER_env: column
  :END:
** Smearing function:B_ignoreheading:
   :PROPERTIES:
   :BEAMER_env: ignoreheading
   :END:
   $$\Bigg\} E_{\parallel} \rightarrow T_1 \times E_{\parallel} +
   T_2 \times \mathcal{G}$$ \vspace{6 mm}

   $$\Bigg\}E_{\perp} \rightarrow T_3 \times E_{\perp} + T_4
   \times \mathcal{G}$$ \vspace{6 mm}


 Loris

Hope this helps.

-- 
Suvayu

Open source is the future. It sets us free.

___
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


Re: [Orgmode] Re: Org-mode Code Blocks Manuscript: Request For Comments

2010-12-09 Thread Charles C. Berry

On Tue, 7 Dec 2010, Thomas S. Dye wrote:


Aloha Chuck,
On Dec 6, 2010, at 6:48 PM, Charles C. Berry wrote:



[stuff deleted]





Thanks for sharing this.  It looks useful.  Would you consider putting it on 
Worg with the other babel source block examples?




OK, I've put up a fresh version at

http://famprevmed.ucsd.edu/faculty/cberry/org-mode/Rpackage.org

I could not push it to Worg, in spite of my best try at following 
http://orgmode.org/worg/worg-git.php.
(Yes, I did email as directed.)

Chuck


Charles C. BerryDept of Family/Preventive Medicine
cbe...@tajo.ucsd.eduUC San Diego
http://famprevmed.ucsd.edu/faculty/cberry/  La Jolla, San Diego 92093-0901



___
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


[Orgmode] Re: MobileOrg Android 0.4.5

2010-12-09 Thread Gour
On Thu, 9 Dec 2010 13:31:53 -0500
 Matthew == Matthew Jones wrote:

Matthew Hey Gour, it's hard for me to recommend a device to anyone
Matthew since they are usually based on regional availability and
Matthew You should know that MobileOrg works
Matthew exactly the same on all devices from Android 1.5 - 2.2+ and,
Matthew unless things are going to change dramatically, I wouldn't
Matthew expect it to work any different on 2.3+

That's nice to hear.

Matthew There are some things that I really like to have... like a
Matthew physical keyboard, and I require the ability to root the phone
Matthew and have the option of installing whatever ROM I see fit.

I'm not sure about the latter, but having keyboard is also appealing
to me and yesterday I found out about the new Samsung Galaxy 551
(something like Galaxy 3 with qwerty.)

Matthew Having said that, my wife just got a Samsung Fascinate
Matthew (Verizon's Galaxy S) and it is a killer phone... 

It's available here as well, but I'm curious if Swype is decent
replacement for a keyboard?

Matthew Whatever device you get it is likely to come with the Gmail
Matthew and regular email app I don't think you can buy an Android
Matthew phone that will not at least let you set up an
Matthew IMAP/POP/Exchange email account on.

Good...and I avoid using Gmail...


Thank you for your input and, of course, for giving us MobileOrg. ;)


Sincerely,
Gour

-- 

Gour  | Hlapicina, Croatia  | GPG key: CDBF17CA



signature.asc
Description: PGP signature
___
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


Re: [Bulk] [Orgmode] Fast tag selection can split window wrongly

2010-12-09 Thread Anthony Lander

Hi Leo,

To fix the horizontal splitting, try adding this to your .emacs (works  
for me):


(setq split-width-threshold most-positive-fixnum)

  -anthony

On 10-Dec-8, at 1:20 PM, Leo wrote:


Hello list,

It's been a long time ;)

I'm running GNU Emacs 23.2.90.2 (x86_64-apple-darwin10.5.0, Carbon
Version 1.6.0 AppKit 1038.35) of 2010-12-05 on Victoria.local with
org-mode 7.3 (installed from the snapshot link on the website).

I usually have emacs in fullscreen with just one frame. And I have  
found

that the fast tag selection can produce a really ugly layout. See this
screenshot:

emacs-org.png
Emacs was changed from one window into 3 windows after typing C-c C-c
C-c on the heading. Note also some of the important text (tags)  
extends

into the window edge (I have truncate-lines defaults to t).

,
| (setq-default truncate-lines t)
| (setq split-width-threshold 156
|   truncate-partial-width-windows nil)
`

Now if the frame is not in fullscreen it only pops up a tag selection
window after pressing C-c C-c C-c, which is like this:

emacs-org2.png
I guess this is the intended behaviour.

Any idea how to fix the first case? I suspect this has something to do
with the new splitting window introduced by split-window-sensibly.

Thanks.

Leo
___
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


___
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


[Orgmode] [PATCH] improvements to wording style

2010-12-09 Thread Brian Gough
---
 doc/org.texi |   26 ++
 1 files changed, 10 insertions(+), 16 deletions(-)

diff --git a/doc/org.texi b/doc/org.texi
index d1a00c2..b9ff083 100644
--- a/doc/org.texi
+++ b/doc/org.texi
@@ -1854,8 +1854,7 @@ item.
 @cindex editing tables
 
 Org comes with a fast and intuitive table editor.  Spreadsheet-like
-calculations are supported in connection with the Emacs @file{calc}
-package
+calculations are supported using the Emacs @file{calc} package
 @ifinfo
 (@pxref{Top,Calc,,Calc,Gnu Emacs Calculator Manual}).
 @end ifinfo
@@ -2116,7 +2115,7 @@ will then set the width of this column to this value.
 
 @noindent
 Fields that are wider become clipped and end in the string @samp{=}.
-Note that the full text is still in the buffer, it is only invisible.
+Note that the full text is still in the buffer but is hidden.
 To see the full text, hold the mouse over the field---a tool-tip window
 will show the full content.  To edit such a field, use the command
 @kbd{C-c `} (that is @kbd{C-c} followed by the backquote).  This will
@@ -2499,8 +2498,7 @@ interpolated as Lisp numbers, without quotes.  If you 
provide the
 I.e., if you want a reference to be interpreted as a string by the Lisp
 form, enclose the reference operator itself in double-quotes, like
 @code{$3}.  Ranges are inserted as space-separated fields, so you can
-embed them in list or vector syntax.  A few examples, note how the
-...@samp{n} mode is used when we do computations in Lisp.
+embed them in list or vector syntax.  Here are a few examples---note how the 
@samp{N} mode is used when we do computations in Lisp:
 
 @example
 @r{Swap the first two characters of the content of column 1}
@@ -2524,7 +2522,7 @@ evaluated, and the current field replaced with the result.
 
 @cindex #+TBLFM
 Formulas are stored in a special line starting with @samp{#+TBLFM:}
-directly below the table.  If you typed the equation in the 4th field of
+directly below the table.  If you type the equation in the 4th field of
 the 3rd data line in the table, the formula will look like
 @samp{@@3$4=$1+$2}.  When inserting/deleting/swapping column and rows
 with the appropriate commands, @i{absolute references} (but not relative
@@ -5482,8 +5480,7 @@ The headline will be listed under the given 
d...@footnote{it will still
 be listed on that date after it has been marked DONE.  If you don't like
 this, set the variable @code{org-agenda-skip-scheduled-if-done}.}.  In
 addition, a reminder that the scheduled date has passed will be present
-in the compilation for @emph{today}, until the entry is marked DONE.
-...@ie{} the task will automatically be forwarded until completed.
+in the compilation for @emph{today}, until the entry is marked DONE, @ie{} the 
task will automatically be forwarded until completed.
 
 @example
 *** TODO Call Trillian for a date on New Years Eve.
@@ -5628,7 +5625,7 @@ forgot to call your father for 3 weeks, it does not make 
sense to call
 him 3 times in a single day to make up for it.  Finally, there are tasks
 like changing batteries which should always repeat a certain time
 @i{after} the last time you did it.  For these tasks, Org-mode has
-special repeaters markers with @samp{++} and @samp{.+}.  For example:
+special repeaters  @samp{++} and @samp{.+}.  For example:
 
 @example
 ** TODO Call Father
@@ -8923,9 +8920,7 @@ construct complex HTML code.
 @cindex @TeX{} interpretation
 @cindex @LaTeX{} interpretation
 
-Plain ASCII is normally sufficient for almost all note taking.  One
-exception, however, are scientific notes which need to be able to contain
-mathematical symbols and the occasional formula.  @late...@footnote{@LaTeX{}
+Plain ASCII is normally sufficient for almost all note taking.  Exceptions 
include scientific notes, which often require mathematical symbols and the 
occasional formula.  @late...@footnote{@LaTeX{}
 is a macro system based on Donald E. Knuth's @TeX{} system.  Many of the
 features described here as `...@latex{}'' are really from @TeX{}, but for
 simplicity I am blurring this distinction.}  is widely used to typeset
@@ -9743,7 +9738,7 @@ inclusion of these defaults off, customize
 @code{org-export-html-style-include-default}}.  You may overwrite these
 settings, or add to them by using the variables @code{org-export-html-style}
 (for Org-wide settings) and @code{org-export-html-style-extra} (for more
-granular settings, like file-local settings).  To set the latter variable
+fine-grained settings, like file-local settings).  To set the latter variable
 individually for each file, you can use
 
 @cindex #+STYLE
@@ -10717,8 +10712,7 @@ produce @file{file.org} and @file{file.org.html} in the 
publishing
 direct...@footnote{@file{file-source.org} and @file{file-source.org.html} if
 source and publishing directories are equal.  Note that with this kind of
 setup, you need to add @code{:exclude -source\\.org} to the project
-definition in @code{org-publish-project-alist} to avoid that the published
-source 

Re: [Orgmode] Here is my article on date-trees and capture mode

2010-12-09 Thread Thomas S. Dye

Aloha Charles,

The idea to have Org-mode add meaningful structure to notes files  
solves a big problem for people like me who lose track of the  
organization schemes they design.   It was a revelation (and a huge  
relief) to see your date trees.


Many thanks,
Tom

P.S. I found the article clearly written and easy to follow.


On Dec 9, 2010, at 1:13 AM, Charles Cave wrote:


Here is my article:

http://members.optusnet.com.au/~charles57/GTD/datetree.html

I welcome feedback so I can make the article as useful as possible.

Charles




___
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



___
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


[Orgmode] [RFC] Self-configuring Org-mode files

2010-12-09 Thread Thomas S. Dye

Aloha all,

I'm eager to learn how to build a self-configuring Org-mode file.

I think Org-mode is uniquely positioned to produce reproducible  
research documents, but frankly speaking, the author of a reproducible  
Org-mode research document would be foolish to release it.   The  
probability that it would run out-of-the-box on a reader's computer is  
quite a bit less than 1.  Multiply this fraction by the number of  
potential readers and the probability that the author will receive one  
or more emails entitled something like Your reproducible research  
isn't reproducible rapidly approaches 1.


A desire to produce reproducible research with Org-mode shouldn't  
reduce to an open-ended commitment to solve configuration problems on  
users' computers around the world.  An Org-mode file that reliably  
self-configures might solve this problem.


Based on the kind comments of several list members, I've come up with  
what I hope are the rudiments of such a self-configuring Org-mode  
file.  I'm requesting your comments because I believe, individually  
and collectively, you know way more about this than I do.


1) At the end of the Org-mode file are some instructions saying  
something like To use this document, first

evaluate this code block, as suggested by Dan Davison:

# Local variables:
# eval:(sbe essential-document-config)
# End:

2) the source code block essential-document-config would consist of  
noweb calls to Library of Babel functions:


#+source: essential-document-config
#+begin_src emacs-lisp :noweb yes
 lob-set-this-variable(x=t)
lob-set-that-variable(x=nil)
#+end_src

3) The Library of Babel would be populated with little functions, each  
of which sets a single variable in a buffer-local way (as suggested  
several times to me on the list):


#+source: lob-set-this-variable
#+begin_src emacs-lisp :var x=nil
(set (make-local-variable 'this-variable) x)
#+end_src

4) A super-function in the Library of Babel would set the buffer-local  
instance of every relevant Org-mode variable to its default state:


#+source: lob-set-local-defaults
#+begin_src emacs-lisp
...
#+end_src

5) The Org-mode community would be responsible for populating the  
Library of Babel with the relevant little functions--whenever a new  
configuration variable is introduced, then a little function for it  
would be deposited in the Library of Babel.  The name of the  
configuration function would be part of the variable's docstring.


6) The author of a reproducible Org-mode document could reasonably  
expect to produce a document that self-configures on computers around  
the world, in a way that is safe and effective.  The author would call  
the super-function, then add noweb calls to little functions until the  
reproducible research document works as expected.


I'm happy for any comments, positive or negative.

All the best,
Tom

___
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


Re: [Orgmode] Re: MobileOrg Android 0.4.5

2010-12-09 Thread Matthew Jones
No problem, I enjoy the project immensely.   Regarding Swype... I personally
can't stand it, I think it would be better if there were some visual
indication of what letter I was hovering over when dragging between them,
but that's my personal taste most people I know who use it, my wife
included, like it a lot more than the default keyboard.

I have an original Droid which is an amazing phone, even a year and half
after purchasing it.  I'm currently having an issue with it where I seem to
have lost touch sensitivity on the rightmost edge of the screen that is a
few centimeters wide... it doesn't prevent me from sliding to unlock or
anything like that, but it does keep me from hitting some of the rightmost
keys on the soft keyboard... it makes me really glad I have the hardware
keyboard now.

http://matburt.net


On Fri, Dec 10, 2010 at 12:31 AM, Gour g...@atmarama.net wrote:

 On Thu, 9 Dec 2010 13:31:53 -0500
  Matthew == Matthew Jones wrote:

 Matthew Hey Gour, it's hard for me to recommend a device to anyone
 Matthew since they are usually based on regional availability and
 Matthew You should know that MobileOrg works
 Matthew exactly the same on all devices from Android 1.5 - 2.2+ and,
 Matthew unless things are going to change dramatically, I wouldn't
 Matthew expect it to work any different on 2.3+

 That's nice to hear.

 Matthew There are some things that I really like to have... like a
 Matthew physical keyboard, and I require the ability to root the phone
 Matthew and have the option of installing whatever ROM I see fit.

 I'm not sure about the latter, but having keyboard is also appealing
 to me and yesterday I found out about the new Samsung Galaxy 551
 (something like Galaxy 3 with qwerty.)

 Matthew Having said that, my wife just got a Samsung Fascinate
 Matthew (Verizon's Galaxy S) and it is a killer phone...

 It's available here as well, but I'm curious if Swype is decent
 replacement for a keyboard?

 Matthew Whatever device you get it is likely to come with the Gmail
 Matthew and regular email app I don't think you can buy an Android
 Matthew phone that will not at least let you set up an
 Matthew IMAP/POP/Exchange email account on.

 Good...and I avoid using Gmail...


 Thank you for your input and, of course, for giving us MobileOrg. ;)


 Sincerely,
 Gour

 --

 Gour  | Hlapicina, Croatia  | GPG key: CDBF17CA
 

 ___
 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


___
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


Re: [Orgmode] MobileOrg for Android v0.4.8

2010-12-09 Thread Matthew Jones
Hey C64 (and anyone who is interested)

I believe I have finally gotten a handle on the SSL bug for webdav
connections... I've tested it a little but if you could try it out for me
and verify that it works for you, I could feel more comfortable releasing it
to the general public through the market:

http://matburt.net/files/mobileorg-debug.apk

http://matburt.net


On Thu, Dec 9, 2010 at 2:04 PM, Matthew Jones bsdmatb...@gmail.com wrote:

 Hi C64, you'll notice that the bug is still open in the bugtracker:
 https://github.com/matburt/mobileorg-android/issues

 It has not been fixed yet

 http://matburt.net


 On Wed, Dec 8, 2010 at 7:43 PM, C64 Whiz c64w...@gmail.com wrote:

 Hello,

 My Droid1 just got updated with Android v2.2.1 (FRG83D) and thought I'd
 give WebDav sync'ing over SSL another try.  This time the error I get is
 File https://index.org was not found.  Which is weird in itself
 as my web browser finds it fine.

 Next, I was informed of an upgrade for MobileOrg 0.4.8 so I upgraded.
 Went into MobileOrg and got a Java null pointer exception...multiple
 times...in a row.  When I finally closed the error dialogs, my org data
 was gone.

 Next, I uninstalled the app and re-installed fresh.  Attempted a WebDav
 SSL Sync and got the same file https:. was not found error.  However,
 when I quit and go back into the application there was no more Java null
 pointer exception.

 Next, I reset my sync settings to the files on my SDCard and my data came
 back (though there were still parsing errors).

 So, it seems SSL syncing still isn't working but I'm not sure if its
 MobileOrg or still Android.  Anyone have other/similar experiences?

 --C64Whiz


 P.S. FWIW, I tried downloading a file from my SSL server (unknown SSL Cert
 signer) and downloading *still* doesn't work.  So above is probably just
 still an Android issue.

 ___
 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



___
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


[Orgmode] Re: MobileOrg Android 0.4.5

2010-12-09 Thread Gour
On Fri, 10 Dec 2010 02:11:15 -0500wrote:

Matthew No problem, I enjoy the project immensely.   Regarding
Matthew Swype... I personally can't stand it, I think it would be
Matthew better if there were some visual indication of what letter I
Matthew was hovering over 

I believe I belong to your camp...especially considering there is no
support for Swype...that's why I'll wait for Galaxy 551...

Matthew 
Matthew I have an original Droid which is an


Not available here. :-)

Anyway, availability of MobileOrg is strong 'pro' to buy Android phone
and not wait for Meego device. ;)


Sincerely,
Gour
-- 

Gour  | Hlapicina, Croatia  | GPG key: CDBF17CA


-- 

Gour  | Hlapicina, Croatia  | GPG key: CDBF17CA



signature.asc
Description: PGP signature
___
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


[Orgmode] Re: Example for beamer export with blocks and twocolumn

2010-12-09 Thread Loris Bennett
suvayu ali fatkasuvayu+li...@gmail.com writes:

 Hi Loris,

 On Thu, Dec 9, 2010 at 3:55 PM, Loris Bennett
 loris.benn...@fu-berlin.de wrote:
 Hi,

 Is there a complete example of getting blocks and two-columns to work
 with beamer export? The corresponding code is not being generated in the
 latex file. I assume there is something wrong with my
 org-export-latex-classes. I'm using Org-mode 7.3 with Emacs 23.1.1.


 This is an example from a resent presentation I gave. This shows up as
 a plot on the left column and 2 equations related to the plot on the
 right column.


 #+BEAMER_FRAME_LEVEL: 3

 .

 * Some Section
 ** Some Subsection
 *** \subsecname \\ some description
  Columns:B_columns:
  :PROPERTIES:
  :BEAMER_env: columns
  :END:

 * 0.4:B_column:
   :PROPERTIES:
   :BEAMER_env: column
   :END:
   #+ATTR_LaTeX: width=4.5cm,height=6cm,angle=0
   [[file:~/org/path/to/image1.png]]

 * 0.5:B_column:
   :PROPERTIES:
   :BEAMER_env: column
   :END:
 ** Smearing function  :B_ignoreheading:
:PROPERTIES:
:BEAMER_env: ignoreheading
:END:
$$\Bigg\} E_{\parallel} \rightarrow T_1 \times E_{\parallel} +
T_2 \times \mathcal{G}$$ \vspace{6 mm}

$$\Bigg\}E_{\perp} \rightarrow T_3 \times E_{\perp} + T_4
\times \mathcal{G}$$ \vspace{6 mm}


 Loris

 Hope this helps.

Thanks for the reply. However, I my problem is not with the main
presentation part of the org file.

What I would really like to see is

1. the preamble to the presentation where the MACROs LaTeX_CLASS options
etc. are given

2. The value org-export-latex-classes

I have found various examples, but when I put it together, structures
such as blocks and two-column just are not exported to the LaTeX file.

Could some one provide me with a *complete* example?

Thanks

Loris

-- 
Dr. Loris Bennett
ZEDAT Computer Centre
Freie Universität Berlin
Berlin, Germany


___
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