Re: [Orgmode] [bug] beamer export envargs for column not working properly

2010-11-21 Thread Carsten Dominik

Hi Eric,

could you make me a slightly more complete example, with your beamer  
setup?

So a full test file that will show this behavior?

Thanks.

- Carsten

On Nov 21, 2010, at 1:28 AM, Eric S Fraga wrote:


Hi,

I am trying to create a beamer slide which has two columns.  The  
second
column should only appear after a while (the 6th uncovering  
operation).

In latex, I would do:

: \begin{column}6-{0.4\textwidth}

say.  In org, I would expect to be able to get this latex code  
generated

by the following:

--8---cut here---start-8---
* column heading  :BMCOL:B_block:
 :PROPERTIES:
 :BEAMER_col: 0.4
 :BEAMER_envargs: c6-
 :BEAMER_extra:
 :BEAMER_env: block
 :END:
--8---cut here---end---8---

according to the info documentation (Beamer class export).

However, this does not work: the c6- is placed verbatim in
the \begin{block} that comes after the \begin{column}.  Furthermore,  
if

I ask for the heading to be ignored (instead of defining a block), the
envargs are lost completely!

Thanks,
eric

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

___
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: [PATCH: RESUBMITTED] Fix broken CUSTOM_ID links

2010-11-21 Thread Carsten Dominik

Applied, thanks!

- Carsten

On Nov 17, 2010, at 4:22 PM, Jambunathan K wrote:



Carsten


this looks good,  However, I would like you to make a change to the
patch more more clarity.

Could you please write

 (or preferred target)

instead of

 remove

as the ID to be inserted?  Even though these are the same, the first
version is a lot clearer.

With this change, I will accept the patch.


My bad ... Ignore my previous mail. I accidentally attached the older
version that was lurking in my work area.

Here is the newer version.

I have made the modifications requested by you. Reproducing the  
original

report for the sake of record.

Jambunathan K.



# Bug Description: Note the 'H:1' option. Search for 'broken' in the
# the below org file.

#+OPTIONS:   H:1

* Links
** Targets

*** Fuzzy Target

   One

   Two

   Three

   Four

   Five


*** Target with CUSTOMID
   :PROPERTIES:
   :CUSTOM_ID: aabbccddeeff
   :END:

   One

   Two

   Three

   Four

   Five


*** Dedicated Target
#   Dedicated Target

   One

   Two

   Three

   Four

   Five


*** Radioed Target

   One

   Two

   Three

   Four

   Five

** References

*** References to Fuzzy Target
   This is a link to [[Fuzzy Target]].

