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

2014-04-06 Thread Richard Lawrence
Hi Thomas, "Thomas S. Dye" 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 trouble..

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 biblat

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 wrote: > Hello, > > "R. Michael Weylandt" 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 familiar with org-element-context,

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

2014-04-06 Thread Richard Lawrence
Konstantin Kliakhandler writes: > Richard Lawrence 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 us

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

2014-04-06 Thread Richard Lawrence
Marcin Borkowski writes: > Dnia 2014-04-05, o godz. 09:46:39 > Richard Lawrence 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 the scale of "tools that solve problems" vs.

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 headi

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 Ch

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

2014-04-06 Thread Nick Dokos
Nicolas Goaziou writes: > Alan Schmitt 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 g

[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] Exporting to multiple files

2014-04-06 Thread Sacha Chua
Marcin Borkowski 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 org-map-entries

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

2014-04-06 Thread Nicolas Goaziou
Alan Schmitt 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 next stop for this variable

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

2014-04-06 Thread Alan Schmitt
Nicolas Goaziou writes: > Hello, > > Alan Schmitt 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] 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 wrote: > William Kunkel writes: > > Does the ELPA package include packages not bundled with Emacs (Those > > marked "C" in cus

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 mi

[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] 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! M

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] Prepare release 8.2.6

2014-04-06 Thread Nicolas Goaziou
"R. Michael Weylandt" 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 `org-babel-remove-resul

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 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 org standards

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

2014-04-06 Thread Konstantin Kliakhandler
Hi Richard, Richard Lawrence 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 usable for me. Out of cur

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

2014-04-06 Thread Nicolas Goaziou
Hello, Alan Schmitt 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 > `org-emphasis-regexp-components' into i

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

2014-04-06 Thread Alan Schmitt
Nicolas Goaziou writes: > Hello, > > Alan Schmitt 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 org again? > > You can set the variab

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

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

[O] How to properly convert duration to time?

2014-04-06 Thread Marcin Antczak
Hi List, I would like to export CLOCK with 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 to v

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 wrote: > Hello, > > Greg Tucker-Kellogg writes: > > > I think this covers it. ":float sideways" now works for both tables and > > figures, but ":float sidewaystable" is kept for backw

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

2014-04-06 Thread Nicolas Goaziou
Hello, Greg Tucker-Kellogg 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 ":placement" option irre

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