Re: [O] Compiling Org Mode on Windows - date Bug?

2014-04-06 Thread Achim Gratz
William Kunkel writes: I've traced the problem to the fact that make is trying to run a temporary batch script with cmd, with the contents: @echo off date +%Y-%m-%d There is no such batch script in the entire Org distribution, nor should the build system ever try to run cmd for anything (you

Re: [O] PATCH -- ox-latex.el . sideways figure in latex export

2014-04-06 Thread Nicolas Goaziou
Hello, Greg Tucker-Kellogg gtuckerkell...@gmail.com writes: I think this covers it. :float sideways now works for both tables and figures, but :float sidewaystable is kept for backwards compatibility. I updated org.texi, and mentioned that the use of :float sideways will make the

Re: [O] PATCH -- ox-latex.el . sideways figure in latex export

2014-04-06 Thread Greg Tucker-Kellogg
Thanks for the guidance. I think this is it. Cheers, Greg On Sun, Apr 6, 2014 at 4:46 PM, Nicolas Goaziou n.goaz...@gmail.com wrote: Hello, Greg Tucker-Kellogg gtuckerkell...@gmail.com writes: I think this covers it. :float sideways now works for both tables and figures, but :float

[O] How to properly convert duration to time?

2014-04-06 Thread Marcin Antczak
Hi List, I would like to export CLOCK with time html5 tag. I can output :duration as for example: 1:23 (1 hour 23 minutes) This format is not valid according to w3org specification. http://www.w3.org/html/wg/drafts/html/master/infrastructure.html#valid-duration-string How to convert duration

Re: [O] PATCH -- ox-latex.el . sideways figure in latex export

2014-04-06 Thread Nicolas Goaziou
Hello, Greg Tucker-Kellogg gtuckerkell...@gmail.com writes: Thanks for the guidance. I think this is it. Applied. Thank you. Regards, -- Nicolas Goaziou

Re: [O] emphasis borders, double quotes, and export

2014-04-06 Thread Alan Schmitt
Nicolas Goaziou n.goaz...@gmail.com writes: Hello, Alan Schmitt alan.schm...@polytechnique.org writes: Thank you for the suggestion. How can I do that? Add an (org-reload) in my async init file? Is there a more efficient way than loading org, setting the variable, and immediately reloading

Re: [O] emphasis borders, double quotes, and export

2014-04-06 Thread Nicolas Goaziou
Hello, Alan Schmitt alan.schm...@polytechnique.org writes: I assume the problem is that I want to change only one field of `org-emphasis-regexp-components' but it's not possible to do so because it's not defined before org is loaded. I guess one way to proceed is to split up

Re: [O] Kill ring contains non-killed output after an export

2014-04-06 Thread Konstantin Kliakhandler
Hi Richard, Richard Lawrence richard.lawre...@berkeley.edu writes: ... The behavior you are seeing is as expected, though I agree that this behavior is usually not all that useful. See the variable org-export-copy-to-kill-ring if you want to turn it off. Thanks! Now the export is much more

Re: [O] Prepare release 8.2.6

2014-04-06 Thread R. Michael Weylandt
On Sat, Apr 5, 2014 at 3:27 PM, Nicolas Goaziou n.goaz...@gmail.com wrote: Hello, Would you mind adding a commit message, TINYCHANGE at its end, and send it again with git format-patch? Hi Nicolas, Thanks for taking the time to review my patches (2 attached): hopefully these are formatted to

Re: [O] Prepare release 8.2.6

2014-04-06 Thread Nicolas Goaziou
R. Michael Weylandt michael.weyla...@gmail.com writes: Thanks for taking the time to review my patches (2 attached): hopefully these are formatted to org standards. Thank you. They look good. I applied the first one. I'll let Eric, or Bastien, decide about it. * ob-core.el: Add a function

Re: [O] Compiling Org Mode on Windows - date Bug?

2014-04-06 Thread William Kunkel
Does the ELPA package include packages not bundled with Emacs (Those marked C in customize-variable org-modules)? Installing it didn't seem to make the org-drill module available. As for the date problem, I guess it's trying to use cmd as my default shell and generating the temporary batch script

Re: [O] Images not showing up in PDF output

2014-04-06 Thread Mark S.
Thanks Richard and Eric! After running it in MikTex by itself, and doing some look-ups, I found that I needed: 1) To use unix style directories in the file paths 2) To use #+LATEX_HEADER: \usepackage[multidot]{grffile} in order to accommodate the extra dot in the file name. Thanks!

[O] Insert UUID with org-insert-todo-heading

2014-04-06 Thread Esben Stien
I'm using the following to have a CREATED field in the PROPERTIES field of a TODO: ;; advice org-insert-todo-heading to insert a created timestamp using org-expiry (defadvice org-insert-todo-heading (after mrb/created-timestamp-advice activate) Insert a CREATED property using org-expiry.el for

Re: [O] Compiling Org Mode on Windows - date Bug?

2014-04-06 Thread Achim Gratz
William Kunkel writes: Does the ELPA package include packages not bundled with Emacs (Those marked C in customize-variable org-modules)? The org-plus-contrib package does. Regards, Achim. -- +[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]+ SD adaptation for Waldorf microQ

Re: [O] Compiling Org Mode on Windows - date Bug?

2014-04-06 Thread William Kunkel
Wow, I sure feel silly now. This is so much easier than trying to get the damn thing compiled under Windows. Thanks! - Will On Sun, Apr 6, 2014 at 2:23 PM, Achim Gratz strom...@nexgo.de wrote: William Kunkel writes: Does the ELPA package include packages not bundled with Emacs (Those

Re: [O] emphasis borders, double quotes, and export

2014-04-06 Thread Alan Schmitt
Nicolas Goaziou n.goaz...@gmail.com writes: Hello, Alan Schmitt alan.schm...@polytechnique.org writes: I assume the problem is that I want to change only one field of `org-emphasis-regexp-components' but it's not possible to do so because it's not defined before org is loaded. I guess

