Re: [O] Is LaTeX pdf export that uses pgfSweave possible?

2011-09-18 Thread Charles Berry
Mikhail Titov mlt at gmx.us writes: Hello! First of all I’m not good at lisp as of now. I’d like to have an extra export option when I press C-c C-e that would create dotRnw file instead of dottex, pass it through pgfSweave in running R session. Mikhail, For vanilla Sweave, use the

Re: [O] Bug: [babel] #+PROPERTY: eval never-export disables interactive evaluation [8.2.5h (release_8.2.5h-806-gb1199e at /Users/rainerkrug/.emacs.d/org-mode/lisp/)]

2014-03-25 Thread Charles Berry
Rainer M Krug Rainer at krugs.de writes: The subject says it all - when I set #+PROPERTY: eval never-export the interactive evaluation of R code blocks is disabled. Message: Evaluation of this R code-block is disabled. [rest deleted] It works as advertised for me. I copy and

Re: [O] Proposal to replace the prefix repetition with whitespace during expansion of noweb references

2014-03-29 Thread Charles Berry
Pontus Michael m.pontus at gmail.com writes: I would like to propose a change to the behavior of noweb expansion in relation to prefix handling. [snip] I recommend to introduce a change that will replace the inserted prefix with whitespace of equal length. [snip] The behavior you

Re: [O] Controlling example block export?

2014-04-01 Thread Charles Berry
Heikki Lehvaslaiho heikki.lehvaslaiho at gmail.com writes: I am using example blocks as inline notes where I paste snippets of (pre-formatted) text. I'd like to  be able to control the exporting of those block individually (per document would also be useful). I do not seem to be able

Re: [O] Generate a table of contents without exporting

2014-04-01 Thread Charles Berry
RG Williams rgwills at gmail.com writes: Hi, I know you can generate a table of contents when exporting, but can you do it just within org? For context, I'm uploading an .org file to github and I don't need to export it to another format because github recognizes and displays it just fine.

Re: [O] Help needed - export markdown is it supposed to pre-pend html?

2014-04-03 Thread Charles Berry
Rick DeNatale rick.denatale at gmail.com writes: Hi, I'm a fairly new org mode user. I'm trying to export to markdown and I can't understand the output: For example with the simple org mode buffer Add: #+OPTIONS: toc:nil * Top level headline ** Second level *** Third level    

Re: [O] Add-on: Github Flavored Markdown exporter

2014-04-08 Thread Charles Berry
Lars Tveito larstvei at student.matnat.uio.no writes: Hi, thanks for checking it out! Thorsten Jolitz writes: Thorsten Jolitz tjolitz at gmail.com writes: Lars Tveito larstvei at student.matnat.uio.no writes: Hi! I have written an exporter for Github Flavored Markdown, which

Re: [O] Fwd: Mac OS Alias file links

2014-04-14 Thread Charles Berry
Ken Mankoff mankoff at gmail.com writes: On 2014-04-14 at 12:26, Achim Gratz wrote: Ken Mankoff writes: Aliases are a type of links (ln on linux, shortcut on Windows alias on OS X (OS X of course also supports ln)). The difference between an OS X alias and ln is that if the target is

Re: [O] How do I chain babel blocks with arguments?

2014-04-16 Thread Charles Berry
Alan Schmitt alan.schmitt at polytechnique.org writes: Hello, I have several babel blocks that each work well, but I'm now trying to chain them to build some bigger functionality out of them. I'm having trouble finding out how to pass arguments between blocks. Here is a small example:

Re: [O] sharing my firsts, org babel tangle and init .org file

2014-04-19 Thread Charles Berry
Pete Ley peteley11235 at gmail.com writes: I've looked at the solution on worg and, though I didn't actually try to implement, it seems like tangling your init file every time you open Emacs is a little cumbersome. Please correct me if I'm wrong in this assumption. OK, here goes: In

Re: [O] Organizing org-mode files: Tree view

2014-04-26 Thread Charles Berry
David Masterson dsmasterson at gmail.com writes: Dotan Cohen dotancohen at gmail.com writes: Hi all, I am a VIM user enchanted by the power of org-mode. Please excuse my apparent naivety! I am moving from Zim Wiki (excellent GUI program) to either Vimwiki (VIM plugin) or org-mode.

Re: [O] [babel][PATCHES] ob-R patches for review

2014-04-29 Thread Charles Berry
Rainer M Krug Rainer at krugs.de writes: Hi Attached please find seven patches for review to implement the storing of org variables in their own environment and to make the org-issued R code look nicer in the R session. Rainer, I have suggestions and a concern. I suggest that you

Re: [O] Export as ASCII whilst respecting current fill column

