Re: [Orgmode] Bug in LaTeX export of org-html-entities?

2010-03-29 Thread Carsten Dominik

Hi Gerald,

Ulf Stegemann and myself have been working on improving this
problem.  The result of this work is in a special branch on the
git repo, called "new-entity-support".

If you have time, maybe you can check out this branch and test it,
to see if the problem you reported is indeed fixed.

- Carsten

On Feb 26, 2010, at 11:24 AM, Geralt wrote:


Hello,

I think there's at least one bug in the
org-export-latex-treat-backslash-char function, because it does not
correctly export entries of the org-html-entities variable that have
the form ("Rightarrow" . "⇒"). To render such entities the
function uses (member (list string-after) org-html-entities), but that
fails for these entries. Assuming that org-html-entities is an alist a
correct check would be (assoc string-after org-html-entities). But
even then I think the function is broken, because it renders these
entities with the following piece of code:
(cond ((member (list string-after) org-html-entities)
 ;; backslash is part of a special entity (like "\alpha")
 (concat string-before "$\\"
 (or (cdar (member (list string-after) org-html-entities))
 string-after) "$"))

 ;; other cases follow here, I've omitted them

If I replace just the condition-check with the (assoc ...) version the
export of, for example, \Rightarrow works, but due to the association
of Rightarrow with rArr we should expect that it should render
\Rightarrow as "⇒" which is of course only meaningful for HTML.
So I think we need here another condition, namely
(cond ((assoc string-after org-html-entities)
 (concat string-before "$\\"
 (or (cdr (assoc string-after org-html-entities))
 string-after) "$"))

but that's not enough we also need a new entity variable
org-latex-entities which mapps entities like \rArr to \Rightarrow, so
instead of an entry ("Rightarrow" . "⇒") we need an entry ("rArr"
. "Rightarrow") and put an entry with empty cdr in this alist for
Rightarrow: ("Rightarrow").

Can you confirm this bug? And if yes, do you have a better solution
than I to avoid the duplication of the entities variable?





Geralt.


___
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


- Carsten





___
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] Bug in LaTeX export of org-html-entities?

2010-03-04 Thread Carsten Dominik

Hi Gerald,

I confirm this bug, but I don't have a fix currently.  There is a  
revamp of the entiies code in the making, but not done yet.


- Carsten

On Feb 26, 2010, at 11:24 AM, Geralt wrote:


Hello,

I think there's at least one bug in the
org-export-latex-treat-backslash-char function, because it does not
correctly export entries of the org-html-entities variable that have
the form ("Rightarrow" . "⇒"). To render such entities the
function uses (member (list string-after) org-html-entities), but that
fails for these entries. Assuming that org-html-entities is an alist a
correct check would be (assoc string-after org-html-entities). But
even then I think the function is broken, because it renders these
entities with the following piece of code:
 (cond ((member (list string-after) org-html-entities)
 ;; backslash is part of a special entity (like "\alpha")
 (concat string-before "$\\"
 (or (cdar (member (list string-after) org-html-entities))
 string-after) "$"))

  ;; other cases follow here, I've omitted them

If I replace just the condition-check with the (assoc ...) version the
export of, for example, \Rightarrow works, but due to the association
of Rightarrow with rArr we should expect that it should render
\Rightarrow as "⇒" which is of course only meaningful for HTML.
So I think we need here another condition, namely
(cond ((assoc string-after org-html-entities)
  (concat string-before "$\\"
  (or (cdr (assoc string-after org-html-entities))
  string-after) "$"))

but that's not enough we also need a new entity variable
org-latex-entities which mapps entities like \rArr to \Rightarrow, so
instead of an entry ("Rightarrow" . "⇒") we need an entry ("rArr"
. "Rightarrow") and put an entry with empty cdr in this alist for
Rightarrow: ("Rightarrow").

Can you confirm this bug? And if yes, do you have a better solution
than I to avoid the duplication of the entities variable?





Geralt.


___
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


- Carsten





___
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] Bug in LaTeX export of org-html-entities?

2010-03-02 Thread Geralt
I think I forgot to state the actual problem, cosider the following org-file:
* An example \Rightarrow foobar
  some text

The produced LaTeX code is:
% Created 2010-03-02 Tue 12:53
\documentclass[11pt]{article}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage{graphicx}
\usepackage{longtable}
\usepackage{hyperref}
\providecommand{\alert}[1]{\textbf{#1}}

\title{test}
\author{}
\date{02 March 2010}

\begin{document}

\maketitle

\setcounter{tocdepth}{3}
\tableofcontents
\vspace*{1cm}
\section{An example \Rightarrow foobar}
\label{sec-1}

  some text
\end{document}



As you can see it includes \Rightarrow instead of $\Rightarrow$ and
the check in the export function to accomplish that is the first one,
but that one uses member to check for an entry of the form
("Rightarrow") in the org-html-entities list which does not exist and
even if it would exist the elisp-code to procude the LaTeX code would
call cdar on the list ("Rightarrow") which results in nil and the
second part of the or-statement is executed, i.e. it always executes
the second part of the or-statement.



Geralt.


___
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] Bug in LaTeX export of org-html-entities?

2010-03-02 Thread Geralt
Hi,

it's been a few days and still no response, am I the only one who
thinks there's something wrong with the export of the special entities
preceded by a backslash, like \Rightarrow?




Geralt.


___
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 in LaTeX export of org-html-entities?

2010-02-26 Thread Geralt
Hello,

I think there's at least one bug in the
org-export-latex-treat-backslash-char function, because it does not
correctly export entries of the org-html-entities variable that have
the form ("Rightarrow" . "⇒"). To render such entities the
function uses (member (list string-after) org-html-entities), but that
fails for these entries. Assuming that org-html-entities is an alist a
correct check would be (assoc string-after org-html-entities). But
even then I think the function is broken, because it renders these
entities with the following piece of code:
  (cond ((member (list string-after) org-html-entities)
 ;; backslash is part of a special entity (like "\alpha")
 (concat string-before "$\\"
 (or (cdar (member (list string-after) org-html-entities))
 string-after) "$"))

   ;; other cases follow here, I've omitted them

If I replace just the condition-check with the (assoc ...) version the
export of, for example, \Rightarrow works, but due to the association
of Rightarrow with rArr we should expect that it should render
\Rightarrow as "⇒" which is of course only meaningful for HTML.
So I think we need here another condition, namely
(cond ((assoc string-after org-html-entities)
   (concat string-before "$\\"
   (or (cdr (assoc string-after org-html-entities))
   string-after) "$"))

but that's not enough we also need a new entity variable
org-latex-entities which mapps entities like \rArr to \Rightarrow, so
instead of an entry ("Rightarrow" . "⇒") we need an entry ("rArr"
. "Rightarrow") and put an entry with empty cdr in this alist for
Rightarrow: ("Rightarrow").

Can you confirm this bug? And if yes, do you have a better solution
than I to avoid the duplication of the entities variable?





Geralt.


___
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: Bug: [Orgmode] bug in latex export [6.34b]

2010-01-15 Thread Carsten Dominik
Hi, this is not a bug.  Org-mode treats laTeX environments as  
implicitly literal.

As we have discussed a few days ago here, you can work around it using

#+LaTeX: {}\begin{multicol}[2]

- Carsten

P.S. this is becoming another subject for a FAQ which should cover both
 org-special-blocks.el and the workaround I show above.
 Would anyone like to volunteer writing it?  Thanks.

On Jan 15, 2010, at 7:05 AM, iem...@gmail.com 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.


I exported the following example test.org to latex, the content  
between

\begin{multicols}{2} and \end{multicols} hadn't been replaced with
latex code.

-test.org
#-*- mode: org; coding: utf-8 -*-
#+LATEX_HEADER: \usepackage{multicol}

* title

\begin{multicols}{2}

** subtitle

1. first
2. second

\end{multicols}
-end of test.org

I got the following result

-test.tex
% Created 2010-01-15 Fri 13:51
\documentclass[11pt]{article}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage{graphicx}
\usepackage{longtable}
\usepackage{float}
\usepackage{wrapfig}
\usepackage{soul}
\usepackage{amssymb}
\usepackage{hyperref}
\usepackage{multicol}

\title{test}
\author{}
\date{15 January 2010}

\begin{document}

\maketitle

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

\section{title}
\label{sec-1}


\begin{multicols}{2}

**  subtitle

1. first
2. second

\end{multicols}

\end{document}
-end of test.tex

Emacs  : GNU Emacs 23.1.90.1 (i386-mingw-nt5.1.2600)
of 2009-12-16 on BREPNB
Package: Org-mode version 6.34b

current state:
==
(setq
org-log-done t
org-agenda-skip-scheduled-if-deadline-is-shown t
org-export-latex-after-initial-vars-hook '(org-beamer-after-initial- 
vars)

org-special-ctrl-a/e t
org-agenda-files '("~/org/todo.org" "~/org/refile.org")
org-startup-truncated nil
org-agenda-skip-timestamp-if-done t
org-after-todo-state-change-hook '(org-clock-out-if-current)
org-agenda-text-search-extra-files '(agenda-archives)
org-special-ctrl-k t
org-export-latex-format-toc-function 'org-export-latex-format-toc- 
default

org-agenda-skip-scheduled-if-done t
org-latex-to-pdf-process '("xelatex -interaction nonstopmode %s"
"xelatex -interaction nonstopmode %s")
org-export-preprocess-hook '(org-export-blocks-preprocess
org-export-bibtex-preprocess)
org-agenda-diary-file "~/org/todo.org"
org-tab-first-hook '(org-hide-block-toggle-maybe)
org-src-mode-hook '(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-clock-sound "d:/sound/Ringtone.mp3"
org-todo-keywords '((sequence "TODO(t)" "WAIT(w@/!)" "FUTURE(f)" "|"
"DONE(d!/!)" "NOTE(n@)" "CANCELED(c@/!)"))
org-agenda-before-write-hook '(org-agenda-add-entry-text)
org-default-notes-file "refile.org"
org-directory "~/org/"
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-use-speed-commands t
org-mode-hook '(turn-on-org-cdlatex
   (lambda nil (org-add-hook (quote
change-major-mode-hook) (quote org-show-block-all) (quote append)
(quote local)))
   (lambda nil (visual-line-mode 1) (auto-complete-mode
1) (auto-complete-mode-maybe)))
org-agenda-ndays 1
org-refile-targets '((org-agenda-files :level . 1) (nil :level . 1))
org-confirm-elisp-link-function 'yes-or-no-p
org-fast-tag-selection-single-key 'expert
org-agenda-skip-deadline-if-done t
org-deadline-string "DUE:"
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-remember-templates '(("todo" 116 "* TODO %?\n%U\n%a" nil bottom  
nil)

