Re: [O] [RFC] Slight change to asynchronous export

2013-10-30 Thread Rick Frankel
On 2013-10-30 06:00, Nicolas Goaziou wrote: Helo, For reference, here is the suggested patch. Is there any strong point against it? looks great to me. rick

Re: [O] make new links show as figures?

2013-10-30 Thread Rick Frankel
On 2013-10-26 08:10, John Kitchin wrote: Other than having to repeat yourself, wouldn't the [[custom:file.ext][file:file.png]] syntax allow for most/all of the use cases mentioned? rick Yes, I think [[custom:file.ext][file:file.png]] would cover all those cases. So it turns out that this is

Re: [O] [RFC] Slight change to asynchronous export

2013-10-29 Thread Rick Frankel
On 2013-10-29 04:35, Nicolas Goaziou wrote: Achim Gratz strom...@nexgo.de writes: Nicolas Goaziou writes: 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

Re: [O] List items, HTML export

2013-10-29 Thread Rick Frankel
On 2013-10-27 15:34, Fabrice Popineau wrote: 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 ? Not currently, but in css you can reference the list and sub-list from the id of it's wrapper div:

Re: [O] table export-as-html from a simple list

2013-10-29 Thread Rick Frankel
On 2013-10-28 22:53, ishi soichi wrote: Emacs 24.3 org-mode 7.8.11 I am trying to export org file into html, and the result html needs to show a table rather than a list. I understand that |-+-| |     |       | |     |       | would export itself into a table.  But this form of

Re: [O] org-slidy and other HTML slideshows in org 8.x?

2013-10-25 Thread Rick Frankel
My apologys and please ingore these two email. I'm setting up a new computer and it pushed a couple of copies of saved drafts during mail setup. rick On 2013-10-24 21:17, Rick Frankel wrote: On 2013-10-23 23:12, Jay Dixit wrote: #+OPTIONS: H:1 num:nil toc:nil n:nil @:t ::t |:t ^:t f:t

Re: [O] make new links show as figures?

2013-10-25 Thread Rick Frankel
On 2013-10-24 17:48, John Kitchin wrote: I don't think making chemdraw a babel language is the answer here. The way I know chemdraw is as a standalone binary executable that is all gui. there is no scripting. maybe you could build an xml file by hand, but i would never dream of that! maybe I am

Re: [O] make new links show as figures?

2013-10-24 Thread Rick Frankel
On 2013-10-24 06:08, Carsten Dominik wrote: On 24.10.2013, at 09:28, Alan Schmitt alan.schm...@polytechnique.org wrote: Hi Rick and John, r...@rickster.com writes: On 2013-10-22 21:53, John Kitchin wrote: Is it possible to define new links that would be rendered as inline images? I am

Re: [O] org-slidy and other HTML slideshows in org 8.x?

