Re: [O] Schedule event

2011-08-07 Thread Sebastien Vauban
Hi Suvayu,

suvayu ali wrote:
 On Sat, Aug 6, 2011 at 8:59 PM, Sebastien Vauban wrote:
 suvayu ali wrote:
 On Sat, Aug 6, 2011 at 5:00 PM, Sebastien Vauban wrote:
 Another idea would be to introduce another keyword like APPT an place
 these time stamps also into the second line. That might be more easy to
 implement.

 FWIW, my instinctive reaction would be: yes, great!  Maybe that clarifies
 the bits around dates: all active dates get keywords, only inactive ones
 are without any keyword.

 Yes, this would be a nice addition. I always find it difficult to decide
 how to put regular timestamps too.

 By regular timestamps, you mean: inactive timestamps? Can you, maybe,
 comment on what makes the decision difficult?

 I meant active timestamps. I'll give you an example of a dilemma.

 * Timestamp in headline 2011-08-06 Sat
   For long headlines, this becomes really ugly.

I never used that form, in fact, because I don't like information to be placed
at different columns over the different headlines.

 * Timestamp below headline
   2011-08-06 Sat

   Problem with this is, I can't use fill paragraph otherwise it gets
   wrapped with the timestamp. The solution is to have a blank line in
   between.

Nor can't you do it with the first version, right?

And the problem will stay, even if we have events keyword'ed with APPT or
EVENT, do you agree?

I never use `M-q' on headlines, as I know they have to stay on one line,
whichever their length... A solution to this could be to make an Org-aware
version of `M-q' that would not try to refill Org headlines.

 As you see, my reasons are mostly about personal preference and
 aesthetics.

OK.

Best regards,
  Seb

-- 
Sebastien Vauban




Re: [O] Schedule event

2011-08-07 Thread Sebastien Vauban
Hi Jason,

Jason Dunsmore wrote:
 Sebastien Vauban wxhgmqzgw...@spammotel.com writes:
 suvayu ali wrote:
 Yes, this would be a nice addition. I always find it difficult to decide
 how to put regular timestamps too.

 By regular timestamps, you mean: inactive timestamps?

 I think he means active timestamps with no keyword. The Org FAQ and manual
 refer to active timestamps with no keyword as plain timestamps.

 Can you, maybe, comment on what makes the decision difficult?

 At least for me, in my early Org days, I wasn't sure of the best formatting
 convention for plain timestamps. I settled on putting them on the line
 directly after the header with the proper indentation, since this is how
 SCHEDULED items were inserted.

OK. I thought the difficult decision was about the type of timestamps:
SCHEDULED, not SCHEDULED but active, or inactive.

Now, I understand he meant about the positioning of the timestamp itself.
Thanks for clarifying this.

Best regards,
  Seb

-- 
Sebastien Vauban




Re: [O] org-babel-pop-to-session

2011-08-07 Thread suvayu ali
Hi Vikas,

On Sun, Aug 7, 2011 at 2:49 AM, Vikas Rawal
vikasli...@agrarianresearch.org wrote:

 http://orgmode.org/manual/Header-arguments-in-Org_002dmode-properties.html#Header-arguments-in-Org_002dmode-properties

 Is that wrong?


Actually I didn't know this was possible! There is always the
possibility of a lingering bug. So it would be great if you could
definitively confirm whether it works or doesn't work.

 In any case, I will try using #+BABEL

 Thanks,

 Vikas


GL

-- 
Suvayu

Open source is the future. It sets us free.



Re: [O] Unicode and Latex export

2011-08-07 Thread Christopher Witte

On Sun 07 Aug 2011 01:25:32 AM CEST, suvayu ali wrote:

So my question is, is there a convenient way to translate the unicode
characters into their corresponding latex commands for latex export
and keep the unicode characters as is in the org file or for html
export?


You could try using XeLaTeX, which supports unicode.  Instructions for 
setting it up with org-mode are here

http://orgmode.org/worg/org-faq.html#using-xelatex-for-pdf-export

Chris.

--
Dr Christopher Witte
Postdoctoral Research Fellow
Molecular Imaging Group
Leibniz-Institut für Molekulare Pharmakologie (FMP)
Campus Berlin-Buch
Robert-Roessle-Str. 10
13125 Berlin, Germany
Phone: 00493094793-279



[O] Exporting images in included Org file (bug)

2011-08-07 Thread John Tait
A while ago I reported images not being included exports from Org
files that have #+INCLUDEd Org files. I think the images are being
searched from relative path of the top Org file, and not respecting
the different path of the included Org files.

Described by me here:

http://lists.gnu.org/archive/html/emacs-orgmode/2011-04/msg00265.html

and reproduced by Robert Goldman here:

http://lists.gnu.org/archive/html/emacs-orgmode/2011-05/msg00025.html

I've checked the 7.7 bug fixes but it hasn't been mentioned. Can I
please report it again in case it's slipped off the radar?

Thanks

John



Re: [O] Unicode and Latex export

