Re: [O] [PATCH] Add \endifrsthead to longtable export

2013-10-27 Thread Nicolas Goaziou
Hello, t...@tsdye.com (Thomas S. Dye) writes: > Previously, export of LaTeX longtables that spanned a page break > generated a caption on each page, resulting in multiple entries in the > table of contents. > > The attached patch for ox-latex.el implements the \endfirsthead command > so the capti

Re: [O] [PATCH] Longtable continuation strings customizable

2013-10-27 Thread Nicolas Goaziou
Hello, t...@tsdye.com (Thomas S. Dye) writes: > The attached patch should be applied on top of the earlier patch. It > makes the continuation strings customizable. Wouldn't it be better if these strings where hardcoded, but with support for internationalization in `org-export-dictionary'? Mean

Re: [O] Writing Challenge

2013-10-27 Thread Alan Schmitt
Hi Ivan, darthand...@gmail.com writes: > Very interesting! I have been working on a mode which gives the > current word-count, WPM and an estimate of the time it will take to > hit today's quota in the modeline. I would be interested in feedback > as well as integrating it with your spreadsheet.

Re: [O] [PATCH] Longtable continuation strings customizable

2013-10-27 Thread Carsten Dominik
On 27.10.2013, at 09:05, Nicolas Goaziou wrote: > Hello, > > t...@tsdye.com (Thomas S. Dye) writes: > >> The attached patch should be applied on top of the earlier patch. It >> makes the continuation strings customizable. > > Wouldn't it be better if these strings where hardcoded, but with s

Re: [O] CDLaTeX in Org document

