Re: [O] How do I automatically run a function whenever an org file is loaded?

2011-08-27 Thread Herbert Sitz
Herbert Sitz nwlink.com> writes: > > I'd like to put a function in my .emacs file to run each time an org file is > loaded. > > I don't see any hook for this among org-mode hooks; I assume this is something > that's accomplished using generic Emacs. > > Can someone tell me how to set this u

[O] How do I automatically run a function whenever an org file is loaded?

2011-08-27 Thread Herbert Sitz
I'd like to put a function in my .emacs file to run each time an org file is loaded. I don't see any hook for this among org-mode hooks; I assume this is something that's accomplished using generic Emacs. Can someone tell me how to set this up? Thanks, Herb

Re: [O] The Orgfather

2011-08-27 Thread Michael Hannon
Very cute.  A few random thoughts: (1) You'll be hearing from the studio's lawyers first thing Monday morning. (2) Is that horse flesh I smell in your bedroom? (3) Is somebody going to add a "vimeo" export mode to Org? -- Mike > >From: Bastien >To: emacs-org

Re: [O] [odt] equation labels

2011-08-27 Thread Jambunathan K
Myles > Does anyone know how to cause a label such as "Figure 1." in the odt > (for the resulting png), and set the caption for an equation such as: > > #+CAPTION: some caption > #+LABEL: eqn:psychrometric > \begin{equation*} > \label{eq:psychrometric} > \capillaryPressure = ln(RH)\cdot \dens_w\

Re: [O] biblatex citation

2011-08-27 Thread Thomas S. Dye
Nicolas Goaziou writes: > Hello, > > Nick Dokos writes: > >> Nick Dokos wrote: >> >>> Thomas S. Dye wrote: >>> >>> > Aloha all, >>> > >>> > This biblatex construct: >>> > \parencites[234]{kirch85}[185]{kirch84} >>> > >>> > is output like this: >>> > \parencites[234]{kirch85}[185]\{kirch84\}

[O] Library of Babel function

2011-08-27 Thread Thomas S. Dye
Hi Eric, The booktabs-notes function, below, is based on the booktabs function in the library of Babel. It takes a second table and adds it to the bottom of the main table. I use it to add multicolumn footnotes to the bottom of the table. There is also a switch that adds a linespace between the

Re: [O] How to reuse page keywords for LaTeX with pdfkeywords and hyperref package?

2011-08-27 Thread Mikhail Titov
In case someone else also wants page keywords to appear in latex export. Here is the link to original thread http://lists.gnu.org/archive/html/emacs-orgmode/2011-03/msg01429.html . There is a patch at the bottom that does that. It assumes that hyperred package is used and doesn't check that! I'm no

Re: [O] How can I bypass the agenda dispatcher and call a custom block agenda directly?

2011-08-27 Thread Marcus Klemm
Pieter Praet praet.org> writes: > That's because you need to wrap it in a lambda function. Okay, thanks. Ciao, Marcus

Re: [O] Convert list to paragraph