*** References to CUSTOMID links
   This link to  [[#aabbccddeeff][CUSTOMID Target]] is broken.

*** References to Dedicated Target
   There is a link to nodesc [[Dedicated Target]] here. There is a  
link

   to [[Dedicated%20Target][Jump to Dedicated Target]] here.

*** References to Radioed Links
   This section has references to Radioed Target. One more reference
   to Radioed Target.

Verification:

bash-3.2$ diff -pub customid-before.html customid-after.html
--- customid-before.html2010-11-17 20:36:20.140625000 +0530
+++ customid-after.html 2010-11-17 20:39:45.234375000 +0530
@@ -1,3 +1,4 @@
+
!DOCTYPE html PUBLIC -//W3C//DTD XHTML 1.0 Strict//EN
http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd;
html xmlns=http://www.w3.org/1999/xhtml;
@@ -6,7 +7,7 @@
titlecustomid/title
meta http-equiv=Content-Type content=text/ 
html;charset=iso-8859-1/

meta name=generator content=Org-mode/
-meta name=generated content=2010-11-17 20:35:58 /
+meta name=generated content=2010-11-17 20:39:11 /
meta name=author content=Jambunathan K/
meta name=description content=/
meta name=keywords content=/
@@ -100,7 +101,7 @@
  /li
/ul
ul
-	  li id=sec-1_1_2a name=sec-1_1_2 id=sec-1_1_2/ 
aTarget with CUSTOMID br/
+	  li id=aabbccddeeffa name=sec-1_1_2 id=sec-1_1_2/ 
aTarget with CUSTOMID br/


  p
One
@@ -199,7 +200,7 @@
p class=author Author: Jambunathan K
	a  
href=mailto:kjambunat...@gmail.com;lt;kjambunat...@gmail.comgt;/ 
a

/p
-   p class=date Date: 2010-11-17 20:35:58 /p
+   p class=date Date: 2010-11-17 20:39:11 /p
p class=creatorHTML generated by org-mode 7.3 in emacs 23/p
  /div
/div

Attachments:

From 7e18408ee3250ce829dba3585ac83d13dcc11bb2 Mon Sep 17 00:00:00 2001
From: Jambunathan K kjambunat...@gmail.com
Date: Wed, 17 Nov 2010 20:34:17 +0530
Subject: [PATCH 2/2] Fix broken CUSTOM_ID links to outline levels  
exported as lists


(org-html-level-start): Modified.

TINYCHANGE.
---
lisp/org-html.el |8 
1 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/lisp/org-html.el b/lisp/org-html.el
index 4305af2..d1fe06d 100644
--- a/lisp/org-html.el
+++ b/lisp/org-html.el
@@ -2320,10 +2320,9 @@ When TITLE is nil, just close all open levels.
	 (extra-class (and title (org-get-text-property-any 0 'html- 
container-class title)))

 (preferred (and target
 (cdr (assoc target 
org-export-preferred-target-alist
-(remove (or preferred target))
 (l org-level-max)
 snumber snu href suffix)
-(setq extra-targets (remove remove extra-targets))
+(setq extra-targets (remove (or preferred target) extra-targets))
(setq extra-targets
  (mapconcat (lambda (x)
   (if (org-uuidgen-p x) (setq x (concat ID- x)))
@@ -2362,12 +2361,13 @@ When TITLE is nil, just close all open  
levels.

(progn
  (org-close-li)
  (if target
-		  (insert (format li id=\%s\ target) extra-targets  
title br/\n)

+ (insert (format li id=\%s\ (or preferred target))
+ extra-targets title br/\n)
(insert li title br/\n)))
  (aset org-levels-open (1- level) t)
  (org-close-par-maybe)
  (if target
- (insert (format ul\nli id=\%s\ target)
+ (insert (format ul\nli id=\%s\ (or preferred target))
  extra-targets title br/\n)
(insert ul\nli title br/\n
(aset org-levels-open (1- level) t)
--
1.7.2.3




___
Emacs-orgmode mailing list

[Orgmode] Figure caption containing math mode not typeset

2010-11-21 Thread Ahmed Fasih
Hello, I have a figure with a caption that contains dollar signs to
typeset math mode:

  #+CAPTION:Approximating ... for $s(y_0) = \exp(j k_y y_0)$.
  #+LABEL:  fig-mylabel
  #+ATTR_LaTeX: width=0.9\textwidth placement=[t]
  [[file:figs/myfile.pdf]]

When this is converted to PDF via pdflatex (C-c C-e d), the math in
the caption is not correctly formatted because org-mode escapes the
dollar signs: in the generated .tex file:

  \caption{\label{fig-mylabel}Approximating ... for \$s(y$_0$) =
$\exp$(j k$_y$ y$_0$)\$.}

Elsewhere in my org file, the dollar signs work perfectly, typesetting
math as expected. I would expect the math in the org file's caption to
be copied verbatim to the Latex figure's caption.

I believe I'm using the latest org-mode but an older Emacs. Advice is
much appreciated. Thank you for an incredible tool,

Ahmed

PS. Below is the output of org-submit-bug-report. Apologies for its length.



Emacs  : GNU Emacs 23.1.1 (x86_64-redhat-linux-gnu, GTK+ Version 2.16.6)
 of 2010-04-01 on x86-06.phx2.fedoraproject.org
Package: Org-mode version 7.3

current state:
==
(setq
 org-log-done t
 org-export-latex-after-initial-vars-hook '(org-beamer-after-initial-vars)
 org-export-latex-listings 'minted
 org-speed-command-hook '(org-speed-command-default-hook
  org-babel-speed-command-hook)
 org-babel-load-languages '((matlab . t) (C . t) (python . t) (emacs-lisp . t))
 org-metaup-hook '(org-babel-load-in-session-maybe)
 org-after-todo-state-change-hook '(org-clock-out-if-current)
 org-babel-tangle-lang-exts '((python . py) (c++ . cpp)
  (emacs-lisp . el))
 org-export-latex-minted-langs '((matlab matlab) (emacs-lisp common-lisp)
 (cc c++) (cperl perl)
 (shell-script bash) (caml ocaml))
 org-export-blocks-postblock-hook '(org-exp-res/src-name-cleanup)
 org-export-latex-format-toc-function 'org-export-latex-format-toc-default
 org-latex-to-pdf-process '(pdflatex --shell-escape -interaction
nonstopmode -output-directory %o %f pdflatex --shell-escape
-interaction nonstopmode -output-directory %o %f pdflatex
--shell-escape -interaction nonstopmode -output-directory %o %f)
 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-agenda-before-write-hook '(org-agenda-add-entry-text)
 org-export-latex-packages-alist '(( minted))
 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
  (local-set-key \356 (quote outline-next-visible-heading))
  (local-set-key \360
   (quote outline-previous-visible-heading))
  (local-set-key \227 (quote org-table-copy-region))
  (local-set-key \231 (quote org-table-paste-rectangle))
  (local-set-key \214 (quote org-table-sort-lines))
  (local-set-key \311 (quote org-toggle-iimage-in-org)))
 turn-on-font-lock
 (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-occur-hook '(org-first-headline-recenter)
 org-from-is-user-regexp \\Aldebran\\
 org-export-preprocess-before-selecting-backend-code-hook
'(org-beamer-select-beamer-code)
 org-export-preprocess-after-include-files-hook '(org-export-blocks-preprocess)
 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-blocks nil)
 (comment org-export-blocks-format-comment t)
 (ditaa 

Re: [Orgmode] [PATCH] Preserve math environments in title when exporting to LaTeX

2010-11-21 Thread Carsten Dominik

Hi Richard,

I have now applied this patch.  I am not entirely sure it will have no  
adverse effects, so please, people who do export to LaTeX, check after  
the next pull if you see any problems.


Thanks Richard!

- Carsten

On Oct 25, 2010, at 5:41 PM, Richard Lawrence wrote:


Hi all,

This patch fixes the issue I originally described here:
http://article.gmane.org/gmane.emacs.orgmode/32281

It preserves math-mode delimiters (e.g. $ and \() in the document
title when exporting to LaTeX.  (That is, it prevents them from being
escaped, by running the title through org-export-preprocess-string,
which marks them with the org-protected property.)  It should work
regardless of whether the title is pulled from a headline, from the  
text

before the first headline, or from an explicit #+TITLE declaration.

(This is my first time contributing a patch to a Free Software project
-- so please, let me know what you think!)

Best,
Richard

diff --git a/lisp/org-latex.el b/lisp/org-latex.el
index 4fcbbb7..f97436c 100644
--- a/lisp/org-latex.el
+++ b/lisp/org-latex.el
@@ -727,13 +727,33 @@ when PUB-DIR is set, use this as the  
publishing directory.

 (org-current-export-file buffer-file-name)
 (title (or (and subtree-p (org-export-get-title-from-subtree))
(plist-get opt-plist :title)
-   (and (not
- (plist-get opt-plist :skip-before-1st-heading))
-(org-export-grab-title-from-buffer))
+   (unless (plist-get opt-plist :skip-before-1st-heading)
+ (let ((pt (org-export-grab-title-from-buffer)))
+   (remove-text-properties 0 (length pt)
+   '(:org-license-to-kill t) pt)
+   pt))
(and buffer-file-name
 (file-name-sans-extension
  (file-name-nondirectory buffer-file-name)))
No Title))
+; Preprocessing preserves math environments in title
+(title
+ (and title (string-match \\S- title)
+  (org-export-preprocess-string
+   title
+   :emph-multiline t
+   :for-LaTeX t
+   :comments nil
+   :tags (plist-get opt-plist :tags)
+   :priority (plist-get opt-plist :priority)
+   :footnotes (plist-get opt-plist :footnotes)
+   :drawers (plist-get opt-plist :drawers)
+   :timestamps (plist-get opt-plist :timestamps)
+   :todo-keywords (plist-get opt-plist :todo-keywords)
+   :add-text nil
+   :select-tags nil
+   :exclude-tags nil
+   :LaTeX-fragments nil)))
 (filename
  (and (not to-buffer)
   (concat
___
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] Figure caption containing math mode not typeset

2010-11-21 Thread Suvayu Ali

On Saturday 20 November 2010 08:29 AM, Ahmed Fasih wrote:

Hello, I have a figure with a caption that contains dollar signs to
typeset math mode:

   #+CAPTION:Approximating ... for $s(y_0) = \exp(j k_y y_0)$.
   #+LABEL:  fig-mylabel
   #+ATTR_LaTeX: width=0.9\textwidth placement=[t]
   [[file:figs/myfile.pdf]]


I think you can use that as it is, without the `$'.

#+CAPTION:Approximating ... for s(y_0) = \exp(j k_y y_0).

--
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] [PATCH] Preserve math environments in title when exporting to LaTeX

2010-11-21 Thread Kirsten


On Nov 21, 2010, at 9:54 AM, Carsten Dominik wrote:


Hi Richard,

I have now applied this patch.  I am not entirely sure it will have  
no adverse effects, so please, people who do export to LaTeX, check  
after the next pull if you see any problems.


Actually, I think I have just found a better way to solve this issue,
in a way that will also solve it for figure captions.

Please, LaTeX export users, test the current git version.

THanks

- Carsten



Thanks Richard!

- Carsten

On Oct 25, 2010, at 5:41 PM, Richard Lawrence wrote:


Hi all,

This patch fixes the issue I originally described here:
http://article.gmane.org/gmane.emacs.orgmode/32281

It preserves math-mode delimiters (e.g. $ and \() in the document
title when exporting to LaTeX.  (That is, it prevents them from being
escaped, by running the title through org-export-preprocess-string,
which marks them with the org-protected property.)  It should work
regardless of whether the title is pulled from a headline, from the  
text

before the first headline, or from an explicit #+TITLE declaration.

(This is my first time contributing a patch to a Free Software  
project

-- so please, let me know what you think!)

Best,
Richard

diff --git a/lisp/org-latex.el b/lisp/org-latex.el
index 4fcbbb7..f97436c 100644
--- a/lisp/org-latex.el
+++ b/lisp/org-latex.el
@@ -727,13 +727,33 @@ when PUB-DIR is set, use this as the  
publishing directory.

 (org-current-export-file buffer-file-name)
 (title (or (and subtree-p (org-export-get-title-from-subtree))
(plist-get opt-plist :title)
-   (and (not
- (plist-get opt-plist :skip-before-1st-heading))
-(org-export-grab-title-from-buffer))
+   (unless (plist-get opt-plist :skip-before-1st-heading)
+ (let ((pt (org-export-grab-title-from-buffer)))
+   (remove-text-properties 0 (length pt)
+   '(:org-license-to-kill t) pt)
+   pt))
(and buffer-file-name
 (file-name-sans-extension
  (file-name-nondirectory buffer-file-name)))
No Title))
+; Preprocessing preserves math environments in title
+(title
+ (and title (string-match \\S- title)
+  (org-export-preprocess-string
+   title
+   :emph-multiline t
+   :for-LaTeX t
+   :comments nil
+   :tags (plist-get opt-plist :tags)
+   :priority (plist-get opt-plist :priority)
+   :footnotes (plist-get opt-plist :footnotes)
+   :drawers (plist-get opt-plist :drawers)
+   :timestamps (plist-get opt-plist :timestamps)
+   :todo-keywords (plist-get opt-plist :todo-keywords)
+   :add-text nil
+   :select-tags nil
+   :exclude-tags nil
+   :LaTeX-fragments nil)))
 (filename
  (and (not to-buffer)
   (concat
___
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] [PATCH] Preserve math environments in title when exporting to LaTeX

2010-11-21 Thread Carsten Dominik


On Nov 21, 2010, at 9:54 AM, Carsten Dominik wrote:


Hi Richard,

I have now applied this patch.  I am not entirely sure it will have  
no adverse effects, so please, people who do export to LaTeX, check  
after the next pull if you see any problems.


Actually, I think I have just found a better way to solve this issue,
in a way that will also solve it for figure captions.

Please, LaTeX export users, test the current git version.

THanks

- Carsten



Thanks Richard!

- Carsten

On Oct 25, 2010, at 5:41 PM, Richard Lawrence wrote:


Hi all,

This patch fixes the issue I originally described here:
http://article.gmane.org/gmane.emacs.orgmode/32281

It preserves math-mode delimiters (e.g. $ and \() in the document
title when exporting to LaTeX.  (That is, it prevents them from being
escaped, by running the title through org-export-preprocess-string,
which marks them with the org-protected property.)  It should work
regardless of whether the title is pulled from a headline, from the  
text

before the first headline, or from an explicit #+TITLE declaration.

(This is my first time contributing a patch to a Free Software  
project

-- so please, let me know what you think!)

Best,
Richard

diff --git a/lisp/org-latex.el b/lisp/org-latex.el
index 4fcbbb7..f97436c 100644
--- a/lisp/org-latex.el
+++ b/lisp/org-latex.el
@@ -727,13 +727,33 @@ when PUB-DIR is set, use this as the  
publishing directory.

 (org-current-export-file buffer-file-name)
 (title (or (and subtree-p (org-export-get-title-from-subtree))
(plist-get opt-plist :title)
-   (and (not
- (plist-get opt-plist :skip-before-1st-heading))
-(org-export-grab-title-from-buffer))
+   (unless (plist-get opt-plist :skip-before-1st-heading)
+ (let ((pt (org-export-grab-title-from-buffer)))
+   (remove-text-properties 0 (length pt)
+   '(:org-license-to-kill t) pt)
+   pt))
(and buffer-file-name
 (file-name-sans-extension
  (file-name-nondirectory buffer-file-name)))
No Title))
+; Preprocessing preserves math environments in title
+(title
+ (and title (string-match \\S- title)
+  (org-export-preprocess-string
+   title
+   :emph-multiline t
+   :for-LaTeX t
+   :comments nil
+   :tags (plist-get opt-plist :tags)
+   :priority (plist-get opt-plist :priority)
+   :footnotes (plist-get opt-plist :footnotes)
+   :drawers (plist-get opt-plist :drawers)
+   :timestamps (plist-get opt-plist :timestamps)
+   :todo-keywords (plist-get opt-plist :todo-keywords)
+   :add-text nil
+   :select-tags nil
+   :exclude-tags nil
+   :LaTeX-fragments nil)))
 (filename
  (and (not to-buffer)
   (concat
___
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] Figure caption containing math mode not typeset

2010-11-21 Thread Carsten Dominik

Hi Ahmed,

I hope this has been resolved with the change I just pushed.

- Carsten

On Nov 20, 2010, at 5:29 PM, Ahmed Fasih wrote:


Hello, I have a figure with a caption that contains dollar signs to
typeset math mode:

 #+CAPTION:Approximating ... for $s(y_0) = \exp(j k_y y_0)$.
 #+LABEL:  fig-mylabel
 #+ATTR_LaTeX: width=0.9\textwidth placement=[t]
 [[file:figs/myfile.pdf]]

When this is converted to PDF via pdflatex (C-c C-e d), the math in
the caption is not correctly formatted because org-mode escapes the
dollar signs: in the generated .tex file:

 \caption{\label{fig-mylabel}Approximating ... for \$s(y$_0$) =
$\exp$(j k$_y$ y$_0$)\$.}

Elsewhere in my org file, the dollar signs work perfectly, typesetting
math as expected. I would expect the math in the org file's caption to
be copied verbatim to the Latex figure's caption.

I believe I'm using the latest org-mode but an older Emacs. Advice is
much appreciated. Thank you for an incredible tool,

Ahmed

PS. Below is the output of org-submit-bug-report. Apologies for its  
length.




Emacs  : GNU Emacs 23.1.1 (x86_64-redhat-linux-gnu, GTK+ Version  
2.16.6)

of 2010-04-01 on x86-06.phx2.fedoraproject.org
Package: Org-mode version 7.3

current state:
==
(setq
org-log-done t
org-export-latex-after-initial-vars-hook '(org-beamer-after-initial- 
vars)

org-export-latex-listings 'minted
org-speed-command-hook '(org-speed-command-default-hook
  org-babel-speed-command-hook)
org-babel-load-languages '((matlab . t) (C . t) (python . t) (emacs- 
lisp . t))

org-metaup-hook '(org-babel-load-in-session-maybe)
org-after-todo-state-change-hook '(org-clock-out-if-current)
org-babel-tangle-lang-exts '((python . py) (c++ . cpp)
  (emacs-lisp . el))
org-export-latex-minted-langs '((matlab matlab) (emacs-lisp  
common-lisp)

 (cc c++) (cperl perl)
 (shell-script bash) (caml ocaml))
org-export-blocks-postblock-hook '(org-exp-res/src-name-cleanup)
org-export-latex-format-toc-function 'org-export-latex-format-toc- 
default

org-latex-to-pdf-process '(pdflatex --shell-escape -interaction
nonstopmode -output-directory %o %f pdflatex --shell-escape
-interaction nonstopmode -output-directory %o %f pdflatex
--shell-escape -interaction nonstopmode -output-directory %o %f)
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-agenda-before-write-hook '(org-agenda-add-entry-text)
org-export-latex-packages-alist '(( minted))
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
  (local-set-key \356 (quote outline-next-visible-heading))
  (local-set-key \360
   (quote outline-previous-visible-heading))
  (local-set-key \227 (quote org-table-copy-region))
  (local-set-key \231 (quote org-table-paste-rectangle))
  (local-set-key \214 (quote org-table-sort-lines))
  (local-set-key \311 (quote org-toggle-iimage-in-org)))
 turn-on-font-lock
 (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-occur-hook '(org-first-headline-recenter)
org-from-is-user-regexp \\Aldebran\\
org-export-preprocess-before-selecting-backend-code-hook
'(org-beamer-select-beamer-code)
org-export-preprocess-after-include-files-hook '(org-export-blocks- 
preprocess)
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 

Re: [Orgmode] [bug] beamer export envargs for column not working properly

2010-11-21 Thread Eric S Fraga
Carsten Dominik carsten.domi...@gmail.com writes:

 Hi Eric,

 could you make me a slightly more complete example, with your beamer
 setup?  So a full test file that will show this behavior?

 Thanks.

 - Carsten

Sure.  The attached example has a single slide.  With the file as it is,
i.e. with an ignored heading for the second column of the slide, the
slide overlay directive is thrown away upon export.  

If you change the headline of the second column to be a block heading
(C-c C-b b), on export the overlay directive is not thrown away but it
is attached to the block and not the column.  This is okay in that
accomplishes the same purpose (in this case but not others); however, it
does not match the documentation in any case.

Thanks,
eric

#+TITLE: Presentation with Org-Mode and Beamer 
#+AUTHOR:Eric S Fraga
#+EMAIL: e.fr...@ucl.ac.uk
#+DATE:  2010.09.05 00:42:34
#+DESCRIPTION: 
#+KEYWORDS: 
#+LANGUAGE:  en
#+OPTIONS:   H:5 num:t toc:t \n:nil @:t ::t |:t ^:t -:t f:t *:t :t
#+OPTIONS:   TeX:t LaTeX:t skip:nil d:nil todo:t pri:nil tags:nil
#+INFOJS_OPT: view:nil toc:nil ltoc:t mouse:underline buttons:0 path:http://orgmode.org/org-info.js
#+EXPORT_SELECT_TAGS: export
#+EXPORT_EXCLUDE_TAGS: noexport
#+LINK_UP:   
#+LINK_HOME: 

#+startup: oddonly
#+startup: beamer
#+LaTeX_CLASS: beamer
#+LaTeX_CLASS_OPTIONS: [presentation]

#+BEAMER_FRAME_LEVEL: 2

#+startup: fninline

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

* Introduction
*** A slide with two columns
* Some notes	  :BMCOL:B_block:
  :PROPERTIES:
  :BEAMER_col: 0.5
  :BEAMER_env: block
  :END:
  - some text
  - and some more
  - and yet more
* More notes  :BMCOL:B_ignoreheading:
  :PROPERTIES:
  :BEAMER_col: 0.5
  :BEAMER_env: ignoreheading
  :BEAMER_envargs: c2-
  :END:
  - some important notes
  - and even more important ones
  - and some maths: $\sin^{2}(x)$

-- 
: Eric S Fraga (GnuPG: 0xC89193D8FFFCF67D) in Emacs 23.2.1
: using Org-mode version 7.3 (release_7.3.104.gf692)
___
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] Need for an extra literal block construct

2010-11-21 Thread Dan Davison
Hi Seb,

What I was trying to say is that with bug reports it is helpful if the
first one or two sentences of the email are a precise and brief
statement of what is going wrong. Then the reader can decide if she
wants to continue to the more detailed and discursive material.

Dan

Sébastien Vauban wxhgmqzgwmuf-genee64ty+gs+fvcfc7...@public.gmane.org
writes:

 Hi Dan,

 Dan Davison wrote:
 In addition to the Org example, would you mind supplying a concise, explicit
 statement of what the putative bug is? With just the Org example on its own,
 the bug is implicit and I at least feel that I'm having to work hard to get
 there!

 Hope this helps!

 #+TITLE: ecm-verse-2.txt
 #+DATE:  2010-11-20
 #+LANGUAGE:  en_US

 #+LaTeX_CLASS: mcarticle
 #+LaTeX_CLASS_OPTIONS: [final]

 * Context

 There are clearly 3 key concepts to be able to distinguish in nice HTML
 output:

 - Code fragments :: text files that use the specific numbers of spaces and
   characters to line things up.

 - Sample output :: Output from programs, scripts or commands.

 - Text giving instructions :: Typically used for quoting passages of an email
   message.

 * Examples

 ** Code fragment

 #+begin_src emacs-lisp
 (update this-var)
 (echo OK)
 #+end_src

 ** Sample output

 The results of code execution is currently (or /was/ -- I need to test the
 patch of Eric) translated into HTML as EXAMPLE.

 #+begin_src sh :results output :exports both
 ls *.org
 #+end_src

 #+results:
 | Agenda-Sorting-Strategy.org |
 | Clock-Report.org|
 | org-beamer-fpu-rules.org|
 | org-hist.org|

 ** Text giving instructions

 EXAMPLE begin taken, if I want another verbatim environment, the only left
 to me, in HTML, is VERSE.

 #+begin_verse
 Hi Seb,

 In addition to the Org example, would you mind supplying a concise,
 explicit statement of what the putative bug is?  With just the Org
 example on its own:

 - the bug is implicit and
 - I at least feel that I'm having to work hard to get there!

 Dan
 #+end_verse


 From [[http://mid.gmane.org/87mxp5q6uf.fsf%40gmail.com][Email from Dan 
 Davison: Re: {Babel} Need for an extra ]]

 *I'd expect to see all the above passage from the email to be uninterpreted*. 
 It
 is not acting that way.

 See attachment for what I'm heading to.


 p.s. However, your emails did motivate the following trivial function a
 few months ago which I now use every day for various purposes.

 (defun dan/switch-to-org-scratch ()
   Switch to a temp Org buffer.
 If the region is active, insert it.
   (interactive)
   (let ((contents
  (and (region-active-p)
   (buffer-substring (region-beginning)
 (region-end)
 (find-file /tmp/org-scratch.org)
 (if contents (insert contents

 Thanks for sharing this... Always interesting to see what others do, what does
 help them in their workflows...

 Best regards,
   Seb

___
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] Bugs in ob-haskell

2010-11-21 Thread Robin Green
I've noticed a number of bugs in ob-haskell:

1. The first time I ran my code block, the results were given as something like:

Prelude [[1], [2], [3]]

and of course, this isn't an org table, as it should be.

I don't think the Prelude  should have been there, and I suspect a race 
condition,
because after I immediately did C-c C-c again, the results changed to a table.

2. Looking at ob-haskell.el, it seems like Haskell strings are converted into 
text
by removing leading and trailing double quotes. However, if there are double 
quote
characters inside the string, they will be escaped with a backslash when 
printed,
and they will presumably need to be unescaped. (Haven't tested this though.)

3. Ordinary Haskell lists can't have values of different types inside them, at 
least
not without some sort of wrapper. But if you have a number and a string in your
table, ob-haskell will try to make an impossible list with a number and a 
string in
it. My preferred solution to this bug would be to force all list items to 
strings
(at least, if there are any strings at all in the input table or list).

4. What's worse is, if ob-haskell makes an error in setting your input 
variables,
like the error in the previous paragraph, and this is not the first run of that
code block and you haven't changed the variable names, the error arising from 
the
let command will simply be ignored silently by ob-haskell! The previous value
of the variable will be used instead. At least, that is what happens to me.

Regards,
-- 
Robin Green

___
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] Preserve math environments in title when exporting to LaTeX

2010-11-21 Thread Carsten Dominik


On Nov 21, 2010, at 6:14 PM, Thomas S. Dye wrote:


Aloha Richard and Carsten,

Thanks very much for this improvement.  Math appears to work as  
expected in the title and in figure captions.  I haven't noticed any  
adverse effects yet, but I've spent most of my time admiring the  
well typeset titles :)


Hi Thomas,

thank you for being such a reliable member here.

Cheers

- Carsten



All the best,
Tom

On Nov 20, 2010, at 11:24 PM, Carsten Dominik wrote:



On Nov 21, 2010, at 9:54 AM, Carsten Dominik wrote:


Hi Richard,

I have now applied this patch.  I am not entirely sure it will  
have no adverse effects, so please, people who do export to LaTeX,  
check after the next pull if you see any problems.


Actually, I think I have just found a better way to solve this issue,
in a way that will also solve it for figure captions.

Please, LaTeX export users, test the current git version.

THanks

- Carsten



Thanks Richard!

- Carsten

On Oct 25, 2010, at 5:41 PM, Richard Lawrence wrote:


Hi all,

This patch fixes the issue I originally described here:
http://article.gmane.org/gmane.emacs.orgmode/32281

It preserves math-mode delimiters (e.g. $ and \() in the  
document
title when exporting to LaTeX.  (That is, it prevents them from  
being

escaped, by running the title through org-export-preprocess-string,
which marks them with the org-protected property.)  It should work
regardless of whether the title is pulled from a headline, from  
the text

before the first headline, or from an explicit #+TITLE declaration.

(This is my first time contributing a patch to a Free Software  
project

-- so please, let me know what you think!)

Best,
Richard

diff --git a/lisp/org-latex.el b/lisp/org-latex.el
index 4fcbbb7..f97436c 100644
--- a/lisp/org-latex.el
+++ b/lisp/org-latex.el
@@ -727,13 +727,33 @@ when PUB-DIR is set, use this as the  
publishing directory.

 (org-current-export-file buffer-file-name)
 (title (or (and subtree-p (org-export-get-title-from-subtree))
(plist-get opt-plist :title)
-   (and (not
- (plist-get opt-plist :skip-before-1st-heading))
-(org-export-grab-title-from-buffer))
+   (unless (plist-get opt-plist :skip-before-1st-heading)
+ (let ((pt (org-export-grab-title-from-buffer)))
+   (remove-text-properties 0 (length pt)
+   '(:org-license-to-kill t) pt)
+   pt))
(and buffer-file-name
 (file-name-sans-extension
  (file-name-nondirectory buffer-file-name)))
No Title))
+; Preprocessing preserves math environments in title
+(title
+ (and title (string-match \\S- title)
+  (org-export-preprocess-string
+   title
+   :emph-multiline t
+   :for-LaTeX t
+   :comments nil
+   :tags (plist-get opt-plist :tags)
+   :priority (plist-get opt-plist :priority)
+   :footnotes (plist-get opt-plist :footnotes)
+   :drawers (plist-get opt-plist :drawers)
+   :timestamps (plist-get opt-plist :timestamps)
+   :todo-keywords (plist-get opt-plist :todo-keywords)
+   :add-text nil
+   :select-tags nil
+   :exclude-tags nil
+   :LaTeX-fragments nil)))
 (filename
  (and (not to-buffer)
   (concat
___
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





___
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] Preserve math environments in title when exporting to LaTeX

2010-11-21 Thread Thomas S. Dye

Aloha Richard and Carsten,

Thanks very much for this improvement.  Math appears to work as  
expected in the title and in figure captions.  I haven't noticed any  
adverse effects yet, but I've spent most of my time admiring the well  
typeset titles :)


All the best,
Tom

On Nov 20, 2010, at 11:24 PM, Carsten Dominik wrote:



On Nov 21, 2010, at 9:54 AM, Carsten Dominik wrote:


Hi Richard,

I have now applied this patch.  I am not entirely sure it will have  
no adverse effects, so please, people who do export to LaTeX, check  
after the next pull if you see any problems.


Actually, I think I have just found a better way to solve this issue,
in a way that will also solve it for figure captions.

Please, LaTeX export users, test the current git version.

THanks

- Carsten



Thanks Richard!

- Carsten

On Oct 25, 2010, at 5:41 PM, Richard Lawrence wrote:


Hi all,

This patch fixes the issue I originally described here:
http://article.gmane.org/gmane.emacs.orgmode/32281

It preserves math-mode delimiters (e.g. $ and \() in the  
document
title when exporting to LaTeX.  (That is, it prevents them from  
being

escaped, by running the title through org-export-preprocess-string,
which marks them with the org-protected property.)  It should work
regardless of whether the title is pulled from a headline, from  
the text

before the first headline, or from an explicit #+TITLE declaration.

(This is my first time contributing a patch to a Free Software  
project

-- so please, let me know what you think!)

Best,
Richard

diff --git a/lisp/org-latex.el b/lisp/org-latex.el
index 4fcbbb7..f97436c 100644
--- a/lisp/org-latex.el
+++ b/lisp/org-latex.el
@@ -727,13 +727,33 @@ when PUB-DIR is set, use this as the  
publishing directory.

 (org-current-export-file buffer-file-name)
 (title (or (and subtree-p (org-export-get-title-from-subtree))
(plist-get opt-plist :title)
-   (and (not
- (plist-get opt-plist :skip-before-1st-heading))
-(org-export-grab-title-from-buffer))
+   (unless (plist-get opt-plist :skip-before-1st-heading)
+ (let ((pt (org-export-grab-title-from-buffer)))
+   (remove-text-properties 0 (length pt)
+   '(:org-license-to-kill t) pt)
+   pt))
(and buffer-file-name
 (file-name-sans-extension
  (file-name-nondirectory buffer-file-name)))
No Title))
+; Preprocessing preserves math environments in title
+(title
+ (and title (string-match \\S- title)
+  (org-export-preprocess-string
+   title
+   :emph-multiline t
+   :for-LaTeX t
+   :comments nil
+   :tags (plist-get opt-plist :tags)
+   :priority (plist-get opt-plist :priority)
+   :footnotes (plist-get opt-plist :footnotes)
+   :drawers (plist-get opt-plist :drawers)
+   :timestamps (plist-get opt-plist :timestamps)
+   :todo-keywords (plist-get opt-plist :todo-keywords)
+   :add-text nil
+   :select-tags nil
+   :exclude-tags nil
+   :LaTeX-fragments nil)))
 (filename
  (and (not to-buffer)
   (concat
___
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



___
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: HTML export of latex typesetting..

2010-11-21 Thread Madhu Rao
Ahmed Fasih fasih.1 at osu.edu writes:

 
  I have a few latex fragments - textbf{some text} in an org-mode file.
  When I export to HTML, I see them as \textbf{some text}. Is there a way to
  get them bold faced in the HTML export?
 
 I use the org mode markup, *some text* which gets exported correctly
 to both Latex and HTML. Hope this helps.

Thanks Ahmed. Actually, I need to do the following:
bold-face only a letter of a word. Ex: \textbf{E}macs. orgmode markup
does not work for this: *E*macs.







___
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] Help: Getting ESS key binding to work with a R code block in org-mode

2010-11-21 Thread Sunny Srivastava
Hello Org-moders,
I have been a very happy ESS user so far. Recently, I was introduced to
org-mode and I am still a beginner.

I am trying to write a research paper using the literate programming style
of org-babel-R, instead of Sweave, and the journey has been OK so far. I
have a very lame question related to this, so please bear with me.

I am used to the ESS key-bindings, however they don't work properly in the
code block (begin_src R ... end_src). I googled and found that it is
recommended to use C-c ` to edit the source code in an Org-tmp buffer.
However, there are a few issues related to this:

1. Let's say I have a code block which contains some code in it. When I do
C-c ` a temporary buffer opens up but it doesn't include the R code that was
in the code block.
2. The temporary buffer for editing R code doesn't associate itself with
ESS, ie the key-bindings don't work. (I am addicted to the smart _ key
 binding of ESS as well I am facing problems indenting the code using C-M-\)

Any help or pointers is much appreciated.

Thanks to Eric and other developers for implementing such a great idea.


Version: 7.3 (release_7.3-89-g97f4c
___
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? hlevel in org-export-region-as-html

2010-11-21 Thread Samuel Wales
org-export-region-as-html appears to measure hlevel from the top level
in the file, not the top level in the region.  Is this a bug or should
we create a negative level in org-export-html-toplevel-hlevel to
compensate?

Thanks.

___
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 ':session ' bug?

2010-11-21 Thread Charles C. Berry

On Sat, 20 Nov 2010, Nick Dokos wrote:


Charles C. Berry cbe...@tajo.ucsd.edu wrote:



Correction in line below. CCB

On Sat, 20 Nov 2010, Charles C. Berry wrote:


I think :session without passing a string used to start a session, but
now it does not. I think this is a bug. Details:



I ran into this too: see the footnote in

  http://thread.gmane.org/gmane.emacs.orgmode/33016/focus=33294


Thanks, I see your footnote.

Anyway, naming the session is an easy workaround till it does get 
fixed.


Chuck



Nick



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: Help: Getting ESS key binding to work with a R code block in org-mode

2010-11-21 Thread Sunny Srivastava
Hello Dan:
Thank you. I knew it was something silly like that ..

C-c ' is the right key and not C-c ` .. (I didn't notice the difference :-(
)

Everything works perfectly normal now.

Actually, I have started using Eric's fork of emacs-starter-kit and it has
done wonders to my productivity with Emacs. The kit activates R by default
(if I understood the documentation correctly).

Thanks,
S.

PS: If you are the same Dan as on worg, thank you for drift.org ... it has
helped me a lot in writing my paper.

On Sun, Nov 21, 2010 at 3:17 PM, Dan Davison dandavis...@gmail.com wrote:

 Sunny Srivastava research.b...@gmail.com writes:

  Hello Org-moders,
  I have been a very happy ESS user so far. Recently, I was introduced to
  org-mode and I am still a beginner.
 
  I am trying to write a research paper using the literate programming
 style
  of org-babel-R, instead of Sweave, and the journey has been OK so far. I
  have a very lame question related to this, so please bear with me.
 
  I am used to the ESS key-bindings, however they don't work properly in
 the
  code block (begin_src R ... end_src). I googled and found that it is
  recommended to use C-c ` to edit the source code in an Org-tmp buffer.
  However, there are a few issues related to this:

 Hi Sunny,

 A couple of possibilities to solve your current problems:

 Firstly, the key combination is C-c '  not   C-c `

 i.e., that character is a straight single quote.

 Secondly, have you activated R as an Org-babel language?

 See section 14.7 of the manual. You can do it with customize, or you can
 do it by adding some emacs-lisp to your .emacs file. E.g. the following
 activates emacs-lisp and R:

 (org-babel-do-load-languages
  'org-babel-load-languages
  '((emacs-lisp . t)
(R . t)))

 Don't hesitate to get back to the list if you have further questions.

 Dan


 
  1. Let's say I have a code block which contains some code in it. When I
 do
  C-c ` a temporary buffer opens up but it doesn't include the R code that
 was
  in the code block.
  2. The temporary buffer for editing R code doesn't associate itself with
  ESS, ie the key-bindings don't work. (I am addicted to the smart _ key
   binding of ESS as well I am facing problems indenting the code using
 C-M-\)
 
  Any help or pointers is much appreciated.
 
  Thanks to Eric and other developers for implementing such a great idea.
 
 
  Version: 7.3 (release_7.3-89-g97f4c
  ___
  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] [PATCH][BUG] Fix documentation

2010-11-21 Thread David Maus
At Tue, 16 Nov 2010 10:54:53 +0100,
Olaf Dietsche wrote:

 When I do a make info, I get the following error:

 org.texi:9329: Misplaced {.
 org.texi:9330: Misplaced }.

 Fix is below.

Thanks,

Patch was applied 2010-11-16.

Best,
  -- David
--
OpenPGP... 0x99ADB83B5A4478E6
Jabber dmj...@jabber.org
Email. dm...@ictsoc.de


pgpEiloxzVNJz.pgp
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] [PATCH] Document the :recursive option for org-publish

2010-11-21 Thread Puneeth
Hi,

Here's a patch to document the recursive option for org-publish. It's
a documentation TODO on Worg.

-- 
Puneeth
diff --git a/doc/org.texi b/doc/org.texi
index 06583d7..a6cf26c 100644
--- a/doc/org.texi
+++ b/doc/org.texi
@@ -10665,6 +10665,9 @@ extension.
 @item @code{:include}
 @tab List of files to be included regardless of @code{:base-extension}
 and @code{:exclude}.
+
+...@item @code{:recursive}
+...@tab Non-nil means, check base-directory recursively for files to publish.
 @end multitable
 
 @node Publishing action, Publishing options, Selecting files, Configuration
___
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 Android 0.4.5

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

New features for this reldease include:
- Now Supports editings and synchronizing TODO and Priority changes
- Obey checksums.dat this should make synchronizing a lot faster
- Rework the UI and show more information about each entry (including
Priority and Due/Scheduled date)
- Close some bugs

The big new feature is being able to change TODO states and Priorities and
have those synchronize back to emacs.

For 0.5 here is what is planned:
- Implement Dropbox and a generalized synchronization API to make it easy to
develop modules that will recognize other storage mechanisms
- Support editing Title and Body
- Completely Revamp UI
- Better document Display
- Search support
- Implement Widget preferences and extend the Widget functionality

I know that a lot of people are most interested in Dropbox support so that
is what I am focusing on right now.  There is already some limited Dropbox
support by using the Android Dropbox app to pull the files onto your SDCard
and then use MobileOrg to synchronize them but this is a very manual process
and not ideal.

I also feel strongly about completely revamping the UI, it could look a lot
better and be a lot easier to use.

As always, if you find any bugs feel free to report them directly to me or
use the bug tracking system here:
https://github.com/matburt/mobileorg-android/issues

If you need any help or have any questions you can ask here or send me an
email directly.
___
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: [PATCH] Alphabetical ordered lists

2010-11-21 Thread Nathaniel Flath
I think I've fixed these, although I'm not an expert in the exporting.
 Let me know if there's anything else, or if I screwed up anything
when trying to figure out how to make a git patch(looks like it
worked, though.)

Thanks,
Nathaniel Flath

On Sat, Nov 13, 2010 at 7:16 AM, Nicolas Goaziou n.goaz...@gmail.com wrote:
 Hello,

 Nathaniel Flath writes:

 Are there any further issues?

 Also, as you changed `org-item-beginning-re' into a function, there
 are a few places outside org-list.el that need to be modified
 accordingly.

 And exporters (mainly HTML and DocBook) should be aware of
 alphabetical bullets.

 Regards,

 -- Nicolas



0001-Squashed-commit-of-the-following.patch
Description: Binary data
___
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] Preserve math environments in title when exporting to LaTeX

2010-11-21 Thread Richard Lawrence
Carsten Dominik carsten.domi...@gmail.com writes:

 On Nov 21, 2010, at 9:54 AM, Carsten Dominik wrote:

 Hi Richard,

 I have now applied this patch.  I am not entirely sure it will have
 no adverse effects, so please, people who do export to LaTeX, check
 after the next pull if you see any problems.

 Actually, I think I have just found a better way to solve this issue,
 in a way that will also solve it for figure captions.

 Please, LaTeX export users, test the current git version.

Hi Carsten,

I've just tried the latest version, and it works for me, at least on the
case I was having trouble with before.

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


[Orgmode] bug#7459: 23.2; Salutation should not actually be included in bug mails

2010-11-21 Thread Glenn Morris
Robin Green wrote:

 This bug report will be sent to the Free Software Foundation,
 not to your local site managers!
 Please write in English if possible, because the Emacs maintainers
 usually do not have translators to read other languages for them.
[...]
 I submitted a bug report using M-x org-submit-bug-report.

 The so-called salutation of a bug report sent via
 reporter-submit-bug-report is - in this case - not useful to those
 who read the email - it is only intended to be read by the person
 *writing* the email. So, it should not be included in the email.

Are you asking for the addition of a general, optional feature to
reporter.el, or asking specifically about Org mode? (Presumably the
former else you would have used... M-x org-submit-bug-report.)

Either way, it is a very low priority request. M-x report-emacs-bug
has supposedly had this feature for a long time, yet people often
defeat it somehow (as you did in this report). It's never seemed very
important.



___
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