("note" 110 "* NOTE %?\n%U\n%a"
"~/org/todo.archive" "Notes" nil)
("diary" 100 "* %t %?" "~/org/todo.org" date- 
tree)

("appointment" 97 "* %^T %^{Event} -
%^{Place}\n%?\n%U" nil bottom nil))
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)

)


--
Kind regards,

Tian Qiu


___
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


- Carsten





_

Bug: [Orgmode] bug in latex export [6.34b]

2010-01-14 Thread iemacs
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.


I exported the following example test.org to latex, the content between
\begin{multicols}{2} and \end{multicols} hadn't been replaced with
latex code.

-test.org
#-*- mode: org; coding: utf-8 -*-
#+LATEX_HEADER: \usepackage{multicol}

* title

\begin{multicols}{2}

** subtitle

1. first
2. second

\end{multicols}
-end of test.org

I got the following result

-test.tex
% Created 2010-01-15 Fri 13:51
\documentclass[11pt]{article}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage{graphicx}
\usepackage{longtable}
\usepackage{float}
\usepackage{wrapfig}
\usepackage{soul}
\usepackage{amssymb}
\usepackage{hyperref}
\usepackage{multicol}

\title{test}
\author{}
\date{15 January 2010}

\begin{document}

\maketitle

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

\section{title}
\label{sec-1}


