[O] Org, latex and asymptote in a math project

2011-09-12 Thread Jarmo Hurri
. -- Jarmo Hurri

Re: [O] Printing in indent mode

2011-09-30 Thread Jarmo Hurri
as a section or a subsection. -- Jarmo Hurri

Re: [O] Printing in indent mode

2011-10-01 Thread Jarmo Hurri
Giovanni Ridolfi giovanni.rido...@yahoo.it writes: That would be very nice, but I do not know how to do this for a hierarchical list so that the result would look like a list. For a subtree: * A list :PROPERTIES: :EXPORT_TITLE: :EXPORT_OPTIONS: H:0 num:nil toc:nil \n:t @:t ::t |:t ^:t

[O] Indenting source code blocks in lists

2012-01-24 Thread Jarmo Hurri
Greetings. I am a big fan of org mode, but occasionally I feel that it is quite difficult to figure out how to do a relatively simple task. So sorry for this newbie question. The manual clearly states the following: Since indentation is what governs the structure of these lists, many

[O] Compile error in make pdf

2014-04-29 Thread Jarmo Hurri
Greetings. After updating to Fedora 20 and the latest TeXLive available: TeX 3.1415926 (TeX Live 2013) kpathsea version 6.1.1 and with the latest org from git: release_8.2.6-928-gec0eab7 I get a compile error when trying to run make pdf; see attached log below. Any ideas on how to fix this?

Re: [O] Compile error in make pdf

2014-04-29 Thread Jarmo Hurri
Bastien b...@gnu.org writes: I get a compile error when trying to run make pdf; see attached log below. Any ideas on how to fix this? I've updated texinfo.tex in Org to the latest stable version. Thanks, works perfectly again! All the best, Jarmo

[O] Disabling overstrike (+) inside formulas

2014-05-06 Thread Jarmo Hurri
Greetings. I have LaTeX macros in which I regularly use a plus sign in a parameter. This is currently interpreted as an attempt to overstrike in org: -- * testing $1\text{+}2$ creates an overstrike $\text{+}$

[O] Babel support for Processing-language

2014-09-15 Thread Jarmo Hurri
Greetings fellow org-fans! I have already designed a couple of programming courses, and am now considering getting involved in a new one. This one will be aimed at young novices. I have decided that I only want to do this if the programming language used is very visual. The two options I have

Re: [O] Babel support for Processing-language

2014-09-16 Thread Jarmo Hurri
Nick Dokos ndo...@gmail.com writes: Jarmo Hurri jarmo.hu...@syk.fi writes: ... However, I have _no idea_ what kind of work supporting output capture of both static mode (image) and active mode (animation) would require. Ideally, Babel support for Processing output would mean

[O] Babel: reusing language-specific functions

2014-10-07 Thread Jarmo Hurri
Greetings. I have a very basic Babel question, but I can not extract the solution from the manual. I have a language-specific function - in this case Asymptote, but it could be e.g. C as well - that I want to use in a number of different source blocks of the same language in an Org file. How do

Re: [O] Babel: reusing language-specific functions

2014-10-08 Thread Jarmo Hurri
t...@tsdye.com (Thomas S. Dye) writes: Jarmo Hurri jarmo.hu...@iki.fi writes: I have a language-specific function - in this case Asymptote, but it could be e.g. C as well - that I want to use in a number of different source blocks of the same language in an Org file. How do I accomplish

[O] Special characters in tables (iso-latin-1 or utf-8)

2013-09-27 Thread Jarmo Hurri
Greetings. A lot of my tables contain special characters (such as ä and ö) because those are used in Finnish names. These are now causing problems for me in table formulas. Can someone tell me how to fix the table below so that the formula will work? * testing table | string | same string |

Re: [O] Special characters in tables (iso-latin-1 or utf-8)

2013-09-28 Thread Jarmo Hurri
Michael Brand michael.ch.br...@gmail.com writes: A lisp formula is the easiest way to just copy fields: #+TBLFM: $2 = '(identity $1) Great tip, thanks! Jarmo

[O] Hide some timestamp repetitions; timestamp property in agenda