2013-10-27 Thread Carsten Dominik
On 26.10.2013, at 08:47, Vladimir Lomov wrote: > Hello, > I'm using CDLaTeX with Org documents and with LaTeX ones (AUCTeX major > mode). I configured cdlatex to insert closing brackets and dollar ( > '$({[' ) and this works fine in AUCTeX major mode. Is it possible to use > similar feature in c

Re: [O] [RFC] defcustom sorting-type

2013-10-27 Thread Nicolas Goaziou
Hello, Andreas Röhler writes: > In docstring of `org-sort-entries' it's told > > "The command prompts for the sorting type unless it has been given to the > function through the SORTING-TYPE argument, which needs to be a character, > \(?n ?N ?a ?A ?t ?T ?s ?S ?d ?D ?p ?P ?o ?O ?r ?R ?f ?F)." > >

Re: [O] Repeating the customization survey?

2013-10-27 Thread Carsten Dominik
Great. Let me cook up that lisp function for you. - Carsten On 26.10.2013, at 01:36, Mike McLean wrote: > > On Oct 23, 2013, at 9:34 AM, Carsten Dominik wrote: > >> Dear all, >> >> in 2009, we ran a customization survey, to figure out which variables are >> actually used by active Org-mod

Re: [O] [RFC] Simple cache mechanism for `org-element-at-point'

2013-10-27 Thread Nicolas Goaziou
Nicolas Goaziou writes: > The following patches introduce a simple cache mechanism for both > `org-element-at-point' and `org-element-context'. My goal is to make > them fast enough to be used in most core commands (excepted > headlines-only commands). > > Since a wrong cache can break Org behavi

Re: [O] Beamer export: one question and one bug

2013-10-27 Thread Jarmo Hurri
Greetings again. 1. First the question: when I export the org file below as Beamer (C-c C-e l O), I get an empty outline. How do I fix this? > > Seems to work fine for me with the older version that I was running, > but I upgraded to latest and I get the beamer presentation I expecte

[O] [RFC] Slight change to asynchronous export

2013-10-27 Thread Nicolas Goaziou
Hello, At the moment, by default, external emacs process for asynchronous export is called with: /path/to/emacs -Q --batch -l org-export-async-init-file ... export stuff... where `org-export-async-init-file' defaults to `user-init-file'. It is, by default, not the same as calling "emacs", beca

[O] Remove empty rows in a org-table

2013-10-27 Thread Florian Adamsky
Dear org-mode hackers, in a org-mode file I copy various information to a org-table. Sometimes there are empty rows in that org-table which I don't like. Therefore I wrote a little function that removes empty rows from a org-mode table. Maybe this is of any for org-mode or for other people. I wou

[O] [RFC] Overlay specification for includegraphics

2013-10-27 Thread Suvayu Ali
Hi, While working on a presentation recently, I realised there was no easy way to specify overlay specifications for images during beamer export. Since this is already supported for lists, e.g. by adding `#+attr_latex :overlay +-'. I was wondering if it is possible to add this for images? Someth

Re: [O] [RFC] Overlay specification for includegraphics

2013-10-27 Thread Carsten Dominik
On 27.10.2013, at 14:23, Suvayu Ali wrote: > Hi, > > While working on a presentation recently, I realised there was no easy > way to specify overlay specifications for images during beamer export. > Since this is already supported for lists, e.g. by adding > `#+attr_latex :overlay +-'. I was w

Re: [O] capture template property :kill-buffer does not let me refile

2013-10-27 Thread Rodrigo Amestica
please, no body else having the same issue? I tried to understand in org-refile and org-capture-refile how is that refile and closing the buffer intermix, but I'm not that lisp proficient :-( Then I tried providing some code for org-capture-after-finalize-hook, and org-after-refile-insert-hook

[O] [PATCH] fix org-insert-todo-heading-respect-content in plain list item

2013-10-27 Thread Ingo Lohmar
Hi guys, please find attached a 1-4-char patch fixing the behavior of the above function when inside a plain list. Best, Ingo >From e22f9ffe3f6af69cde2397f56a7efebaaa7710e0 Mon Sep 17 00:00:00 2001 From: Ingo Lohmar Date: Sun, 27 Oct 2013 17:34:22 +0100 Subject: [PATCH] fix org-insert-todo-he

Re: [O] [PATCH] Longtable continuation strings customizable

2013-10-27 Thread Thomas S. Dye
Carsten Dominik writes: > On 27.10.2013, at 09:05, Nicolas Goaziou wrote: > >> Hello, >> >> t...@tsdye.com (Thomas S. Dye) writes: >> >>> The attached patch should be applied on top of the earlier patch. It >>> makes the continuation strings customizable. >> >> Wouldn't it be better if these

[O] Bug: using :flags for C source block produce invalid html [8.2.1 (8.2.1-15-ge5cecc-elpa)]

2013-10-27 Thread Alexandre Duret-Lutz
Hi, Passing flags to following two blocks differs only by their :flags option #+BEGIN_SRC C :export code :include int a = 2; int b = 3; printf("%d", a + b); #+END_SRC #+BEGIN_SRC C :export code :include :flags -I. int a = 2; int b = 3; printf("%d", a + b); #+END_SRC When I export them with

[O] typo Catching-invisible-edits

2013-10-27 Thread Cyprien Gay
Hi! Here is a typo I encountered. Thanks for your wonderful work! Cyprien. http://orgmode.org/manual/Catching-invisible-edits.html and be confused on what as been edited => has -- Cyprien Gay http://aful.org/ http://non.aux.racketiciels.info/ http://bons-constructeurs-ordinateurs.info/

Re: [O] [RFC] Overlay specification for includegraphics

2013-10-27 Thread Suvayu Ali
On Sun, Oct 27, 2013 at 03:09:38PM +0100, Carsten Dominik wrote: > > On 27.10.2013, at 14:23, Suvayu Ali wrote: > > > Hi, > > > > While working on a presentation recently, I realised there was no easy > > way to specify overlay specifications for images during beamer export. > > Since this is a

[O] List items, HTML export

2013-10-27 Thread Fabrice Popineau
Hi, Is it possible to set class/id on exported UL and LI elements ? If there is a list with 2 levels, is it possible to set it independently ? I'm looking into it, not even sure if I need it, but that may be helpful for navigation elements. Thanks for your inputs on this question. -- Fabrice

[O] problem with titles in odt export

2013-10-27 Thread Vicente Vera
Hello. I think there's a problem when exporting to odt format with certain characters in #+TITLE lines. For example, exporting an org file with "ñ" (ñ in HTML) or letters with acute accents (á, ó, etc.) in the title---my document is written in spanish---results in a file with no title at all (nor a

Re: [O] [RFC] Overlay specification for includegraphics

2013-10-27 Thread Suvayu Ali
On Sun, Oct 27, 2013 at 07:44:09PM +0100, Suvayu Ali wrote: > On Sun, Oct 27, 2013 at 03:09:38PM +0100, Carsten Dominik wrote: > > > > On 27.10.2013, at 14:23, Suvayu Ali wrote: > > > > > Hi, > > > > > > While working on a presentation recently, I realised there was no easy > > > way to specify

[O] Insert a heading in every sibling

2013-10-27 Thread Scot Becker
I'm using org-mode to keep track of student grades. How can I easily add a bunch of identical headings at a certain level in my tree? Specifically,I have a L2 heading for each student, and I want to put a node (heading, with some properties) under each L2 student heading for that class. * Class

Re: [O] generating ToC for existing PDF?

2013-10-27 Thread Adam Spiers
On 26 October 2013 14:11, Adam Spiers wrote: > Hi all, > > I have an existing PDF, along with a text file table of contents. Is > it possible to use org to generate a new PDF which includes a ToC at > the beginning, where each item in the ToC is hyperlinked to its > corresponding page in the orig

Re: [O] capture template property :kill-buffer does not let me refile

2013-10-27 Thread Rodrigo Amestica
Hello, based on 'printf' type logging I have found one solution that looks to me like a bug fix in org-capture-refile. But I'm obviously far from guessing any side effect that I could be missing. In org-capture-refile if I move org-capture-finalize after the save-window-excursion form then the :k

Re: [O] Insert a heading in every sibling

2013-10-27 Thread Marcin Borkowski
Dnia 2013-10-28, o godz. 06:13:21 Scot Becker napisał(a): > I'm using org-mode to keep track of student grades. How can I easily > add a bunch of identical headings at a certain level in my tree? > Specifically,I have a L2 heading for each student, and I want to put > a node (heading, with some