\begin{multicols}{2}

**  subtitle

1. first
2. second

\end{multicols}

\end{document}
-end of test.tex

Emacs  : GNU Emacs 23.1.90.1 (i386-mingw-nt5.1.2600)
 of 2009-12-16 on BREPNB
Package: Org-mode version 6.34b

current state:
==
(setq
 org-log-done t
 org-agenda-skip-scheduled-if-deadline-is-shown t
 org-export-latex-after-initial-vars-hook '(org-beamer-after-initial-vars)
 org-special-ctrl-a/e t
 org-agenda-files '("~/org/todo.org" "~/org/refile.org")
 org-startup-truncated nil
 org-agenda-skip-timestamp-if-done t
 org-after-todo-state-change-hook '(org-clock-out-if-current)
 org-agenda-text-search-extra-files '(agenda-archives)
 org-special-ctrl-k t
 org-export-latex-format-toc-function 'org-export-latex-format-toc-default
 org-agenda-skip-scheduled-if-done t
 org-latex-to-pdf-process '("xelatex -interaction nonstopmode %s"
"xelatex -interaction nonstopmode %s")
 org-export-preprocess-hook '(org-export-blocks-preprocess
org-export-bibtex-preprocess)
 org-agenda-diary-file "~/org/todo.org"
 org-tab-first-hook '(org-hide-block-toggle-maybe)
 org-src-mode-hook '(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-clock-sound "d:/sound/Ringtone.mp3"
 org-todo-keywords '((sequence "TODO(t)" "WAIT(w@/!)" "FUTURE(f)" "|"