2011-08-07 Thread suvayu ali
Hello Christopher,

On Sun, Aug 7, 2011 at 12:01 PM, Christopher Witte ch...@witte.net.au wrote:
 You could try using XeLaTeX, which supports unicode.  Instructions for
 setting it up with org-mode are here
 http://orgmode.org/worg/org-faq.html#using-xelatex-for-pdf-export


My lisp is not very good, but what is the need for such an extensive
setup? Isn't setting org-latex-to-pdf-process to xelatex enough to
switch packends?

In any case, I tried evaluating the provided code in a scratch buffer
and processing to pdf (C-c C-e p). But it keeps failing. From the error
it seems org is still trying latex instead of xelatex and no pdf is
produced. Do you have any ideas about what could I doing wrong?

Error:

Latexmk: Run number 1 of rule 'latex'
Latexmk: Running 'latex   -interaction=batchmode
/home/jallad/org/analysis.tex'
This is pdfTeX, Version 3.1415926-1.40.11 (TeX Live 2010)
 restricted \write18 enabled.
entering extended mode
Latexmk: References changed.
Latexmk: References changed.
Latexmk: References changed.
Collected error summary (may duplicate other messages):
  latex: Command for 'latex' gave return code 256
Latexmk: Use the -f option to force complete processing.


 Chris.

Thanks a lot for your response.

-- 
Suvayu

Open source is the future. It sets us free.



[O] Beamer latex export of included partial files

2011-08-07 Thread LanX
Hi

I'm working on a fairly large beamer presentation and the turn-around times
from edit till pdf-view are fairly long.

Are there any recommended ways to shorten that?

I tried to split my org-file at the top level into a master and several
others which are inserted at export-time via #+include

The idea is that I can work on single chapters and speed up processing time.

Unfortunately all beamer settings of the master get lost when I export one
of the lower level files.

Including the settings for each chapter from an individual file doesn't
work.

Is there a recommended way to do this?

Cheers
 Rolf


Re: [O] Unicode and Latex export

2011-08-07 Thread Florian Beck
suvayu ali fatkasuvayu+li...@gmail.com writes:

 Hello Christopher,

 On Sun, Aug 7, 2011 at 12:01 PM, Christopher Witte ch...@witte.net.au wrote:
 You could try using XeLaTeX, which supports unicode.  Instructions for
 setting it up with org-mode are here
 http://orgmode.org/worg/org-faq.html#using-xelatex-for-pdf-export


 My lisp is not very good, but what is the need for such an extensive
 setup? Isn't setting org-latex-to-pdf-process to xelatex enough to
 switch packends?

It is, more or less. XeLaTeX needs a different header, that is what the
instructions set up. However, I would recommend keeping it simple and
put your packages etc in your own style file.

In `org-export-latex-classes', replace

 \\documentclass[11pt]{article}

with

 [NO-DEFAULT-PACKAGES]
 \\documentclass[11pt]{article}\n\\usepackage{myxe}

and put everything you need in myxe.sty.

BTW, this only works if you use a font that provides all the characters
you need (and looks nice enough for your taste). Alternatively, you could
use `org-export-latex-final-hook' and write a function that translates
unicode characters to latex code.

-- 
Florian Beck



Re: [O] Unicode and Latex export

2011-08-07 Thread Christopher Witte

On 08/07/2011 02:15 PM, suvayu ali wrote:

Hello Christopher,

On Sun, Aug 7, 2011 at 12:01 PM, Christopher Wittech...@witte.net.au  wrote:

You could try using XeLaTeX, which supports unicode.  Instructions for
setting it up with org-mode are here
http://orgmode.org/worg/org-faq.html#using-xelatex-for-pdf-export


My lisp is not very good, but what is the need for such an extensive
setup? Isn't setting org-latex-to-pdf-process to xelatex enough to
switch packends?

In any case, I tried evaluating the provided code in a scratch buffer
and processing to pdf (C-c C-e p). But it keeps failing. From the error
it seems org is still trying latex instead of xelatex and no pdf is
produced. Do you have any ideas about what could I doing wrong?

Error:

Latexmk: Run number 1 of rule 'latex'
Latexmk: Running 'latex   -interaction=batchmode
/home/jallad/org/analysis.tex'
This is pdfTeX, Version 3.1415926-1.40.11 (TeX Live 2010)
  restricted \write18 enabled.
entering extended mode
Latexmk: References changed.
Latexmk: References changed.
Latexmk: References changed.
Collected error summary (may duplicate other messages):
   latex: Command for 'latex' gave return code 256
Latexmk: Use the -f option to force complete processing.



Chris.

Thanks a lot for your response.


Did you remember to set the variable

#+LATEX_CMD: xelatex

at the top of the org file?


Chris.



Re: [O] Beamer latex export of included partial files

2011-08-07 Thread Rasmus
LanX lanx.p...@googlemail.com writes:

 Is there a recommended way to do this?

From the beamer manual: 