2013-10-24 Thread Rick Frankel
On 2013-10-23 23:12, Jay Dixit wrote: Hey everyone, I'm trying to use Dov Grobgeld's org-slidy (https://github.com/dov/org-slidy [1]) to create HTML-based slideshows using org-mode, but it doesn't seem to be working. I'm not sure, but I suspect this is because the syntax for org's HTML export

Re: [O] make new links show as figures?

2013-10-24 Thread Rick Frankel
Carsten- On 2013-10-24 06:08, Carsten Dominik wrote: On 24.10.2013, at 09:28, Alan Schmitt alan.schm...@polytechnique.org wrote: This may be related to a question I had a couple weeks ago (see http://article.gmane.org/gmane.emacs.orgmode/77567). The current logic seems to be to display inline

Re: [O] org-slidy and other HTML slideshows in org 8.x?

2013-10-24 Thread Rick Frankel
On 2013-10-23 23:12, Jay Dixit wrote: #+OPTIONS: H:1 num:nil toc:nil n:nil @:t ::t |:t ^:t f:t LaTeX:t #+BIND: org-export-html-style-include-default nil #+BIND: org-export-html-style-include-scripts t #+BIND: org-export-html-auto-preamble nil #+BIND: org-export-html-auto-postamble nil

Re: [O] make new links show as figures?

2013-10-24 Thread Rick Frankel
Carsten- On 2013-10-24 06:08, Carsten Dominik wrote: On 24.10.2013, at 09:28, Alan Schmitt alan.schm...@polytechnique.org wrote: This may be related to a question I had a couple weeks ago (see http://article.gmane.org/gmane.emacs.orgmode/77567). The current logic seems to be to display inline

Re: [O] org-slidy and other HTML slideshows in org 8.x?

2013-10-24 Thread Rick Frankel
On 2013-10-23 23:12, Jay Dixit wrote: #+OPTIONS: H:1 num:nil toc:nil n:nil @:t ::t |:t ^:t f:t LaTeX:t #+BIND: org-export-html-style-include-default nil #+BIND: org-export-html-style-include-scripts t #+BIND: org-export-html-auto-preamble nil #+BIND: org-export-html-auto-postamble nil

Re: [O] make new links show as figures?

2013-10-23 Thread Rick Frankel
On 2013-10-22 21:53, John Kitchin wrote: Is it possible to define new links that would be rendered as inline images? I am imagining something like chemdraw:benzene.png which would show the benzene.png file inline, but when I click on it would open a chemdraw file for editing.

Re: [O] Drag images from Firefox to org-mode

2013-10-23 Thread Rick Frankel
On 2013-10-20 16:42, Nicolas Richard wrote: Oleh ohwoeo...@gmail.com writes: This can be fixed with a platform-aware function that checks both the clipboard and the cut-buffer. I suggest to ask for a string with (read-string URL: nil nil default), offering the content of the clipboard/kill

Re: [O] Ox-HTML hover for certain languages

2013-10-22 Thread Rick Frankel
On 2013-10-21 19:28, R. Michael Weylandt michael.weyla...@gmail.com wrote: Around line 270 of Ox-html.el, there's CSS which gives certain code blocks in the resulting HTML a hover-over window saying what language they encode. Not all Babel-supported languages appear however: is there any reason

Re: [O] trying to write a guidebook for students using org , need help with formating

2013-10-22 Thread Rick Frankel
On 2013-10-22 03:55, Xebar Saram wrote: Hi all i decided to dive into the deep water and get rid of M$ word once and for all. I'm still an org novice but since i love org i choose org for the task. I'm trying to write a simple guidebook for my students in a GIS course. Everything works great

Re: [O] Drag images from Firefox to org-mode

2013-10-18 Thread Rick Frankel
On 2013-10-18 01:29, Nicolas Richard wrote: Rick Frankel r...@rickster.com writes: One small problem, should be =(1+ (point))=, as the above leaves a blank newline at the head of the jpg, making it invalid. Oops, yes [Initially I had (search-forward \n\n), which worked fine,... then changed my

Re: [O] Drag images from Firefox to org-mode

2013-10-18 Thread Rick Frankel
On 2013-10-18 07:00, Nicolas Richard wrote: [re-adding emacs-orgmode@gnu.org to cc, I don't know when it got lost] Le 18/10/2013 12:44, Oleh a écrit : I attach the downloaded google logo. I missed an email here... can you send me the url to the image you are having problems with? I just tried

Re: [O] Drag images from Firefox to org-mode

2013-10-18 Thread Rick Frankel
On 2013-10-18 11:36, Nicolas Richard wrote: Note that using (let ((coding-system-for-write 'no-conversion)) (write-region nil nil filename nil nil nil 'confirm)) instead of (write-file ...) seemed to fix the problem for Oleh. got it. BTW, you might want to add the error message cleanup (i

Re: [O] Drag images from Firefox to org-mode

2013-10-18 Thread Rick Frankel
2001 From: Rick Frankel r...@rickster.com Date: Fri, 18 Oct 2013 14:03:03 -0400 Subject: [PATCH] * org-download.el (): - org-download-image-dir: Fix mismatch error (string set to nil.) - org-download--backend-cmd: Removed. - org-download-backend: Use a choice instead of a string

Re: [O] Drag images from Firefox to org-mode

2013-10-18 Thread Rick Frankel
On Fri, Oct 18, 2013 at 09:22:17PM +0200, Oleh wrote: Thanks, Rick and Nico, I've merged the code. All except the last bit from Rick: I can't think of any sensible way to enter an image URL except pasting it. And since link will be in the clipboard at some point, why not use it

Re: [O] How To publish to markdown?

2013-10-17 Thread Rick Frankel
On 2013-10-17 06:41, Daniel Thom wrote: i use a publish project which calls the function *org-html-publish-to-html*. I also need a project to publish to markdown syntax. But there is no function org-md-publish-to-md. Could someone explain me, how to publish to markdown? Export file by file

Re: [O] Drag images from Firefox to org-mode

2013-10-17 Thread Rick Frankel
On 2013-10-17 08:43, Nicolas Richard wrote: Carsten Dominik drostekirs...@gmail.com writes: does anyone know how general this code is? Does it works on different operating systems? We might want to include this into the Org core. Since it is based on dnd, and since the documentation of dnd

Re: [O] Drag images from Firefox to org-mode

2013-10-17 Thread Rick Frankel
On 2013-10-17 10:48, Nicolas Richard wrote: Rick Frankel r...@rickster.com writes: On 2013-10-17 08:43, Nicolas Richard wrote: Carsten Dominik drostekirs...@gmail.com writes: does anyone know how general this code is? Does it works on different operating systems? We might want to include

Re: [O] input data for babel blocks

2013-10-01 Thread Rick Frankel
On 2013-10-01 09:01, Alan Schmitt wrote: I'm sorry, I don't see the answer to this above. The only example I could find in the manual is this one http://orgmode.org/manual/noweb_002dref.html#noweb_002dref which does not address using noweb with different languages. I did some experiments and

Re: [O] build errors on os x

2013-09-26 Thread Rick Frankel
On 2013-09-25 20:44, Skip Collins wrote: The problem persists. Can anyone else confirm? Perhaps this should be added to the bug tracker file. For the record, my local.mk file is: FWIW, on solaris i get the following on th latest master branch, commit ec28c33062b3468abc2fa2458118df11165b096d:

[O] [PATCH] Add check for assignment to hline relative references in table formulas.

2013-09-25 Thread Rick Frankel
* org-table.el (org-table-recalculate): Generate user error if an hline relative reference is use on the LHS of a formula. --- lisp/org-table.el | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lisp/org-table.el b/lisp/org-table.el index 246cf8d..a3197d3 100644 --- a/lisp/org-table.el +++

Re: [O] Help proofreading ORG-NEWS for Org 8.1

2013-09-06 Thread Rick Frankel
Bastien- Small typo (missing ':' prefix): % diff -wu ORG-NEWS.org* --- ORG-NEWS.org2013-09-06 09:10:09.748950700 -0400 +++ ORG-NEWS.org~ 2013-09-06 09:07:40.913774100 -0400 @@ -30,7 +30,7 @@ by -: #+OPTIONS: :html-include-style t +#+OPTIONS: :html-include-style t Options

Re: [O] Help proofreading ORG-NEWS for Org 8.1

2013-09-06 Thread Rick Frankel
-include-style t Options affected by this change: =HTML5_FANCY=, =HTML_INCLUDE_SCRIPTS= and =HTML_INCLUDE_STYLE=. On 2013-09-06 09:20, Rick Frankel wrote: Bastien- Small typo (missing ':' prefix): % diff -wu ORG-NEWS.org* --- ORG-NEWS.org2013-09-06 09:10:09.748950700 -0400 +++ ORG-NEWS.org

Re: [O] [PATCH] Handle literal 'hline arguments passed to ruby.

2013-09-04 Thread Rick Frankel
On 2013-09-02 10:12, Carsten Dominik wrote: Applied, thank. Rick, I had trouble applying th patch, so did some handywork - please check after me. looks good modulo a couple of extra blank lines :). thanx, rick

Re: [O] [PATH] [NEW EXPORTER] two slide backends for contrib

2013-08-28 Thread Rick Frankel
On Tue, Aug 27, 2013 at 11:41:20PM -0400, Matt Price wrote: On Tue, Aug 27, 2013 at 10:12 AM, Rick Frankel r...@rickster.com wrote: On 2013-08-27 00:41, Matt Price wrote: I just came across this, having missed it in February. Rick, I was wondering if you had thought about enabling some

Re: [O] [PATH] [NEW EXPORTER] two slide backends for contrib

2013-08-27 Thread Rick Frankel
On 2013-08-27 00:41, Matt Price wrote: I just came across this, having missed it in February. Rick, I was wondering if you had thought about enabling some of deck.js's snazzier features -- transitions for text elements, for instance, like we see in the intro deck here:

[O] [BUG] hline handling in ob-ruby

2013-08-27 Thread Rick Frankel
Mon Sep 17 00:00:00 2001 From: Rick Frankel r...@rickster.com Date: Thu, 15 Aug 2013 14:43:51 -0400 Subject: [PATCH] Handle literal 'hline arguments passed to ruby. Solution shamelessly copied from ob-python. * lisp/ob-ruby.el: New customizations `org-babel-ruby-hline-to' and `org-babel-ruby

Re: [O] Export attached image files

2013-08-20 Thread Rick Frankel
On 2013-08-20 11:41, Charles Berry wrote: Johan Ekh ekh.johan at gmail.com writes: [snip] I would like to take a series of screenshots, quickly incorporate them into an org file together with some text without having to rename the screenshots with suitable names and organize them on my disk

[O] [PATCH] Handle literal 'hline arguments passed to ruby.

2013-08-15 Thread Rick Frankel
Solution shamelessly copied from ob-python. * lisp/ob-ruby.el: New customizations `org-babel-ruby-hline-to' and `org-babel-ruby-nil-to' (org-babel-ruby-var-to-ruby): Convert incoming 'hlines. (org-babel-ruby-table-or-string): Convert outgoing nils. --- lisp/ob-ruby.el | 26

[O] [PATCH] ox-ascii extra blank before table caption

2013-08-02 Thread Rick Frankel
ox-ascii is putting a blank line between a table and a following caption. It is not doing this for listing captions so, IMHO, it is a bug. Here is a (very small) patch which fixes the problem. diff --git a/lisp/ox-ascii.el b/lisp/ox-ascii.el index 59d0152..3baf4bd 100644 --- a/lisp/ox-ascii.el

Re: [O] [Bug] #+call does not respect :colnames argument

2013-07-28 Thread Rick Frankel
On Fri, Jul 26, 2013 at 06:54:08PM -0600, Eric Schulte wrote: Rick Frankel r...@rickster.com writes: The later is not valid call line syntax, see [1] for a full description of the call line syntax. In effect what happens in the latter case, is you set :colnames to yes]. Oh, ok. I just saw

Re: [O] Bug: koma-letter-export does not work [8.0.6(8.0.6-5-gb4a8ec-elpa @ /home/stefan/.emacs.d/elpa/org-20130722/)]]

2013-07-26 Thread Rick Frankel
On 2013-07-26 08:00, Alan Schmitt wrote: ste...@xsteve.at writes: Hello Alan! ste...@xsteve.at writes: Yes, I get the error message after hitting C-c C-e. I installed org via M-x list-packages yesterday. Are you able to export an org file to a different format (like html)? I'm trying to see

[O] [Bug] #+call does not respect :colnames argument

2013-07-26 Thread Rick Frankel
Eric- I have debugged why the :colnames argument is not respected as to removing the header from a table var. * Given #+name: with-hline | A | B | C | |---+---+---| | 1 | 2 | 3 | | 4 | 5 | 6 | #+name: with-hline2 | B | C | D | |---+---+---| | 2 | 3 | 4 | | 5 | 6 | 7 | #+name: emacs-echo

Re: [O] Interpreter/shell prompts when exporting code blocks?

2013-07-26 Thread Rick Frankel
:exports none import mymod defun myfun(): mymod.foo() ,#+END_SRC ,#+BEGIN_SRC python :noweb yes :exports code :eval never python-src #+END_SRC #+end_src which exports as (text export): ━━━ PREFIX EXPORT Rick Frankel ━━━ ╭ │ $ echo foo │ $ echo bar

Re: [O] [Bug] #+call does not respect :colnames argument

2013-07-26 Thread Rick Frankel
On Fri, Jul 26, 2013 at 11:53:33AM -0600, Eric Schulte wrote: Rick Frankel r...@rickster.com writes: I have debugged why the :colnames argument is not respected as to removing the header from a table var. Thanks for taking the time to find the root of this problem. I believe I've fixed

Re: [O] [babel] Table as varaiables a differently proccesed by #+call lines vs. source code blocks

2013-07-25 Thread Rick Frankel
Sorry for breaking the thread, i deleted the prior message. On 2013-07-23 08:25, Sebastien Vauban wrote: See the contents of the following vars: - `org-babel-default-header-args' for source blocks - `org-babel-default-inline-header-args' for inline source blocks -

Re: [O] [babel] Table as varaiables a differently proccesed by #+call lines vs. source code blocks

2013-07-23 Thread Rick Frankel
On 2013-07-23 08:25, Sebastien Vauban wrote: Torsten Wagner wrote: I want to summarize the problem I found, using tables as input to source code blocks. This observation was shared with Rick and I would be glad to help fixing that. Within the attached file one can see a typical example. It

Re: [O] process diagrams with dot and some glue using org

2013-07-20 Thread Rick Frankel
On Sat, Jul 20, 2013 at 12:02:18PM +0100, Eric S Fraga wrote: [...] For Karl's benefit, the following is the latest version of the graph-from-tables source code block including the above suggestion from Rick and also the addition of an options variable. #+begin_src org ,#+name:

Re: [O] process diagrams with dot and some glue using org

2013-07-19 Thread Rick Frankel
On 2013-07-19 13:23, Eric S Fraga wrote: a couple of weeks ago you developed some code to convert a pair of tables to a graphviz digraph and you wrote a very useful Worg page about it: http://article.gmane.org/gmane.emacs.orgmode/74280

Re: [O] [babel] Problems assigning tables as variables using #+CALL and using properties in code blocks and sbe calls

2013-07-19 Thread Rick Frankel
On 2013-07-19 11:57, Torsten Wagner wrote: Hi Eric, one mini-step forward. The #+CALL function does not work if the table has a horizontal line like in #+TBLNAME: othertablename | a | b | c | d | |---+---+---+---| | 4 | 3 | 2 | 1 | | z | x | y | w | however, it works for #+TBLNAME:

Re: [O] Http pull/clone at orgmode.org is down?

2013-07-19 Thread Rick Frankel
On 2013-07-18 16:10, John Hendy wrote: When I try to issue git pull (since yesterday, replicated today), I'm getting this: $ git pull error: Unable to find 989923a140695aa87959bdc727666aeec48ec074 under http://orgmode.org/org-mode.git Cannot obtain needed tree

Re: [O] Sitemap for google?

2013-07-12 Thread Rick Frankel
On 2013-07-05 19:34, Vikas Rawal wrote: When I publish my website, orgmode gives me the sitemap as an html. Google requires sitemap as an xml, rss or text file (https://support.google.com/webmasters/answer/183668). Any suggestions on how to get orgmode to create a google-compatible sitemap?

Re: [O] How can I write side by side code comparison table

2013-07-11 Thread Rick Frankel
On 2013-07-10 18:00, Jisang Yoo wrote: I can write a table: ... but I don't know how to combine the two-column table with the two source code blocks in a way that exports to code tables like in Emergency Elisp how about for scalars as example blocks: #+name: emacs-scalar #+BEGIN_SRC

Re: [O] [BUG] :colnames not applied to #+call input

2013-07-09 Thread Rick Frankel
On 2013-07-03 13:23, Eric Schulte wrote: Currently colnames are not used for emacs-lisp code blocks (for historical reasons). Unfortunately, call lines are executed by expanding first to a trivial emacs-lisp code block, which is then run to collect and possibly re-package the results of the

Re: [O] [BUG] :colnames not applied to #+call input

2013-07-02 Thread Rick Frankel
On 2013-06-30 19:21, Eric Schulte wrote: Rick Frankel r...@rickster.com writes: it seems that the :colnames header is not being respected on parsing the input to a `#+call:' line containing arguments, but is being applied to the output! For example: #+BEGIN_SRC org * Identity #+name: table

Re: [O] Process diagrams with dot and some glue using Org-mode

2013-06-28 Thread Rick Frankel
On 2013-06-28 05:20, Karl Voit wrote: * Rick Frankel r...@rickster.com wrote: And here's a simplier version which uses a graph table in the following format: [...] I tried to use your solution with the #+call: method. Unfortunately, it fails and due to my limited ELISP knowledge, I can

[O] [BUG] :colnames not applied to #+call input

2013-06-28 Thread Rick Frankel
it seems that the :colnames header is not being respected on parsing the input to a `#+call:' line containing arguments, but is being applied to the output! For example: #+BEGIN_SRC org * Identity #+name: table | a | b | c | |---+---+---| | 1 | 2 | 3 | #+name: identity #+BEGIN_SRC emacs-lisp

Re: [O] Process diagrams with dot and some glue using Org-mode

2013-06-27 Thread Rick Frankel
On Thu, Jun 27, 2013 at 08:47:14AM +0200, Karl Voit wrote: * Rick Frankel r...@rickster.com wrote: - It requires you to specify the range on the node table Sorry, I did not understand this since I could not locate any range specification below except that one for foobar-node

Re: [O] evaluation context in call statements

2013-06-26 Thread Rick Frankel
On 2013-06-26 02:29, Achim Gratz wrote: Eric Schulte writes: In defense of the existing behavior, I don't see the benefit of calling a code block with the same arguments from multiple locations and subsequently littering a file with multiple identical results blocks. I agree that this didn't

Re: [O] evaluation context in call statements

2013-06-26 Thread Rick Frankel
Nicolas- On 2013-06-26 11:13, Nicolas Goaziou wrote: Rick Frankel r...@rickster.com writes: At the time (late 2012) I found Nicolases changes (named results blocks, attributes and captions on the results block and not the source, etc) confusing. I still find it odd that you need to evaluate

Re: [O] Process diagrams with dot and some glue using Org-mode

2013-06-26 Thread Rick Frankel
On 2013-06-26 11:23, Karl Voit wrote: Hi! I would like to define my diagram with the following two tables: one for the node definitions and one for the interconnections between notes. The syntax should be pretty self-explanatory (or at least I hope so): I (not an ELISP hacker) would have to use

Re: [O] Process diagrams with dot and some glue using Org-mode

2013-06-26 Thread Rick Frankel
On 2013-06-26 13:03, Karl Voit wrote: * Rick Frankel r...@rickster.com wrote: Two things: 1. You don't need to write table parsing code, as passing in a table as an argument to a code block will convert it to an array. t=[[a, 1], [b, 2]] You're

[O] evaluation context in call statements

2013-06-25 Thread Rick Frankel
FThe arguments to a `#+call' line are evaluated in the context of the called block and not the calling block. This seems like a bug to me. For example, in the following i would expect the `call' to return Call and not Source as the results: ╭ │ * Source │ #+name: message │ #+BEGIN_SRC elisp

Re: [O] [RFC] Replace some HTML related keywords with OPTIONS items

2013-06-21 Thread Rick Frankel
On 2013-06-21 13:28, Nicolas Goaziou wrote: Hello, Carsten Dominik carsten.domi...@gmail.com writes: This is a good change - I am also for merging it. Applied on master, since it introduces a syntax change. Tell me if you want it on maint anyway (or just cherry-pick it yourself). As for the

Re: [O] M-RET and C-RET turn current line of text into a heading?

2013-05-17 Thread Rick Frankel
On Fri, May 17, 2013 at 03:26:09PM +0200, Carsten Dominik wrote: There was discussion about `C-c *'. For me the main application of this command it to turn an item into a headline, and to turn *several* lines into a series of headline (by selecting the lines first) - this is a very frequent

Re: [O] M-RET and C-RET turn current line of text into a heading?

2013-05-16 Thread Rick Frankel
On 2013-05-15 23:17, Eric Abrahamsen wrote: Samuel Wales samolog...@gmail.com writes: Also, C-RET and M-RET currently seem to be identical? I still think it's pretty important to have an option for creating a new headline *below* all the contents of the current subtree -- what C-RET used to

Re: [O] [BUG] worg table of contents

2013-05-16 Thread Rick Frankel
On Thu, May 16, 2013 at 08:19:57AM +0200, Bastien wrote: Hi Rick, Rick Frankel r...@rickster.com writes: The following javascript snippet will add a function to show the toc when it is clicked, but I'm not sure where to put it (at the bottom of preamble.html?) I'd say it's a good

[O] [BUG] worg table of contents

2013-05-15 Thread Rick Frankel
The table of contents on worg is shown/hidden using the :hover pseudo-element on the #table-of-contents element. The problem is that this doesn't work on an ipad (or other touch device). The following javascript snippet will add a function to show the toc when it is clicked, but I'm not sure

Re: [O] using gnuplot's splot and every commands on org-mode table data

2013-05-11 Thread Rick Frankel
On Sat, May 11, 2013 at 12:39:55PM +0200, Achim Gratz wrote: Eric S Fraga writes: We should keep --- as lines to be exported and perhaps use ::: for those that are just introducing convenience for table calculations as === looks far too heavy to me for that purpose. Sure, I can see how

Re: [O] [PATCH] export to various flavors of (X)HTML

2013-05-06 Thread Rick Frankel
On Mon, May 06, 2013 at 02:05:18AM -0700, Eric Abrahamsen wrote: Carsten Dominik carsten.domi...@gmail.com writes: Hi Eric, thanks for the reply. OK, I am going with the patch for now, let's push more thinking about HTML5 further down the line. Thanks for working this out! My

Re: [O] Is it possible to create links to M-x occur results?

2013-05-03 Thread Rick Frankel
On Fri, May 03, 2013 at 09:14:43AM +0200, Carsten Dominik wrote: On 2.5.2013, at 19:25, Leo Alekseyev dnqu...@gmail.com wrote: Nice! Short and sweet, and works great. It should go on orgmode.org somewhere in the cool hacks section. Make a patch if you don't have write

Re: [O] Is it possible to create links to M-x occur results?

2013-05-02 Thread Rick Frankel
On 01.05.2013 18:41, Leo Alekseyev wrote: Howdy Org-folks, Something that I've found myself wishing for time and time again is to be able to follow the link to a file and immediately pop into a set of M-x occur results given some search term for that file.  That way I could link to an

Re: [O] [PATCH] export to various flavors of (X)HTML

2013-05-01 Thread Rick Frankel
On Tue, Apr 30, 2013 at 08:26:52PM -0700, Eric Abrahamsen wrote: Rick Frankel r...@rickster.com writes: Whoops. Wrong key. Patch actually attached to this email... rick Great, I'll consolidate all these -- would it be better to mush them into one big patch, or to keep them separate (I

[O] [BUG] hline references on left side of table formula

2013-05-01 Thread Rick Frankel
Hi- I don't know if this is a bug or feature :), but if an hline reference (@I, etc) is used on the left side of a calculation, it applies to ALL columns in the row even if the column is specfied. Here are some examples to show the results. I would expect all three versions to generate the same

Re: [O] [Bug] org-startup-with-inline-images

2013-05-01 Thread Rick Frankel
On 01.05.2013 13:28, Daimrod wrote: Thanks for the report, I've attached a patch that fixes this problem (in both `org-display-inline-images' and `org-preview-latex-fragment'). However I don't know if it is the right approach or if I should try to narrow this to lower-level functions. I know

Re: [O] [PATCH] export to various flavors of (X)HTML

2013-04-30 Thread Rick Frankel
On 29.04.2013 02:02, Eric Abrahamsen wrote: Rick Frankel r...@rickster.com writes: On Fri, Apr 26, 2013 at 10:14:17AM -0700, Eric Abrahamsen wrote: Rick Frankel r...@rickster.com writes: See the discussions of polyglot markup @ http://en.wikipedia.org/wiki/Polyglot_markup and http

Re: [O] [PATCH] export to various flavors of (X)HTML

2013-04-30 Thread Rick Frankel
Whoops. Wrong key. Patch actually attached to this email... rick From d95a365f547fdc681c530c9088f775b30a37d9aa Mon Sep 17 00:00:00 2001 From: Rick Frankel r...@rickster.com Date: Tue, 30 Apr 2013 10:35:14 -0400 Subject: [PATCH] Modify processing of xhtml declaration. * lisp/ox-html.el (org-html

[O] [Bug] org-startup-with-inline-images

2013-04-30 Thread Rick Frankel
`org-startup-with-inline-images' is a customizable variable. The problem is that if an org file is visited in a non-graphics buffer (or batch), `org-display-inline-images' is called an throws an error (Non-X frame used). This problem also occurs when e.g., `org-babel-after-execute-hook' is set

Re: [O] [PATCH] export to various flavors of (X)HTML

2013-04-26 Thread Rick Frankel
On 25.04.2013 17:20, Eric Abrahamsen wrote: Who knew this would turn out to be such a fraught issue! All I wanted was that little green checkmark from the W3C... Here's what I think should be an acceptable final patch. I dropped the CDATA mess, and came up with a slightly different

Re: [O] [PATCH] export to various flavors of (X)HTML

2013-04-26 Thread Rick Frankel
On Fri, Apr 26, 2013 at 10:14:17AM -0700, Eric Abrahamsen wrote: Rick Frankel r...@rickster.com writes: Therefore, `org-html-close-tag' should check that the doctype is not a flavor of html4 rather than a flavor of xhtml. An alternative would be to add (xhtml5 . !DOCTYPE html

Re: [O] [PATCH] export to various flavors of (X)HTML

2013-04-22 Thread Rick Frankel
On Sat, Apr 20, 2013 at 10:59:32AM +0800, Eric Abrahamsen wrote: The / style doesn't validate for html4, that's what I was going on. It certainly doesn't make my browser explode, but I wanted that little green checkmark! If we can live with that, that's fine, or I can try to come up with a

Re: [O] [PATCH] export to various flavors of (X)HTML

2013-04-19 Thread Rick Frankel
On 19.04.2013 05:57, Eric Abrahamsen wrote: I'm starting a new thread for this since the previous discussion was buried in with something tangential. I'm not proud of some of the implementation (self-closing vs non-self-closing tags are ugly, and I wish org-html-html5-p and org-html-xhtml-p

[O] [BUG] Problems with perl babel output

2013-04-16 Thread Rick Frankel
Hi- Overall, Achim's updates to perl babel processing have been fantastic. But there seems to be a problem with :result output -- there is no way to get a table. Also, if the results are :value, the stdout is mixed in with the returned results. Here are some examples: * perl results **

Re: [O] Attributes on HTML tables?

2013-04-15 Thread Rick Frankel
Eric- Rick Frankel r...@rickster.com writes: I would argue that to set the element type fro the outer (outline-container) div or the inner (outline-text) div, a property setting would make more sense. I can see using a (headline level) :HTML_CONTAINER property to set the container

Re: [O] Attributes on HTML tables?

2013-04-14 Thread Rick Frankel
On Sun, Apr 14, 2013 at 06:13:40PM +0800, Eric Abrahamsen wrote: Rick Frankel r...@rickster.com writes: On Sat, Apr 13, 2013 at 01:31:17PM +0800, Eric Abrahamsen wrote: * Org HTML5 Test #+ATTR_HTML: :options html-container article - a :: foo - b :: bar note that you just just set

Re: [O] Attributes on HTML tables?

2013-04-13 Thread Rick Frankel
On Fri, Apr 12, 2013 at 10:06:21AM +0800, Eric Abrahamsen wrote: François Pinard pin...@iro.umontreal.ca writes: Christian Moe m...@christianmoe.com writes: While on this subject! :-) Could Org allow the output of HTML5 rather than XHTML, under the control of some option? I've read

Re: [O] Attributes on HTML tables?

2013-04-13 Thread Rick Frankel
On Sat, Apr 13, 2013 at 01:31:17PM +0800, Eric Abrahamsen wrote: Eric Abrahamsen e...@ericabrahamsen.net writes: François Pinard pin...@iro.umontreal.ca writes: Bastien b...@gnu.org writes: Eric Abrahamsen e...@ericabrahamsen.net writes: The first step is probably to research the

Re: [O] publishing css using babel + sass and (new) exporter

2013-04-12 Thread Rick Frankel
On Tue, Apr 09, 2013 at 07:20:56PM -0400, Jean Schurger wrote: Hi, I'm a new and innocent org-mode user, and I would like to use org-mode exporter (the new one) to publish static web pages. The 'html' part is OK, but as I hate writing CSS, I'm using babel + sass to build CSS code.

Re: [O] Some %elements in org-html-postamble-format became too generous

2013-04-08 Thread Rick Frankel
On Sun, Apr 07, 2013 at 09:00:27PM +0200, Nicolas Goaziou wrote: Hello, Rick Frankel r...@rickster.com writes: On Sun, Apr 07, 2013 at 08:32:34PM +0200, Nicolas Goaziou wrote: Dieter Wilhelm die...@duenenhof-wilhelm.de writes: Or just using a default time string format which

Re: [O] Some %elements in org-html-postamble-format became too generous

2013-04-07 Thread Rick Frankel
On Sun, Apr 07, 2013 at 08:32:34PM +0200, Nicolas Goaziou wrote: Dieter Wilhelm die...@duenenhof-wilhelm.de writes: Or just using a default time string format which is language independent, like %Y-%m-%d. There's `org-html--timestamp-format', which is used for all timestamps in preamble,

Re: [O] org-html-postamble-format and #+DATE: specification in 8.0pre

2013-04-05 Thread Rick Frankel
On 05.04.2013 03:17, Alan Schmitt wrote: I have a more serious issue: it seems that '%d' is no longer taken into account. To reproduce, try exporting the following: #+BEGIN_SRC org # -*- org-export-allow-bind-keywords: t -*- #+TITLE: Testing the date #+BIND: org-html-postamble-format ((en

Re: [O] org-html-postamble-format and #+DATE: specification in 8.0pre

2013-04-05 Thread Rick Frankel
): , | | |TEST DATE HANDLING | | Rick Frankel | | | |2013-04-05 | | | | | | File was updated on 2013-04-05T09:41

Re: [O] babel results handling

2013-04-04 Thread Rick Frankel
On Wed, Apr 03, 2013 at 08:18:09AM -0600, Eric Schulte wrote: Rick Frankel r...@rickster.com writes: On Sun, Mar 31, 2013 at 07:37:38AM -0600, Eric Schulte wrote: `sh' is probably not the best choice as a gold standard due to the fact that it only supports STDOUT (output and not value

Re: [O] [PATCH] Process hlines in imported tables

2013-04-04 Thread Rick Frankel
On Wed, Apr 03, 2013 at 08:21:01PM +0200, Achim Gratz wrote: Rick Frankel writes: Missed verbatim. Thanks for the pointer, it works, but i think that perl is double-processing returned values. If we do the same things in elisp i get (my) expected results: #+begin_src elisp :results raw

Re: [O] [PATCH] Process hlines in imported tables

2013-04-04 Thread Rick Frankel
On Thu, Apr 04, 2013 at 03:59:36PM +0200, Sebastien Vauban wrote: Hi Achim, Achim Gratz wrote: Rick Frankel writes: Missed verbatim. Thanks for the pointer, it works, but i think that perl is double-processing returned values. If we do the same things in elisp i get (my) expected

[O] babel results handling (was: Process hlines in imported tables)

2013-04-01 Thread Rick Frankel
On Sun, Mar 31, 2013 at 07:37:38AM -0600, Eric Schulte wrote: It is certainly true that Emacs Lisp is treated differently than all other languages. There are also significant differences between languages, e.g., session evaluation doesn't make sense for some languages, and for other languages

Re: [O] [PATCH] Process hlines in imported tables

2013-03-31 Thread Rick Frankel
On Sat, Mar 30, 2013 at 06:43:30PM -0600, Eric Schulte wrote: Rick Frankel r...@rickster.com writes: *Note* =wrap= and =raw= give same results #+begin_src perl :results raw q[|c1|c2| |- |a|1| |b|2|]; #+end_src #+results: | | c1 | c2

Re: [O] [PATCH] Process hlines in imported tables

2013-03-30 Thread Rick Frankel
On Fri, Mar 29, 2013 at 06:01:21PM -0600, Eric Schulte wrote: Yes and no. :colnames works, but often the header comes from the processing, so they may not be static (I use a lot of call:s). Also, I've been having trouble using the output from raw results as input -- it seems that unless

Re: [O] [PATCH] Process hlines in imported tables

2013-03-29 Thread Rick Frankel
On Fri, Mar 29, 2013 at 09:04:42AM -0600, Eric Schulte wrote: Rick Frankel r...@rickster.com writes: Users may want to insert a - in their tables, and I think it would be surprising to magically replace floating - characters with hlines. There are numerous existing options for inserting

[O] [PATCH] Process hlines in imported tables

2013-03-28 Thread Rick Frankel
-region' always puts | at the begining of each line. This patch solves that by not putting a space after the pipe symbol if the first character of the line is a dash (-). rick From 86ee5bfcaa7513769cc3e2939c5e0b1a1f3c7706 Mon Sep 17 00:00:00 2001 From: Rick Frankel r...@rickster.com Date: Thu, 28 Mar

Re: [O] Bug formatting source code in new latex exporter

2013-03-27 Thread Rick Frankel
On Wed, Mar 27, 2013 at 03:17:26PM +0100, Nicolas Goaziou wrote: Hello, Maybe it's an in-built alias. This works w/ emacs -Q [...]: Probably. I don't see any reference to it in the Languages section in the manual. Therefore, I don't think it deserves an entry in `org-latex-minted-langs'

Re: [O] Bug formatting source code in new latex exporter

2013-03-26 Thread Rick Frankel
On Mon, Mar 25, 2013 at 10:09:37PM +0100, Nicolas Goaziou wrote: Hello, Rick Frankel r...@rickster.com writes: The cross reference approach seems clever, but maybe a simpler approach would simply be to add an ATTR_LaTeX(:longlisting) and leave it up to the user. That's the most

Re: [O] Bug formatting source code in new latex exporter

2013-03-24 Thread Rick Frankel
The cross reference approach seems clever, but maybe a simpler approach would simply be to add an ATTR_LaTeX(:longlisting) and leave it up to the user. That's the most reasonable option, indeed. The following patch implements :long-listing attribute for src-blocks. What do you

<    1   2   3   >