2014-05-01 Thread Charles Berry
Miguel Guedes miguel.a.guedes at gmail.com writes: Using org-mode version 7.93f, when exporting to ASCII it doesn't respect the current fill column. Can this be enforced? Miguel, Upgrade to current org-mode (version 8.2.6) before you do anything else. Then modify `org-ascii-text-width' to

Re: [O] How to load and use Github Flavored Markdown exporter?

2014-05-01 Thread Charles Berry
Grant Rettke gcr at wisdomandwonder.com writes: Hi, Org-mode version 8.2.6. Loaded from MELPA org-2014-04-28. The nice github flavored markdown package is in there ox-gfm.el. My goal is to use it to do a Markdown export of an org document instead of the vanilla exporter. In an

Re: [O] [BUG] [babel] in :eval never with :session

2014-05-07 Thread Charles Berry
Eric Schulte schulte.eric at gmail.com writes: Rainer M Krug Rainer at krugs.de writes: The error is back: You say back, was this error not present recently? If so could you isolate the commit at which this error appeared? The bug seems to be in the use of (org-link-search

Re: [O] [babel][PATCHES] ob-R patches for review

2014-05-07 Thread Charles Berry
Eric Schulte schulte.eric at gmail.com writes: Rainer M Krug Rainer at krugs.de writes: Hi Attached please find seven patches for review to implement the storing of org variables in their own environment and to make the org-issued R code look nicer in the R session. Thanks,

Re: [O] Adding export option for babel language

2014-05-08 Thread Charles Berry
Ken Mankoff mankoff at gmail.com writes: I'd like to add support for PythonTeX to Org Babel https://github.com/gpoore/pythontex The motivation is that PythonTeX is a better literate environment than just Org + Babel, because it can print results inline just like an interactive Python

Re: [O] How to create non-inheritable properties?

2014-06-08 Thread Charles Berry
Thorsten Jolitz tjolitz at gmail.com writes: Grant Rettke gcr at wisdomandwonder.com writes: Hi, My org file has a lot of text in it. It really needs to be in the same file though, so it is a big file. When I org-babel-tangle, I would like to speed it up as it takes 8 minutes.

[O] bug in exporter (org-babel-exp-process-buffer)

2014-06-09 Thread Charles Berry
The use of `org-confirm-babel-evaluate' as a function breaks inline src blocks just as was described in this thread from last year: http://lists.gnu.org/archive/html/emacs-orgmode/2013-11/msg00669.html I believe that the patch by Eric Schulte in === commit

[O] [bug][babel] noweb gotcha

2014-06-10 Thread Charles Berry
The following , | #+PROPERTY: tangle yes | | #+NAME: print-abc | #+BEGIN_SRC emacs-lisp | (format | %s abc) | #+END_SRC | | #+NAME: print-def | #+BEGIN_SRC emacs-lisp | (concat | def ) | #+END_SRC | | #+BEGIN_SRC emacs-lisp :noweb yes | print-abc | print-def | #+END_SRC `

[O] navigation broken - occur, org-babel-goto-named-src-block, etc fail

2014-06-14 Thread Charles Berry
Start with emacs -q, then load today's org-mode. Execute the source block in this file: === start of file #+NAME: AAA #+BEGIN_SRC x #+END_SRC #+BEGIN_SRC emacs-lisp :results raw output (let ((i ?a)) (while ( i ?z) (princ (format * %s\n\n\n#+NAME: %s\n\n

Re: [O] How do you capture the intent never to tangle or weave a headline or its children?

2014-06-15 Thread Charles Berry
Grant Rettke gcr at wisdomandwonder.com writes: Good evening, For both performance and cognitive reasons, sometimes I specifically never want to tangle or weave a headline or any of its children. I still value it though, so it belongs in that document, and it wouldn't make sense for it

Re: [O] inclusion of #+RESULTS in a source block

2014-06-16 Thread Charles Berry
Federico Beffa beffa at ieee.org writes: Suppose you want to use a program such as Sympy or Maxima to find the analytic solution of a complicated equation. After this you want to make use of that solution for numerical evaluation of various cases. See

Re: [O] navigation broken in recent maint

2014-06-18 Thread Charles Berry
Samuel Wales samologist at gmail.com writes: quick and dirty bug report. recent org maint. 1: jumping from magit (maint) to org using RET always goes to the wrong location now. i don't know that this is org's fault. i have seen it happen once before, which is when i tried

Re: [O] [PATCH] -for review- Tangling with variable transfer of variables

2014-06-19 Thread Charles Berry
Aaron Ecay aaronecay at gmail.com writes: Hi Rainer, I have not tested the patch (I rarely use :var), but here are some comments from reading the patch. [snip] (header (if (or (eq (nth 1 value) 'hline) colnames-p) TRUE FALSE)) (row-names

Re: [O] [Babel] [possible bug] Empty src block prevents other block to expand

2014-06-23 Thread Charles Berry
Nicolas Girard girard.nicolas at gmail.com writes: The empty src block at the beginning of the following file prevents capture-tmpl to expand when tangling. I think the diagnosis is incorrect. The empty source block has no effect. Adding ':noweb yes' to `capture's header args fixes

Re: [O] passing the contents of a block as an escaped string

2014-06-24 Thread Charles Berry
Alan Schmitt alan.schmitt at polytechnique.org writes: Hello, I'm trying to write some filters from Pygments, and to record what I'm doing and make my life simpler, I'm doing it in an orgmode buffer. In that buffer, I have the code I want to highlight in a source block, and the python

Re: [O] How to show the complete syntax tree

2014-07-14 Thread Charles Berry
Shiyuan gshy2014 at gmail.com writes: Hi,     The command I can find in the manual to show the syntax tree is (org-element-parse-buffer). However, when the structure is output to the buffer, by using the commands C-u M-: (org-element-parse-buffer), it seems that only the part up to a certain

Re: [O] Possible to use src block to generate org headlines for export?

2014-07-23 Thread Charles Berry
Matt Lundin mdl at imapmail.org writes: [deleted] Footnotes: [fn:1] If one really needs to see the headlines in the original org buffer, a hook can be used to remove the :RESULTS: drawer. --8---cut here---start-8--- (defun

Re: [O] Possible to use src block to generate org headlines for export?

2014-07-24 Thread Charles Berry
Nick Dokos ndokos at gmail.com writes: Charles Berry ccberry at ucsd.edu writes: Matt Lundin mdl at imapmail.org writes: [deleted] [more deleted] Or wrap the results in a drawer when you type C-c C-c, but render them as raw on export (which removes the drawer and replaces

Re: [O] [patch] [babel] Patches to fix tangling and variable transfer of tables in R

2014-07-27 Thread Charles Berry
Rainer M Krug Rainer at krugs.de writes: Nicolas Goaziou mail at nicolasgoaziou.fr writes: Hello, Rainer M Krug Rainer at krugs.de writes: [snip] Amended patches attached. AFAICS, these patches are good to go. Can they be applied, please? Chuck

Re: [O] proposal to make C-c C-c not remove latex overlays

2014-07-31 Thread Charles Berry
Bastien bzg at gnu.org writes: Hi Nick, Nick Dokos ndokos at gmail.com writes: getting rid of just latex fragment undoing in org-ctrl-c-ctrl-c and toggling with C-c C-x C-l is probably the best solution. Agreed, this is the case now in master. The docstring for

Re: [O] R code block produces only partial output

2014-08-05 Thread Charles Berry
Eric Schulte schulte.eric at gmail.com writes: Andreas Kiermeier andreas.kiermeier at gmail.com writes: On 4 August 2014 21:23, Eric Schulte schulte.eric at gmail.com wrote: Why are you setting the output type to graphics when you are trying to Hi Andreas, I can't reproduce your

Re: [O] #+begin_src R :results output drawer doesn't work.

2014-08-10 Thread Charles Berry
Feng Shu tumashu at gmail.com writes: #+begin_src R :results output drawer 1 2 #+end_src #+RESULTS: : 2 I get: #+RESULTS: :RESULTS: [1] 1 [1] 2 :END: #+BEGIN_SRC emacs-lisp :results drawer (org-version) #+END_SRC #+RESULTS: :RESULTS: 8.3beta :END: HTH, Chuck

Re: [O] cannot execute org-mode code from the front page tutorial.

2014-08-16 Thread Charles Berry
Nick Dokos ndokos at gmail.com writes: tsd at tsdye.com (Thomas S. Dye) writes: Aloha Jenia, jenia.ivlev at gmail.com (jenia.ivlev) writes: Hello. I'm trying to go through the org-mode tutorial on its official page. [discussion showing that (if (listp value)...) generates a

Re: [O] [babel, R] Commands are not copied in the iESS buffer upon evaluation

2014-09-01 Thread Charles Berry
Sebastien Vauban sva-news@... writes: Hi Aaron, Aaron Ecay wrote: 2014ko abuztuak 29an, Sebastien Vauban-ek idatzi zuen: Does it have something to do with `ess-eval-visibly' not being respected (whose default is `t')? Indeed, babel’s R support let-binds this variable to nil when

Re: [O] Please help with a filter

2014-09-02 Thread Charles Berry
Rafael rvf0068 at gmail.com writes: I want that the result of exporting to markdown the following two blocks be identical: Rafael, You probably want a derived backend taking 'md as the parent. You want to tool up a src-block transcoder. Look at org-html-src-block (which is what

Re: [O] Format output of org-babel-tangle for exported file

2014-09-03 Thread Charles Berry
Rainer M Krug Rainer at krugs.de writes: Hi I am calling (org-bable-tangle) in a code block in an org file and I would show the files resulting from the tangling in a nice format. But I do not manage. I have the following at the moment: --8---cut

Re: [O] Bug: problem w/ R code blocks [8.3beta (release_8.3beta-362-ga92789 at /usr/local/share/emacs/site-lisp/org/)]

2014-09-16 Thread Charles Berry
Rainer M Krug Rainer at krugs.de writes: Thanks - you came before me. I get the same error but managed to work around. This is likely caused by the upgrade of ess, Likely. But it may not be an ESS problem per se. M-x R starts a process that runs asynchronously. In interactive use

[O] [PATCH] WAS Re: Bug: problem w/ R code blocks [8.3beta (release_8.3beta-362-ga92789 at /usr/local/share/emacs/site-lisp/org/)]

2014-09-16 Thread Charles Berry
Charles Berry ccberry at ucsd.edu writes: Rainer M Krug Rainer at krugs.de writes: Thanks - you came before me. I get the same error but managed to work around. This is likely caused by the upgrade of ess, Likely. But it may not be an ESS problem per se. M-x R starts

Re: [O] «Macro» expansion in source blocks; code-sharing between blocks

2014-09-19 Thread Charles Berry
Andreas Kiermeier andreas.kiermeier at gmail.com writes: My two blocks (with some code removed for simplicity) are as follow: #+NAME: tbl-refyear #+BEGIN_SRC R :results silent :exports none latex(tabular( code remove )) #+END_SRC #+BEGIN_SRC latex :noweb yes \begin{table}[h]

Re: [O] [RFC] [PATCH] [babel] read description lists as lists of lists

2014-09-19 Thread Charles Berry
Aaron Ecay aaronecay at gmail.com writes: Hello all, The attached patch makes babel read description lists as lists of the following format: ((term description) ...). The present default is to simply read in the text of each list item, yielding: (term :: description ...). Of

Re: [O] header arguments, inheritance, and noweb expansion Was: «Macro» expansion in source blocks; code-sharing between blocks

2014-09-20 Thread Charles Berry
Andreas Kiermeier andreas.kiermeier at gmail.com writes: On 19 September 2014 20:29, Rainer M Krug Rainer at krugs.de wrote: [ snip ] The alternative mentioned by Chuck Berry is the xtable function (in R) (https://lists.gnu.org/archive/html/emacs-orgmode/2014-09/msg00519.html). I

Re: [O] update on missing :parameters in code blocks

2014-09-21 Thread Charles Berry
John Kitchin jkitchin at andrew.cmu.edu writes: I did some more digging on the missing :parameters during export, and it seems that the src block itself is different during export than in the buffer. Below illustrates what I mean. In the buffer, if I look at the contents of the code block

Re: [O] Exporter dispatcher bug?

2014-09-24 Thread Charles Berry
Brady Trainor algebrat at uw.edu writes: Charles Millar millarc at verizon.net writes: Brady Trainor wrote: Charles Millar millarc at verizon.net writes: Today, using C-c C-e, the dispatcher shows only the LaTeX and Publisher options. What is the result C-h v

Re: [O] meaningfull names for org-src buffers

2014-09-25 Thread Charles Berry
Andreas Leha andreas.leha at med.uni-goettingen.de writes: Hi, Grant Rettke gcr at wisdomandwonder.com writes: On Thu, Sep 11, 2014 at 5:05 PM, Adriaan Sticker adriaan.sticker at gmail.com wrote: I was wondering if it's somehow possible to give named org src buffer the name they

Re: [O] line numbers in a code block?

2014-09-27 Thread Charles Berry
John Kitchin jkitchin at andrew.cmu.edu writes: Does anyone know a way to get dedicate line numbers in an org code block? I know how to get buffer code lines, but when we run a code block and there is an error, the error line number is relative to line 1 of the code block. Currently, we

Re: [O] [ob, bug?] org-sbe

2014-09-29 Thread Charles Berry
Rasmus rasmus at gmx.us writes: Hi, I used sbe a long time ago. Apparently it has been renamed to org-spe. I was unable get org-spe working as a dumb currency converter, so I tried the example in the top of ob-table.el. However, I'm also unable to get this example working, even

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

2014-09-30 Thread Charles Berry
Eric Brown brown at 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] [PATCH] WAS Re: Bug: problem w/ R code blocks [8.3beta (release_8.3beta-362-ga92789 at /usr/local/share/emacs/site-lisp/org/)]

2014-10-07 Thread Charles Berry
Henrik Singmann henrik.singmann at psychologie.uni-freiburg.de writes: Dear all, Sorry to resurrect this thread but I still have the issue discussed here. I get Error: could not find function .ess.eval when inside an R code block with :session *R* but not without :session *R*. Please

Re: [O] [PATCH] WAS Re: Bug: problem w/ R code blocks [8.3beta (release_8.3beta-362-ga92789 at /usr/local/share/emacs/site-lisp/org/)]

2014-10-07 Thread Charles Berry
Ista Zahn istazahn at gmail.com writes: On Oct 7, 2014 3:41 PM, Henrik Singmann henrik.singmann at psychologie.uni-freiburg.de wrote: Dear all, Sorry to resurrect this thread but I still have the issue discussed here. I get Error: could not find function .ess.eval when inside an

[O] debugging export error

2014-10-08 Thread Charles Berry
I am trying to debug a subtree export. I get member-ignore-case: Wrong type argument: stringp, nil and it seems to come from `org-export-get-environment' but if I instrument that function, the error goes away whether I step thru it or `c' on entry. Likewise, if I M-x debug-on-entry and just

Re: [O] left aligned changes to right alignment in table after adding one row - possible bug?

2014-10-13 Thread Charles Berry
Rainer M Krug Rainer at krugs.de writes: #+PROPERTY: header-args :exports both * Changing alignment when one row is added Despite of all values are strings, the alignment changes in the below example. Is this a bug or am I missing something? One of these two maybe: ,[ C-h v

Re: [O] [ob-R] table variable passing broken

2014-10-14 Thread Charles Berry
Andreas Leha andreas.leha at med.uni-goettingen.de writes: Hi all, There seems to be a bug in table passing as variables now using the tangle-friendly version of passing variables. Here is an example (I get an error also with emacs -Q): --8---cut

Re: [O] Text above first headline is being exported, despite :export: tag being used.

2014-10-16 Thread Charles Berry
Brady Trainor algebrat at uw.edu writes: I read , | ‘SELECT_TAGS’ | The tags that select a tree for export (org-export-select-tags). The | default value is :export:. Within a subtree tagged with :export:, | you can still exclude entries with :noexport: (see below).

Re: [O] Stack overflow in regexp matcher

2014-10-24 Thread Charles Berry
Alan Schmitt alan.schmitt at polytechnique.org writes: Hello, I've just got the following backtrace when opening an org file. Unfortunately I cannot reproduce it reliably, but I was wondering if others had seen something similar. I do. Try this. Start emacs 24.4.1. 1) Copy this line:

Re: [O] inline Babel calls in math environments and table cells

2013-03-12 Thread Charles Berry
Jay Kerns gjkernsysu at gmail.com writes: Hello, I went back and spent some time to rethink how I was approaching my problem. Instead of inline src blocks like this: \( SRC_R{blah} \) or this | SRC_R{blah} | [deleted noweb stuff] This method works. I think it would be cool if

Re: [O] Where does org-mode elisp hacking go?

2013-03-13 Thread Charles Berry
Lawrence Bottorff galaxybeinglambda at gmail.com writes: I see on the org-hacks.html page lots of interesting elisp code. If I wanted to use some of this (lots of this) it seems wrong to shove it all in my .emacs file. My first guess would be to put what I want into separate .el

Re: [O] LaTeX export. Substitute some headlines with arbitrary command

2013-03-13 Thread Charles Berry
Andrey Yankin yankin013 at gmail.com writes: Hi!I want arbitrary top level headline to be exported not as \section (or whatever it is) but with some other arbitrary latex command. [snip] The filter mechanism might be a good choice. Here is an example of modifying a headline:

[O] [new-exporter] org-export-before-parsing-hook GOTCHA

2013-03-15 Thread Charles Berry
Is this a feature or a bug? in org-export-as, there are these lines , | (goto-char (point-min)) | (run-hook-with-args 'org-export-before-parsing-hook backend) ` For some time, I used hook functions that usually reset the position of *point*. They worked fine. Recently, they produced

Re: [O] Spelled out example of org-latex-format-headline-function customization?

2013-03-19 Thread Charles Berry
John Hendy jw.hendy at gmail.com writes: On Tue, Mar 19, 2013 at 10:51 AM, Bastien bzg at altern.org wrote: Hi John, John Hendy jw.hendy at gmail.com writes: Am I missing the docstring (not sure what that is). THAT docstring was removed when Bastien revised ox-latex.el on Feb 23.

Re: [O] [New exporter] Org LaTeX markup

2013-03-19 Thread Charles Berry
Charles Berry ccberry at ucsd.edu writes: [snip] Can you give me a hint? M-x customize-variable RET org-latex-format-headline-function RET then copy and paste the last part of the docstring into the window - add a closing parenthesis at the end - and then modify it to your taste

Re: [O] New Exporter html - latex - beamer

2013-03-20 Thread Charles Berry
cberry at ucsd.edu writes: Robert Eckl eckl.r at gmx.de writes: [snip] I said You might be able to do what you want with filter functions. You can do that with this filter: But you will want to add something to it to treat links without the :windowenv: tag in the normal way

Re: [O] Using :results output org with new exporter exporting as verbatim with LaTeX

2013-03-24 Thread Charles Berry
John Hendy jw.hendy at gmail.com writes: [deleted] wrap [...] is non-existent in formal documentation from what I've seen It is in the manual: 14.8.2.23 `:wrap' See http://orgmode.org/manual/wrap.html#wrap or from emacs: C-h i m org RET C-s wrap RET RET HTH, Chuck

[O] [bug] org-edit-src-code auto-save glitch

2013-03-26 Thread Charles Berry
I use Org-mode version 8.0-pre (release_8.0-pre-180-gf09471) I am getting my src-buffers auto-saved even though C-h v org-edit-src-auto-save-idle-delay RET gives me , | org-edit-src-auto-save-idle-delay is a variable defined in `org-src.el'. | Its value is 0 | | Documentation: | Delay of

Re: [O] #+begin_landscape#+end_landscape

2013-03-26 Thread Charles Berry
Luke Crook luke at balooga.com writes: When exporting to Latex, the system used to change the paper orientation to landscape for tables between the #+begin_landscape #+end_landscape tags. I noticed that v7.9.3f no longer does this. Were the #+begin_landscape/#+end_landscape tags

Re: [O] Carsten's Interview relates questions, esay insert images, attachemnt locations etc..

2013-03-26 Thread Charles Berry
zeltak zeltak at gmail.com writes: [snip] one thing that i really found needing in my (very) short time using orgmode is an easy way to insert images into orgmode [snip] Also relates, how do you guys recommend currently to store the images/attachment used in org files as link? pile them

Re: [O] org-babel header documentation

2013-03-30 Thread Charles Berry
Eric Schulte schulte.eric at gmail.com writes: Eric Abrahamsen eric at ericabrahamsen.net writes: [snip] Great! I just saw mention of the wrap header argument in another thread but that doesn't appear on this page, could we trouble you to add it? It would be *great* to have one

Re: [O] [NEW] navi-mode for org files

2013-04-08 Thread Charles Berry
Thorsten Jolitz tjolitz at gmail.com writes: Hi List, I made navi-mode (= super-fast buffer navigation, visibility-cycling, structure-editing, and much more, with one-key commands in an associated read-only *Navi* buffer) work with Org-mode buffers too. The basic things work, but

Re: [O] [NEW] navi-mode for org files

2013-04-08 Thread Charles Berry
Thorsten Jolitz tjolitz at gmail.com writes: Charles Berry ccberry at ucsd.edu writes: Thorsten Jolitz tjolitz at gmail.com writes: [deleted] ` I cannot seem to get this to work. If I try to execute

Re: [O] [NEW] navi-mode for org files

2013-04-08 Thread Charles Berry
Thorsten Jolitz tjolitz at gmail.com writes: Charles Berry ccberry at ucsd.edu writes: ` I cannot seem to get this to work. If I try to execute ;; # #+begin_src emacs-lisp ;; # (require 'outshine

Re: [O] [NEW] navi-mode for org files

2013-04-08 Thread Charles Berry
Thorsten Jolitz tjolitz at gmail.com writes: Hi List, I made navi-mode (= super-fast buffer navigation, visibility-cycling, structure-editing, and much more, with one-key commands in an associated read-only *Navi* buffer) work with Org-mode buffers too. [deleted] (6. Want

Re: [O] org babel problems with (org-babel-read *R*)

2013-04-09 Thread Charles Berry
Thomas Alexander Gerds tag at biostat.ku.dk writes: after upgrading to the latest bleeding edge version I have problems executing org-babel R blocks where the session is named *R*. the error is this: ELISP (org-babel-read *R*) *** Eval error *** Symbol's value as variable is void: *R*

Re: [O] Executable not found error with begin_src R but not begin_src R :session on Windows

2013-04-09 Thread Charles Berry
John Hendy jw.hendy at gmail.com writes: On Mon, Apr 8, 2013 at 8:53 PM, Eric Schulte schulte.eric at gmail.com wrote: John Hendy jw.hendy at gmail.com writes: [snip] Grr. Apparently R updated on it's own somehow and I missed it. My org-babel-R-command was pointing to ../2.15.0/bin/

Re: [O] Inline code in tables?

2013-04-11 Thread Charles Berry
John Hendy jw.hendy at gmail.com writes: On Thu, Apr 11, 2013 at 8:06 PM, Jay Kerns gjkernsysu at gmail.com wrote: Dear John, On Thu, Apr 11, 2013 at 6:56 PM, John Hendy jw.hendy at gmail.com wrote: I have a table like so: Please see the responses by Eric S. and Charles B. in the

Re: [O] New maintainer

2013-04-18 Thread Charles Berry
Bastien bzg at gnu.org writes: Dear all, I'm stepping down as the Org maintainer. You have done an awesome job. This is still the friendliest little town on the internet thanks to your patience and good judgment in no small part. And 8.0 is a fine product. Carsten accepted to step

Re: [O] Carsten's Interview relates questions, esay insert images, attachemnt locations etc..

2013-04-19 Thread Charles Berry
zeltak zeltak at gmail.com writes: Hi Charles and Carsten sorry for the belated repsonse but i have been tied up at work with other projects.  So going back to the original question, i have used your example code Charles and modified it to work on my linux box, though i have zero lisp (or

Re: [O] About indentation when the src block is under a list

2013-04-28 Thread Charles Berry
zwz zhangweize at gmail.com writes: Here is an example: * array ** search - example #+BEGIN_SRC c /* find score in scores ,* return the index if found or -1 */ int search(int scores[], int n, int score){ int i = 0; for(; in; ++i) if(scores[i]==score) return i;

Re: [O] [help] How to ignore a head but don't ignore it's subhead when export

2013-06-18 Thread Charles Berry
Feng Shu tumashu at gmail.com writes: #+begin_org * headA ** headB #+end_org When export to latex, how to ignore headA and don't ignore headB? With a tag. See this: http://article.gmane.org/gmane.emacs.orgmode/67692 HTH, Chuck

Re: [O] [ANN] Convert Org-mode file to Source-code file

2013-06-20 Thread Charles Berry
Thorsten Jolitz tjolitz at gmail.com writes: Hi List, it is now possible to convert existing Org-mode files with source-blocks into machine-executable source-code files, using the following function from `outorg.el': #+begin_src emacs-lisp (defun

Re: [O] [ANN] Convert Org-mode file to Source-code file

2013-06-21 Thread Charles Berry
Thorsten Jolitz tjolitz at gmail.com writes: Charles Berry ccberry at ucsd.edu writes: Thorsten Jolitz tjolitz at gmail.com writes: Hi List, it is now possible to convert existing Org-mode files with source-blocks into machine-executable source-code files, using

Re: [O] Help with new exporter

2013-07-10 Thread Charles Berry
John Rakestraw lists at johnrakestraw.com writes: Apologies for responding to myself, but I realized after writing the message below that if I use sed to remove the lines with the word label and all of the empty brackets (i.e., =[]= and ={}= ) in the tex file, then I'm very, very close

Re: [O] Filters not working

2013-08-09 Thread Charles Berry
Thomas S. Dye tsd at tsdye.com writes: Aloha all, After an upgrade from 8.0.3 this morning I'm unable to export a large writing project that has kept me from reading the ML regularly for the last few months. It seems that filters that used to work, no longer do so. For example,

Re: [O] Filters not working

2013-08-09 Thread Charles Berry
Thomas S. Dye tsd at tsdye.com writes: Charles Berry ccberry at ucsd.edu writes: [filter to demo extracting back-end name deleted] , | type-of back-end: vector | name of back-end: latex ` Yes, it does. Take a look at (defstruct (org-export-backend... in ox.el

Re: [O] macro expansion in source code

2013-08-29 Thread Charles Berry
Johannes Rainer johannes.rainer at gmail.com writes: hi, I was just wondering if there is a way to use macro expansion also in source code blocks or headers. I tried this, but the macro was never expanded, but rather the {{{image_width}}} was exported. could the expansion be done by

Re: [O] asynchronous code evaluation

2013-09-04 Thread Charles Berry
Johannes Rainer johannes.rainer at gmail.com writes: hi all! I have some pretty calculation intense R code in a code block and when I execute the code (C-c C-c) my emacs freezes and waits for the code to finish. Is there a way to evaluate the code asynchronously, so that I could

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

2013-09-06 Thread Charles Berry
Bastien bzg at gnu.org writes: Hi all, I have prepared the changelogs for Org 8.1, see the first section in this file: http://orgmode.org/cgit.cgi/org-mode.git/plain/etc/ORG-NEWS I have not documented changes in the contrib/ directory, as ORG-NEWS is meant to go into the Emacs

Re: [O] Superscript before character

2013-09-06 Thread Charles Berry
Roger Mason rmason at mun.ca writes: Hello, I'd like to create a superscript that preceeds a letter. I tried ^1Fred, ^1 Fred, ^{1}Fred and ^{1} Fred, to no avail. Can this be done in org (8.0.3)? If so how? [snip] \nbsp{}^{1}Fred exports to ~$^{\text{1}}$Fred in latex and

Re: [O] LaTeX export: images subplots

2013-09-11 Thread Charles Berry
Martin Leduc mart_00 at hotmail.com writes: Hi all, I am using org-mode to write a report with several figures. I would like to group some images into a same figure, let say a 2x2 panel. I know that I can directly embed latex code in my org file, for example by using the subfloats (from

Re: [O] input data for babel blocks

2013-09-30 Thread Charles Berry
Alan Schmitt alan.schmitt at polytechnique.org writes: Hello, In my quest for analyzing my data in org mode tables, I'm trying to see if I can use my favorite language (i.e., ocaml). I'm thus looking at how [discussion of revising org-babel-variable-assignments:lang deleted] I have

Re: [O] input data for babel blocks

2013-10-01 Thread Charles Berry
Alan Schmitt alan.schmitt at polytechnique.org writes: Hi Charles, ccberry at ucsd.edu writes: Lacking that, another alternative to the approach you have crafted is to use elisp src blocks to set up the commands needed to create the objects, and then place the results of

Re: [O] LaTeX export with Code

2013-10-07 Thread Charles Berry
Sam Flint swflint at flintfam.org writes: I regularly use org-mode for LP, and would like to be able to export the name of a code chunk as a caption in LaTeX. I have looked at the manual, and don't see any way of doing this, are there? Yes. Quite a few. If you want is the src block name

Re: [O] org babel before excute hook

2013-10-11 Thread Charles Berry
John Kitchin jkitchin at andrew.cmu.edu writes: I have a related kind of problem. When preparing notes for a class, I may end up with 70 code blocks in an org file, many of which create graphics. I am always worried about accidentally using the same filename and overwriting a graphic

[O] [BUG] org-confirm-babel-evaluate breaks inline src blocks

2013-11-16 Thread Charles Berry
Following this thread: http://thread.gmane.org/gmane.emacs.orgmode/77572/focus=77648 I found that setting org-confirm-babel-evaluate to a lambda form BREAKS inline src blocks. Here is an ECM: # #+BEGIN_SRC emacs-lisp (setf org-confirm-babel-evaluate (lambda (rest args)

Re: [O] [BUG] org-confirm-babel-evaluate breaks inline src blocks

2013-11-22 Thread Charles Berry
Eric Schulte schulte.eric at gmail.com writes: Charles Berry ccberry at ucsd.edu writes: [snip] Thanks for pointing this out, I've just pushed up a fix. AFAICS, it is still broken. I did a git pull, downloaded the patches, applied them, compiled ob-core.el. I am still getting org

Re: [O] [BUG] org-confirm-babel-evaluate breaks inline src blocks

2013-11-23 Thread Charles Berry
Eric Schulte schulte.eric at gmail.com writes: Charles Berry ccberry at ucsd.edu writes: Eric Schulte schulte.eric at gmail.com writes: Charles Berry ccberry at ucsd.edu writes: [snip] Indeed the fix was to set this element of info to point to the front of the inline src

Re: [O] [BUG] org-confirm-babel-evaluate breaks inline src blocks

2013-11-23 Thread Charles Berry
Eric Schulte schulte.eric at gmail.com writes: [delete long discussion of bug] I've just pushed up another fix which should fix this for export too. And it works! Thanks for the fix and for enabling this useful capability! Chuck

[O] [bug] [babel] repeated exports w/ inline src blocks yield different results

2013-11-23 Thread Charles Berry
Consider this code: , | * test | | #+NAME: block2 | #+BEGIN_SRC emacs-lisp :exports both | (setf not-yet-bound-a t ) | #+END_SRC | | src_emacs-lisp{(+ 1 1)} | | end of buffer | ` Upon export via C-c C-e C-b t A y y yields: , | 1 test | == | | , | | (setf

Re: [O] Error: (wrong-type-argument integer-or-marker-p nil)

2013-11-29 Thread Charles Berry
Sebastien Vauban sva-news@... writes: Hello Nicolas, Nicolas Goaziou wrote: Sebastien Vauban sva-news@... writes: When trying to convert a document which contains R graphics, I get the error: Debugger entered--Lisp error: (wrong-type-argument integer-or-marker-p nil)

Re: [O] How do I specify the language for a :results code block

2013-11-29 Thread Charles Berry
Thomas S. Dye tsd at tsdye.com writes: Aloha Alan, Alan Schmitt alan.schmitt at polytechnique.org writes: Hello, I'm trying to write a block in some language (right now shell, but it will probably be something different) whose output is an org source block is some language (here

  1   2   >