┏━━━┫ 4.3.3 Ways of Improving Compilation Speed ┃
┃ While working on your presentation, it may sometimes be useful to TeX
┃ your .tex file quickly and have the presentation contain only the most
┃ important information. This is especially true if you have a slow
┃ machine.  In this case, you can do several things to speed up the
┃ compilation. First, you can use the draft class option.
┃ 
┃ #+begin_src latex
┃ \documentclass[draft]{beamer}
┃ #+end_src
┃ 
┃ Causes the headlines, footlines, and sidebars to be replaced by gray
┃ rectangles (their sizes are still computed, though). Many other
┃ packages, including pgf and hyperref, also “speed up” when this option
┃ is given.  
┃
┃ Second, you can use the following command:
┃ #+begin_src latex
┃ \includeonlyframes{⟨frame label list⟩}
┃ #+end_src
┃ 
┃ This command behaves a little bit like the \includeonly command: Only
┃ the frames mentioned in the list are included. All other frames are
┃ suppressed. Nevertheless, the section and subsection commands are still
┃ executed, so that you still have the correct navigation bars. By
┃ labeling the current frame as, say, current and then saying
┃ \includeonlyframes{current}, you can work on a single frame quickly.
┃ 
┃ The ⟨frame label list⟩ is a comma-separated list (without spaces) of the
┃ names of frames that have been labeled. To label a frame, you must pass
┃ the option label=⟨name⟩ to the \frame command or frame environment.
┃ 
┃ Example:
┃ #+begin_src latex
┃ \includeonlyframes{example1,example3}
┃ \frame[label=example1]
┃ {This frame will be included. }
┃ \frame[label=example2]
┃ {This frame will not be included. }
┃ \frame{This frame will not be included.}
┃ \againframe{example1} % Will be included
┃ #+end_latex
┗━━━

-- 
Sent from my Emacs




Re: [O] Unicode and Latex export

2011-08-07 Thread suvayu ali
Hello Chris,

On Sun, Aug 7, 2011 at 6:36 PM, Christopher Witte ch...@witte.net.au wrote:
 Did you remember to set the variable

 #+LATEX_CMD: xelatex

 at the top of the org file?


I forgot to do that. However correcting my error doesn't help either.
I get a message like this in the output buffer:

Latexmk: Run number 1 of rule 'pdflatex'
Latexmk: Running 'xelatex   -interaction=batchmode
/home/jallad/tmp/analysis.tex'
This is XeTeX, Version 3.1415926-2.2-0.9997.4 (TeX Live 2010)
 restricted \write18 enabled.
entering extended mode
Latexmk: References changed.
Latexmk: References changed.
Collected error summary (may duplicate other messages):
  pdflatex: Command for 'pdflatex' gave return code 256
Latexmk: Use the -f option to force complete processing.


However this time a PDF is produced but with the unicode fonts missing
(as was happening with pdflatex).


 Chris.



-- 
Suvayu

Open source is the future. It sets us free.



Re: [O] Unicode and Latex export

2011-08-07 Thread suvayu ali
Hi Florian,

On Sun, Aug 7, 2011 at 6:33 PM, Florian Beck abstrakt...@t-online.de wrote:
 My lisp is not very good, but what is the need for such an extensive
 setup? Isn't setting org-latex-to-pdf-process to xelatex enough to
 switch packends?

 It is, more or less. XeLaTeX needs a different header, that is what the
 instructions set up. However, I would recommend keeping it simple and
 put your packages etc in your own style file.

 In `org-export-latex-classes', replace

         \\documentclass[11pt]{article}

 with

         [NO-DEFAULT-PACKAGES]
         \\documentclass[11pt]{article}\n\\usepackage{myxe}

 and put everything you need in myxe.sty.


That is a good solution. I think I will consider this.

 BTW, this only works if you use a font that provides all the characters
 you need (and looks nice enough for your taste).

I don't usually customise my fonts and go with the default latex
fonts. Do you have any suggestions what fonts that would be
appropriate here? I tried using XITS, but that didn't help.

 Alternatively, you could
 use `org-export-latex-final-hook' and write a function that translates
 unicode characters to latex code.


I have considered this, but as I mentioned I am not well versed in
lisp. Going this route might be more fun, but not good for work. ;)

Thanks,

-- 
Suvayu

Open source is the future. It sets us free.



[O] Merge org-7.7 into emacs

2011-08-07 Thread Memnon Anon
Hi,

Just a heads up: 

   http://permalink.gmane.org/gmane.emacs.devel/142944

I don't know anything about this, but maybe something can be said/done
about it while Bastien enjoys his vacation?

Memnon




Re: [O] Unicode and Latex export

2011-08-07 Thread Florian Beck
suvayu ali fatkasuvayu+li...@gmail.com writes:

 On Sun, Aug 7, 2011 at 6:50 PM, suvayu ali fatkasuvayu+li...@gmail.com 
 wrote:
 BTW, this only works if you use a font that provides all the characters
 you need (and looks nice enough for your taste).

 I don't usually customise my fonts and go with the default latex
 fonts. Do you have any suggestions what fonts that would be
 appropriate here? I tried using XITS, but that didn't help.

 I should clarify, when I say didn't work I mean xelatex couldn't find
 the fonts although I have them installed.