Re: [O] emphasis borders, double quotes, and export

2014-04-06 Thread Nicolas Goaziou
Alan Schmitt alan.schm...@polytechnique.org writes: Thanks, I'm aware this works. I was trying not to manually set some default values so that, if default changes, I would benefit from the change. But from what I understand there is not really a choice here without changing org. I guess the

Re: [O] Exporting to multiple files

2014-04-06 Thread Sacha Chua
Marcin Borkowski mb...@wmi.amu.edu.pl writes: Hello, Marcin, all! I'd like to export an Org-mode file to /multiple/ HTML files. For instance, I might want to convert all first and second level ... Thanks a lot! Your code seems inspiring - I've only skimmed through it now, but e.g. the

[O] Is `org-preview-latex-fragment` sensitive to alignment specified by document class options?

2014-04-06 Thread Rob Stewart
Hi, Is there a way to make `org-preview-latex-fragment` sensitive to LaTeX class options? I have a simple example to demonstrate where it does not: %%% #+LaTeX_CLASS: article #+LaTeX_CLASS_OPTIONS: [fleqn] #+LATEX_HEADER: \usepackage{amsmath} \begin{gather} b := (a \oplus s_1) \oplus s_2 \\

Re: [O] emphasis borders, double quotes, and export

2014-04-06 Thread Nick Dokos
Nicolas Goaziou n.goaz...@gmail.com writes: Alan Schmitt alan.schm...@polytechnique.org writes: Thanks, I'm aware this works. I was trying not to manually set some default values so that, if default changes, I would benefit from the change. But from what I understand there is not really a

Re: [O] Export arrays for 'sh' code blocks when using bash

2014-04-06 Thread Pascal Fleury
Hi Eric, Please find attached a new patch that contains the same changes of the ob-shell.el exporter as before, but also contains unit tests for checking that it works. Let me know if you need some changes in there, and how the google-wide copyright issues comes along. My information came from

Re: [O] Insert UUID with org-insert-todo-heading

2014-04-06 Thread John Kitchin
this kind of does what you want: #+BEGIN_SRC emacs-lisp (require 'org-id) (add-hook 'org-insert-heading-hook #'(lambda () (org-entry-put (point) UUID (org-id-uuid #+END_SRC at least it works if you use the menu to insert a new heading. it does not work if you type the

Re: [O] [OT] Don't use BibTeX!

2014-04-06 Thread Richard Lawrence
Marcin Borkowski mb...@wmi.amu.edu.pl writes: Dnia 2014-04-05, o godz. 09:46:39 Richard Lawrence richard.lawre...@berkeley.edu napisaƂ(a): I have sometimes run into problems (mostly with BibTeX) when the Sorry for being off-topic, but I can't resist: *please* *don't* *use* *BibTeX*. On

Re: [O] Kill ring contains non-killed output after an export

2014-04-06 Thread Richard Lawrence
Konstantin Kliakhandler ko...@slumpy.org writes: Richard Lawrence richard.lawre...@berkeley.edu writes: The behavior you are seeing is as expected, though I agree that this behavior is usually not all that useful. See the variable org-export-copy-to-kill-ring if you want to turn it off.

Re: [O] Prepare release 8.2.6

2014-04-06 Thread R. Michael Weylandt
On Sat, Apr 5, 2014 at 3:18 PM, Nicolas Goaziou n.goaz...@gmail.com wrote: Hello, R. Michael Weylandt michael.weyla...@gmail.com writes: 1) Tell Emacs not to break inline source blocks when filling paragraphs: I suggest not to use `org-in-regexp' here but `org-element-context'. I'm not as

Re: [O] [OT] Don't use BibTeX!

2014-04-06 Thread Thomas S. Dye
Hi Richard, If you're just starting out, I encourage you to use biblatex. It will take a few minutes to make the switch and then you won't have to think about it. A biblatex site you find googling should tell you what you need to know. There are several differences, but a big one is that

[O] Biblatex and Org [was: [OT] Don't use BibTeX!]

2014-04-06 Thread Richard Lawrence
Hi Thomas, Thomas S. Dye t...@tsdye.com writes: If you're just starting out, I encourage you to use biblatex. It will take a few minutes to make the switch and then you won't have to think about it. A biblatex site you find googling should tell you what you need to know. Well, that's the