Consider the following code:
-8<--
#+NAME: test
#+BEGIN_SRC python :var x="foobar"
return len(x)
#+END_SRC
-8<
Indeed, this seems to do the trick!
Thanks!
On Thu, Sep 11, 2014 at 8:19 PM, Ista Zahn wrote:
> Can't you just do
>
> #+begin_src foo :wrap src bar
>hello world
> #+end_src
>
> ?
>
> Best,
> Ista
>
>
> On Thu, Sep 11, 2014 at 5:11 AM, Dror Atariah wrote:
> > Is there some change in the stat
Hello,
Fabrice Popineau writes:
> Recently, I started to get problems with org-indent-block returning errors
> "Not at a block".
> Unfortunately, this is happening while restarting emacs, and I have no idea
> about how to debug it.
AFAICT, nothing in the code base calls `org-indent-block' autom
Hello,
Florian Beck writes:
Thanks for your feedback.
> This I did.
Well,
(or (org-element-get 'table-cell)
;; Fuzzy matching when on a table border:
(org-element-get 'table-cell (1+ (point)))
(org-element-get 'table-cell (1- (point
is not necessary, since the first
My 2 cents:
\newcommand{\sectionref}[1]{Section~\ref{#1}}
and then write
\sectionref{bla}
instead of
Section~\ref{bla}
and ditto for figure, etc.
Hi Glenn,
> Detlev Zundel wrote:
>
>> problem and lingers for a while now. Who can merge the org repository?
>> Is there something that an outsider like me can do to help?
>
> Thanks for asking! :)
>
> Anyone with a copy of the Org repo and the Emacs repo can generate the
> diff that needs to be
Darlan Cavalcante Moreira writes:
> You need to load org-crypt and call org-crypt-use-before-save-magic
> before you open the org file.
I have this in my config:
(add-to-list 'org-modules 'org-crypt)
(require 'org-crypt)
So I think that's what is done. I also checked org-mode-hook on a fre
Hi list,
I'm preparing a scenario of an event, and I'd like to have a table like
this:
| Time | Duration | What happens |
| | (minutes) | |
|---+---+--|
| 10:00 |10 | ... |
| 10:10 | 2 | |
| 10:12 | 5 |
Dnia 2014-09-12, o godz. 08:18:39
Erwan napisał(a):
> My 2 cents:
>
> \newcommand{\sectionref}[1]{Section~\ref{#1}}
>
> and then write
>
>\sectionref{bla}
>
> instead of
>
> Section~\ref{bla}
>
> and ditto for figure, etc.
My 2 cents:
or just use the cleveref package instead of re
Hi John,
I am resending this... I think it did not went through the previous
time.
I think I can replicate the org-ref bug now (if it is a bug). This is
the situation:
a) If I open emacs, load a file that already has some link, and click on
the link (or place the cursor on it and press enter) I
Thanks for your hint.
The problem was not in in org.el:org-indent-block but in
org.el:org-hide-block-toggle.
This function should toggle special-block blocks too, else it barfs on them.
In my setup, when an org file is restored by desktop.el, global visibility
is set, which triggers
calls to org-hi
Darlan Cavalcante Moreira writes:
In my case I only have one file where I use org-crypt and I
define the function below
--8<---cut
here---start->8--- (defun
my-find-senhas-org-heading nil
(interactive) (require 'org-crypt) (find-file
"~/org/passwords
One note first, if you change org-modules manually like that you must
make sure this change is done before org-mode is loaded. I prefer to use
the customize interface just for org-modules for that reason.
I also add org-crypt to org-modules like you do. If I open my
password.org file and open it
When generating an HTML file from an org-mode document, I'd like to do a
GET operation to retrieve a property value from the drawer of an arbitrary
heading, using the CUSTOM_ID property to identify the heading. From
Google-searching, I suspect that "org-heading-components" will be involved,
but I'
Hello,
I'd advice to use UTF-8 characters more wildly available in the
different fonts for drawing the Boxquote around code, in function:
╭
│ (defun org-ascii--box-string (s info)
│ "Return string S with a partial box to its left.
│ INFO is a plist used as a communication channel."
look near the end of the post for org-mode-hook specific explanation :-)
Darlan Cavalcante Moreira writes:
> One note first, if you change org-modules manually like that you must
> make sure this change is done before org-mode is loaded. I prefer to use
> the customize interface just for org-mo
hob...@poukram.net (Rémi Letot) writes:
> org-crypt-use-before-save-magic just populates org-mode-hook with a
> before-save-hook, which is correctly done in my case. The trick is that
> org-mode-hook doesn't seem to fire when I open an org file...
>
> confirmed: I had a look at the other variables
Fabrice Popineau writes:
> The problem was not in in org.el:org-indent-block but in
> org.el:org-hide-block-toggle.
> This function should toggle special-block blocks too, else it barfs on them.
> In my setup, when an org file is restored by desktop.el, global visibility
> is set, which triggers
Hello,
"D. C. Toedt" writes:
> When generating an HTML file from an org-mode document, I'd like to do a
> GET operation to retrieve a property value from the drawer of an arbitrary
> heading, using the CUSTOM_ID property to identify the heading. From
> Google-searching, I suspect that "org-head
Hello,
Sebastien Vauban
writes:
> I'd advice to use UTF-8 characters more wildly available in the
> different fonts for drawing the Boxquote around code, in function:
>
> ╭
> │ (defun org-ascii--box-string (s info)
> │ "Return string S with a partial box to its left.
> │ INFO is
Hello all,
I would like to have some text in color when I export my org document to
latex.
I tried this:
...
#+latex_header: \usepackage{color}
\textcolor{red}{Text I want in red}
...
But, this is producing
...
\usepackage{color}
\textcolor{red}\{Text I want in red\} in the exported latex docume
Chaitanya Krishna writes:
> Hello all,
>
> I would like to have some text in color when I export my org document to
> latex.
>
> I tried this:
> ...
> #+latex_header: \usepackage{color}
> \textcolor{red}{Text I want in red}
> ...
>
> But, this is producing
> ...
> \usepackage{color}
> \textcolor
Beautiful -- thanks!
Is there any documentation I can read to get a sense of how things work?
I've done a little bit of browsing inside org.el and its comments, but
that seems like it's not the most effective way to get up to speed.
Regards,
--D. C.
*D*ell *C*harles "D. C." Toedt III *(my**
Aloha Chai,
Chaitanya Krishna writes:
> Hello all,
>
> I would like to have some text in color when I export my org document to
> latex.
>
> I tried this:
> ...
> #+latex_header: \usepackage{color}
> \textcolor{red}{Text I want in red}
One way is with a macro, e.g.,
#+MACRO: red \textcolor{red
if boxquote is going to be changed, perhaps another option that would
be nice for boxquote would be to optionally not print anything to the
left of the contents?
On 9/12/14, Sebastien Vauban wrote:
> ╭
> │ (defun org-ascii--box-string (s info)
^
here
--
The Kafka Pandemic: ht
25 matches
Mail list logo