2013-10-05 Thread Jarmo Hurri
Greetings. I am pretty sure that the following can be done, I just do not know how. 1. In general I want to see repeated timestamps, TODOs etc. appear at every repeat, so I need to have the value of org-agenda-repeating-timestamp-show-all set to t. However, for *some* repeated

Re: [O] Hide some timestamp repetitions; timestamp property in agenda

2013-10-06 Thread Jarmo Hurri
Suvayu Ali fatkasuvayu+li...@gmail.com writes: On Sat, Oct 05, 2013 at 05:45:28PM +0300, Jarmo Hurri wrote: 1. In general I want to see repeated timestamps, TODOs etc. appear at every repeat, so I need to have the value of org-agenda-repeating-timestamp-show-all set to t. However

Re: [O] recurring events with different notes for each occurrence

2013-10-06 Thread Jarmo Hurri
Greetings Karl. Karl Voit devn...@karl-voit.at writes: * Jarmo Hurri jarmo.hu...@syk.fi wrote: 2. I have some events that take place multiple times in a week. This is easy to accomplish: * Learn something new about org-mode 2013-10-05 Sat 17:00-18:00 +1w 2013-10-06 Sun 12

Re: [O] recurring events with different notes for each occurrence

2013-10-11 Thread Jarmo Hurri
Karl Voit devn...@karl-voit.at writes: As a programmer, I do understand your objection. However, I tend to have following structure: * Events ** LUGG meetings :LUGG:common:tags: - common information about this event *** ... single occurrence

[O] Run commands after html export

2013-10-12 Thread Jarmo Hurri
Greetings. I feel like a newbie most of the time when I try to do something a bit more complicated with org. And finding the solution in the manuals is often pretty hard. What I would like to do now is to automatically run some commands after I have exported an org file as html. (In particular,

Re: [O] Run commands after html export

2013-10-12 Thread Jarmo Hurri
Answering my own question... What I would like to do now is to automatically run some commands after I have exported an org file as html. I ended up circumventing the problem - that is, the exporter - by creating a code block in which I first run org-html-export-to-html and then do my git

Re: [O] Run commands after html export

2013-10-13 Thread Jarmo Hurri
Iannis Zannos zan...@gmail.com writes: Greetings Iannis. Publish provides very extensive configuration capabilities, which include a preparation-function and a completion-function hook. I saw the manual and worg pages on publishing, but thought that configuring publishing parameters was

Re: [O] recurring events with different notes for each occurrence

2013-10-13 Thread Jarmo Hurri
Karl Voit devn...@karl-voit.at writes: Greetings again. Is there a way to associate a property with each repeating timestamp and show this property in the agenda? (There most likely is.) (setq org-agenda-skip-additional-timestamps-same-entry nil) ... most probably fixing your issue IMHO.

[O] Beamer export: one question and one bug

2013-10-25 Thread Jarmo Hurri
Greetings. I am using org mode 8.2.1. 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? 2. Then the bug. If you remove the comment character in the second slide, Beamer export gives an error, while a regular LaTeX

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

2013-10-26 Thread Jarmo Hurri
Greetings! Nicolas Goaziou n.goaz...@gmail.com writes: 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? I cannot reproduce it. What happens with -q? The same thing: an empty outline. To be exact, I ran emacs -q

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 expected. I

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

2013-11-03 Thread Jarmo Hurri
Greetings. Set '#OPTIONS: H:2', then top level headlines become sections (and are listed in the table of contents) and second-level headlines become the frames. Yep, that will happen. However, the original idea was to get frame headlines into the table of contents. In order to achieve this

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

2013-11-03 Thread Jarmo Hurri
As far as I know this is a beamer design decision. The idea seems to be that if your presentation is short enough that the individual frame titles would fit in a table of contents then you don't actually need one. Ok, so be it, I can live with that decision. All the best, Jarmo

[O] Exporting book handouts

2013-11-03 Thread Jarmo Hurri
Greetings. I have been writing a math book, and am still exploring the possibility of using org for the task. Currently all my material is still in plain LaTeX. The tools used are LaTeX, Asymptote, and R. We all know many advantages that the use of org would bring. ;-) For me, one of the

Re: [O] Exporting book handouts