"DONE(d!/!)" "NOTE(n@)" "CANCELED(c@/!)"))
 org-agenda-before-write-hook '(org-agenda-add-entry-text)
 org-default-notes-file "refile.org"
 org-directory "~/org/"
 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-use-speed-commands t
 org-mode-hook '(turn-on-org-cdlatex
 (lambda nil (org-add-hook (quote
change-major-mode-hook) (quote org-show-block-all) (quote append)
(quote local)))
 (lambda nil (visual-line-mode 1) (auto-complete-mode
1) (auto-complete-mode-maybe)))
 org-agenda-ndays 1
 org-refile-targets '((org-agenda-files :level . 1) (nil :level . 1))
 org-confirm-elisp-link-function 'yes-or-no-p
 org-fast-tag-selection-single-key 'expert
 org-agenda-skip-deadline-if-done t
 org-deadline-string "DUE:"
 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-remember-templates '(("todo" 116 "* TODO %?\n%U\n%a" nil bottom nil)
  ("note" 110 "* NOTE %?\n%U\n%a"
"~/org/todo.archive" "Notes" nil)
  ("diary" 100 "* %t %?" "~/org/todo.org" date-tree)
  ("appointment" 97 "* %^T %^{Event} -
%^{Place}\n%?\n%U" nil bottom nil))
 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)
 )


-- 
Kind regards,

Tian Qiu


___
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] Bug in LaTeX export of multiple footnote references

2009-11-20 Thread Carsten Dominik

Fixed, thanks.

- Carsten

On Nov 20, 2009, at 2:36 PM, Francesco Pizzolante wrote:


Hi,

Exporting multiple references to the same footnote to LaTeX lead to  
a wrong

generated code.

The following example:

--8<---cut here---start->8---
* Title
 This is my text[fn:1:This is my footnote.]. And another one[fn:1].
--8<---cut here---end--->8---

Will produce the following LaTeX code:

--8<---cut here---start->8---
\section{Title}
\label{sec-1}

 This is my text\footnote{This is my footnote. }. And another one\$ 
$^{1}$\$.

--8<---cut here---end--->8---

The correct code should be:

--8<---cut here---start->8---
\section{Title}
\label{sec-1}

 This is my text\footnote{This is my footnote. }. And another one 
$^{1}$.

--8<---cut here---end--->8---

Regards,
Francesco


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


- Carsten





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


[Orgmode] Bug in LaTeX export of multiple footnote references

2009-11-20 Thread Francesco Pizzolante
Hi,

Exporting multiple references to the same footnote to LaTeX lead to a wrong
generated code.

The following example:

--8<---cut here---start->8---
* Title
  This is my text[fn:1:This is my footnote.]. And another one[fn:1].
--8<---cut here---end--->8---

Will produce the following LaTeX code:

--8<---cut here---start->8---
\section{Title}
\label{sec-1}

  This is my text\footnote{This is my footnote. }. And another one\$$^{1}$\$.
--8<---cut here---end--->8---

The correct code should be:

--8<---cut here---start->8---
\section{Title}
\label{sec-1}

  This is my text\footnote{This is my footnote. }. And another one$^{1}$.
--8<---cut here---end--->8---

Regards,
Francesco


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


Re: [Orgmode] Bug in LaTeX export

2009-07-16 Thread Bastien
"Holst Thomas (DS-ET/ECF1)"  writes:

> I think I discoverd a bug in LaTeX export. I mark a subtree with C-c @
> and then export it to LaTeX with C-c C-e L.
>
> If the subtree has no further subtrees the LaTeX-file not only contains
> the region, but also the rest of the document to the end.

Fixed, thanks!

-- 
 Bastien


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


[Orgmode] Bug in LaTeX export

2009-07-10 Thread Holst Thomas (DS-ET/ECF1)
Hello,

I think I discoverd a bug in LaTeX export. I mark a subtree with C-c @
and then export it to LaTeX with C-c C-e L.

If the subtree has no further subtrees the LaTeX-file not only contains
the region, but also the rest of the document to the end.

Here is an example:

,[ test.org ]
| * Kapitel 1
| ** Kapitel 1.1
|foo bar
| * Kapitel 2
|   bar foo
`

If the Kapitel 1.1 subtree is marked the LaTeX output looks like this:

,[ LaTeX output ]
| % Created 2009-07-10 Fr 12:33
| \documentclass[11pt,a4paper]{article}
| \usepackage[latin1]{inputenc}
| \usepackage[T1]{fontenc}
| \usepackage{hyperref}
|
|
| \title{Kapitel 1.1}
| \author{Holst Thomas}
| \date{10 Juli 2009}
|
| \begin{document}
|
| \textbf{Kapitel 1.1}
|
| \setcounter{tocdepth}{3}
| \tableofcontents
| \vspace*{1cm}
|foo bar
| \begin{itemize}
| \item Kapitel 2
|   bar foo
| \end{itemize}
|
| \end{document}
`

Kapitel 2 is also included. This does not happen if the subtree has
additonal subtrees. If I mark the Kapitel 1 subtree the output is as
expected.

When the bug happens, `org-export-latex-default-class' does not work.
Instead the class 'article' is used.

It does not happen if the region is exported to ASCII or HTML.

My setup is:

emacs 22.2.1, WinXP, org-mode 6.28trans from yesterday.

I also observed this bug with org-mode 6.28b. And when I start emacs
with the option '-Q'.


Thomas

--
"Das Leben ist so einfach,
 dass es schon wieder schwierig ist!"


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


Re: [Orgmode] Bug in LaTeX export

2009-01-20 Thread Carsten Dominik

This has already been addressed and should work in the 6.18 release.

- Carsten

On Jan 20, 2009, at 9:32 AM, Thomas Holst wrote:


Hello,

when I call `org-export-region-as-latex' emacs enters a ininite
loop. When I call a HTML export command prior to
`org-export-region-as-latex' everything works fine with LaTeX export
commands.

As I found out `org-maybe-keyword-time-regexp' is not set when  
calling a

LaTeX export command. It is set, when calling a HTML command.

I am using emacs version: 22.2.1 on WinXP
org-mode-version: 6.17c

org related settings in .emacs
-8x--x8---
(require 'org-install)
(add-to-list 'auto-mode-alist '("\\.org$" . org-mode))
(define-key global-map "\C-cl" 'org-store-link)
(define-key global-map "\C-ca" 'org-agenda)
;; "\C-co" ist global auf occur-at-point gesetzt, also für org-mode
;; zurücksetzen
(eval-after-load "org"
 '(progn
(define-key org-mode-map "\C-co" 'org-open-at-point)
)
 )

(setq org-log-done t)
(defun gtd ()
 (interactive)
 (find-file "U:/Org/MyGTD.org")
 )

;; Einstellungen für remember
(require 'remember) ; rember laden

(org-remember-insinuate)
(setq org-directory "c:/daten/users/DE_hts2fe/Org")
(setq org-default-notes-file (concat org-directory "/MyNotes.org"))
(define-key global-map "\C-cr" 'org-remember)
-8x--x8---

Thomas
--
"Das Leben ist so einfach,
dass es schon wieder schwierig ist!"


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




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


[Orgmode] Bug in LaTeX export

2009-01-20 Thread Thomas Holst
Hello,

when I call `org-export-region-as-latex' emacs enters a ininite
loop. When I call a HTML export command prior to
`org-export-region-as-latex' everything works fine with LaTeX export
commands.

As I found out `org-maybe-keyword-time-regexp' is not set when calling a
LaTeX export command. It is set, when calling a HTML command.

I am using emacs version: 22.2.1 on WinXP
org-mode-version: 6.17c

org related settings in .emacs
-8x--x8---
(require 'org-install)
(add-to-list 'auto-mode-alist '("\\.org$" . org-mode))
(define-key global-map "\C-cl" 'org-store-link)
(define-key global-map "\C-ca" 'org-agenda)
;; "\C-co" ist global auf occur-at-point gesetzt, also für org-mode
;; zurücksetzen
(eval-after-load "org"
  '(progn
 (define-key org-mode-map "\C-co" 'org-open-at-point)
 )
  )

(setq org-log-done t)
(defun gtd ()
  (interactive)
  (find-file "U:/Org/MyGTD.org")
  )

;; Einstellungen für remember
(require 'remember) ; rember laden

(org-remember-insinuate)
(setq org-directory "c:/daten/users/DE_hts2fe/Org")
(setq org-default-notes-file (concat org-directory "/MyNotes.org"))
(define-key global-map "\C-cr" 'org-remember)
-8x--x8---

Thomas
-- 
"Das Leben ist so einfach,
 dass es schon wieder schwierig ist!"


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