[O] Cygwin (org-open-file (org-odt-export-to-odt nil s v) 'system) opens odt as zip

2013-11-30 Thread Miguel Ruiz
Hello, I use cygwin only cli, so I depend on html, pdf and odt MSWindows viewer. I could manage to add this code to my .emacs: (if (eq system-type 'cygwin)  (add-hook 'org-mode-hook       '(lambda ()          (delete '(\\.x?html?\\' . default) org-file-apps)          (add-to-list 'org-file-apps

Re: [O] Cygwin (org-open-file (org-odt-export-to-odt nil s v) 'system) opens odt as zip

2013-11-30 Thread Miguel Ruiz
Thank you, Jambunathan. 1/ I'm running Emacs 24.3.1 (i686-pc-cygwin) of 2013-08-14 on moufang; it's Windows Emacs built into cygwin, so you don't have to have X11 installed in cygwin for graphical Emacs. 2/ I forgot to say I'm a running mintty 1.1.3 so open is not available, I can use

Re: [O] How do I specify the language for a :results code block

2013-11-30 Thread Alan Schmitt
Hello Thomas and Charles, ccbe...@ucsd.edu writes: A simple example: generate code in sh that is run in emacs-lisp This is almost what I want, with two differences: I don't want to run the generated code, but to pretty-print it, and I want to do this with another language than emacs-lisp.

[O] Cannot generate latex preview images (Was: imaxima babel)

2013-11-30 Thread Alan Schmitt
Hello, yggdra...@gmx.co.uk writes: Alan Schmitt alan.schm...@polytechnique.org writes: I tried previewing the fragment, but I got the error: , | Failed to create dvi file from /var/folders/68/fvntfrw92y50gkk_67rkhsfwgn/T/orgtex16220cbr.tex ` Looking at the tex file and the

Re: [O] Cannot generate latex preview images

2013-11-30 Thread Nicolas Goaziou
Hello, Alan Schmitt alan.schm...@polytechnique.org writes: The reason I have xltxtra is because I add it to the latex packages to use for export: (add-to-list 'org-latex-packages-alist '( xltxtra t)) ^^^ With this t, you are asking

Re: [O] Getting checkboxes in HTML output?

2013-11-30 Thread Rick Frankel
On Sat, Nov 30, 2013 at 07:54:42AM +0100, Carsten Dominik wrote: I don't thing the partial ones work - we should just make then unchecked in export if there is nothing better. the grey dos not convey the right information. I agree, but couldn't think of any other way. There are 3 other

Re: [O] How do I specify the language for a :results code block

2013-11-30 Thread Thomas S. Dye
Alan Schmitt alan.schm...@polytechnique.org writes: I tried this alternate approach, to directly generate the block: #+name: fetchcoq2 #+BEGIN_SRC sh :exports none :results raw :var f=demo.v echo #+BEGIN_SRC coq head $f echo echo #+END_SRC #+END_SRC #+call: fetchcoq2(demo.v) But then

Re: [O] Babel support for the D language

2013-11-30 Thread Thomas S. Dye
Aloha Thierry, Thierry Banel tbanelweb...@free.fr writes: Done ! The first draft of http://orgmode.org/worg/org-contrib/babel/languages/ob-doc-D.html has been committed. I pushed some minor edits. Looks good! All the best, Tom -- Thomas S. Dye http://www.tsdye.com

Re: [O] Getting checkboxes in HTML output?

2013-11-30 Thread Carsten Dominik
Hi Rick, On 30.11.2013, at 15:07, Rick Frankel r...@rickster.com wrote: On Sat, Nov 30, 2013 at 07:54:42AM +0100, Carsten Dominik wrote: I don't thing the partial ones work - we should just make then unchecked in export if there is nothing better. the grey dos not convey the right

Re: [O] Cygwin (org-open-file (org-odt-export-to-odt nil s v) 'system) opens odt as zip

2013-11-30 Thread Jambunathan K
Miguel Ruiz rbeni...@yahoo.es writes: Remove all your configurations and try this. This will use windows open. (require 'org) ;; Make sure org is loaded (defun org-default-apps () Return the default applications for this operating system. (cond ((eq system-type 'darwin)

Re: [O] Cygwin (org-open-file (org-odt-export-to-odt nil s v) 'system) opens odt as zip

2013-11-30 Thread Jambunathan K
Jambunathan K kjambunat...@gmail.com writes: (eval-after-load 'org '(when (eq system-type 'gnu/linux) ^ ^ 'cygwin (setcdr (assq 'system

Re: [O] Cygwin (org-open-file (org-odt-export-to-odt nil s v) 'system) opens odt as zip

2013-11-30 Thread Jambunathan K
Ignore my earlier suggestion. (if (eq system-type 'cygwin) (add-hook 'org-mode-hook '(lambda () (delete '(\\.x?html?\\' . default) org-file-apps) (add-to-list 'org-file-apps '(\\.x?html?\\' . cygstart %s)) (delete '(\\.pdf\\' . default) org-file-apps) (add-to-list 'org-file-apps