2013-11-04 Thread Jarmo Hurri
t...@tsdye.com (Thomas S. Dye) writes: Aloha Jarmo, Greetings to Hawaii from the dark and cold north. I find it easiest to use separate sub-trees for the various different documents I create from a given body of material. In your case, I would make a sub-tree for the book and a sub-tree

Re: [O] Exporting book handouts

2013-11-04 Thread Jarmo Hurri
Greetings Nicolas. Nicolas Goaziou n.goaz...@gmail.com writes: 1. A way to denote that a certain element (figure, equation, part of a longer equation, a piece of text etc.) goes into the Beamer export. By default, material should _not_ be included in the Beamer export. I don't know

[O] R contingency table axes labels in org

2013-11-04 Thread Jarmo Hurri
Greetings again. I need to represent a contingency table generated by R in an org file. R output shows the labes of the vertical and the horizontal axes, but these are pruned from the output in org-mode. Is there a nice way to reintroduce the axes labels? #

Re: [O] R contingency table axes labels in org

2013-11-04 Thread Jarmo Hurri
t...@tsdye.com (Thomas S. Dye) writes: library(ascii) ... print(ascii(table(data)), type=org) Great tip. I even got the result out as an interpreted org table by using :results output raw. (For example, without raw it becomes literal.) Thanks! * interesting data #+BEGIN_SRC R :exports

[O] Babel: the disappearing hline

2013-11-11 Thread Jarmo Hurri
Greetings. While taking my first long tour in the land of Babel, I bumped into a minor hline issue. Can someone tell me why the hline has disappeared from the second table? # -- * test #+NAME: table-one #+BEGIN_SRC emacs-lisp

Re: [O] Babel: the disappearing hline

2013-11-11 Thread Jarmo Hurri
While taking my first long tour in the land of Babel, I bumped into a minor hline issue. Can someone tell me why the hline has disappeared from the second table? Because you use CALL without arguments and argument :hlines defaults to 'no'? Ok, but why is there then a hline in the raw

Re: [O] Babel: the disappearing hline

2013-11-11 Thread Jarmo Hurri
Eric Schulte schulte.e...@gmail.com writes: The :hlines yes header argument must be set on the call line itself. Thanks, that works! Since this works differently for org results and raw results, can you explain whether I understand this correctly: a :hlines yes at the end of the line is

Re: [O] Babel: the disappearing hline

2013-11-11 Thread Jarmo Hurri
Eric Schulte schulte.e...@gmail.com writes: Greetings Eric. There are two paces to specify header arguments in a call line, the arguments in the [] are applied to the input-table function, *not* to the call line, so they change the inputs. The trailing header arguments are applied to the

Re: [O] Babel: the disappearing hline

