Let Org-mode babel file result support relative (adaptive) link type by
using `org-link-file-path-type`.
This also can solve static site generator extensions (like `ob-blog.el`
etc) image link path issue.
Also better if user changed parent directory name, those links will have to
updated too. But
On 3/10/17, Nicolas Goaziou wrote:
>> the behavior i found occurs when you use a link that refers outside
>> the exported subtree, which i'd classify as user error. can that be
>> made to raise an error signal?
>>
>> "you are linking to outside the subtree being exported. the result
>> will be m
On 03/10/2017 04:15 PM, Uwe Brauer wrote:
>
>> On 03/10/2017 11:08 AM, Uwe Brauer wrote:
>
>> You need to change "#+BEGIN_LaTeX" to "#+begin_export latex" and
>> "#+END_LaTeX" to "#+end_export" for Org 9.0 and above.
>
> Thanks, very much, I never understand what is the benefit of th
Hi John,
I like the idea of special block that definitely solve the multi-line problem.
But I would need to write an latex exporter for the block, how challenging
would that be ? I am still learning lisp :)
Cheers,
M
> On Mar 11, 2017, at 1:22 PM, John Kitchin wrote:
>
> This is probably not
Hi,
Nicolas Goaziou writes:
> I guess you have an agenda file where a top level headline starts at
> level 2 or below.
Seems that is the issue. I accidentally deleted the first portion of one
of my agenda files. The following agenda file causes the problem:
TODO Deeper branch
SCHEDU
FYI, I bisected and this is the first bad commit:
bed17f1bb505dd6ecf80b44bf1ef267d45efb206 is the first bad commit
commit bed17f1bb505dd6ecf80b44bf1ef267d45efb206
Author: Nicolas Goaziou
Date: Sat Jan 14 16:12:43 2017 +0100
org-mobile: Fix `org-mobile-push' with stick agendas
* lisp/o
Hi,
I am using code like this in a jupyter notebook exporter:
#+BEGIN_SRC emacs-lisp
(org-export-string-as "** second heading"
'md t '(:with-toc nil :with-tags nil))
#+END_SRC
I would expect that to export as:
## second heading
but what I get is:
#+RESULTS:
:
: # second heading
This is probably not feasible with links. that is also a challenge with
Eric's markup approach. One way is to use visual wrapping so whole
paragraphs are actually one line. Another is to use some kind of custom block.
It has been a while since I tried this:
http://kitchingroup.cheme.cmu.edu/blog/2
You can put them into an elisp src block to try it out. They have to go in
an init file to be permanent. I just made a symlink to the matlab
executable on my path.
The ipython functions are defined in ob-ipython,
https://github.com/gregsexton/ob-ipython I think.
John
>>> "John" == John Kitchin writes:
> The kernel provides a "session" so matlab stays alive and doesn't have to
> restart on every block.
> The kernel might require python3.
Although I think I installed the kernel, I am not sure about the code
you sent me, namely
(defalias 'org-babel-e
On Saturday, 11 Mar 2017 at 13:41, John Kitchin wrote:
> I like this a lot!
Thanks. I use this all the time. I did try org-annotate but it was too
clumsy for my needs.
Of course, the day will come when I suddenly need to use strike-through
desperately! :-)
--
: Eric S Fraga (0xFFFCF67D), Emac
On Sat, Mar 11, 2017 at 7:53 AM, Aaron Jensen wrote:
> $ git clone
> g...@github.com:aaronjensen/org-mobile-push-breaks-org-agenda-ecm.git
> ~/.emacs.d.old
Sorry, this line was wrong, it should clone to ~/.emacs.d:
$ git clone
g...@github.com:aaronjensen/org-mobile-push-breaks-org-agenda-ecm.g
On Fri, Mar 10, 2017 at 9:28 AM, Nicolas Goaziou wrote:
> ATM, I am not sure how it happens since the headline was extracted from
> some document. Could you try evaluating
>
> M-: (org-get-at-bol 'org-marker)
>
> on a problematic line and report back the problem?
I just get this:
#
> Better,
Thank you
2017-03-11 15:31 GMT+01:00 Nicolas Goaziou :
> Wojciech Gac writes:
>
> > I'm attaching a patch with a note in ORG-NEWS.
>
> Applied. Thank you.
>
> > I'll have a look at the FSF papers.
>
> Great !
>
> Regards,
>
> --
> Nicolas Goaziou0x
> The kernel provides a "session" so matlab stays alive and doesn't have to
> restart on every block.
Ah ok like the matlab shell as in emacs matlab mode.
It seems that I got it to work, there was a python lib conflict but the
author released just a new version solving the problem.
> Th
Wojciech Gac writes:
> I'm attaching a patch with a note in ORG-NEWS.
Applied. Thank you.
> I'll have a look at the FSF papers.
Great !
Regards,
--
Nicolas Goaziou0x80A93738
Hello,
stefano franchi writes:
> On Thu, Mar 9, 2017 at 12:30 PM, Eric S Fraga wrote:
>
>> On Thursday, 9 Mar 2017 at 17:44, stefano franchi wrote:
>> > Hi all,
>> >
>> > I 'm just beginning with org-mode and I' trying to understand how to
>> > get a clean export to markdown. By "clean" I mean
The kernel provides a "session" so matlab stays alive and doesn't have to
restart on every block.
The kernel might require python3.
On Sat, Mar 11, 2017 at 9:20 AM Uwe Brauer wrote:
>
>> You might dig around in ob-octave to see how it works. It should be
> able
>> to Matlab (and on Linux
> You might dig around in ob-octave to see how it works. It should be able
> to Matlab (and on Linux/Mac I believe it might). On Windows, it has been
> broken for a long time due to the lack of a proper shell (maybe that can
> be adapted in win10 though).
> I vaguely recall making
>>> "Eric" == Eric S Fraga writes:
> On Saturday, 11 Mar 2017 at 08:04, Uwe Brauer wrote:
>> Does anybody know how to get a better formatted output, to get rid of
>> the empty lines and newline? best would be a org-table?
> Instead of relying on MATLAB's default output, you can g
Thanks John,
Works like a charm. Any idea how to write comments that spans multiple lines ?
cheers,
M
> On Mar 11, 2017, at 7:55 AM, John Kitchin wrote:
>
> it looks like you forgot to include format in the (eq ..) sexp.
>
> (org-link-set-parameters
> "response"
> :export (lambda (keyword desc
I like this a lot!
On March 11, 2017, at 8:39 AM, Eric S Fraga wrote:
On Friday, 10 Mar 2017 at 20:33, Doyley, Marvin M. wrote:
> Hi there,
>
> When revising manuscripts, I usually highlight the changes (response
> to reviewer) in red. I use typically do this as follows:
> (1) #+latex_header: \n
On Friday, 10 Mar 2017 at 20:33, Doyley, Marvin M. wrote:
> Hi there,
>
> When revising manuscripts, I usually highlight the changes (response
> to reviewer) in red. I use typically do this as follows:
> (1) #+latex_header: \newcommand{\response}[1]{\textcolor{red}{#1}}
> (2) \response{changes)
>
>
You might dig around in ob-octave to see how it works. It should be able
to Matlab (and on Linux/Mac I believe it might). On Windows, it has been
broken for a long time due to the lack of a proper shell (maybe that can
be adapted in win10 though).
I vaguely recall making that matlab function to tr
Hi,
Not very urgent for me. I only meant to check if such functionality
exists.
I am now ok with the ((heading . nil)) stuff. Maybe one day I get bothered
with this behavior, I might write one and post here.
Regards.
On Sat, Mar 11, 2017 at 6:08 PM, Nicolas Goaziou
wrote:
> Hello,
>
> Shiy
Hi,
I'm attaching a patch with a note in ORG-NEWS. I'll have a look at the FSF
papers.
Thank you.
Regards,
Wojtek
2017-03-11 13:42 GMT+01:00 Nicolas Goaziou :
> Hello,
>
> Wojciech Gac writes:
>
> > No, I haven't signed the papers.
>
> OK. I applied your patch. I suggest to consider signing t
it looks like you forgot to include format in the (eq ..) sexp.
(org-link-set-parameters
"response"
:export (lambda (keyword desc format)
(cond
((eq 'latex format)
(format "\\textcolor{red}{%s}" keyword
:face '(:foreground "red"))
Doyley, Marvin M. writes
Hi John,
I make a colored link [[response: comments]], that makes the text following the
response keyword red. The only snag is that when I export to latex I get
[[response:comment]] rather than \textcolor{red}{comment}. Any thoughts on what
I am doing wrong ?
Cheers,
M
PS. Enclose is the co
Hello,
Wojciech Gac writes:
> No, I haven't signed the papers.
OK. I applied your patch. I suggest to consider signing them if you plan
to provide more patches.
Would you mind providing an ORG-NEWS entry for the feature you added?
Thank you.
Regards,
--
Nicolas Goaziou
On Saturday, 11 Mar 2017 at 08:04, Uwe Brauer wrote:
> Does anybody know how to get a better formatted output, to get rid of
> the empty lines and newline? best would be a org-table?
Instead of relying on MATLAB's default output, you can generate
formatted output using fprintf [1].
Footnotes:
[
Hi John,
Thanks for the info on making colored links, this will definitely help (i.e.,
show the changes in org). The only snag is how do I export the colored link
automatically as \textcolor{red}{comments} during org export ?
Cheers,
M
> On Mar 10, 2017, at 4:47 PM, John Kitchin wrote:
>
> Yo
Hello,
Adrian Bradd writes:
> Debugger entered--Lisp error: (quit)
> re-search-backward("^\\*+ " nil t)
> org-outline-level()
> outline-up-heading(1)
I guess you have an agenda file where a top level headline starts at
level 2 or below.
If that's the case, it should now be fixed.
Thank you.
HI Nicolas,
No, I haven't signed the papers.
Regards,
Wojtek
2017-03-11 11:06 GMT+01:00 Nicolas Goaziou :
> Hello,
>
> Wojciech Gac writes:
>
> > I wrote a tiny change of the `org-attach' function that allows to attach
> a
> > file from a URL (downloading it in the process). I chose a binding
Hello,
Shiyao Ma writes:
> Yes, I've tried with '((heading . auto)).
>
> '((heading . auto)) opens the possibility of inserting newline, which is
> not desirable for me.
Then there is no possibility to achieve what you want at the moment. We
could implement a `manual' behavior for both headings
Hello,
Wojciech Gac writes:
> I wrote a tiny change of the `org-attach' function that allows to attach a
> file from a URL (downloading it in the process). I chose a binding of 'C-c
> C-a u' for this. I've updated the Texi documentation as well.
Nice. Did you sign FSF papers already? Otherwise,
> On Friday, 10 Mar 2017 at 16:08, Uwe Brauer wrote:
> [...]
> You may need to add ":exports results" to the src line.
> Also, you should also modify the code to wrap the output in an equation
> environment:
> disp('\begin{equation}')
> disp(ltxjac)
> disp('\en
36 matches
Mail list logo