Not sure. XeTeX uses the fonts you have installed on your system, not
those for TeX. Everything in M-: (font-family-list) should work.

Maybe one of the DejaVu fonts? Generally, though, universal fonts aren't the
best choice.

Here is what I do. Create a custom link style for export with XeLaTeX:

(org-add-link-type uc 'ignore 'org-unicode-export)

(defun org-unicode-export (path desc format)
  Export unicode characters.
  (cond
   ((eql format 'html) (format %s desc))
   ((eql format 'latex)
(format {\\fontspec[Scale=MatchLowercase]{%s}%s}
path desc))
   (t desc)))

And write [[uc:Code2000][⫳]] to use Code2000 as a font.

I use it mostly for greek words, e.g.
[[uc:Alexander][φύσις κρύπτεσθαι φιλεῖ]]

But if you mostly have single characters it might be too much of a hassle.

-- 
Florian Beck



Re: [O] Unicode and Latex export

2011-08-07 Thread suvayu ali
On Sun, Aug 7, 2011 at 8:07 PM, Florian Beck abstrakt...@t-online.de wrote:
 But if you mostly have single characters it might be too much of a hassle.

It does indeed sound like too much hassle for my use case. I only use it
for scientific note taking. For example I would write something like
this:


CP channel: Bs⁰ - Ds⁻ K⁺ / Ds⁺ K⁻ (interference b/w decay modes of
Bs⁰ or anti-Bs⁰)


I think I'll try to find an alternate solution. Maybe I'll end up
writing that unicode to latex translation function in elisp.

Thanks a lot for the pointers though.

-- 
Suvayu

Open source is the future. It sets us free.



Re: [O] Merge org-7.7 into emacs

2011-08-07 Thread suvayu ali
Hi,

On Sun, Aug 7, 2011 at 7:54 PM, Memnon Anon
gegendosenflei...@googlemail.com wrote:
 Hi,

 Just a heads up:

       http://permalink.gmane.org/gmane.emacs.devel/142944

 I don't know anything about this, but maybe something can be said/done
 about it while Bastien enjoys his vacation?


I see my name in there. I only submitted a small (touching less than 20
lines) documentation patch[1]. Would I still need to sign the copyright
assignment? If so, how do I initiate the process?

 Memnon


Footnotes:

[1] commit 71d871f96e3e916a9542daeb6d3b102a77d9b068
Author: Suvayu Ali fatkasuvayu+li...@gmail.com
Date:   Mon Jul 4 15:03:06 2011 +0200

Improve Images in LaTeX export documentation

* Mention use of keywords like multicolumn and float
* Remove previous mention of hack with placement option
  as per comments on the mailing list. The hack is
  better suited for Worg.

 doc/org.texi |   34 --
 1 files changed, 16 insertions(+), 18 deletions(-)



-- 
Suvayu

Open source is the future. It sets us free.



Re: [O] Unicode and Latex export

2011-08-07 Thread Florian Beck
suvayu ali fatkasuvayu+li...@gmail.com writes:

 On Sun, Aug 7, 2011 at 8:07 PM, Florian Beck abstrakt...@t-online.de wrote:
 But if you mostly have single characters it might be too much of a hassle.

 It does indeed sound like too much hassle for my use case. I only use it
 for scientific note taking. For example I would write something like
 this:


 CP channel: Bs⁰ - Ds⁻ K⁺ / Ds⁺ K⁻ (interference b/w decay modes of
 Bs⁰ or anti-Bs⁰)

In this case, XeLaTeX with

\setmainfont{DejaVu Serif}

in the preamble seems to give reasonable results.


 I think I'll try to find an alternate solution. Maybe I'll end up
 writing that unicode to latex translation function in elisp.

I did something like that for muse-mode. IIRC the main problem was that
the translation has to be context sensitive (ie math mode vs. text
mode). Let me know if you are interested, maybe I can dig something out.


 Thanks a lot for the pointers though.

-- 
Florian Beck



Re: [O] Unicode and Latex export

2011-08-07 Thread suvayu ali
Hi Florian,

On Sun, Aug 7, 2011 at 8:41 PM, Florian Beck abstrakt...@t-online.de wrote:

 CP channel: Bs⁰ - Ds⁻ K⁺ / Ds⁺ K⁻ (interference b/w decay modes of
 Bs⁰ or anti-Bs⁰)

 In this case, XeLaTeX with

 \setmainfont{DejaVu Serif}

 in the preamble seems to give reasonable results.


Indeed! The output is exactly what I was hoping to achieve.


 I think I'll try to find an alternate solution. Maybe I'll end up
 writing that unicode to latex translation function in elisp.

 I did something like that for muse-mode. IIRC the main problem was that
 the translation has to be context sensitive (ie math mode vs. text
 mode). Let me know if you are interested, maybe I can dig something out.

Since the above resolves my issue very well, that will not be necessary.
Probably I'll take it up when I have more free time. Thanks a lot to
both you and Chris for your help, appreciate it a lot. :)


 --
 Florian Beck

Cheers,

-- 
Suvayu

Open source is the future. It sets us free.



[O] Org: HTML export breaks when you have %20 in the URL:

2011-08-07 Thread T. V. Raman
Org export to html when exporting image links fails --- if you
have %20 (url-encoded space) in the URL.

The anchor around the img link gets broken.

Here is an example:
#+ATTR_HTML:alt=Waiting to leave for White Plains align=center  
height=384
[[http://lh5.ggpht.com/-LC4N-cVAb8o/TjrW8pgkcXI/Cws/F0fdPijBcRE/TVJA%2520015.jpg]]


If you translate the above to html through org export you get
this broken markup:
p
[[http://lh5.ggpht.com/-LC4N-cVAb8o/TjrW8pgkcXI/Cws/F0fdPijBcimg 
src=http://lh5.ggpht.com/-LC4N-cVAb8o/TjrW8pgkcXI/Cws/F0fdPijBcRE/TVJA 
015.jpg alt=Waiting to leave for White Plains align=center  height=384 
/TVJA%2520015.jpg][http://lh5.ggpht.com/-LC4N-cVAb8o/TjrW8pgkcXI/Cws/F0fdPijBcRE/TVJA%2520015.jpg]]
/p

Note that we didn't get a well-formed a href=./a
wrapping the image url.

-- 
Best Regards,
--raman



[O] Bug: Column view in the agenda does not clean up ITEM [7.7]

2011-08-07 Thread Christian Schmidt



 Hi,

 I have got an issue with the column view in the agenda. In version
7.5 I could clean up the column ITEM by setting the variable
org-agenda-columns-remove-prefix-from-item.

As far as I understood, this variable is depricated since version 7.6
and the functionality is somehow replaced by the function
org-columns-cleanup-item in the file org-colview.el.

Unfortunately this does not work in the agenda view.


I would like to give a minimal example:

* NEXTACTION [#B] Test:Tag:
  SCHEDULED: 2011-08-07 So


Directly using column view in this buffer via CTRL-c CTRL-x CTRL-c
yields to:

NEXTACTION | B | * Test :Tag: | :Tag: | | | 2011-08-07 So |


Like expexted the word NEXTACTION and the priority B are cleaned
up from the column ITEM. This is the desired behaviour.


When using the agenda view with CTRL-c CTRL-a L on this buffer we
get in a seperate buffer:

Sunday  7 August 2011
  Scheduled:  NEXTACTION [#B] Test :Tag:


Now I use column view on this agenda via CTRL-c CTRL-x CTRL-c and
end up with in the seperate buffer:

NEXTACTION | B | NEXTACTION [#B] Test :Tag: | :Tag: | | | 2011-08-07 So |


Thus we still have the unwanted NEXTACTION [#B] in the ITEM-column.


I would really appreciate your help, because this behaviour inhibits
me from using versions 7.6 and later.

Thanks in advance!

Please find below my org-mode configuration.

Best,
Christian





Emacs  : GNU Emacs 23.3.1 (i386-mingw-nt6.1.7600)
 of 2011-03-10 on 3249CTO
Package: Org-mode version 7.7

current state:
==
(setq
 org-export-latex-after-initial-vars-hook
 '(org-beamer-after-initial-vars)
 org-speed-command-hook '(org-speed-command-default-hook
 org-babel-speed-command-hook)
 org-metaup-hook '(org-babel-load-in-session-maybe)
 org-after-todo-state-change-hook '(org-clock-out-if-current)
 org-export-blocks-postblock-hook '(org-exp-res/src-name-cleanup)
 org-export-latex-format-toc-function
 'org-export-latex-format-toc-default
 org-tab-first-hook '(org-hide-block-toggle-maybe
 org-src-native-tab-command-maybe org-babel-hide-result-toggle-maybe)
 org-src-mode-hook '(org-src-babel-configure-edit-buffer
 org-src-mode-configure-edit-buffer)
 org-confirm-shell-link-function 'yes-or-no-p
 org-export-first-hook '(org-beamer-initialize-open-trackers)
 org-todo-keywords '(NEXTACTION WAITING MAYBE DONE)
 org-agenda-before-write-hook '(org-agenda-add-entry-text)
 org-babel-pre-tangle-hook '(save-buffer)
 org-cycle-hook '(org-cycle-hide-archived-subtrees
 org-cycle-hide-drawers org-cycle-show-empty-lines
 org-optimize-window-after-visibility-change)
 org-export-preprocess-before-normalizing-links-hook
 '(org-remove-file-link-modifiers)
 org-mode-hook '((lambda nil (org-add-hook (quote
 change-major-mode-hook) (quote org-show-block-all) (quote append)
 (quote local)))
 (lambda nil (org-add-hook (quote change-major-mode-hook)
 (quote org-babel-show-result-all) (quote append) (quote
 local)))
 org-babel-result-hide-spec org-babel-hide-all-hashes)
 org-ctrl-c-ctrl-c-hook '(org-babel-hash-at-point
 org-babel-execute-safely-maybe)
 org-confirm-elisp-link-function 'yes-or-no-p
 org-export-interblocks '((lob org-babel-exp-lob-one-liners) (src
 org-babel-exp-inline-src-blocks))
 org-clock-out-hook '(org-clock-remove-empty-clock-drawer)
 org-occur-hook '(org-first-headline-recenter)
 org-from-is-user-regexp nil
 org-export-preprocess-before-selecting-backend-code-hook
 '(org-beamer-select-beamer-code)
 org-columns-default-format %TODO %PRIORITY %50ITEM %ALLTAGS
 %6Effort{:} %DEADLINE %SCHEDULED
 org-export-latex-final-hook '(org-beamer-amend-header
 org-beamer-fix-toc org-beamer-auto-fragile-frames
 org-beamer-place-default-actions-for-lists)
 org-metadown-hook '(org-babel-pop-to-session-maybe)
 org-export-blocks '((src org-babel-exp-src-block nil) (comment
 org-export-blocks-format-comment t) (ditaa
 org-export-blocks-format-ditaa nil)
 (dot org-export-blocks-format-dot
 nil))
 )




