[O] Enabling another language in org-babel
Does there exist any documentation on extending org-babel to another language? Relatedly, is anyone working on adding Stata coverage to org-babel? Regards, Brendan -- Brendan Halpin, Head, Department of Sociology, University of Limerick, Ireland Tel: w +353-61-213147 f +353-61-202569 h +353-61-338562; Room F1-002 x 3147 mailto:brendan.hal...@ul.ieULSociology on Facebook: http://on.fb.me/fjIK9t http://teaching.sociology.ul.ie/bhalpin/wordpress twitter:@ULSociology
Re: [O] modeline vs modeline
On Wed, Oct 24 2012, Sebastien Vauban wrote: Maybe you could provide a patch? Though, a quick note: AFAICT, in GNU Emacs, the modeline is written mode-line; but written modeline under XEmacs. I don't know how that fact is supported in Org (as it is still supposed to run under XEmacs as well). You could express the patch like this: (progn (find-file org-mode/lisp/org-faces.el) (goto-char (point-min)) (replace-string modeline mode-line) (save-buffer)) or more conventionally: 695c695 (org-compatible-face 'modeline --- (org-compatible-face 'mode-line 701c701 (org-compatible-face 'modeline --- (org-compatible-face 'mode-line 773c773 (org-copy-face 'modeline 'org-mode-line-clock --- (org-copy-face 'mode-line 'org-mode-line-clock 775c775 (org-copy-face 'modeline 'org-mode-line-clock-overrun --- (org-copy-face 'mode-line 'org-mode-line-clock-overrun but that still leaves the problem of dealing with the Emacs/Xemacs compatibility. Is there a way of aliasing face attributes? Brendan -- Brendan Halpin, Department of Sociology, University of Limerick, Ireland Tel: w +353-61-213147 f +353-61-202569 h +353-61-338562; Room F1-009 x 3147 mailto:brendan.hal...@ul.ieULSociology on Facebook: http://on.fb.me/fjIK9t http://teaching.sociology.ul.ie/bhalpin/wordpress twitter:@ULSociology
[O] modeline vs modeline
I've just updated to emacs-snapshot 24.2.50.1 (of 2012-10-18) on Debian, and have run in to a faces problem. In short references to modeline should be to mode-line. Making 4 changes in org-faces.el is enough. Brendan -- Brendan Halpin, Department of Sociology, University of Limerick, Ireland Tel: w +353-61-213147 f +353-61-202569 h +353-61-338562; Room F1-009 x 3147 mailto:brendan.hal...@ul.ieULSociology on Facebook: http://on.fb.me/fjIK9t http://teaching.sociology.ul.ie/bhalpin/wordpress twitter:@ULSociology
[O] Problem getting booktabs example to work
I'm trying to implement the LaTeX/booktabs example at section 13.2 of http://orgmode.org/worg/org-tutorials/org-latex-export.html but am having no success. I've tried a range of tweaks, but the most common result is to get the booktabs(table=test-table,align=lrX,env=tabularx) line reproduced verbatim in the output. I've pulled the latest git version. In an emacs -Q session, I evaluate the following e-lisp: (setq load-path (cons ~/mylisp/org-mode/lisp/ load-path)) (require 'org ~/mylisp/org-mode/lisp/org.el) (org-babel-do-load-languages 'org-babel-load-languages '((emacs-lisp . t) (R . t) (ruby . t) (latex . t) )) (org-babel-lob-ingest ~/mylisp/org-mode/contrib/babel/library-of-babel.org) and then do C-c C-e D in a buffer containing this org-mode text: #+LATEX_HEADER: \usepackage{tabularx,booktabs} * Table section #+name: tabularx-export #+begin_src latex :exports results :results latex \begin{table}[htb!] \centering \footnotesize \caption{A table to test booktabs} \label{tab:test-table} booktabs(table=test-table,align=lrX,env=tabularx) \end{table} #+end_src * Not for export :noexport: #+tblname: test-table | | ham | hol | h2l | |-+---+---+---+ | ham | 1.000 | 0.998 | 0.996 | | hol | 0.998 | 1.000 | 0.999 | | h2l | 0.996 | 0.999 | 1.000 | | oma | 0.986 | 0.990 | 0.995 | | omv | 0.941 | 0.939 | 0.936 | The document is produced correctly, except for the fact that the booktabs... chunk appears verbatim in place of the table body. As far as I can see I am following the instructions correctly, but I am probably missing some prerequisite. Any pointers appreciated! Regards, Brendan -- Brendan Halpin, Department of Sociology, University of Limerick, Ireland Tel: w +353-61-213147 f +353-61-202569 h +353-61-338562; Room F1-009 x 3147 mailto:brendan.hal...@ul.ieULSociology on Facebook: http://on.fb.me/fjIK9t http://teaching.sociology.ul.ie/bhalpin/wordpress twitter:@ULSociology