2011-08-27 Thread Nick Dokos
Derek Thomas wrote: > > Nick Dokos writes: > > > >> (defun org-list-to-paragraph () > >> "Convert the list at point into a paragraph." > >> (interactive) > >> (insert (org-list-to-generic (org-list-parse-list t) > >> '(:ustart "" > >>

Re: [O] disable "org-decrypt: auto-save-mode may cause leakage"

2011-08-27 Thread Pieter Praet
On Tue, 19 Jul 2011 01:12:23 +0200, Bastien wrote: > Hi Sébastien, > > "Sebastien Vauban" writes: > > > I simply call C-c C-x C-j to jump to the current clocking entry, and the > > question "org-decrypt: auto-save-mode may cause leakage. Disable it for > > current buffer? (y or n)" pops up -- w

Re: [O] The Orgfather

2011-08-27 Thread aditya siram
I am experiencing *so* much cognitive dissonance right now. -deech On Sat, Aug 27, 2011 at 10:46 AM, suvayu ali wrote: > On Sat, Aug 27, 2011 at 5:05 PM, Bastien wrote: > > Hi folks, > > > > http://lumiere.ens.fr/~guerry/theorgfather.html > > > > Enjoy! > > Ignoring the Hindi audio was a bit dif

Re: [O] The Orgfather

2011-08-27 Thread suvayu ali
On Sat, Aug 27, 2011 at 5:05 PM, Bastien wrote: > Hi folks, > > http://lumiere.ens.fr/~guerry/theorgfather.html > > Enjoy! Ignoring the Hindi audio was a bit difficult for me. :D :D -- Suvayu Open source is the future. It sets us free.

Re: [O] Merge org-7.7 into emacs

2011-08-27 Thread Pieter Praet
On Mon, 15 Aug 2011 16:39:44 +0200, Bastien wrote: > Hi Memnon, > > Memnon Anon writes: > > >http://permalink.gmane.org/gmane.emacs.devel/142944 > > > > I don't know anything about this, but maybe something can be said/done > > about it while Bastien enjoys his vacation? > > Thanks for

Re: [O] How can I bypass the agenda dispatcher and call a custom block agenda directly?

2011-08-27 Thread Pieter Praet
On Sat, 27 Aug 2011 13:45:26 + (UTC), Marcus Klemm wrote: > Bernt Hansen norang.ca> writes: > > > > Certainly this is doable > > > > (org-agenda t "a") > > > > Just bind this to the key of your choice and substitute "a" with the > > agenda you want to run. > > Doesn't work for me. I get

[O] The Orgfather

2011-08-27 Thread Bastien
Hi folks, http://lumiere.ens.fr/~guerry/theorgfather.html Enjoy! -- Bastien

Re: [O] Convert list to paragraph

2011-08-27 Thread Derek Thomas
> Nick Dokos writes: > >> (defun org-list-to-paragraph () >>   "Convert the list at point into a paragraph." >>   (interactive) >>   (insert (org-list-to-generic (org-list-parse-list t) '(:ustart "" :splice >> t :isep " " :nobr t >> >> >> (defun org-lists-to-paragraphs () >>   (goto-char (po

Re: [O] How can I bypass the agenda dispatcher and call a custom block agenda directly?

2011-08-27 Thread Marcus Klemm
Bernt Hansen norang.ca> writes: > Certainly this is doable > > (org-agenda t "a") > > Just bind this to the key of your choice and substitute "a" with the > agenda you want to run. Doesn't work for me. I get: recursive-edit: Wrong type argument: commandp, (org-agenda t "A")

Re: [O] Footnotes and Tufte-Latex

2011-08-27 Thread suvayu ali
Hi Aditya, On Thu, Aug 25, 2011 at 4:55 PM, Aditya Mandayam wrote: > This would mean conditional export to HTML and Latex. How can this be done? > What do you mean by conditional export? Are you talking about \cite{..} macros being translated to footnotes for html export, or something else like

[O] Exporting visible tree doesn't respect file local variables

2011-08-27 Thread suvayu ali
Hi everyone, I think I found a bug. When exporting the visible outlines (say after a sparse tree search) file local variables are ignored. To give you an example, in the attached org file I use file local variables to setup latex export to use xelatex by customising org-latex-to-pdf-process. For

Re: [O] a new way to navigate your org files

2011-08-27 Thread Nathan Neff
I just found this and it's great -- thanks! On Mon, Apr 25, 2011 at 2:25 PM, Tom wrote: > Suvayu Ali gmail.com> writes: >> >> This is very useful. I made some enhancements in the attached patches. >> The first one adds a very basic minibuffer history. You can navigate the >> history by the usual

Re: [O] How can I bypass the agenda dispatcher and call a custom block agenda directly?

2011-08-27 Thread Bernt Hansen
Marcus Klemm writes: > I almost exclusively use a custom block agenda and want to bind it to > a key instead of going through the agenda dispatcher. Is that > possible? Hi Marcus, Certainly this is doable (org-agenda t "a") Just bind this to the key of your choice and substitute "a" with the

Re: [O] Problem with exporting image to PDF

2011-08-27 Thread Toby
Hi Tom, Nick, and suvayu, Thank you for your replies, I really appreciate the warm welcome! Good news is, I got it working using PNG images... Slightly bad news is I don't actually know how :-) It seems like just posting to the list made it magically work. Actually, I have tried several times

[O] How can I bypass the agenda dispatcher and call a custom block agenda directly?

2011-08-27 Thread Marcus Klemm
Hello List, I almost exclusively use a custom block agenda and want to bind it to a key instead of going through the agenda dispatcher. Is that possible? Ciao, Marcus

Re: [O] Bug: failed latex-export [7.7]

2011-08-27 Thread Achim Gratz
Oliver Gerlach writes: > I expect a complete tex file without this bug message: > >> Export buffer: >> Exporting to LaTeX... >> org-export-latex-subcontent: Symbol's function definition is void: nil >> Auto-saving... >> Mark set > > Do you have some suggestions what to do? I cannot reproduce this

Re: [O] git diff: hunk header config

2011-08-27 Thread Achim Gratz
Michael Brand writes: > Thanks for the clarification. Because I didn't expect this at all it > took me some time to understand that a local config affects also the > diffs already committed, not only "git diff" of uncommitted changes. Git doesn't "commit diffs", which is why this is working (and

Re: [O] biblatex citation

2011-08-27 Thread Nicolas Goaziou
Hello, Nick Dokos writes: > Nick Dokos wrote: > >> Thomas S. Dye wrote: >> >> > Aloha all, >> > >> > This biblatex construct: >> > \parencites[234]{kirch85}[185]{kirch84} >> > >> > is output like this: >> > \parencites[234]{kirch85}[185]\{kirch84\} >> > >> > The biblatex syntax is unusual

Re: [O] git diff: hunk header config

2011-08-27 Thread Michael Brand
Hi Achim, Jason and Matt On Wed, Aug 24, 2011 at 21:37, Achim Gratz wrote: > Michael Brand writes: >> For .git/config I am not sure if it can be made a versioned git repo >> element. If not, I don't know how it can become part of the transfer >> during git pull which it should be in any case. Pr

[O] Bug: failed latex-export [7.7]

2011-08-27 Thread Oliver Gerlach
Dealing with current org installations I found out that latex export is in general not working (command =C-C C-E l=) The generated tex file stops at the beginning, here an example: Created 2011-08-26 Fri 14:40 \documentclass[11pt,a4paper]{article} \usepackage[AUTO]{inputenc} \usepackage[T1]{f

Re: [O] biblatex citation

2011-08-27 Thread Nick Dokos
Nick Dokos wrote: > Thomas S. Dye wrote: > > > Aloha all, > > > > This biblatex construct: > > \parencites[234]{kirch85}[185]{kirch84} > > > > is output like this: > > \parencites[234]{kirch85}[185]\{kirch84\} > > > > The biblatex syntax is unusual (to me) in LaTeX. I wonder if it is > > po

Re: [O] biblatex citation

2011-08-27 Thread Nick Dokos
Thomas S. Dye wrote: > Aloha all, > > This biblatex construct: > \parencites[234]{kirch85}[185]{kirch84} > > is output like this: > \parencites[234]{kirch85}[185]\{kirch84\} > > The biblatex syntax is unusual (to me) in LaTeX. I wonder if it is > possible to support it in Org-mode? > So is

[O] biblatex citation

2011-08-27 Thread Thomas S. Dye
Aloha all, This biblatex construct: \parencites[234]{kirch85}[185]{kirch84} is output like this: \parencites[234]{kirch85}[185]\{kirch84\} The biblatex syntax is unusual (to me) in LaTeX. I wonder if it is possible to support it in Org-mode? All the best, Tom -- Thomas S. Dye http://www.tsdye