Re: [O] \input causes conflict with LaTeX equation preview

2014-10-21 Thread Nicolas Goaziou
Hello, Ken Mankoff mank...@gmail.com writes: * On 2014-10-20 at 18:26, Rasmus wrote: Ken Mankoff mank...@gmail.com writes: I have #+LATEX_HEADER: \input{preamble} in an Org file. When I try to preview equations, it does not work because \input{preamble} is exported to the equation

Re: [O] # of parameters of `org-latex-format-headline-function'

2014-10-21 Thread Sebastien Vauban
Nick Dokos wrote: Sebastien Vauban writes: During the summer, the number of parameters of the `org-latex-format-headline-function' changed from 5 to 6: addition of `info'. The new version of my private formatting function is: ;; function for formatting the headline's text (setq

Re: [O] [PATCH] org.el: Fix bindings of and for calendar scrolling

2014-10-21 Thread Sebastien Vauban
Marco Wahl wrote: Find a fix for the bindings of and for calendar scrolling for Emacs 25. The fix is necessary because Emacs 25 dropped some aliases in the calendar lib, in particular those that have been bound to and . diff --git a/lisp/org.el b/lisp/org.el index 2b5603c..7f4be6b 100644

Re: [O] [PATCH] org.el: Fix bindings of and for calendar scrolling

2014-10-21 Thread Marco Wahl
Hello Sebastien, Sebastien Vauban sva-n...@mygooglest.com writes: Marco Wahl wrote: Find a fix for the bindings of and for calendar scrolling for Emacs 25. The fix is necessary because Emacs 25 dropped some aliases in the calendar lib, in particular those that have been bound to and .

[O] Omitting title in odt-export

2014-10-21 Thread hack writer
Hi there, I have problems omitting the OrgTitle from an exported odt-document. Through the following preamble in my .org-file I am able to omit most of the default title/author/etc. information at the beginning of the .odt-document: #+ODT_STYLES_FILE: /path/to/template.ott #+TITLE: #+DATE:

Re: [O] [ox-latex] How to force ALL captions below their referents?

2014-10-21 Thread Eric S Fraga
On Friday, 17 Oct 2014 at 22:08, Nicolas Goaziou wrote: Nicolas Goaziou m...@nicolasgoaziou.fr writes: If we want to preserve backward-compatibility, t, nil and a list of types (e.g. '(table src-block)) should suffice. No need for an alist. Still on my ToDo list but I'm not there yet. Feel

Re: [O] Captions below figures in LaTeX export

2014-10-21 Thread Rasmus
Hi, Suvayu Ali fatkasuvayu+li...@gmail.com writes: I would like to put the caption command after includegraphics. Is that possible? I tried reordering the #+caption: line without success. If you are using a very recent version of Org, you could check `org-latex-caption-above'. Example:

Re: [O] Omitting title in odt-export

2014-10-21 Thread Nick Dokos
hack writer g...@bookhacker.org writes: I have problems omitting the OrgTitle from an exported odt-document. Through the following preamble in my .org-file I am able to omit most of the default title/author/etc. information at the beginning of the .odt-document: #+ODT_STYLES_FILE:

[O] org-class and headers

2014-10-21 Thread Joseph Le Roux
Dear orgmode users, First let me express my gratitude to the developers and maintainers for such a wonderful piece of software! I am a professor and I use org-class to schedule my lectures. It is very useful to organize these repeated events and take into account holidays. But inevitably in the

Re: [O] Org-mode Habit with Varying Description

2014-10-21 Thread Samuel Loury
Hi, Eric Abrahamsen e...@ericabrahamsen.net writes: I've been (very gradually) working on something I'm calling org-log, for just this sort of situation -- a library that would possibly go underneath org-habit and maybe even org-clock. It would look like: * Read book :LOGBOOK: - Note

[O] 24.4.1; Emacs hangs with Org mode when point is in LOGBOOK

2014-10-21 Thread Fabrice Niessen
Hello, On Windows 8, with Emacs 24.4.1 (from Dani) and Org mode version 8.3beta, I can very often freeze Emacs when clocking into a task, or when editing the timestamps found in the LOGBOOK drawer. I've run Emacs under GDB, and can send a video of it, where you also see that Emacs takes 100% of

Re: [O] org-class and headers

2014-10-21 Thread Rasmus
Hi, Joseph Le Roux joseph.le.r...@gmail.com writes: I am a professor and I use org-class to schedule my lectures. It is very useful to organize these repeated events and take into account holidays. But inevitably in the academic world, some lectures get cancelled, postponed, or moved to

Re: [O] org-lookup formula missing

2014-10-21 Thread Chris Drane
No, that does not do anything. I see the macro that is supposed to define the functions in my org-table.el, so I don't think version is an issue. Org is 7.9.3f. Emacs is 24.3.1. On Mon, Oct 20, 2014 at 6:39 PM, Rasmus ras...@gmx.us wrote: Hi, Chris Drane csdr...@gmail.com writes: For some

[O] How to get to the link destination?

2014-10-21 Thread Marcin Borkowski
Hi all, as in the subject. I want to do something /at the destination of the link/ the point is at (more precisely: get some text property of that place). This is what I came up with: (save-excursion (org-open-at-point) (get-text-property (point) :some-property)) Is there a better/faster

Re: [O] org-lookup formula missing

2014-10-21 Thread Rasmus
Chris Drane csdr...@gmail.com writes: No, that does not do anything. I see the macro that is supposed to define the functions in my org-table.el, so I don't think version is an issue. Org is 7.9.3f. Emacs is 24.3.1. This version of Org is outdated. Can you try a newer version and see if the

Re: [O] Getting lots of Emacs crashes

2014-10-21 Thread Noah Slater
Thanks. I have done that now. They told me to upgrade my Emacs. I have done so. We'll see what happens. :) On 13 October 2014 17:54, Nicolas Goaziou m...@nicolasgoaziou.fr wrote: Hello, Noah Slater nsla...@apache.org writes: Is there anything else I could provide that would help? It's still

Re: [O] org-class and headers

2014-10-21 Thread Joseph Le Roux
Rasmus ras...@gmx.us writes: Hi, Joseph Le Roux joseph.le.r...@gmail.com writes: I am a professor and I use org-class to schedule my lectures. It is very useful to organize these repeated events and take into account holidays. But inevitably in the academic world, some lectures get

[O] Announcement: org-one-to-many

2014-10-21 Thread Marcin Borkowski
Hi all, a long time ago I asked here about a way to split an Org file into a bunch of smaller ones. One of the answers I got was that the tricky part is maintaining internal links in a reasonable way. It is probably overoptimistic on my side, but it seems that this problem is solved now. The

Re: [O] electric-indent-mode in Emacs 25 not indenting in Org

2014-10-21 Thread Andrew Burgess
* William Denton w...@pobox.com [2014-10-15 22:13:16 -0400]: I noticed something odd with electric-indent-mode, which I had enabled, and which is on by default in 24.4. I think the problem is with the calls to `newline' within org-return. The code for `newline' was changed so that

Re: [O] bug#18785: 24.4.1; Emacs hangs with Org mode when point is in LOGBOOK

2014-10-21 Thread Eli Zaretskii
From: Fabrice Niessen fni-n...@pirilampo.org Date: Tue, 21 Oct 2014 14:47:16 +0200 On Windows 8, with Emacs 24.4.1 (from Dani) and Org mode version 8.3beta, I can very often freeze Emacs when clocking into a task, or when editing the timestamps found in the LOGBOOK drawer. I've run Emacs

Re: [O] Org-mode Habit with Varying Description

2014-10-21 Thread Michael Brand
Hi Daya On Mon, Oct 20, 2014 at 4:33 PM, Daya Atapattu atapat...@gmail.com wrote: I like to schedule studying a book: It would be scheduled as Read pages 100-125. Then the next day it should read Read pages 126-150. The description of the habit varies; org-mode picks that up sequentially

Re: [O] 24.4.1; Emacs hangs with Org mode when point is in LOGBOOK

2014-10-21 Thread Eric Abrahamsen
Fabrice Niessen fni-n...@pirilampo.org writes: Hello, On Windows 8, with Emacs 24.4.1 (from Dani) and Org mode version 8.3beta, I can very often freeze Emacs when clocking into a task, or when editing the timestamps found in the LOGBOOK drawer. I've gotten something looking like that from

Re: [O] Announcement: org-one-to-many

2014-10-21 Thread Eric Abrahamsen
Marcin Borkowski mb...@wmi.amu.edu.pl writes: Hi all, a long time ago I asked here about a way to split an Org file into a bunch of smaller ones. One of the answers I got was that the tricky part is maintaining internal links in a reasonable way. It is probably overoptimistic on my side,

Re: [O] 24.4.1; Emacs hangs with Org mode when point is in LOGBOOK

2014-10-21 Thread Thorsten Jolitz
Eric Abrahamsen e...@ericabrahamsen.net writes: Fabrice Niessen fni-n...@pirilampo.org writes: Hello, On Windows 8, with Emacs 24.4.1 (from Dani) and Org mode version 8.3beta, I can very often freeze Emacs when clocking into a task, or when editing the timestamps found in the LOGBOOK

Re: [O] Org-mode Habit with Varying Description

2014-10-21 Thread Eric Abrahamsen
Samuel Loury konubi...@gmail.com writes: Hi, Eric Abrahamsen e...@ericabrahamsen.net writes: I've been (very gradually) working on something I'm calling org-log, for just this sort of situation -- a library that would possibly go underneath org-habit and maybe even org-clock. It would look

Re: [O] Exponents / subscripts

2014-10-21 Thread Nicolas Goaziou
Hello, Rasmus ras...@gmx.us writes: Nicolas Goaziou m...@nicolasgoaziou.fr writes: Fabrice Popineau fabrice.popin...@supelec.fr writes: Given that it is only a matter of presentation, does that mean it could be changed ? If yes, I can try to give it a shot. If you mean that a^bc should

Re: [O] [ox-latex] How to force ALL captions below their referents?

2014-10-21 Thread Nicolas Goaziou
Hello, Eric S Fraga e.fr...@ucl.ac.uk writes: However, I think it would make sense to make '(table) (at least) the default for captions above to have some form of backward compatibility? The change caught me by surprise... If we change `org-latex-caption-above', then it will no longer match

Re: [O] Announcement: org-one-to-many

2014-10-21 Thread Marcin Borkowski
On 2014-10-21, at 18:10, Eric Abrahamsen wrote: Marcin Borkowski mb...@wmi.amu.edu.pl writes: Hi all, a long time ago I asked here about a way to split an Org file into a bunch of smaller ones. One of the answers I got was that the tricky part is maintaining internal links in a

[O] Paper Size for Exported LaTeX

2014-10-21 Thread Kenneth Jacker
[ Org-mode version 8.3beta (release_8.3beta-175-g59cd25 ] First time I've used the LaTeX exporting ... I have a hunch the default paper size is A4. Margins are *way* too wide ... How do I change it to letter? I tried a few things, but they don't seem to be changing anything! Thanks for your

[O] [Bug] org-indent-mode underindents body in variable-pitch-mode

2014-10-21 Thread Tobias Getzner
Hello, After updating to Emacs 24.4 and org-mode 20141020, I’ve noticed that org-indent-mode now underindents item bodies when variable-pitch-mode is used. I. e., in the following document, «lorem», «ipsum», and «etc.» will fall successively short of the item’s respective indent level. * first

Re: [O] Paper Size for Exported LaTeX

2014-10-21 Thread John Hendy
On Oct 21, 2014 1:05 PM, Kenneth Jacker k...@be.cs.appstate.edu wrote: [ Org-mode version 8.3beta (release_8.3beta-175-g59cd25 ] First time I've used the LaTeX exporting ... I have a hunch the default paper size is A4. Margins are *way* too wide ... Default latex tends to look like that,

Re: [O] Paper Size for Exported LaTeX

2014-10-21 Thread Thomas S. Dye
Aloha Kenneth, Kenneth Jacker k...@be.cs.appstate.edu writes: [ Org-mode version 8.3beta (release_8.3beta-175-g59cd25 ] First time I've used the LaTeX exporting ... I have a hunch the default paper size is A4. Margins are *way* too wide ... How do I change it to letter? I tried a few

[O] Can org show live charts?

2014-10-21 Thread Tom
Reading the documentation it is not clear for me if live charts are supported. By live chart I mean having a table data and below that an inserted image in the buffer which shows the data rendered from the table, and the image is updated automatically every time the the table is changed (and,

Re: [O] Paper Size for Exported LaTeX

2014-10-21 Thread Kenneth Jacker
tsd Aloha Kenneth, Hello! (Reminds me of the three months I lived on Kauai ...) tsd I think this will do what you want: tsd tsd#+LATEX_CLASS_OPTIONS: [letterpaper] That was one of the things I tried before posting to the ML. Saw no difference in the margins, etc. Thanks for your

Re: [O] Exponents / subscripts

2014-10-21 Thread Rasmus
Nicolas Goaziou m...@nicolasgoaziou.fr writes: Rasmus ras...@gmx.us writes: Nicolas Goaziou m...@nicolasgoaziou.fr writes: Fabrice Popineau fabrice.popin...@supelec.fr writes: Given that it is only a matter of presentation, does that mean it could be changed ? If yes, I can try to give

Re: [O] org-class and headers

2014-10-21 Thread Rasmus
Joseph Le Roux joseph.le.r...@gmail.com writes: Rasmus ras...@gmx.us writes: Hi, Joseph Le Roux joseph.le.r...@gmail.com writes: I am a professor and I use org-class to schedule my lectures. It is very useful to organize these repeated events and take into account holidays. But

Re: [O] Paper Size for Exported LaTeX

2014-10-21 Thread Nick Dokos
Kenneth Jacker k...@be.cs.appstate.edu writes: [ Org-mode version 8.3beta (release_8.3beta-175-g59cd25 ] First time I've used the LaTeX exporting ... I have a hunch the default paper size is A4. Margins are *way* too wide ... How do I change it to letter? I tried a few things, but they

Re: [O] Paper Size for Exported LaTeX

2014-10-21 Thread Kenneth Jacker
ndokos This may be a TeX installation default. Apparently, 'letter' is the default. ndokos If it is indeed the case that it is using A4 (check it with ndokos pdfinfo on linux, ... Good suggestion. I used 'pdfinfo' on the generated PDF file and saw (among other output) this: Page

Re: [O] Paper Size for Exported LaTeX

2014-10-21 Thread Thomas S. Dye
Aloha Kenneth, Kenneth Jacker k...@be.cs.appstate.edu writes: ndokos This may be a TeX installation default. Apparently, 'letter' is the default. ndokos If it is indeed the case that it is using A4 (check it with ndokos pdfinfo on linux, ... Good suggestion. I used 'pdfinfo' on

Re: [O] Can org show live charts?

2014-10-21 Thread John Kitchin
I think the answer is sort of. I am no idle timer guru, and this code would probably not do what you want except for this file. The idea is to have a named table, use it as a data source in a named code block that generates the image. Then, make an elisp function that goes to that code block and

Re: [O] How to get to the link destination?

2014-10-21 Thread John Kitchin
Marcin Borkowski mb...@wmi.amu.edu.pl writes: that looks like a great way to me! Hi all, as in the subject. I want to do something /at the destination of the link/ the point is at (more precisely: get some text property of that place). This is what I came up with: (save-excursion

Re: [O] Paper Size for Exported LaTeX

2014-10-21 Thread Andreas Kiermeier
Hi Kenneth, I believe the reason for the large margins are based on readability (long lines are harder). Having said that, I've also found them a bit 'odd' and maybe that's because I'm so used to Microsoft Word's default margins of 1in all around. Anyway, if you prefer to specify margins

Re: [O] Paper Size for Exported LaTeX

2014-10-21 Thread Marcin Borkowski
On 2014-10-22, at 00:08, Kenneth Jacker wrote: So, I guess I need to explicitly change the L/R and top/bottom margins. Here's what I do using emacs/latex without Org: \setlength{\textheight}{9.25in} \setlength{\textwidth}{6.75in} \setlength{\oddsidemargin}{0in}

Re: [O] Paper Size for Exported LaTeX

2014-10-21 Thread Brady Trainor
Andreas Kiermeier andreas.kierme...@gmail.com writes: #+LATEX_HEADER: \usepackage[various options]{geometry} Here is an example I am using to cram a lot of lists/notes onto a peice of paper to fold into eighths. #+BEGIN_SRC org #+LaTeX_CLASS_OPTIONS: [landscape] #+LaTeX_HEADER:

[O] Org Babel Clojure No Prettyprint

2014-10-21 Thread Prathyush
Hi, I was trying to use org-babel-clojure to pretty print a collection and found out that it always evaluated to: Code block produced no output. Here's some sample code: #+begin_src clojure :results pp (println Hello) #+end_src Similar issue was reported few weeks back and I guess it could be

[O] Extra empty line at the top of the page when tangling.

2014-10-21 Thread Ivanov Dmitry
Code: #+BABEL: :cache yes :tangle yes :noweb yes #+NAME: top_block #+begin_src perl :tangle test.pl :noweb tangle #!/usr/bin/perl use strict; use warnings; open(my $fh, , test.txt) or die cannot open file name: $!; output-all close($fh); #+end_src #+NAME: output-all