Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

The tag has no usage guidance.

0
votes
0answers
26 views

Install Spacemacs in offline mode on MS windows

I need to install Spacemacs on the company's PC, which has no internet. So I can download an ELPA mirror (archive or library) from here. I followed this URL I changed the https:\\ : then I ran ...
1
vote
1answer
111 views

noweb function call with variable arguments

I get error "reference y not found in this buffer" when trying to evaluate cubed-plus-cubed: #+NAME: cubed #+BEGIN_SRC python :var x=3 return x * x * x #+END_SRC #+RESULTS: cubed : 27 #+NAME: cubed-...
1
vote
1answer
50 views

How to pass newline (“\n”) string to noweb <<call>>

Trying to pass multiline argument to Org code block. If make direct call of block then it's Ok. But when call it through noweb ref then Error raised #+NAME: pr #+BEGIN_SRC elisp :results value :var n=...
0
votes
1answer
34 views

How to avoid multiplying of a string which precedes <<noweb reference>> in code block?

When <> expands to multiple line and I wrote like this some-string <<noweb ref>> then it expands like some-string line1-from-noweb-ref some-string line2-from-noweb-ref some-string ...
1
vote
0answers
127 views

How can I use #+CALL with multiple arguments?

I'm trying to learn how to use the noweb syntax and advance my knowledge on the possibilities of org babel. For that, I'm trying to get the following an example to work that 1. uses noweb syntax and 2....
1
vote
0answers
77 views

noweb reference aware org-edit-special

Is there a way of splitting a src block into several blocks while keeping them together with noweb reference syntax and editing them using org-edit-special in such a way that would take into account ...
3
votes
1answer
92 views

How to disable noweb prefix lines?

This says that Noweb insertions now honor prefix characters that appear before <<reference>>. And because of that trying to use #+BEGIN_SRC clojure :noweb-ref dep-cljsbuild [lein-...
0
votes
1answer
238 views

Exporting a figure generated with org-babel and noweb reference syntax

Wanting to export a figure generated by matplotlib to LaTeX (as described here) I've encountered the following issue (which ultimately I was able to solve as described here). My source block has two ...
7
votes
2answers
156 views

Insert noweb references with completion

I have discovered the noweb syntax, and in particular how it can be used in org source blocks, very recently, and I have grown quite fond of it. But inserting the references (is there a better term?) ...
2
votes
1answer
235 views

How to get babel code blocks to evaluate parameters when called from a noweb ref?

I have an interesting problem that I am sure there must be a simple answer to if I can find the right syntax. Essentially, as outlined below, I have a simple sh code block that prints a variable that ...
3
votes
1answer
76 views

Report missing noweb references in org-babel

In org-babel, is there a way for checking for missing noweb references <<...>> or for throwing an error if a reference is missing? For example in the following I have mistyped the name of ...