Re: Feedback on Emacs-Jupyter

2022-01-05 Thread David Dynerman
Dear Nathaniel, Let me echo others’ comments by saying how much I appreciate your work on emacs-jupyter. I use the package daily in my work and it’s been really fantastic. Thank you very, very much for your huge efforts and time investment in creating and maintaining this package.

Specifying shells for remote ob-shell sessions?

2021-06-24 Thread David Dynerman
Dear Org Mode Friends, I’m having some trouble getting the shell I want to run on remote hosts in session ob-shell blocks - it seems that no matter what shell I specify, session blocks will always run /bin/sh. I’m not sure if this is an org or tramp configuration issue on my end, or a bug in

[O] Bug: Cannot tangle bash source blocks [9.0 (release_9.0-237-gccf2b9 @ /usr/local/share/emacs/site-lisp/org/)]

2017-01-02 Thread David Dynerman
I cannot tangle a bash source block (via ob-shell) that contains variables. To reproduce, enter this into an org file: #+BEGIN_SRC bash :var HELLO="world" :tangle echo $HELLO #+END_SRC Then C-c C-v t RET This error is reported: org-babel-tangle-single-block: Wrong number of arguments: (2 . 4)

Re: [O] buffer local org-src-preserve-indentation not respected

2016-12-11 Thread David Dynerman
Dear Nicolas, Nicolas Goaziou writes: > Fixed (hopefully) this time. Thank you for the feedback. It's working wonderfully now - thank you very much. David

[O] bug#25132: 26.0.50; emacs hangs when loading org file with python source blocks

2016-12-07 Thread David Dynerman
--Claudel <clement@gmail.com> writes: > On 2016-12-07 21:08, Glenn Morris wrote: >> David Dynerman wrote: >>> The bug does NOT occur with org 8.2.10. >> >> Since that's the version included with Emacs, I'm confused as to why >> you've been encouraged

Re: [O] buffer local org-src-preserve-indentation not respected

2016-12-07 Thread David Dynerman
Dear Nicolas, Nicolas Goaziou writes: > Fixed. Thank you. Thank you very much. I just tried, and I still encounter this buf on the current git code. Reproduction is the same as before: #+BEGIN_SRC python :tangle preserve-indent.py class Foo: bar = 5 #+END_SRC

Re: [O] Include sections of org document in tangled files

