Re: [Orgmode] Bug: Can't set org-export-latex-title-command using #+BIND: [6.33trans]

2010-01-04 Thread Carsten Dominik

Hi Christopher,

I believe this might be fixed now - please verify!

Thanks

- Carsten

On Dec 20, 2009, at 6:40 PM, Christopher Suckling wrote:

On Sun, 20 Dec 2009 13:29:59 +0100, Carsten Dominik carsten.domi...@gmail.com 
 wrote:


Thank you, but not quite working yet:

,
| #+BIND: org-export-latex-title-command 
`

now appears to be having the *effect* of setting a global variable.

I load Emacs then visit the below test org file. I then export the  
file.


I get a \maketitle line.

I then C-c C-c on the #+BIND: line and re-export.

\maketitle is removed.

I then export another org file without the #+BIND: line.

There is no \maketitle, even though there should be.

I add

,
| #+BIND: org-export-latex-title-command \foobar
`

to the new org file, C-c C-c and export:

\foobar is added to the exported file.

Finally, I re-export the original test org file (without C-c C-c on  
the

#+BIND: line):

\foobar is added to the exported file.

However,

,
| C-h v org-export-latex-title-command
`

always returns the value \\maketitle, no matter what the value of  
the

#+BIND: line.

Best, Christopher


Fixed, thanks

- Carsten

On Dec 20, 2009, at 11:58 AM, Christopher Suckling wrote:



Remember to cover the basics, that is, what you expected to happen  
and

what in fact did happen.  You don't know how to make a good report?
See

   http://orgmode.org/manual/Feedback.html#Feedback

Your bug report will be posted to the Org-mode mailing list.


Using the following test file:

,
| # -*- mode: org; -*-
|
| * Tree
| ** Subtree
|I want no \maketitle command
|
| * COMMENT Local variables
| #+BIND: org-export-latex-title-command 
|
| # Local Variables:
| # End:
`

exporting to latex yields:

,
| % Created 2009-12-20 Sun 10:52
| % BEGIN defaults
| \documentclass[a4paper, 12pt]{memoir}
| \usepackage{org-export}
|  % END defaults
|
|
| \title{test}
| \author{Christopher Suckling}
| \date{20 December 2009}
|
| \begin{document}
|
| \maketitle
|
| \setcounter{tocdepth}{3}
| \tableofcontents
| \vspace*{1cm}
|
| \chapter{Tree}
| \label{sec-1}
| \section{Subtree}
| \label{sec-1.1}
|
|I want no \maketitle command
|
| \end{document}
`

Evaluating

,
| (setq org-export-latex-title-command )
`

prior to export successfully removes \maketitle.


Best, Christopher


Emacs  : GNU Emacs 23.1.50.1 (x86_64-apple-darwin10.2.0, NS apple-
appkit-1038.25)
of 2009-12-08 on rushka.local
Package: Org-mode version 6.33trans

current state:
==
(setq
org-export-latex-default-class org-export
org-export-latex-after-initial-vars-hook '(org-beamer-after-initial-
vars)
org-todo-keyword-faces '((CANCELLED :foreground gray40 :weight
bold)
  (DEFERRED :foreground olivedrab4 :weight bold)
  (OPEN :foreground red1 :weight bold :underline t
   :slant italic)
  (TODO :foreground dodgerblue3 :weight bold)
  (NEXT :foreground navyblue :weight bold)
  (WAITING :foreground red3 :weight bold)
  (DELEGATED :foreground deeppink4 :weight bold)
  (COMMENT :foreground RosyBrown4))
