emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* problem exporting to latex with latest git release
@ 2009-06-18 16:53 Eric S Fraga, Eric S Fraga
  2009-06-18 21:15 ` Carsten Dominik
  0 siblings, 1 reply; 3+ messages in thread
From: Eric S Fraga, Eric S Fraga @ 2009-06-18 16:53 UTC (permalink / raw)
  To: emacs-orgmode

Carsten et al.,

I have run into the following problem with the latest git release of
org-mode.  When attempting to export an org file as latex, I get the
following (truncated to remove excess amount of file contents etc)
debug trace:

,----
| Debugger entered--Lisp error: (void-variable org-export-LaTeX-verbatim-wrap)
|   (cdr org-export-LaTeX-verbatim-wrap)
|   (concat (car org-export-latex-verbatim-wrap) rtn (cdr
org-export-LaTeX-verbatim-wrap))
|   (org-add-props (concat (car org-export-latex-verbatim-wrap) rtn (cdr
org-export-LaTeX-verbatim-wrap)) (quote (org-protected t)))
|   (concat "\n#+BEGIN_LaTeX\n" (org-add-props (concat ... rtn ...) (quote
...)) "#+END_LaTeX\n\n")
|   (cond ((eq backend ...) (setq rtn ...) (concat "\n#+BEGIN_DOCBOOK\n" ...
"#+END_DOCBOOK\n")) ((eq backend ...) (when lang ... ...) (if lang ... ...)
(unless textareap ...) (concat "\n#+BEGIN_HTML\n" ... "\n#+END_HTML\n\n")) ((eq
backend ...) (setq rtn ...) (concat "\n#+BEGIN_LaTeX\n" ... "#+END_LaTeX\n\n"))
((eq backend ...) (setq rtn ...) (concat "#+BEGIN_ASCII\n" ...
"#+END_ASCII\n")))
|   (setq rtn (cond (... ... ...) (... ... ... ... ...) (... ... ...) (... ...
...)))
| 
| [... stuff removed ...]
|
|   org-export-as-latex(nil)
|   call-interactively(org-export-as-latex)
|   (if (and bg (nth 2 ass) (not ...) (not ...)) (let (...)
(set-process-sentinel p ...) (message "Background process \"%s\": started" p))
(call-interactively (nth 1 ass)))
|   (let* ((bg ...) (help "[t]   insert the export option template\n[v]   limit
export to visible part of outline tree\n\n[a] export as ASCII   [A] to
temporary buffer\n\n[h] export as HTML    [H] to temporary buffer   [R] export
region\n[b] export as HTML and open in browser\n\n[l] export as LaTeX   [L] to
temporary buffer\n[p] export as LaTeX and process to PDF\n[d] export as LaTeX,
process to PDF, and open the resulting PDF document\n\n[D] export as
DocBook\n[V] export as DocBook, process to PDF, and open the resulting PDF
document\n\n[x] export as XOXO\n\n[i] export current file as iCalendar
file\n[I] export all agenda files as iCalendar files\n[c] export agenda files
into combined iCalendar file\n\n[F] publish current file          [P] publish
current project\n[X] publish a project...          [E] publish every projects")
(cmds ...) r1 r2 ass) (save-excursion (save-window-excursion ... ... ... ...
...)) (setq r2 (if ... ... r1)) (unless (setq ass ...) (error "No command
associated with key %c" r1)) (if (and bg ... ... ...) (let ... ... ...)
(call-interactively ...)))
|   org-export(nil)
|   call-interactively(org-export nil nil)
`----

If I've removed too much, I'm happy to send a full trace.  The only
particularly out of the ordinary contents in this latex file is a
#+begin_src matlab 
block.

The git log gives the following two as the latest commits and the
second looks suspiciously as a possible culprit?