2013-11-12 Thread Jarmo Hurri
Rick Frankel r...@rickster.com writes: Greetings Rick. Note that in versions of org-mode prior to commit 6857d139 of 2013-09-28 (below), this was overridden in the setting of `org-babel-default-header-args:emacs-lisp, so this may be why you are seeing and inconsistency between the call line

Re: [O] Babel: the disappearing hline

2013-11-12 Thread Jarmo Hurri
Rick Frankel r...@rickster.com writes: Greetings again. Again, the solution is to globally set the :hline property to =yes= instead of the default =no=, and you will get the results you want. The issue I am trying to raise here is the consistency of the system, not the way to solve this

Re: [O] Babel: the disappearing hline

2013-11-14 Thread Jarmo Hurri
Greetings Eric. Eric Schulte schulte.e...@gmail.com writes: I understand that this particular use case is confusing, however there are competing use cases and the case described here is not the most common. Take for example the following. #+name: data | header | ||

[O] Controlling image width and placement in Beamer export

2013-11-26 Thread Jarmo Hurri
Greetings. I needed to create an Asymptote-generated centered image with a smaller width than the default .9\linewidth in a Beamer export. After trial and error I ended with the method shown below. In particular, to my surprise an #+ATTR_LATEX: :width 5cm _above_ the #+BEGIN_SRC did not work,

Re: [O] Controlling image width and placement in Beamer export

2013-11-26 Thread Jarmo Hurri
Greetings John. John Hendy jw.he...@gmail.com writes: This comes up all the time. Perhaps we could lower the frequency by making a small change to the manual? The key is to put it 1) before results (as you've done) and 2) to use a named source block (with #+name: foo above your babel

[O] Call cache example no longer works

2014-01-18 Thread Jarmo Hurri
Greetings. While trying to cache the results of a #+call, I found the following example posted to this newsgroup in August 2012: # -- #+name: foo #+begin_src emacs-lisp :var bar=baz (sit-for 5) (message bar=%S bar) #+end_src

[O] Post() evaluates but fails in export

2014-01-18 Thread Jarmo Hurri
Greetings. The following code evaluates just fine with C-c C-c, but fails during export. This is with the newest org-mode just pulled and built. How do I fix the issue? # --- Here is a function I want to define (use below), but

Re: [O] Post() evaluates but fails in export

2014-02-19 Thread Jarmo Hurri
Hi again. Need to repost my own question (below), since there was no response to this. All the best, Jarmo The following code evaluates just fine with C-c C-c, but fails during export. This is with the newest org-mode just pulled and built. How do I fix the issue? #

[O] Small contrib: lookup (was Preserving the geometry of a table range)

2012-09-02 Thread Jarmo Hurri
Michael Brand michael.ch.br...@gmail.com writes: Does this help? Yes indeed! It gave me both a better idea of what the call should look like and the way to implement it. The only problem with this approach - using a separate search and return list - when compared with the lookup functions of

[O] [PATCH] Lookup functions for tables

2012-09-19 Thread Jarmo Hurri
* lisp/org-table.el: added functions org-lookup-first and org-lookup-last * doc/org.texi: documented the use of lookup functions TINYCHANGE --- doc/org.texi | 88 +++- lisp/org-table.el | 10 ++ 2 files changed, 96 insertions(+), 2

Re: [O] [PATCH] Lookup functions for tables

2012-09-19 Thread Jarmo Hurri
Greetings. The patch posted here is the first patch I have ever made with git, so I hope it is ok. I tested the new functions locally, as can be seen from the examples. I also ran make without problems. I am, however, unable to install org from the git version (for some unknown reason), so I

Re: [O] [PATCH] Lookup functions for tables

2012-09-20 Thread Jarmo Hurri
Bastien b...@altern.org writes: The patch is longer than 20 lines, so we would need you to sign the FSF papers to be able to accept it. Request submitted. -- Jarmo

Re: [O] [PATCH] Lookup functions for tables

2012-09-20 Thread Jarmo Hurri
Achim Gratz strom...@nexgo.de writes: Well, it doesn't become a TINYCHANGE just because you put that stamp on it. This patch clearly is over 20 non-trivial lines, so you will need to assign copyright to the FSF. The program code (one macro and two calls) is less than 20 lines, and I was

Re: [O] [PATCH] Lookup functions for tables

2012-09-20 Thread Jarmo Hurri
I tested the new functions locally, as can be seen from the examples. I also ran make without problems. I am, however, unable to install org from the git version (for some unknown reason), so I was unable to test the final, committed version. I can't decode that last part… you installed Org

Re: [O] [PATCH] Lookup functions for tables

2012-09-20 Thread Jarmo Hurri
--- a/doc/org.texi +++ b/doc/org.texi @@ -2399,6 +2399,7 @@ formula, moving these references by arrow keys * Formula syntax for Lisp:: Writing formulas in Emacs Lisp * Durations and time values:: How to compute durations and time values * Field and range formulas::Formula for

Re: [O] Sending commits to Org

2012-09-22 Thread Jarmo Hurri
Philipp Kroos philipp.kr...@t-online.de writes: If you first create a branch on your side and switch to it before making changes, you can run format-patch against your local copy of master as well. Or, if you are a git newbie like me, and fail to read the relevant part of the org page on

[O] Make errors from a fresh git clone

2012-09-23 Thread Jarmo Hurri
Greetings. I am getting a bunch of make errors (20 failed files) when trying to make the newest git version. This is from a clean git clone. The errors are all of the same form; two examples below: Compiling /home/jarmo/src/org/org-mode/lisp/org-ascii.el... In toplevel form:

Re: [O] Make errors from a fresh git clone

2012-09-23 Thread Jarmo Hurri
Achim Gratz strom...@nexgo.de writes: Jarmo Hurri writes: Any ideas of what might be going wrong? Bastien committed a merge conflict in org-agenda. I've pushed up a fix, but it should probably be reviewed again. Ok, it compiles now. Thanks! I thought the decription fresh git clone would

[O] [PATCH] Lookup functions, take two

2012-09-23 Thread Jarmo Hurri
From 238551583ecf381d576f42b718e16f1601a43e55 Mon Sep 17 00:00:00 2001 From: Jarmo Hurri jarmo.hu...@syk.fi Date: Sun, 23 Sep 2012 18:16:01 +0300 Subject: [PATCH] Lookup functions for tables * lisp/org-table.el: added functions org-lookup-first and org-lookup-last * doc/org.texi: documented the use

[O] [PATCH] Give possibility to start gnus with gnus-no-server

2012-09-24 Thread Jarmo Hurri
From: Jarmo Hurri jarmo.hu...@syk.fi Date: Mon, 24 Sep 2012 16:10:06 +0300 Subject: [PATCH] Give possibility to start gnus with gnus-no-server * lisp/org-gnus.el: Added a new customizable boolean variable org-gnus-no-server and support for it in function org-gnus-no-new-news. --- lisp/org-gnus.el

Re: [O] [PATCH] Lookup functions, take two

2012-09-24 Thread Jarmo Hurri
Bastien b...@altern.org writes: I feel my brain is a bit slow today... so sorry in advance if the question sounds stupid. What is the advantage of using org-lookup-* functions instead of a simple reference in the table formulas? As noted in the documentation, most often you do something

Re: [O] [PATCH] Lookup functions, take two

2012-09-24 Thread Jarmo Hurri
It is a nice spreadsheet utility function but my feeling is that having it in Org's core does not really fit, as it introduces functions where we usually have references. Functions are fine for users to add, though, that's the whole point of allowing Elisp in table formulas. So if it does

Re: [O] [PATCH] Give possibility to start gnus with gnus-no-server

2012-09-24 Thread Jarmo Hurri
Bastien b...@altern.org writes: I tried to use org today together with gnus, but was unable to access gnus via org, because I always start gnus with gnus-no-server. (defalias 'gnus 'gnus-no-alias) in your .emacs.el should do, no? Greetings. You probably mean (defalias 'gnus

Re: [O] [PATCH] Give possibility to start gnus with gnus-no-server

2012-09-26 Thread Jarmo Hurri
Bastien b...@altern.org writes: Okay. I've pushed a slightly edited version of your patch, please check the ChangeLog here: http://orgmode.org/w/org-mode.git?p=org-mode.git;a=commit;h=1086895 Thanks! -- Jarmo (one happy gnus user)

Re: [O] [PATCH] Lookup functions, take two

2012-09-26 Thread Jarmo Hurri
Bastien b...@altern.org writes: Dominik, Carsten c.domi...@uva.nl writes: The documentation should be kept as compact as possible, I think without an example, just describe the functionality. Maybe Jarmo can write a little tutorial for Worg and document it there more extensively? Jarmo,

Re: [O] [PATCH] Lookup functions, take two

2012-09-26 Thread Jarmo Hurri
Bastien b...@altern.org writes: I suggest using this code: ... Less dense and elegant, of course, but more explicit. Users will be able to check the docstring of org-lookup-first/last, which I think is good for functions that we advertize in the manual. Jarmo, would you be okay if I

Re: [O] [PATCH] Lookup functions, take two

2012-09-26 Thread Jarmo Hurri
Bastien b...@altern.org writes: There was a typo, I attach the correct patch. Thanks! [A lot of good info snipped.] While you're waiting for my assignment papers, I will look into this and try to make everybody happy. Have fun. -- Jarmo

[O] [Patch] Table lookup functions: director's cut

2012-10-15 Thread Jarmo Hurri
weird to a first-time user: the default use would then be to find a value and return the same value, which would not make much sense. Have fun! Jarmo From dfa552f2e8b61ce301900dcce7da92d4f8f0854a Mon Sep 17 00:00:00 2001 From: Jarmo Hurri jarmo.hu...@syk.fi Date: Mon, 15 Oct 2012 09:54:24

Re: [O] [Patch] Table lookup functions: director's cut

2012-10-26 Thread Jarmo Hurri
Greetings. I got an email saying that the patch has now been committed to git. I also added a link to the tutorial on the tutorial index page at http://orgmode.org/worg/org-tutorials/ All the best. Jarmo

[O] Preserving the geometry of a table range

2012-08-26 Thread Jarmo Hurri
Greetings. If you pass a table range to an elisp function in a tblfm - say, using remote - the values in the range seem to be passed to the function as a single list. Thus the geometry of the region is lost. Is it possible to return a list of lists, e.g., a list of rows instead? Is this

Re: [O] Preserving the geometry of a table range

2012-08-26 Thread Jarmo Hurri
Greetings Michael. I can try. Here is an example of the desired low-level functionality with a simple function. The lookup functions would be built on this. Does this help? * an example of low level functionality Here is an example of an elisp function working on a range as a list of rows.

Re: [O] Babel support for Processing-language

2015-02-02 Thread Jarmo Hurri
Jarmo Hurri jarmo.hu...@syk.fi writes: Yep, I am going to start doing this if no-one is working on it yet. I woke up in the middle of the night to realize how amazingly easily this can be done if I drop out the support for PDF export, that is, only leave the option to export as HTML

Re: [O] Babel: RESULTS for no value

2015-03-09 Thread Jarmo Hurri
Greetings Charles. Charles C. Berry ccbe...@ucsd.edu writes: To achieve this behaviour, I have set (defvar org-babel-default-header-args:processing '((:results . html) (:exports . results)) Default arguments when evaluating a Processing source block.) I think you can replace :

[O] Babel questions for finalising Processing support

2015-03-06 Thread Jarmo Hurri
Greetings. My implementation of Processing support in Babel is proceeding really well! I have now both external viewing of sketches and export to html (sketches drawn by browser) working. There are a number of details to fix, though. 1. When editing Processing code with C-c ' I get an error

Re: [O] Babel questions for finalising Processing support

2015-03-07 Thread Jarmo Hurri
Aaron Ecay aarone...@gmail.com writes: 3. In ob-processing.el I (require 'ob). However, to avoid a compiler warning about a free variable I still need to declare (eval-when-compile (defvar org-babel-temporary-directory)) Is this ok? This looks bogus. The defvar for

Re: [O] Babel: RESULTS for no value

2015-03-07 Thread Jarmo Hurri
Aaron Ecay aarone...@gmail.com writes: It might be a little distracting to see it there, but it shouldn’t interfere with the functionality in any way (for example, it should be invisible on export). It the line’s presence causing any problems for your code? It is a nuisance. To summarize,

[O] PATCH: Processing language support in Babel

2015-03-13 Thread Jarmo Hurri
and Processing, and may add features to Processing support when and if I find the need. All the best, Jarmo From 92318f56b2968b05cfbfb894d3b1eee4c7cdde13 Mon Sep 17 00:00:00 2001 From: Jarmo Hurri jarmo.hu...@iki.fi Date: Fri, 13 Mar 2015 14:36:46 +0200 Subject: [PATCH] ob-processing.el: Support

Re: [O] PATCH: Processing language support in Babel

2015-03-31 Thread Jarmo Hurri
Greetings. Nicolas Goaziou m...@nicolasgoaziou.fr writes: +;; This differs from most standard languages in that +;; +;; 1) there is no such thing as a session in processing +;; +;; 2) results can only be exported as html; in this case, the +;;processing code is embedded via a file

[O] org-babel-execute: being exported

2015-03-01 Thread Jarmo Hurri
Greetings. I have now partially implemented support for the Processing programming language in Babel. In particular, in my working branch Babel now recognizes Processing blocks, and shows the resulting sketch in an external viewer when the block is executed. The second part is HTML export. When

Re: [O] org-babel-execute: being exported

2015-03-03 Thread Jarmo Hurri
Aaron Ecay aarone...@gmail.com writes: Hi Jarmo, 2015ko martxoak 2an, Jarmo Hurri-ek idatzi zuen: [...] 1. How can I identify, in org-babel-execute:processing, if the code is executed for export or for some other reason? I think the test (not (null org-babel-exp-reference-buffer

Re: [O] [PATCH, take 2] Processing language support in Babel

2015-04-26 Thread Jarmo Hurri
Nicolas Goaziou m...@nicolasgoaziou.fr writes: 1. A patch implementing Processing programming language support in Babel. The commit message of the patch is the following: Thank you. Applied, with minor stylistic tweaks. I also removed the binding C-c C-v C-k but suggested it in the the

[O] A Microsoftesque detail in org

2015-05-15 Thread Jarmo Hurri
Greetings. I was just amazed by the following detail in org. In the example below, if my cursor is anywhere inside the word Example, and I press Enter, a new line will be inserted below, and the cursor will jump to the next line. The location of the cursor inside the heading line is ignored, and

Re: [O] A Microsoftesque detail in org

2015-05-18 Thread Jarmo Hurri
Titus von der Malsburg malsb...@posteo.de writes: On 2015-05-17 Sun 14:15, Rasmus wrote: With your behavior you can (i) break the TODO tag; (ii) break the cookie; (iii) break the tag. At least (i) and (ii) are quite destructive. I am not sure what you mean, since a single undo will

Re: [O] A Microsoftesque detail in org

2015-05-17 Thread Jarmo Hurri
Rasmus ras...@gmx.us writes: Greetings Rasmus. I would suggest that the original interpretation of Enter would not be messed with. Messing with Alt-Enter and such is fine, but Enter, please no. I disagree. Consider the more complete example: * TODO [#A] foo bar:tag: With your

[O] [PATCH, take 2] Processing language support in Babel

2015-04-14 Thread Jarmo Hurri
a combination of Org and Processing, and may add features to Processing support if I find the need. All the best, Jarmo From c19d5fbca0c7d2faed26fb991430da15114a3dda Mon Sep 17 00:00:00 2001 From: Jarmo Hurri jarmo.hu...@iki.fi Date: Tue, 14 Apr 2015 16:51:15 +0300 Subject: [PATCH] ob-processing.el

[O] HTML export / list issues

2015-08-21 Thread Jarmo Hurri
Author: Jarmo Hurri Created: 2015-08-21 Fri 13:56 Validate

Re: [O] Local variables in an org file

2015-08-21 Thread Jarmo Hurri
Thomas S. Dye t...@tsdye.com writes: * Define a local variable #+name: my-var #+header: :exports none #+begin_src R 768 #+end_src #+name: pass-my-var-to-code-block #+header: :var x=my-var #+header: :exports both #+begin_src emacs-lisp (+ x 1) #+end_src #+results:

Re: [O] HTML export / list issues

2015-08-23 Thread Jarmo Hurri
Rick Frankel r...@rickster.com writes: * Problem description The examples below illustrate three problems I have with lists and html export at the moment. 1. lists alphabetized in org are enumerated in html Actually this is a wrong assumption. Org only distinguishes enumerated,

Re: [O] HTML export / list issues

2015-08-23 Thread Jarmo Hurri
Greetings Nicolas and thank you for your prompt response. Nicolas Goaziou m...@nicolasgoaziou.fr writes: * Example I am making a hierarchical list with some code in it. 1. level 1 first a) level 2 first; I was hoping this would be alphabetized in html like it is in org,

Re: [O] HTML export / list issues

2015-08-24 Thread Jarmo Hurri
Nicolas Goaziou m...@nicolasgoaziou.fr writes: == 1. level 1 first a) level 2 first; I was hoping this would be alphabetized in html like it is in org, but it is still enumerated b) the next item has some

[O] Weird Asymptote mode behaviour in org

2015-08-24 Thread Jarmo Hurri
Greetings. When editing Asymptote code in org, a comma sometimes appears out of nowhere into the Asymptote code. The org code below explains how to reproduce this. (I am using the version of org pulled this morning.) Jarmo * description Move cursor into the code below. Press ~C-c '~ to edit

[O] Local variables in an org file

2015-08-20 Thread Jarmo Hurri
Greetings. Is there a way to define a (preferably local) variable in an org file so that the value of that variable could be referenced in both plain text and code blocks? I often bump into situations where I have a value, say 768, and I use that value both in code blocks and in the

Re: [O] Weird Asymptote mode behaviour in org

2015-08-26 Thread Jarmo Hurri
Nicolas Richard youngf...@members.fsf.org writes: * description Move cursor into the code below. Press ~C-c '~ to edit the code in Asymptote mode. Do not change anything in the code, just press ~C-c '~ to return to org. You will notice that a comma has been inserted into the code. *

[O] Exporting an org-file to multiple html pages

2015-08-31 Thread Jarmo Hurri
Greetings. I am writing a relatively extensive document in org, and I am currently trying to figure out how to split the exported html into multiple html pages. Is publishing along the lines of this tutorial still the best way to do it?

Re: [O] Exporting an org-file to multiple html pages

2015-09-01 Thread Jarmo Hurri
Marcin Borkowski writes: >> I am writing a relatively extensive document in org, and I am >> currently trying to figure out how to split the exported html into >> multiple html pages. > Does this help? > > https://github.com/mbork/org-one-to-many Greetings Marcin. Looks

[O] Footnotes confused by brackets inside Latex

2015-09-13 Thread Jarmo Hurri
Greetings. The attached test case demonstrates a problem I ran into: exporting footnotes as PDF fails when the footnote contains brackets inside Latex formulas. Questions. 1. Can this be fixed? 2. Is there a workaround? Jarmo fntest.org Description: fn test case

Re: [O] Footnotes confused by brackets inside Latex

2015-09-13 Thread Jarmo Hurri
Nicolas Goaziou writes: > This is not a bug. Inline footnotes only allow paired square brackets > inside. > >> 2. Is there a workaround? > > You can use non-inline footnotes. Thanks! Jarmo

[O] Add time (duration) to timestamp

2015-12-07 Thread Jarmo Hurri
Greetings. Is there a way to add time to a timestamp, say, in a table? For example, say I have a series of events, each lasting 15 minutes, starting at a specified time on a specific day. I want to create a table of them as follows: | time | event |

Re: [O] Add time (duration) to timestamp

2015-12-07 Thread Jarmo Hurri
Greetings again. Answering my own question, the following seems to work (15 min is 1/96 of a day): | time | event | |+---| | <2015-12-07 Mon 12:00> | A | | <2015-12-07 Mon 12:15> | B | | <2015-12-07 Mon 12:30> | C | #+TBLFM:

Re: [O] Org list source block

2016-01-04 Thread Jarmo Hurri
Nicolas Goaziou writes: >> Once again I fail when I try to do something very _simple_ with Org. > > You're building programmatically your document. I don't believe it > belongs to "very simple" tasks. Coming from a LaTeX background, Org is a real miracle tool, but it is

Re: [O] Org list source block

2016-01-04 Thread Jarmo Hurri
"Charles C. Berry" writes: > If so, you can get it with > > * Test list > #+NAME: my-list > #+BEGIN_SRC org :exports none :results value org > - [ ] foo > - [ ] bar > #+END_SRC > > #+BEGIN_SRC org :noweb yes :results replace :wrap org :exports results ><> >

[O] Org list source block

2016-01-03 Thread Jarmo Hurri
Greetings. Once again I fail when I try to do something very _simple_ with Org. I am trying to define a checklist and then use the same list in my exported document in multiple locations. I don't think macros would work here, since my org code has multiple lines. So I am trying to use Babel.

Re: [O] Org list source block

2016-01-03 Thread Jarmo Hurri
Richard Lawrence <richard.lawre...@berkeley.edu> writes: > Hi Jarmo, > > Jarmo Hurri <jarmo.hu...@iki.fi> writes: > >> I am trying to define a checklist and then use the same list in my >> exported document in multiple locations. ... >> What is the correc

Re: [O] How exactly does "C-c ." work in an existing timestamp?

2016-01-05 Thread Jarmo Hurri
Nick Dokos <ndo...@gmail.com> writes: > Jarmo Hurri <jarmo.hu...@iki.fi> writes: > >> # -- >> * testing >> <2016-01-07 Thu 15:00-16:15> >> # -- >> >> When I move my cur

[O] How exactly does "C-c ." work in an existing timestamp?

2016-01-05 Thread Jarmo Hurri
Greetings. Consider the following org file # -- * testing <2016-01-07 Thu 15:00-16:15> # -- When I move my cursor inside the timestamp and press "C-c .", control jumps to a minibuffer in the echo area. But when I try, in the

  1   2   3   >