Re: [O] Merge org-7.7 into emacs

2011-08-07 Thread Ethan Ligon
Memnon Anon gegendosenfleisch at googlemail.com writes:
 
 Hi,
 
 Just a heads up: 
 
http://permalink.gmane.org/gmane.emacs.devel/142944
 
 I don't know anything about this, but maybe something can be said/done
 about it while Bastien enjoys his vacation?
 

I'm afraid I'm mentioned twice.  The first has to do with copyright
assignment; I've begun the process described in org-contribute.org
to assign copyright to the FSF.

The second has to do with an incomplete ChangeLog entry for one of my
patches (commit 49e6bc899758114d6d29e69a8f9e40798d26782b).  I don't
know the best to clean this up, since the ChangeLog is derived from
the git log.  But here's a ChangeLog entry that I think would have been
valid:

commit 49e6bc899758114d6d29e69a8f9e40798d26782b
Author: Ethan Ligon li...@are.berkeley.edu
Date:   Sat Apr 9 18:39:35 2011 +0200

Fix for html  docbook export of description list items

* lisp/org-html.el (org-html-export-list-line): Fix regexp for
  detecting description lists to allow :: marker to be last
  visible element at end of line.
* lisp/org-docbook.el (org-docbook-export-list-line): Fix regexp for
  detecting description lists to allow :: marker to be last
  visible element at end of line.