,----
| commit 8faf8271fe09edfd5a313330326cc8baab3032dd
| Author: Carsten Dominik <carsten.dominik@gmail.com>
| Date:   Thu Jun 18 09:56:59 2009 +0200
| 
|     Improve a docstring
| 
| commit e23665ee66ee2082453d28ecdcbf3152a50e1562
| Author: Carsten Dominik <carsten.dominik@gmail.com>
| Date:   Thu Jun 18 09:30:00 2009 +0200
| 
|     LaTeX export: Make the verbatim environment configurable
`----

Maybe I missed a configuration option that is necessary?

Thanks,
eric

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: problem exporting to latex with latest git release
  2009-06-18 16:53 problem exporting to latex with latest git release Eric S Fraga, Eric S Fraga
@ 2009-06-18 21:15 ` Carsten Dominik
  2009-06-18 21:55   ` Eric S Fraga, Eric S Fraga
  0 siblings, 1 reply; 3+ messages in thread
From: Carsten Dominik @ 2009-06-18 21:15 UTC (permalink / raw)
  To: e.fraga; +Cc: emacs-orgmode

Fixed, thanks.

- Carsten

On Jun 18, 2009, at 6:53 PM, Eric S Fraga wrote:

> Carsten et al.,
>
> I have run into the following problem with the latest git release of
> org-mode.  When attempting to export an org file as latex, I get the
> following (truncated to remove excess amount of file contents etc)
> debug trace:
>
> ,----
> | Debugger entered--Lisp error: (void-variable org-export-LaTeX- 
> verbatim-wrap)
> |   (cdr org-export-LaTeX-verbatim-wrap)
> |   (concat (car org-export-latex-verbatim-wrap) rtn (cdr
> org-export-LaTeX-verbatim-wrap))
> |   (org-add-props (concat (car org-export-latex-verbatim-wrap) rtn  
> (cdr
> org-export-LaTeX-verbatim-wrap)) (quote (org-protected t)))
> |   (concat "\n#+BEGIN_LaTeX\n" (org-add-props (concat ... rtn ...)  
> (quote
> ...)) "#+END_LaTeX\n\n")
> |   (cond ((eq backend ...) (setq rtn ...) (concat "\n#+BEGIN_DOCBOOK 
> \n" ...
> "#+END_DOCBOOK\n")) ((eq backend ...) (when lang ... ...) (if  
> lang ... ...)
> (unless textareap ...) (concat "\n#+BEGIN_HTML\n" ... "\n#+END_HTML\n 
> \n")) ((eq
> backend ...) (setq rtn ...) (concat "\n#+BEGIN_LaTeX\n" ... "# 
> +END_LaTeX\n\n"))
> ((eq backend ...) (setq rtn ...) (concat "#+BEGIN_ASCII\n" ...
> "#+END_ASCII\n")))
> |   (setq rtn (cond (... ... ...) (... ... ... ... ...)  
> (... ... ...) (... ...
> ...)))
> |
> | [... stuff removed ...]
> |
> |   org-export-as-latex(nil)
> |   call-interactively(org-export-as-latex)
> |   (if (and bg (nth 2 ass) (not ...) (not ...)) (let (...)
> (set-process-sentinel p ...) (message "Background process \"%s\":  
> started" p))
> (call-interactively (nth 1 ass)))
> |   (let* ((bg ...) (help "[t]   insert the export option template 
> \n[v]   limit
> export to visible part of outline tree\n\n[a] export as ASCII   [A] to
> temporary buffer\n\n[h] export as HTML    [H] to temporary buffer    
> [R] export
> region\n[b] export as HTML and open in browser\n\n[l] export as  
> LaTeX   [L] to
> temporary buffer\n[p] export as LaTeX and process to PDF\n[d] export  
> as LaTeX,
> process to PDF, and open the resulting PDF document\n\n[D] export as
> DocBook\n[V] export as DocBook, process to PDF, and open the  
> resulting PDF
> document\n\n[x] export as XOXO\n\n[i] export current file as iCalendar
> file\n[I] export all agenda files as iCalendar files\n[c] export  
> agenda files
> into combined iCalendar file\n\n[F] publish current file           
> [P] publish
> current project\n[X] publish a project...          [E] publish every  
> projects")
> (cmds ...) r1 r2 ass) (save-excursion (save-window- 
> excursion ... ... ... ...
> ...)) (setq r2 (if ... ... r1)) (unless (setq ass ...) (error "No  
> command
> associated with key %c" r1)) (if (and bg ... ... ...)  
> (let ... ... ...)
> (call-interactively ...)))
> |   org-export(nil)
> |   call-interactively(org-export nil nil)
> `----
>
> If I've removed too much, I'm happy to send a full trace.  The only
> particularly out of the ordinary contents in this latex file is a
> #+begin_src matlab
> block.
>
> The git log gives the following two as the latest commits and the
> second looks suspiciously as a possible culprit?
>
> ,----
> | commit 8faf8271fe09edfd5a313330326cc8baab3032dd
> | Author: Carsten Dominik <carsten.dominik@gmail.com>
> | Date:   Thu Jun 18 09:56:59 2009 +0200
> |
> |     Improve a docstring
> |
> | commit e23665ee66ee2082453d28ecdcbf3152a50e1562
> | Author: Carsten Dominik <carsten.dominik@gmail.com>
> | Date:   Thu Jun 18 09:30:00 2009 +0200
> |
> |     LaTeX export: Make the verbatim environment configurable
> `----
>
> Maybe I missed a configuration option that is necessary?
>
> Thanks,
> eric
>
>
> _______________________________________________
> 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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: problem exporting to latex with latest git release
  2009-06-18 21:15 ` Carsten Dominik
@ 2009-06-18 21:55   ` Eric S Fraga, Eric S Fraga
  0 siblings, 0 replies; 3+ messages in thread
From: Eric S Fraga, Eric S Fraga @ 2009-06-18 21:55 UTC (permalink / raw)
  To: Carsten Dominik; +Cc: emacs-orgmode

Carsten Dominik writes:
> Fixed, thanks.

Thank *you*!  Works just fine now.

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2009-06-18 21:55 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-06-18 16:53 problem exporting to latex with latest git release Eric S Fraga, Eric S Fraga
2009-06-18 21:15 ` Carsten Dominik
2009-06-18 21:55   ` Eric S Fraga, Eric S Fraga

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).