[O] ox-odt doesn't honor :anchor "page"

2014-09-30 Thread Martin Gürtler
Hi, I'm using Org-mode version 8.2.7c (8.2.7c-74-gd2ecbe-elpa, org-plus-contrib package). I am writing a documentation in org mode with the intent of exporting it to libreoffice (using libreoffice 4.2.6.3 on ubuntu 12.04). This works in general very well. I have a minor problem with image ancho

Re: [O] ox-odt doesn't honor :anchor "page"

2014-09-30 Thread Christian Moe
Confirmed, but it seems to be a documentation error, not a bug. It works if you leave out the quotation marks: #+ATTR_ODT: :anchor page The docs do indeed unequivocally require quotation marks, but I don't think there is any need for them. Yours, Christian Martin Gürtler writes: > Hi, > >

Re: [O] Error Embedding SQL Source from code block into R Source of Another (noweb)

2014-09-30 Thread Rainer M Krug
Eric Brown writes: > Dear List: > > It is possible to embed SQL code as a string to be evaluated in R. I am > interested in formatting the SQL code in its own source code block, with > its own syntax highlighting and editing mode (C-c '). This sounds very interesting, and I would be interested i

Re: [O] [patch, ox] #+INCLUDE resolves links

2014-09-30 Thread Nicolas Goaziou
Hello, Rasmus writes: > Thanks for the comments. I hope I addressed the previous comments and > did not introduce new reasons bugs. > I added tests. Great. > Just out of curiosity, what is an example of a element that can be > named and does not have a :contents-begin? #+name: empty-drawer

[O] Image collisions (was Re: ox-odt doesn't honor :anchor "page")

2014-09-30 Thread Martin Gürtler
Hi, thanks for the fast response. Am 30.09.2014 um 09:58 schrieb Christian Moe: > > Confirmed, but it seems to be a documentation error, not a bug. > It works if you leave out the quotation marks: > #+ATTR_ODT: :anchor page This indeed helped. Unfortunately, it turns out that the anchoring is

Re: [O] Image collisions (was Re: ox-odt doesn't honor :anchor "page")

2014-09-30 Thread Christian Moe
Martin Gürtler writes: > Hi, > > thanks for the fast response. > > Am 30.09.2014 um 09:58 schrieb Christian Moe: >> >> Confirmed, but it seems to be a documentation error, not a bug. >> It works if you leave out the quotation marks: >> #+ATTR_ODT: :anchor page > > This indeed helped. Unfortunat

Re: [O] org-export - was :input-buffer removed from the communication channel?

2014-09-30 Thread Thorsten Jolitz
Nicolas Goaziou writes: Hello, > Thorsten Jolitz writes: > >> Hi Nicolas, >> >> for exporting a buffer w/o buffer-file, sometimes ago you added property >> :input-buffer to the communication channel (on my feature request), so >> this used to work (one of the two vars was always non-nil): >> >>

[O] [patch] org-sbe doc

2014-09-30 Thread Rasmus
Hi, Cf. Charles Berry's post to a similarly named post there's a bug in the documentation of org-sbe. This patch corrects it. Thanks, Rasmus -- Together we'll stand, divided we'll fall >From 0f320a044cef4974be40b351da72729045a56ca6 Mon Sep 17 00:00:00 2001 From: rasmus Date: Tue, 30 Sep 2014

Re: [O] [patch, ox] #+INCLUDE resolves links

2014-09-30 Thread Rasmus
Nicolas Goaziou writes: >> Just out of curiosity, what is an example of a element that can be >> named and does not have a :contents-begin? > > #+name: empty-drawer > :DRAWER: > :END: Thanks. >> Okay, there's a lot of improvements in that suggestion. However, it >> misses this case whic

Re: [O] Image collisions (was Re: ox-odt doesn't honor :anchor "page")

2014-09-30 Thread Martin Gürtler
hi, Am 30.09.2014 um 11:30 schrieb Christian Moe: > > Martin Gürtler writes: > >> Hi, >> >> thanks for the fast response. >> >> Am 30.09.2014 um 09:58 schrieb Christian Moe: >>> >>> Confirmed, but it seems to be a documentation error, not a bug. >>> It works if you leave out the quotation marks

Re: [O] Error Embedding SQL Source from code block into R Source of Another (noweb)

2014-09-30 Thread Grant Rettke
On Tue, Sep 30, 2014 at 3:05 AM, Rainer M Krug wrote: > Eric Brown writes: Like Rainier mentioned you might want to use [noweb] to tangle both for output tangling and execution. My system is set up to tangle for both eg: This ## ✂✂ #+name: query #+begin_src sql select *

Re: [O] [patch, ox] #+INCLUDE resolves links

2014-09-30 Thread Nicolas Goaziou
Rasmus writes: > It's two extra words and maybe it's helpful to make the concept clear > to people unfamilar with org-element. The statement "contents of the > requested element", while technically clear, is only barely > comprehensible for the uninvited. > > However, it's only tweo extra words,

Re: [O] Error Embedding SQL Source from code block into R Source of Another (noweb)

2014-09-30 Thread Charles Berry
Eric Brown fastmail.fm> writes: > > Dear List: > > It is possible to embed SQL code as a string to be evaluated in R. I am > interested in formatting the SQL code in its own source code block, with > its own syntax highlighting and editing mode (C-c '). > > The first time I run the code, I am

Re: [O] ox-odt doesn't honor :anchor "page"

2014-09-30 Thread Achim Gratz
Martin Gürtler writes: > I'm using Org-mode version 8.2.7c (8.2.7c-74-gd2ecbe-elpa, org-plus-contrib > package). That doesn't seem to be the case, the org-plus-contrib package would advertise itself with the "-elpaplus" suffix. Regards, Achim. -- +<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andr

Re: [O] sortable columns in html tables

2014-09-30 Thread Michael Brand
Hi David On Tue, Sep 30, 2014 at 1:44 AM, David Arroyo Menendez wrote: > How can I make sortable columns in tables? I would be useful to edit or > export to html. > > Some experiences? > > Thanks! As I understand you this pointer might be of interest: http://lists.gnu.org/archive/html/emacs-orgm

Re: [O] Error Embedding SQL Source from code block into R Source of Another (noweb)

2014-09-30 Thread Eric Brown
Thanks Rainer and Grant for your suggestions. A couple of things: 1) My current code does what I want, the second time. Its advantage is that everything is kept inside of one .org file. Also, I am wondering if it is an R/ESS issue. 2) Grant, I tried your code, but there seem to be some missing

Re: [O] Error Embedding SQL Source from code block into R Source of Another (noweb)

2014-09-30 Thread Eric Brown
Charles Berry writes: > Hmmm. Maybe the bug that was fixed by commit > > 0fd29a5ee7d14c3695b22998196373b9a3637413 > > about two weeks back? Make sure ob-R.el is up to date and compiled (or > that ob-R.elc is deleted). > > > Anyway, your code works as expected for me - first time. > > --- > > FWI

Re: [O] Error Embedding SQL Source from code block into R Source of Another (noweb)

2014-09-30 Thread Grant Rettke
On Tue, Sep 30, 2014 at 9:32 AM, Eric Brown wrote: > 2) Grant, I tried your code, but there seem to be some missing headers. > Do you have a complete minimal example that exhibits the behavior that > you have demonstrated? Sorry for omitting that key point: ✂✂ #+name:

[O] clock-in and clock-out columns for clock-table

2014-09-30 Thread Paul Rudin
Is there a way to coerce a clock table to include the clock in and clock out information? TIA.

Re: [O] Error Embedding SQL Source from code block into R Source of Another (noweb)

2014-09-30 Thread Nick Dokos
Eric Brown writes: > 2) Grant, I tried your code, but there seem to be some missing headers. > Do you have a complete minimal example that exhibits the behavior that > you have demonstrated? Add :noweb yes. Also Grant seems to have gone non-standard and replaced the <> markup with guillemots. Us

Re: [O] Adding new table rows/cols in a formula update

2014-09-30 Thread Dima Kogan
Dima Kogan writes: > Suppose I have this .org file: > > | | > #+TBLFM: @1$2=5 > > It's a 1x1 table with a formula. The formula sets a cell that's out of > bounds in the table, so evaluating this formula results in an error. How > set-in-stone is this behavior? I haven't dug too deeply into th

Re: [O] sortable columns in html tables

2014-09-30 Thread Cook, Malcolm
Hi, The syntax for much of this has changed since that post. Instead of #+style: you will want #+HTML_HEAD: And, attaching a class to an exported html table is handled differently too. Instead of #+attr_html: class="sortable" you want #+attr_html: :class "sortable" Such declar

Re: [O] Adding new table rows/cols in a formula update

2014-09-30 Thread Subhan Michael Tindall
I would include a customization variable to control this behavior, defaulting to whatever the current behavior is: IE: (setq org-calc-extend-file nil) default system behavior (setq org-calc-extend-file t) always silently extend rows (setq org-calc-extend-file "warn") issue warning in message buffe

Re: [O] Improved way to include some headlines from an external org file

2014-09-30 Thread Andrea Rossetti
Xavier Garrido writes: > Is there a way ... ... > to write something like that ... > #+BEGIN_SRC org > #+INCLUDE: "./base.org" :headline "First base chapter" > ,* A more personal chapter > #+INCLUDE: "./base.org" :headline "Second base chapter" > ,* Another personal chapter > #+END_SRC Hi! today

Re: [O] orgmode in drupal

2014-09-30 Thread David Arroyo Menendez
Thanks Christian Moe writes: > Thanks for this -- definitely interesting, but I'll have no time to try > it out for a while. > > Yours, > Christian > > David Arroyo Menendez writes: > >> Hello, >> >> Perhaps in this mailing list there are some drupal admin who wants >> upload his files to drupa

[O] behavior of org-image-actual-size with units in attr_* :width

2014-09-30 Thread John Kitchin
I have set this in my init file (setq org-image-actual-width '(600)) It works great, unless I use: #+attr_latex: :width 4in This makes my images 4 inches wide in LaTeX, but it sets my images to approximately 4 pixels wide! I feel like it is worth modifying the regexp that gets the width to catc

Re: [O] [patch, ox] #+INCLUDE resolves links

2014-09-30 Thread Rasmus
Hi, Changes are one sentence in the documentations, casing, and I changed the regexp so that :only-contents is valid (it's nil). Nicolas Goaziou writes: > Rasmus writes: > >> It's two extra words and maybe it's helpful to make the concept clear >> to people unfamilar with org-element. The sta

[O] Solution for very long hyperlinks when exporting to latex?

2014-09-30 Thread Martin Weigele
Hi, very happy with orgmode but rather desperate these days trying to get very long url hyperlinks in footnotes to typeset as line-broken-up links after latex export. I have tried the hints available on texstack etc., but none of the proposed latex methods work. Not even manual \- produces a re

Re: [O] [patch, ox] Unnumbered headlines

2014-09-30 Thread Rasmus
Hi, Alan did some testing on a slightly older version of this patch and he managed to publish his book without errors and with working links. So let's give it another shot. I briefly tested the output of LaTeX, html, texinfo, odt, md, and plaintext and made sure links work and that the right tex

Re: [O] Solution for very long hyperlinks when exporting to latex?

2014-09-30 Thread Rasmus
Hi Martin, Martin Weigele writes: > very happy with orgmode but rather desperate these days trying to get very > long url hyperlinks in footnotes to typeset as line-broken-up links after > latex export. I have tried the hints available on texstack etc., but none of > the proposed latex method

Re: [O] Improved way to include some headlines from an external org file

2014-09-30 Thread Rasmus
Hi Xavier, Xavier Garrido writes: > Le 12/09/2014 02:45, Andrea Rossetti a écrit : >> Xavier Garrido writes: >>> Of course, I can achieve that by using =:lines= and calculating how many >>> lines embeds the given headline. >> >>Hi Xavier, another possible approach (maybe less handy, but in

Re: [O] Error Embedding SQL Source from code block into R Source of Another (noweb)

2014-09-30 Thread Grant Rettke
On Tue, Sep 30, 2014 at 2:15 PM, Nick Dokos wrote: > Eric Brown writes: > >> 2) Grant, I tried your code, but there seem to be some missing headers. >> Do you have a complete minimal example that exhibits the behavior that >> you have demonstrated? > > Add :noweb yes. Also Grant seems to have gon

Re: [O] Exporting to multiple files

2014-09-30 Thread Marcin Borkowski
On 2014-03-09, at 02:34, Marcin Borkowski wrote: > Hi 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 headings > to files, and third-level headings to , fourth-level ones to > inside these files etc. Is t

Re: [O] Solution for very long hyperlinks when exporting to latex?

2014-09-30 Thread Martin Weigele
Hi Rasmus, thank you very much, Wasn't really aware of texdoc this is great. A lot improvement since the old days... :) Yes \url{...} is being produced by the exporter in the footnotes. However, when I try to set the values by means of #+LATEX_HEADER: \usepackage[hyphens] {url} I get an option

Re: [O] Solution for very long hyperlinks when exporting to latex?

2014-09-30 Thread Rasmus
Martin Weigele writes: > Hi Rasmus, thank you very much, Wasn't really aware of texdoc this > is great. A lot improvement since the old days... :) TL is astonishing software. > Yes \url{...} is being produced by the exporter in the footnotes. However, > when I try to set the values by means

Re: [O] Solution for very long hyperlinks when exporting to latex?

2014-09-30 Thread Martin Weigele
There you go. Thx. #+TITLE: Blah #+AUTHOR: Me und Du #+OPTIONS: H:20 #+LATEX_CLASS: scrbook #+LATEX_CLASS_OPTIONS: [paper=17cm:22cm,DIV=calc,BCOR=12mm,titlepage,11pt,scrhack] #+LATEX_HEADER: \usepackage[english,ngerman]{babel} #+LATEX_HEADER:\usepackage{ #+LATEX_HEADER: fixltx2e % Verbesse

Re: [O] Solution for very long hyperlinks when exporting to latex?

2014-09-30 Thread Martin Weigele
That is exactly the problem, Rasmus... I am lost in the complexity of object and metalevels and don't really know where to start reducing it. Except for the naughty monster urls everything else works fine. Thanks anyway. :) Good night, Martin Am Mittwoch, 1. Oktober 2014, 02:20:45 schrieb Rasm

Re: [O] Bug (regression) in org-replace-disputed-keys. Bisected.

2014-09-30 Thread Teika Kazura
(The entire thread can be viewed at: http://thread.gmane.org/gmane.emacs.orgmode/90626 . cc: Miro Bezjak.) I propose fixes, but first I explain the whole picture. TOC 1. Backgrounds 2. Fixes I propose 1. Backgrounds In fact, beginning from org-8.1 `org-replace-disputed-keys' is intentionally

Re: [O] Error Embedding SQL Source from code block into R Source of Another (noweb)

2014-09-30 Thread Nick Dokos
Grant Rettke writes: > On Tue, Sep 30, 2014 at 2:15 PM, Nick Dokos wrote: >> Eric Brown writes: >> >>> 2) Grant, I tried your code, but there seem to be some missing headers. >>> Do you have a complete minimal example that exhibits the behavior that >>> you have demonstrated? >> >> Add :noweb y

Re: [O] Exporting to multiple files

2014-09-30 Thread Eric Abrahamsen
Marcin Borkowski writes: > On 2014-03-09, at 02:34, Marcin Borkowski wrote: > >> Hi 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 headings >> to files, and third-level headings to , fourth-level ones t

Re: [O] Improved way to include some headlines from an external org file

2014-09-30 Thread Xavier Garrido
Hi Andrea, Le 30/09/2014 21:55, Andrea Rossetti a écrit : Xavier Garrido writes: Is there a way ... ... to write something like that ... #+BEGIN_SRC org #+INCLUDE: "./base.org" :headline "First base chapter" ,* A more personal chapter #+INCLUDE: "./base.org" :headline "Second base chapter"

Re: [O] Improved way to include some headlines from an external org file

2014-09-30 Thread Xavier Garrido
Hi Rasmus, Le 01/10/2014 01:10, Rasmus a écrit : Hi Xavier, You could test the patch here: http://permalink.gmane.org/gmane.emacs.orgmode/91307 I am following the discussion since the beginning (and all your exchange with Nicolas) I think it introduces something close to what you a

Re: [O] Adding new table rows/cols in a formula update

2014-09-30 Thread Dima Kogan
>> Dima Kogan writes: >> >> > Suppose I have this .org file: >> > >> > | | >> > #+TBLFM: @1$2=5 >> > >> > It's a 1x1 table with a formula. The formula sets a cell that's out of >> > bounds in the table, so evaluating this formula results in an error. >> > How set-in-stone is this behavior? I

[O] ox-odt: column width in list-tables

2014-09-30 Thread Martin Gürtler
Hi, I am using the list-table feature of the odt exporter, a very convenient feature when one needs a table where one column has structured content. Unfortunately, the column widths currently cannot be controlled from within the org document. An attribute :column-widths would turn out handy. (Of