The problem is illustrated by the following example:

* Illustration of bug in html export
  - This has a space after the colons :: so will work in latex and html
  - This doesn't have a space after the colons ::so is an invalid
description item according to the org manual.  Won't work in html
or docbook.  Will nevertheless work in latex, provided /first/
description item is valid.
  - Has a terminating space ::
- So it works in both html and latex export!
- Even though it's difficult to distinguish from the next example.
  - Lacks a terminating space ::
- At present, *doesn't* work in html or docbook export, does in
  latex.  This is the case that the following patch fixes.

-Ethan








Re: [O] Schedule event

2011-08-07 Thread Jason Dunsmore
Carsten Dominik domi...@uva.nl writes:

 Why do you want this special interface for setting an event date.
 How is that better than `C-c .'?  Is it that you don't need to
 position the cursor?

Yes, that was my original reason.  But your suggestion of adding a
special keyword for events is another good reason.  Also, as recently
discussed, consistent formatting conventions and clarifying the
frequently-misunderstood issue of SCHEDULED vs. no-keyword active
timestamps are good reasons.

Regards,
Jason



[O] problem with code blocks

2011-08-07 Thread LanX
Hi

hier a ECM which fails

---
#+LaTeX_CLASS: beamer
#+startup: beamer

* title

#+BEGIN_Example: perl
 grep { $_ -[0] }
  X{1,2,3} X{1,2,3} X{1,2,3};
#+END_Example:
---

originally I tried Begin_src but I wanted to be sure that it has not to do
with highlighting.

I get the message if: Wrong type argument: stringp, nil

But deleting the [0] solves the problem

-
#+BEGIN_Example: perl
 grep { $_ - }
  X{1,2,3} X{1,2,3} X{1,2,3};
#+END_Example:
---

Does org try to find footnotes in code blocks?

Any help appreciated!!!

Cheers
 Rolf


Re: [O] Beamer latex export of included partial files

2011-08-07 Thread LanX
Thanks I will try it out.

2011/8/7 Rasmus ras...@gmx.us

 LanX lanx.p...@googlemail.com writes:

  Is there a recommended way to do this?

 From the beamer manual:

 ┏━━━┫ 4.3.3 Ways of Improving Compilation Speed ┃
 ┃ While working on your presentation, it may sometimes be useful to TeX
 ┃ your .tex file quickly and have the presentation contain only the most
 ┃ important information. This is especially true if you have a slow
 ┃ machine.  In this case, you can do several things to speed up the
 ┃ compilation. First, you can use the draft class option.
 ┃
 ┃ #+begin_src latex
 ┃ \documentclass[draft]{beamer}
 ┃ #+end_src
 ┃
 ┃ Causes the headlines, footlines, and sidebars to be replaced by gray
 ┃ rectangles (their sizes are still computed, though). Many other
 ┃ packages, including pgf and hyperref, also “speed up” when this option
 ┃ is given.
 ┃
 ┃ Second, you can use the following command:
 ┃ #+begin_src latex
 ┃ \includeonlyframes{⟨frame label list⟩}
 ┃ #+end_src
 ┃
 ┃ This command behaves a little bit like the \includeonly command: Only
 ┃ the frames mentioned in the list are included. All other frames are
 ┃ suppressed. Nevertheless, the section and subsection commands are still
 ┃ executed, so that you still have the correct navigation bars. By
 ┃ labeling the current frame as, say, current and then saying
 ┃ \includeonlyframes{current}, you can work on a single frame quickly.
 ┃
 ┃ The ⟨frame label list⟩ is a comma-separated list (without spaces) of the
 ┃ names of frames that have been labeled. To label a frame, you must pass
 ┃ the option label=⟨name⟩ to the \frame command or frame environment.
 ┃
 ┃ Example:
 ┃ #+begin_src latex
 ┃ \includeonlyframes{example1,example3}
 ┃ \frame[label=example1]
 ┃ {This frame will be included. }
 ┃ \frame[label=example2]
 ┃ {This frame will not be included. }
 ┃ \frame{This frame will not be included.}
 ┃ \againframe{example1} % Will be included
 ┃ #+end_latex
 ┗━━━

 --
 Sent from my Emacs





Re: [O] problem with code blocks

2011-08-07 Thread LanX
Sorry forgot to mention that I tried to export it to pdf or latex!

2011/8/8 LanX lanx.p...@googlemail.com

 Hi

 hier a ECM which fails

 ---
 #+LaTeX_CLASS: beamer
 #+startup: beamer

 * title

 #+BEGIN_Example: perl
  grep { $_ -[0] }
   X{1,2,3} X{1,2,3} X{1,2,3};
 #+END_Example:
 ---

 originally I tried Begin_src but I wanted to be sure that it has not to do
 with highlighting.

 I get the message if: Wrong type argument: stringp, nil

 But deleting the [0] solves the problem

 -
 #+BEGIN_Example: perl
  grep { $_ - }
   X{1,2,3} X{1,2,3} X{1,2,3};
 #+END_Example:
 ---

 Does org try to find footnotes in code blocks?

 Any help appreciated!!!

 Cheers
  Rolf



Re: [O] problem with code blocks

2011-08-07 Thread Thomas S. Dye
LanX lanx.p...@googlemail.com writes:

 Hi

 hier a ECM which fails

 ---
 #+LaTeX_CLASS: beamer
 #+startup: beamer

 * title

 #+BEGIN_Example: perl
  grep { $_ -[0] }
   X{1,2,3} X{1,2,3} X{1,2,3};
 #+END_Example:
 ---

 originally I tried Begin_src but I wanted to be sure that it has not to do
 with highlighting.

 I get the message if: Wrong type argument: stringp, nil

 But deleting the [0] solves the problem

 -
 #+BEGIN_Example: perl
  grep { $_ - }
   X{1,2,3} X{1,2,3} X{1,2,3};
 #+END_Example:
 ---

 Does org try to find footnotes in code blocks?

 Any help appreciated!!!

 Cheers
  Rolf
Aloha Rolf,

Try removing the colons after Example.  The following exports fine here:

* Lanx
#+LaTeX_CLASS: beamer
#+startup: beamer

** title

#+BEGIN_Example perl
 grep { $_ -[0] }
 X{1,2,3} X{1,2,3} X{1,2,3};
#+END_Example

hth,
Tom

 Hihier a ECM which fails---#+LaTeX_CLASS: 
 beamer#+startup: beamer* title#+BEGIN_Example: perl grep { $_ -[0] }   
 X{1,2,3} X{1,2,3} X{1,2,3};#+END_Example:
 ---originally I tried Begin_src but I wanted to be 
 sure that it has not to do with highlighting.I get the message if: Wrong 
 type argument: stringp, nilBut deleting the [0] solves the problem
 -#+BEGIN_Example: perl
  grep { $_ - } 
   X{1,2,3} X{1,2,3} X{1,2,3};
 #+END_Example:
 ---
 Does org try to find footnotes in code blocks?Any help 
 appreciated!!!Cheers Rolf

-- 
Thomas S. Dye
http://www.tsdye.com



[O] What's the license for worg.css?

2011-08-07 Thread Jeff Dik
Hi,

What's the license for worg.css?  I would like to use it at the
company I work for if that's allowed.

Thanks,
Jeff



Re: [O] ebib configuration for org-bibtex

2011-08-07 Thread Thomas S. Dye
Eric Schulte schulte.e...@gmail.com writes:

 t...@tsdye.com (Thomas S. Dye) writes:

 Aloha all,

 I'm trying, partially successfully, to configure org-bibtex so it mimics
 some useful features of ebib.  In particular, I'm wanting to add several
 optional fields that ebib uses.


 I have this in .emacs:

 #+begin_src emacs-lisp :tangle yes
   (dolist (type org-bibtex-types)
 (push :url (cdr (assoc :optional (cdr type
 (push :annote (cdr (assoc :optional (cdr type
 (push :abstract (cdr (assoc :optional (cdr type
 (push :keywords (cdr (assoc :optional (cdr type
 (push :file (cdr (assoc :optional (cdr type
 )

   (push (cons :url A URL for the reference) org-bibtex-fields)
   (push (cons :annote Annotation is typically not exported) 
 org-bibtex-fields)
   (push (cons :abstract Abstract for annotated bibliography) 
 org-bibtex-fields)
   (push (cons :keywords Keywords for sorting with ebib) org-bibtex-fields)
   (push (cons :file A local file path used by ebib to open the
   reference in an appropriate application) org-bibtex-fields)
 #+end_src

 Most of it works fine, but the optional :file field doesn't respect its
 argument.  So, the following entry in the Org-mode file:


 Hi Tom,

 The :file property is treated in a special manner when Org-mode resolves
 properties (notice it is an element of the `org-special-properties'
 variable).  I've just pushed up a change which temporarily removes :file
 from this list while resolving bibtex entries.  This change should fix
 your reported problem -- please let me know if it doesn't.  If any other
 elements of `org-special-properties' seem likely to cause problems we
 can temporarily remove them as well.

 Best -- Eric

Hi Eric,

I think this fix is causing some mischief.  In the Org-mode file where
a :FILE: property is set to preza-thesis.pdf R source code blocks
misbehave, as follows:

#+source: land-sale-plot
#+begin_src R :var y=sales
  str(y)
#+end_src

#+results: land-sale-plot
[[file:preza-thesis.pdf]]

All the best,
Tom



 ** Active Documents with Org-mode
:PROPERTIES:
:TITLE:Active Documents with Org-mode
:TYPE: article
:AUTHOR:   Eric Schulte and Dan Davison
:JOURNAL:  Computing in Science and Engineering
:YEAR: 2011
:VOLUME:   13
:NUMBER:   3
:PAGES:2--9
:MONTH:May/June
:URL:  http://www.cs.unm.edu/~eschulte/data/CISE-13-3-SciProg.pdf
:FILE: Schulte-Davison-Babel.pdf
:CUSTOM_ID: schulte11:_activ_docum_org
:END:

 is exported with org-bibtex like this:

 @article{schulte11:_activ_docum_org,
   author =   {Eric Schulte and Dan Davison},
   title ={Active Documents with Org-mode},
   journal =  {Computing in Science and Engineering},
   year = 2011,
   file = {/Users/dk/Public/projects/916-rr/rr.org},
   url =
   {http://www.cs.unm.edu/~eschulte/data/CISE-13-3-SciProg.pdf},
   volume =   13,
   number =   3,
   pages ={2--9},
   month ={May/June}
 }

 Pressing f in ebib now just takes me back to the Org-mode file, rather
 than launching a pdf reader on my local copy of the article.

 Any ideas how I can achieve my goal?

 All the best,
 Tom

-- 
Thomas S. Dye
http://www.tsdye.com



Re: [O] Refiling list items

2011-08-07 Thread Jeff Horn
Would someone throw me a bone? I couldn't find anything on gmane, but
I my gmane-fu isn't the strongest. :D

On Sat, Aug 6, 2011 at 14:54, Jeff Horn jrhorn...@gmail.com wrote:
 Should org-refile be able to refile list items? I suspect it would be
 non-trivial to add this functionality if it isn't already there, but I
 feel a bit overwhelmed keeping notes as headlines, particularly
 because I like to leave soft wrapping off and have a hard wrap at 80
 columns.

 ,[ Sample Outline ]
 | * Headline 1
 | - List level 1
 |   - List level 2
 | * Headline 2
 | Some text.
 `

 If I attempt to refile the item - List level 1 to the second headline, I get

 ,[ Mangled Outline ]
 | * Headline 2
 | Some text.
 | ** Headline 1
 | - List level 1
 |   - List level 2
 `

 when the following is expected

 ,[ Expected Outline ]
 | * Headline 1
 | * Headline 2
 | - List level 1
 |  - List level 2
 |  Some text.
 `

 Where the list items appear before or after Some text. depending on
 refile variables.

 --
 Jeffrey Horn
 http://www.failuretorefrain.com/jeff/




-- 
Jeffrey Horn
http://www.failuretorefrain.com/jeff/