2016-12-07 Thread David Dynerman
Dear Chuck, Your suggestion worked fantastically - I got it working and am very excited. Now, the next step is figuring out how to handle typesetting math in single way between org and python docstrings. Math in Python docstrings is usually done by RestructuredText markdown, e.g.: :math:`f(x)

Re: [O] Emacs hangs while loading org file with python blocks

2016-12-07 Thread David Dynerman
Dear Alan & Clément, Thanks for trying to reproduce - it's good to know it's not only happening to me. I've just sent the bug report upstream to bug-gnu-emacs. David Alan Schmitt <alan.schm...@polytechnique.org> writes: > Hello David, > > On 2016-12-06 17:41, David

[O] Emacs hangs while loading org file with python blocks

2016-12-06 Thread David Dynerman
Dear list, For several months I've been encountering a frustrating bug. My emacs hangs while initially loading an org file with ~3000 lines and around two dozen python blocks. If I press C-g during the lockup, emacs wakes up and the file is loaded. The hang does not re-occur after happening on

[O] buffer local org-src-preserve-indentation not respected

2016-12-02 Thread David Dynerman
Dear list, I'd like to report a bug. It seems that setting org-src-preserve-indentation to true doesn't work if it's set buffer local. To reproduce, save the following as an org file: #+BEGIN_SRC python :tangle preserve-indent.py class Foo: bar = 5 #+END_SRC Here is some interstitial text!

[O] Include sections of org document in tangled files

2016-12-02 Thread David Dynerman
Dear list, Is it possible to include sections of an org document while tangling. I have in mind something like the following: * Some section <> This is an introduction. We're going to write some code that implements (a finite version of) the formula \[ f(x) = 1 + x + \frac{x^2}{2} +

[O] Emacs hangs while loading .org file

2016-08-17 Thread David Dynerman
Dear list, I have a fairly large org-file [1] (~2k lines) containing a substantial amount of code in #+BEGIN_SRC/#+END_SRC blocks. The code is mostly python, with one or two C blocks. Recently emacs has started to hang when loading the file for the first time. I saved a profiling report [2]

[O] org-ref: customizing bibtex key names generated by doi-utils

2016-06-23 Thread David Dynerman
Hi all, I'm interested in exporting HTML from an org document that contains references managed by org-ref. I'm running into the following problem. I have a reference that doi-utils added with a very long bibtex key: @article{saldin09_struc_isolat_biomol_obtain_from ... When exporting to

[O] Bug: Write file while editing babel code block doesn't work as expected [8.3.4 (release_8.3.4-778-g8127b3 @ /usr/local/share/emacs/site-lisp/org/)]

2016-05-10 Thread David Dynerman
When visiting an org-babel code block in a dedicated window (C-c ' in the block), I would like to manually save the buffer to a file by calling write-file (C-x C-w) However, this doesn't work - it prompts you for a filename, as expected, but no matter what filename you enter it always just

Re: [O] org-latex-classes removed?

2015-05-23 Thread David Dynerman
Please disregard - just a silly mistake on my end: forgot (require 'ox-latex). Thank you, David David Dynerman writes: Hello, In the master I'm currently seeing that org-latex-classes is undefined. Is this intended? Has this functionality been replaced by something else? I didn't see

[O] org-latex-classes removed?

2015-05-23 Thread David Dynerman
Hello, In the master I'm currently seeing that org-latex-classes is undefined. Is this intended? Has this functionality been replaced by something else? I didn't see anything in a quick search of the mailing list archives. Running emacs -q, in *scratch* I evaluate: (add-to-list 'load-path

[O] Conditional .gitignore for org-mode files

2015-04-26 Thread David Dynerman
Hi all, Sorry in advance, this might be more of a git question than an org-mode question, but I thought someone on this list might know the answer. Is it possible to conditionally gitignore certain files based on files that are being tracked? What I'd like is something like the following

Re: [O] ox-latex and small caps links

2015-04-21 Thread David Dynerman
,- | Code within @@latex:some code@@ a paragraph. `- This works great! Thanks Tom! It might be nice to document this somehwere, to make the transition a little easier when 8.3 rolls out and the old

[O] ox-latex and small caps links

2015-04-21 Thread David Dynerman
Hi there, I've been using links to render text in small caps when exporting to LaTeX and HTML, e.g. [[latex:textsc][this is in small caps]] This worked fine in 8.2.10, but causes an error in latest. When I try to export the file to LaTeX, the export fails with: Unable to resolve link

[O] Only evaluate code blocks interactively, but export results

2015-04-04 Thread David Dynerman
Hi all, I’m trying to accomplish the following: 1) I have an org-babel python block in my code that produces a figure file 2) I’d like to include the resulting figure HTML export of my org file 3) The code takes a bit to run, so I don’t want to execute the code block during each HTML export

Re: [O] Only evaluate code blocks interactively, but export results

2015-04-04 Thread David Dynerman
wrote: Aloha David, David Dynerman da...@block-party.net mailto:da...@block-party.net writes: Hi all, I’m trying to accomplish the following: 1) I have an org-babel python block in my code that produces a figure file 2) I’d like to include the resulting figure HTML export of my org

[O] Best practices for dual HTML/LaTeX export for scientific papers

2015-04-02 Thread David Dynerman
Hi all, I’m currently trying to use org mode to write a scientific paper. Here is my wishlist: 1) Citations to an external bibliography 2) Figures containing multiple side-by-side figures with subcaptions (e.g. in LaTeX I would use minipage + subcaption) 3) In-document links (i.e., cross