org-link-frame-setup '((vm . vm-visit-folder-other-frame)
(gnus . org-gnus-no-new-news)
(file . find-file-other-window))
org-special-ctrl-a/e t
org-agenda-custom-commands '((d Today's effort agenda 
   ((org-agenda-view-columns-initially t)
(org-agenda-ndays 1))
   )
  (W Weekly review
   ((agenda  ((org-agenda-ndays 7)))
(alltodo 
 ((org-agenda-files (list ~/Sites/org/))
  (org-agenda-file-regexp ^[^m].*_A\\.org$)
  (org-agenda-todo-ignore-with-date t)
  (org-agenda-sorting-strategy
   (quote
(priority-down todo-state-down category-keep
 tag-up effort-up)
)
   )
  (org-agenda-overriding-header
   Unscheduled TODO entries - work: )
  )
 )
(todo WAITING|DELEGATED
 ((org-agenda-files (list ~/Sites/org/))
  (org-agenda-file-regexp ^[^m].*_A\\.org$)
  (org-agenda-todo-ignore-scheduled nil)
  (org-agenda-todo-ignore-deadlines nil)
  

[Orgmode] Bug: Can't set org-export-latex-title-command using #+BIND: [6.33trans]

2009-12-20 Thread Christopher Suckling

Remember to cover the basics, that is, what you expected to happen and
what in fact did happen.  You don't know how to make a good report?  See

 http://orgmode.org/manual/Feedback.html#Feedback

Your bug report will be posted to the Org-mode mailing list.


Using the following test file:

,
| # -*- mode: org; -*-
| 
| * Tree
| ** Subtree
|I want no \maketitle command
| 
| * COMMENT Local variables
| #+BIND: org-export-latex-title-command 
| 
| # Local Variables:
| # End:
`

exporting to latex yields:

,
| % Created 2009-12-20 Sun 10:52
| % BEGIN defaults
| \documentclass[a4paper, 12pt]{memoir}
| \usepackage{org-export}
|  % END defaults
| 
| 
| \title{test}
| \author{Christopher Suckling}
| \date{20 December 2009}
| 
| \begin{document}
| 
| \maketitle
| 
| \setcounter{tocdepth}{3}
| \tableofcontents
| \vspace*{1cm}
| 
| \chapter{Tree}
| \label{sec-1}
| \section{Subtree}
| \label{sec-1.1}
| 
|I want no \maketitle command
| 
| \end{document}
`

Evaluating

,
| (setq org-export-latex-title-command )
`

prior to export successfully removes \maketitle.


Best, Christopher


Emacs  : GNU Emacs 23.1.50.1 (x86_64-apple-darwin10.2.0, NS 
apple-appkit-1038.25)
 of 2009-12-08 on rushka.local
Package: Org-mode version 6.33trans

current state:
==
(setq
 org-export-latex-default-class org-export
 org-export-latex-after-initial-vars-hook '(org-beamer-after-initial-vars)
 org-todo-keyword-faces '((CANCELLED :foreground gray40 :weight bold)
  (DEFERRED :foreground olivedrab4 :weight bold)
  (OPEN :foreground red1 :weight bold :underline t
   :slant italic)
  (TODO :foreground dodgerblue3 :weight bold)
  (NEXT :foreground navyblue :weight bold)
  (WAITING :foreground red3 :weight bold)
  (DELEGATED :foreground deeppink4 :weight bold)
  (COMMENT :foreground RosyBrown4))
 org-link-frame-setup '((vm . vm-visit-folder-other-frame)
(gnus . org-gnus-no-new-news)
(file . find-file-other-window))
 org-special-ctrl-a/e t
 org-agenda-custom-commands '((d Today's effort agenda 
   ((org-agenda-view-columns-initially t)
(org-agenda-ndays 1))
   )
  (W Weekly review
   ((agenda  ((org-agenda-ndays 7)))
(alltodo 
 ((org-agenda-files (list ~/Sites/org/))
  (org-agenda-file-regexp ^[^m].*_A\\.org$)
  (org-agenda-todo-ignore-with-date t)
  (org-agenda-sorting-strategy
   (quote
(priority-down todo-state-down category-keep
 tag-up effort-up)
)
   )
  (org-agenda-overriding-header
   Unscheduled TODO entries - work: )
  )
 )
(todo WAITING|DELEGATED
 ((org-agenda-files (list ~/Sites/org/))
  (org-agenda-file-regexp ^[^m].*_A\\.org$)
  (org-agenda-todo-ignore-scheduled nil)
  (org-agenda-todo-ignore-deadlines nil)
  (org-agenda-sorting-strategy
   (quote
(priority-down todo-state-down tag-up
 category-keep)
)
   )
  (org-agenda-overriding-header
   Awaiting response from others - work: )
  )
 )
)
   )
  (I Import diary from iCal agenda 
   ((org-agenda-mode-hook (lambda nil 
(org-mac-iCal)
  (F Import links to flagged mail agenda 
   ((org-agenda-mode-hook
 (lambda nil
  (let ((org-mac-mail-account Gmail))
   (org-mac-insert-flagged-mail taskpool_A.org
Flagged mail)
   )
  )
 )
)
  

Re: [Orgmode] Bug: Can't set org-export-latex-title-command using #+BIND: [6.33trans]

2009-12-20 Thread Carsten Dominik

Fixed, thanks

- Carsten

On Dec 20, 2009, at 11:58 AM, Christopher Suckling wrote:



Remember to cover the basics, that is, what you expected to happen and
what in fact did happen.  You don't know how to make a good report?   
See


http://orgmode.org/manual/Feedback.html#Feedback

Your bug report will be posted to the Org-mode mailing list.


Using the following test file:

,
| # -*- mode: org; -*-
|
| * Tree
| ** Subtree
|I want no \maketitle command
|
| * COMMENT Local variables
| #+BIND: org-export-latex-title-command 
|
| # Local Variables:
| # End:
`

exporting to latex yields:

,
| % Created 2009-12-20 Sun 10:52
| % BEGIN defaults
| \documentclass[a4paper, 12pt]{memoir}
| \usepackage{org-export}
|  % END defaults
|
|
| \title{test}
| \author{Christopher Suckling}
| \date{20 December 2009}
|
| \begin{document}
|
| \maketitle
|
| \setcounter{tocdepth}{3}
| \tableofcontents
| \vspace*{1cm}
|
| \chapter{Tree}
| \label{sec-1}
| \section{Subtree}
| \label{sec-1.1}
|
|I want no \maketitle command
|
| \end{document}
`

Evaluating

,
| (setq org-export-latex-title-command )
`

prior to export successfully removes \maketitle.


Best, Christopher


Emacs  : GNU Emacs 23.1.50.1 (x86_64-apple-darwin10.2.0, NS apple- 
appkit-1038.25)

of 2009-12-08 on rushka.local
Package: Org-mode version 6.33trans

current state:
==
(setq
org-export-latex-default-class org-export
org-export-latex-after-initial-vars-hook '(org-beamer-after-initial- 
vars)
org-todo-keyword-faces '((CANCELLED :foreground gray40 :weight  
bold)

  (DEFERRED :foreground olivedrab4 :weight bold)
  (OPEN :foreground red1 :weight bold :underline t
   :slant italic)
  (TODO :foreground dodgerblue3 :weight bold)
  (NEXT :foreground navyblue :weight bold)
  (WAITING :foreground red3 :weight bold)
  (DELEGATED :foreground deeppink4 :weight bold)
  (COMMENT :foreground RosyBrown4))
org-link-frame-setup '((vm . vm-visit-folder-other-frame)
(gnus . org-gnus-no-new-news)
(file . find-file-other-window))
org-special-ctrl-a/e t
org-agenda-custom-commands '((d Today's effort agenda 
   ((org-agenda-view-columns-initially t)
(org-agenda-ndays 1))
   )
  (W Weekly review
   ((agenda  ((org-agenda-ndays 7)))
(alltodo 
 ((org-agenda-files (list ~/Sites/org/))
  (org-agenda-file-regexp ^[^m].*_A\\.org$)
  (org-agenda-todo-ignore-with-date t)
  (org-agenda-sorting-strategy
   (quote
(priority-down todo-state-down category-keep
 tag-up effort-up)
)
   )
  (org-agenda-overriding-header
   Unscheduled TODO entries - work: )
  )
 )
(todo WAITING|DELEGATED
 ((org-agenda-files (list ~/Sites/org/))
  (org-agenda-file-regexp ^[^m].*_A\\.org$)
  (org-agenda-todo-ignore-scheduled nil)
  (org-agenda-todo-ignore-deadlines nil)
  (org-agenda-sorting-strategy
   (quote
(priority-down todo-state-down tag-up
 category-keep)
)
   )
  (org-agenda-overriding-header
   Awaiting response from others - work: )
  )
 )
)
   )
  (I Import diary from iCal agenda 
   ((org-agenda-mode-hook (lambda nil 
(org-mac-iCal)
  (F Import links to flagged mail agenda 
   ((org-agenda-mode-hook
 (lambda nil
  (let ((org-mac-mail-account Gmail))
   (org-mac-insert-flagged-mail taskpool_A.org
Flagged mail)
   )
 

Re: [Orgmode] Bug: Can't set org-export-latex-title-command using #+BIND: [6.33trans]

2009-12-20 Thread Christopher Suckling
On Sun, 20 Dec 2009 13:29:59 +0100, Carsten Dominik carsten.domi...@gmail.com 
wrote:

Thank you, but not quite working yet:

,
| #+BIND: org-export-latex-title-command 
`

now appears to be having the *effect* of setting a global variable.

I load Emacs then visit the below test org file. I then export the file.

I get a \maketitle line.

I then C-c C-c on the #+BIND: line and re-export.

\maketitle is removed.

I then export another org file without the #+BIND: line. 

There is no \maketitle, even though there should be.

I add

,
| #+BIND: org-export-latex-title-command \foobar
`

to the new org file, C-c C-c and export:

\foobar is added to the exported file.

Finally, I re-export the original test org file (without C-c C-c on the
#+BIND: line):

\foobar is added to the exported file.

However,

,
| C-h v org-export-latex-title-command
`

always returns the value \\maketitle, no matter what the value of the
#+BIND: line.

Best, Christopher

 Fixed, thanks

 - Carsten

 On Dec 20, 2009, at 11:58 AM, Christopher Suckling wrote:


 Remember to cover the basics, that is, what you expected to happen and
 what in fact did happen.  You don't know how to make a good report?
 See

 http://orgmode.org/manual/Feedback.html#Feedback

 Your bug report will be posted to the Org-mode mailing list.
 

 Using the following test file:

 ,
 | # -*- mode: org; -*-
 |
 | * Tree
 | ** Subtree
 |I want no \maketitle command
 |
 | * COMMENT Local variables
 | #+BIND: org-export-latex-title-command 
 |
 | # Local Variables:
 | # End:
 `

 exporting to latex yields:

 ,
 | % Created 2009-12-20 Sun 10:52
 | % BEGIN defaults
 | \documentclass[a4paper, 12pt]{memoir}
 | \usepackage{org-export}
 |  % END defaults
 |
 |
 | \title{test}
 | \author{Christopher Suckling}
 | \date{20 December 2009}
 |
 | \begin{document}
 |
 | \maketitle
 |
 | \setcounter{tocdepth}{3}
 | \tableofcontents
 | \vspace*{1cm}
 |
 | \chapter{Tree}
 | \label{sec-1}
 | \section{Subtree}
 | \label{sec-1.1}
 |
 |I want no \maketitle command
 |
 | \end{document}
 `

 Evaluating

 ,
 | (setq org-export-latex-title-command )
 `

 prior to export successfully removes \maketitle.


 Best, Christopher


 Emacs  : GNU Emacs 23.1.50.1 (x86_64-apple-darwin10.2.0, NS apple-
 appkit-1038.25)
 of 2009-12-08 on rushka.local
 Package: Org-mode version 6.33trans

 current state:
 ==
 (setq
 org-export-latex-default-class org-export
 org-export-latex-after-initial-vars-hook '(org-beamer-after-initial-
 vars)
 org-todo-keyword-faces '((CANCELLED :foreground gray40 :weight
 bold)
(DEFERRED :foreground olivedrab4 :weight bold)
(OPEN :foreground red1 :weight bold :underline t
 :slant italic)
(TODO :foreground dodgerblue3 :weight bold)
(NEXT :foreground navyblue :weight bold)
(WAITING :foreground red3 :weight bold)
(DELEGATED :foreground deeppink4 :weight bold)
(COMMENT :foreground RosyBrown4))
 org-link-frame-setup '((vm . vm-visit-folder-other-frame)
  (gnus . org-gnus-no-new-news)
  (file . find-file-other-window))
 org-special-ctrl-a/e t
 org-agenda-custom-commands '((d Today's effort agenda 
 ((org-agenda-view-columns-initially t)
  (org-agenda-ndays 1))
 )
(W Weekly review
 ((agenda  ((org-agenda-ndays 7)))
  (alltodo 
   ((org-agenda-files (list ~/Sites/org/))
(org-agenda-file-regexp ^[^m].*_A\\.org$)
(org-agenda-todo-ignore-with-date t)
(org-agenda-sorting-strategy
 (quote
  (priority-down todo-state-down category-keep
   tag-up effort-up)
  )
 )
(org-agenda-overriding-header
 Unscheduled TODO entries - work: )
)
   )
  (todo WAITING|DELEGATED
   ((org-agenda-files (list ~/Sites/org/))
(org-agenda-file-regexp ^[^m].*_A\\.org$)
(org-agenda-todo-ignore-scheduled nil)
(org-agenda-todo-ignore-deadlines nil)
(org-agenda-sorting-strategy
 (quote
  (priority-down todo-state-down tag-up