Re: [O] org-ref no bibliography generated in pdf

2016-02-06 Thread John Kitchin
It could also be you didn't specify a bibliographystyle. Try running M-x org-ref on the file. It checks that some things like that are correct. Sometimes it is helpful to manually build the puff at the command line. Org hides a lot of errors sometimes. On February 6, 2016, at 9:23 AM, Eric S Fr

Re: [O] org-ref no bibliography generated in pdf

2016-02-06 Thread John Kitchin
Then Eric is probably right:what is org-latex-to-pdf-process set to? John --- Professor John Kitchin Doherty Hall A207F Department of Chemical Engineering Carnegie Mellon University Pittsburgh, PA 15213 412-268-7803 @johnkitchin http://kitchingroup.cheme.cmu.edu

Re: [O] org-ref no bibliography generated in pdf

2016-02-06 Thread John Kitchin
ry %o %b" "pdflatex -shell-escape -interaction nonstopmode -output-directory %o %b")) John ------- Professor John Kitchin Doherty Hall A207F Department of Chemical Engineering Carnegie Mellon University Pittsburgh, PA 15213 412-268-7803 @johnkitchin

Re: [O] org-ref no bibliography generated in pdf

2016-02-07 Thread John Kitchin
no reason. I do not actually use this code below. I have another function that probably does want texify does ;) maybe some extra stuff like running makeindex, etc Andreas Kiermeier writes: > On 7 February 2016 at 04:38, John Kitchin wrote: > >> that is why you don't ge

Re: [O] What does the _ in `(defun org-element-section-parser (_) ...)' stands for?

2016-02-09 Thread John Kitchin
ist, > just out of curiosity, a few functions in org-element.el contain _ in > their parameter list, but its not used in the body. > What does it stand for? -- Professor John Kitchin Doherty Hall A207F Department of Chemical Engineering Carnegie Mellon University Pittsburgh, PA 15213

Re: [O] Visiting an Entry with an ID

2016-02-09 Thread John Kitchin
tp://stackoverflow.com/questions/35299171/org-mode-elisp-how-does-one-switch-the-buffer-when-using-an-id-to-visit-an-en > > Does anyone have an answer for this? -- Professor John Kitchin Doherty Hall A207F Department of Chemical Engineering Carnegie Mellon University Pittsburgh, PA 15213 41

Re: [O] What does the _ in `(defun org-element-section-parser (_) ...)' stands for?

2016-02-10 Thread John Kitchin
o errors from checkdoc. John ------- Professor John Kitchin Doherty Hall A207F Department of Chemical Engineering Carnegie Mellon University Pittsburgh, PA 15213 412-268-7803 @johnkitchin http://kitchingroup.cheme.cmu.edu

Re: [O] What does the _ in `(defun org-element-section-parser (_) ...)' stands for?

2016-02-11 Thread John Kitchin
There is up to date ... And up to date😉 funnily enough I run a near bleeding edge version of Emacs from home brew and org 8.2.10 from Melpa. On Thursday, February 11, 2016, Thorsten Jolitz wrote: > John Kitchin > writes: > > > On Wed, Feb 10, 2016 at 3:13 PM, Thorsten Joli

[O] Invalid function: org-babel-header-args-safe-fn in Melpa

2016-02-14 Thread John Kitchin
t;ob-R.el" (file-name-directory (locate-library "org"))) t) the problem goes away. I haven't been able to come up with a simple reproducible example. This happens when I start my jmax starter kit from scratch. It does not happen though if I st

Re: [O] What does the _ in `(defun org-element-section-parser (_) ...)' stands for?

2016-02-14 Thread John Kitchin
/Using-Lexical-Binding.html John --- Professor John Kitchin Doherty Hall A207F Department of Chemical Engineering Carnegie Mellon University Pittsburgh, PA 15213 412-268-7803 @johnkitchin http://kitchingroup.cheme.cmu.edu On Thu, Feb 11, 2016 at 12:33 PM, Nick

Re: [O] Invalid function: org-babel-header-args-safe-fn in Melpa

2016-02-14 Thread John Kitchin
ge-initialize) (package-refresh-contents) (package-install 'pydoc) (package-install 'org-plus-contrib) (org-babel-do-load-languages 'org-babel-load-languages '((emacs-lisp . t) (R . t) )) (message "done") John --- Professor

[O] src code fontification in org 8.3

2016-02-14 Thread John Kitchin
8.2.10 to 8.3 that would affect fontification? or some previous setting that would interfere with it? Thanks, -- Professor John Kitchin Doherty Hall A207F Department of Chemical Engineering Carnegie Mellon University Pittsburgh, PA 15213 412-268-7803 @johnkitchin http://kitchingroup.cheme.cmu.edu

Re: [O] src code fontification in org 8.3

2016-02-15 Thread John Kitchin
Thanks. A rebuild of emacs did indeed fix it. John --- Professor John Kitchin Doherty Hall A207F Department of Chemical Engineering Carnegie Mellon University Pittsburgh, PA 15213 412-268-7803 @johnkitchin http://kitchingroup.cheme.cmu.edu On Sun, Feb 14, 2016

Re: [O] tangling order

2016-02-16 Thread John Kitchin
eb 16, 2016 at 5:19 AM, Alan Schmitt < alan.schm...@polytechnique.org> wrote: > #+BEGIN_SRC foob :tangle foo.ml > let x = 1 > #+END_SRC > > #+BEGIN_SRC fooa :tangle foo.ml > let x = 2 > #+END_SRC > John ------- Professor John Kitchin Dohert

Re: [O] org-ref

2016-02-16 Thread John Kitchin
Is \ref{fig2,fig3} legal LaTeX? John --- Professor John Kitchin Doherty Hall A207F Department of Chemical Engineering Carnegie Mellon University Pittsburgh, PA 15213 412-268-7803 @johnkitchin http://kitchingroup.cheme.cmu.edu On Tue, Feb 16, 2016 at 8:52 AM

Re: [O] org-ref

2016-02-16 Thread John Kitchin
testing. The issue will make sure I don't forget it. Thanks. John --- Professor John Kitchin Doherty Hall A207F Department of Chemical Engineering Carnegie Mellon University Pittsburgh, PA 15213 412-268-7803 @johnkitchin http://kitchingroup.cheme.cmu.edu O

Re: [O] melpa

2016-02-19 Thread John Kitchin
s '(("elpy" . "http://jorgenschaefer.github.io/packages/";) ("org" . "http://orgmode.org/elpa/";) ("gnu" . "http://elpa.gnu.org/packages/";) ("melpa-stable" . "http://melpa-stable.milkbox.net/packages/";) ("melpa&q

Re: [O] How to add left superscripts

2016-02-29 Thread John Kitchin
I knew there was a way to do this. I forgot the \nbsp, {} by itself does not work. Thanks for the reminder. John --- Professor John Kitchin Doherty Hall A207F Department of Chemical Engineering Carnegie Mellon University Pittsburgh, PA 15213 412-268-7803

Re: [O] How to add a test?

2016-02-29 Thread John Kitchin
. See, > e.g., "test-org-footnote.el". > > Obviously YMMV and the more important thing is to have more tests. How > tests are written is a lesser matter. Feel free to ignore my > suggestions. > > Thank you for your work. > > > Regards, -- Professor John Kitchin Doherty Hall A207F Department of Chemical Engineering Carnegie Mellon University Pittsburgh, PA 15213 412-268-7803 @johnkitchin http://kitchingroup.cheme.cmu.edu

Re: [O] How do I format numbers to an exported table to latex, produced by a code block?

2016-02-29 Thread John Kitchin
ant to export it to latex to produce a pdf but I want to format the >>> numbers of the table so I get, say >>> >>> | 123.456e-3 | 2.000 | >>> | 3.000 | 4.000 | >>> >>> on the exported pdf. >>> >>> How can I do it? >>

Re: [O] Use org-ref to query pubmed under emacs

2016-03-01 Thread John Kitchin
I don't think so. See https://github.com/jkitchin/org-ref/blob/master/org-ref-pubmed.Ella for what is possible. It is mostly links and functions that open a browser to search. On March 1, 2016, at 4:38 AM, 童俊翔 wrote: Is it possible to use org-ref to query pubmed under emacs? Just like Pubmod.

Re: [O] Use org-ref to query pubmed under emacs

2016-03-01 Thread John Kitchin
gt; keyboard frequently. > > > > >> On 1 Mar 2016, at 19:10, John Kitchin wrote: >> >> I don't think so. See >> https://github.com/jkitchin/org-ref/blob/master/org-ref-pubmed.Ella for what >> is possible. It is mostly links and functions that open a browse

Re: [O] How to prevent loading of org-agenda-files?

2016-03-02 Thread John Kitchin
I guess the OP opens a new emacs instance, which might be loading agenda files each time on initialization? If that is the case, emacsclient is probably the solution. or Open files in a new frame. John --- Professor John Kitchin Doherty Hall A207F Department of

Re: [O] Example of Make file for Org Mode LaTeX to pdf

2016-03-06 Thread John Kitchin
ive > in the real world." -- Mary Shafer, NASA Dryden -- Professor John Kitchin Doherty Hall A207F Department of Chemical Engineering Carnegie Mellon University Pittsburgh, PA 15213 412-268-7803 @johnkitchin http://kitchingroup.cheme.cmu.edu

Re: [O] org-babel C math.h issue

2016-03-10 Thread John Kitchin
d\n",(int)sqrt(i)); >> #+END_SRC > > I get the same problem, Ubuntu 14.04.3 LTS, GNU Emacs 24.3.1, Org-mode > version 8.2.10. So maybe it got fixed at some point since these versions > are about two years old? -- Professor John Kitchin Doherty Hall A207F Department of Chemica

Re: [O] set default width for figure floats?

2016-03-11 Thread John Kitchin
t to let them keep their own > size. > > Is this possible (I'd like to avoid having to use #+ATTR_LATEX :width > before each - and even then I would have no idea to unset the value) > > Thanks, > > Rainer -- Professor John Kitchin Doherty Hall A207F Department of Chem

Re: [O] using vref in latex export, and normal links in html export

2016-03-11 Thread John Kitchin
to "fig:log-expt-7", but this does > not work as the label assigned by org to the figure is > "fig:orgparagraph1". > > Here is a small example of a similar problem. Exporting this to latex > > This is a \ref{fig:foo} and this is a link [[fig:foo]] > > #+label

Re: [O] set default width for figure floats?

2016-03-11 Thread John Kitchin
Rainer M Krug writes: > John Kitchin writes: > >> Maybe you want org-image-actual-width >> >> This sets teh width in org, if you have a working imagemagick. > > No - I don't want any scaling. They are graphs I have created in R and I > want to conserve the

Re: [O] using vref in latex export, and normal links in html export

2016-03-12 Thread John Kitchin
ef{" "vref{" text))) > > (eval-after-load "ox-latex" > '(progn > (add-to-list 'org-export-filter-link-functions > 'sn/ox-latex-filter-varioref))) > --8<---cut here---end--->8--- -- Professor John Kitchin Doherty Hall A207F Department of Chemical Engineering Carnegie Mellon University Pittsburgh, PA 15213 412-268-7803 @johnkitchin http://kitchingroup.cheme.cmu.edu

Re: [O] using vref in latex export, and normal links in html export

2016-03-12 Thread John Kitchin
I guess these are defined in backends, e.g. org-latex-link. Alan Schmitt writes: > On 2016-03-11 16:05, Alan Schmitt writes: > >> On 2016-03-11 15:02, John Kitchin writes: >> >>> Try: >>> >>> (setq org-latex-prefer-user-labels t) >>> >

[O] uncommnet-region behavior in org-src blocks

2016-03-19 Thread John Kitchin
I noticed that you try to uncomment a region in a src block a # gets inserted! #+BEGIN_SRC emacs-lisp ; test #+END_SRC If you select ; test and run uncomment-region you get this: #+BEGIN_SRC emacs-lisp # ; test #+END_SRC It also does that in Python. Any ideas why? -- Professor John Kitchin

Re: [O] uncommnet-region behavior in org-src blocks

2016-03-19 Thread John Kitchin
sure, that is true. I am still surprised that "uncommenting" adds a # which in org is a comment. actually that seems to happen everywhere in the org-file! John --- Professor John Kitchin Doherty Hall A207F Department of Chemical Engineering Carne

Re: [O] No text in pdf output

2016-03-19 Thread John Kitchin
-base 2013.20140215-1 >> >> I must have missed out on some very basic stuff? >> >> Any help would be highly welcomed, >> >> -- >> Guido >> >> Yesterday upon the stair >> I met a man who wasn't there. >> He wasn't there again t

Re: [O] uncommnet-region behavior in org-src blocks

2016-03-19 Thread John Kitchin
tions of this, and they all seem to do that. One day I will have to learn how to get multiple modes active in one buffer ;) Ken Mankoff writes: > On 2016-03-19 at 13:20, Eric S Fraga wrote: >> On Saturday, 19 Mar 2016 at 12:44, John Kitchin wrote: >>> I noticed

Re: [O] args-out-of-range #

2016-03-19 Thread John Kitchin
tch-end 0)) (cite-re > > (format "^\\(%s:\\)" (regexp-opt ...))) cite-type) (if (and > > s (string-match cite-re s)) (progn (setq cite-type (match-string 1 s)) > > (remove-text-properties beg end (quote ...)) (add-text-properties beg > > end (list ... ...))

Re: [O] uncommnet-region behavior in org-src blocks

2016-03-20 Thread John Kitchin
I think you mean (setq org-src-tab-acts-natively t) right? It looks like the function I made basically does the same thing, by another mechanism! I still wonder why it doesn't work with RET though. John --- Professor John Kitchin Doherty Hall A207F Departme

[O] adding a new org-element?

2016-03-21 Thread John Kitchin
Suppose one wanted to add a new org-element/syntax to org-mode. Where would one start? I am interested in something like the following syntax: $(arbitrary stuff inside the sexp)$ with a mechanism to call an export function to transcode it. Any pointers to getting started? -- Professor John

Re: [O] adding a new org-element?

2016-03-22 Thread John Kitchin
Eric S Fraga writes: > On Monday, 21 Mar 2016 at 21:51, John Kitchin wrote: >> Suppose one wanted to add a new org-element/syntax to org-mode. Where >> would one start? > > I cannot help but I am curious: > >> I am interested in something like the following synta

Re: [O] adding a new org-element?

2016-03-22 Thread John Kitchin
Eric S Fraga writes: > On Tuesday, 22 Mar 2016 at 07:34, John Kitchin wrote: > > [...] > >> the elisp link is a good idea, but I am looking into an idea for a >> chemical markup language where you might have a $(molecule + data)$ and >> reaction descriptions $(mo

Re: [O] adding a new org-element?

2016-03-22 Thread John Kitchin
anted to mine papers that contained $(molecule inchi-key LFQSCWFLJHTTHZ-UHFFFAOYSA-N formula C2H5OH)$ and $(float id melting-point inchi-key LFQSCWFLJHTTHZ-UHFFFAOYSA-N value -173.2 units "degF")$, then you might link to the melting-point value somehow in a new paper without having to copy it. Anyway, the thoughts are still a little loose in my head. I want to try it, and write a paper with it, and see if it was useful enough to write another paper that way ;) -- Professor John Kitchin Doherty Hall A207F Department of Chemical Engineering Carnegie Mellon University Pittsburgh, PA 15213 412-268-7803 @johnkitchin http://kitchingroup.cheme.cmu.edu

Re: [O] adding a new org-element?

2016-03-22 Thread John Kitchin
Samuel W. Flint writes: > :: Eric S Fraga writes: > > ESF> On Monday, 21 Mar 2016 at 21:51, John Kitchin wrote: >>> Suppose one wanted to add a new org-element/syntax to org-mode. Where >>> would one start? > > ESF> I cannot help but I am curious: >

Re: [O] org-ref, abstracts

2016-03-23 Thread John Kitchin
eate an abstract field in the bibtex entry. Is it > possible? If not, I think it would be a useful addition. > > J. Cubizolles -- Professor John Kitchin Doherty Hall A207F Department of Chemical Engineering Carnegie Mellon University Pittsburgh, PA 15213 412-268-7803 @johnkitchin http://kitchingroup.cheme.cmu.edu

Re: [O] org-ref, abstracts

2016-03-23 Thread John Kitchin
Julien Cubizolles writes: > John Kitchin writes: > >> I am pretty sure the metadata from dx.doi.org doesn't contain any >> abstract information, so there is not a way to put anything useful in >> it. The abstract is often covered by copyright. > > I hadn'

[O] switch parsing in babel

2016-03-27 Thread John Kitchin
-labels t :use-labels t :label-fmt nil :hiddenp nil :value "[CH4] \n" :post-blank 1 :post-affiliated 190 :parent nil)) Is that correct? I would have thought that 1. The first switch should be -icml 2. -osmi would also be a switch. If I go with -i -o, then they are both listed as switc

[O] no div/id on named example blocks in html export

2016-03-27 Thread John Kitchin
to do that? -- Professor John Kitchin Doherty Hall A207F Department of Chemical Engineering Carnegie Mellon University Pittsburgh, PA 15213 412-268-7803 @johnkitchin http://kitchingroup.cheme.cmu.edu

Re: [O] switch parsing in babel

2016-03-28 Thread John Kitchin
Nicolas Goaziou writes: > Hello, > > John Kitchin writes: > >> I am trying to make a new source block that looks like this: >> >> #+BEGIN_SRC obabel -icml -osmi >> [CH4] >> #+END_SRC >> >> This gets parsed to: >> >> (src-b

[O] headers on special blocks

2016-03-28 Thread John Kitchin
:name "methane-smiles" :parent nil)) but I haven't seen any documentation for headers on a special block. Thanks, -- Professor John Kitchin Doherty Hall A207F Department of Chemical Engineering Carnegie Mellon University Pittsburgh, PA 15213 412-268-7803 @johnkitchin http://kitchingroup.cheme.cmu.edu

[O] using info in a filter

2016-03-28 Thread John Kitchin
case where it is easier to make a custom backend with a function like: (defun sb-format (sb contents info)) that builds up the output string? -- Professor John Kitchin Doherty Hall A207F Department of Chemical Engineering Carnegie Mellon University Pittsburgh, PA 15213 412-268-7803 @johnkitchin

Re: [O] headers on special blocks

2016-03-28 Thread John Kitchin
-molecular-data-in-org-mode.org It is kind of interesting I think. Nicolas Goaziou writes: > Hello, > > John Kitchin writes: > >> I am playing around with storing data in special blocks. For example, >> here is an example bit of "data" which is the CH4 (methane)

[O] [PATCH 2/3] add html attributes to quote-block

2016-03-28 Thread John Kitchin
Enables #+attr_html: and puts a id attribute when the block is named into the html element. --- lisp/ox-html.el | 12 ++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/lisp/ox-html.el b/lisp/ox-html.el index 92de209..5bdfc14 100644 --- a/lisp/ox-html.el +++ b/lisp/ox-htm

[O] [PATCH 1/3] add id attribute to example-block on html export.

2016-03-28 Thread John Kitchin
This allows you to hyperlink to the block. --- lisp/ox-html.el | 15 --- 1 file changed, 12 insertions(+), 3 deletions(-) diff --git a/lisp/ox-html.el b/lisp/ox-html.el index d07cdcc..92de209 100644 --- a/lisp/ox-html.el +++ b/lisp/ox-html.el @@ -2370,14 +2370,23 @@ contextual informa

[O] [PATCH 3/3] add html attributes to special blocks.

2016-03-28 Thread John Kitchin
Enables #+attr_html and puts an id in when the special block is named. --- lisp/ox-html.el | 26 -- 1 file changed, 16 insertions(+), 10 deletions(-) diff --git a/lisp/ox-html.el b/lisp/ox-html.el index 5bdfc14..da67958 100644 --- a/lisp/ox-html.el +++ b/lisp/ox-html.el @@

Re: [O] no div/id on named example blocks in html export

2016-03-28 Thread John Kitchin
this. Thanks, Nicolas Goaziou writes: > Hello, > > John Kitchin writes: > >> I noticed that if I make a block like this: >> >> #+name: methane-smiles >> #+BEGIN_EXAMPLE >> C >> #+END_EXAMPLE >> >> There is no id="methane-smiles&quo

Re: [O] How to export table from a src block?

2016-03-28 Thread John Kitchin
rg-table-export "/tmp/mytable.csv" "orgtbl-to-csv") > #+END_SRC > > Any help appreciated! > > Bill -- Professor John Kitchin Doherty Hall A207F Department of Chemical Engineering Carnegie Mellon University Pittsburgh, PA 15213 412-268-7803 @johnkitchin http://kitchingroup.cheme.cmu.edu

Re: [O] ob-clojure: possible to display results as soon as something is written to STDOUT?

2016-03-30 Thread John Kitchin
threading so the whole process (Emacs) is waiting for the >> sub-process (Clojure) to finish before doing anything else. > > > Ok good, thanks for confirming! > > Take care, > > Fred -- Professor John Kitchin Doherty Hall A207F Department of Chemical Engineering Carnegie M

Re: [O] ob-clojure: possible to display results as soon as something is written to STDOUT?

2016-03-30 Thread John Kitchin
Hi Eric, >>> >>>>> Note: I am not sure if this is something related to Org-mode, or >>>>> ob-clojure or Cider. >>>> None of these directly. It's Emacs, basically: it has very minimal >>>> support for threading so the whol

Re: [O] ob-clojure: possible to display results as soon as something is written to STDOUT?

2016-03-30 Thread John Kitchin
x/blob/master/jmax-org.el#L936 It looks like I just redefined the org-babel-execute:sh function after it was loaded. That may not be recommended good practice, but it works ;) I am not sure why it is commented out, maybe because I don't use it alot and its not well tested. You could alway

Re: [O] using info in a filter

2016-03-30 Thread John Kitchin
ok, thanks. Nicolas Goaziou writes: > Hello, > > John Kitchin writes: > >> How does one use the info in a filter? >> >> e.g. >> >> in (defun my-block-filter (data backend info)) >> >> data is the transcoded block string, and I want to add s

Re: [O] problem with ob-octave (matlab)

2016-03-31 Thread John Kitchin
ab code block... > Wrote /tmp/babel-2948rpV/ob-input-2948ACJ > Error reading results: (beginning-of-buffer) > Code block produced no output. > > > However the code can be executed in matlab giving > > > ans = > > a + b > a - b > > > Any comments? >

Re: [O] [PATCH 1/3] add id attribute to example-block on html export.

2016-03-31 Thread John Kitchin
links to these elements in other places, e.g. text Nicolas Goaziou writes: > Hello, > > John Kitchin writes: > >> This allows you to hyperlink to the block. > > Applied the 3 patches, with minor changes (you seem to be using an > outdated Org so you were reverting changes

Re: [O] [PATCH 1/3] add id attribute to example-block on html export.

2016-04-03 Thread John Kitchin
Thanks. I found this in etc/ORG-NEWS, in case any one else was looking for it ;) Nicolas Goaziou writes: > Hello, > > John Kitchin writes: > >> I am not sure what those should look like or where they go. How about: >> >> * New html id attributes on special, examp

Re: [O] org-ref, abstracts

2016-04-04 Thread John Kitchin
no problem. I am not sure when that happened though ;) Julien Cubizolles writes: > John Kitchin writes: > > >> If the data exists, then arxiv-add-bibtex-entry could probably add the >> abstract if it existed. I am not too familiar with arxiv so I am not >> sure. >

Re: [O] org-ref, abstracts

2016-04-04 Thread John Kitchin
I think thats what I mean. org-ref-arxiv hasn't been changed for at least two months I think. and the abstract is listed in the template here: https://github.com/jkitchin/org-ref/blob/2a8635d4662fbe77f43731edeac1b4ec1112d233/org-ref-arxiv.el#L103 Julien Cubizolles writes: > John

Re: [O] isbn-to-bibtex (from org-ref) fails

2016-04-04 Thread John Kitchin
. "Reading, Mass.") (author . "Feynman, Leighton, Sands.") (ed . "8th > print.") (year . "1996") (isbn . ["0201500647"]) ...)] > --8<---cut here---end------->8--- > > However, isbn-to-bibtex-lead gets me t

Re: [O] lisp babel

2016-04-11 Thread John Kitchin
e: hello-world > #+header: :var message="Hello World!" :exports both > #+begin_src lisp > (princ message) > #+end_src > > In the past, it worked. I thought either slime or sly were needed. > > I'm using org version release_8.3.4-718-g634e12.dirty and GNU Emacs 25

Re: [O] Org-mode export doesn't work anymore after moving to OsX

2016-04-12 Thread John Kitchin
nDocument schema files installed > and: Symbol's function definition is void: exec-installed-p > ``` > > cheers, > Jeff -- Professor John Kitchin Doherty Hall A207F Department of Chemical Engineering Carnegie Mellon University Pittsburgh, PA 15213 412-268-7803 @johnkitchin http://kitchingroup.cheme.cmu.edu

Re: [O] Org-mode export doesn't work anymore after moving to OsX

2016-04-13 Thread John Kitchin
rg-mode so I might merge some of the things in my setup files and just use > your configuration. What's the best way to get it as the default on > macbook? I know I can link the init.el to .emacs but how do I make sure it > knows where the jmax folder resides on the system. > > >

[O] funny emacs-lisp macro behavior in org-babel related to lexical-binding

2016-04-14 Thread John Kitchin
eval statement that reads (assoc :lexical params) to turn on lexical eval if you want it. What do you think? -- Professor John Kitchin Doherty Hall A207F Department of Chemical Engineering Carnegie Mellon University Pittsburgh, PA 15213 412-268-7803 @johnkitchin http://kitchingroup.cheme.cmu.edu

Re: [O] funny emacs-lisp macro behavior in org-babel related to lexical-binding

2016-04-16 Thread John Kitchin
That sounds fine to me. Would you then use :lexical nil in a header to turn it off? or a new custom variable? John --- Professor John Kitchin Doherty Hall A207F Department of Chemical Engineering Carnegie Mellon University Pittsburgh, PA 15213 412-268-7803

[O] [PATCH] Make lexical eval default for elisp src blocks

2016-04-16 Thread John Kitchin
Set default in `org-babel-default-header-args:emacs-lisp'. Add an optional argument to the eval function. --- etc/ORG-NEWS | 11 +++ lisp/ob-emacs-lisp.el | 29 - 2 files changed, 31 insertions(+), 9 deletions(-) diff --git a/etc/ORG-NEWS b/etc/ORG-NEW

Re: [O] funny emacs-lisp macro behavior in org-babel related to lexical-binding

2016-04-16 Thread John Kitchin
I submitted a patch for this. I still am not sure I did it quite right. Is there a page anywhere that outlines what to do? e.g. create a branch, make changes, how to make patches, and mail them etc... or some other preferred method? thanks, Nicolas Goaziou writes: > John Kitchin wri

Re: [O] funny emacs-lisp macro behavior in org-babel related to lexical-binding

2016-04-17 Thread John Kitchin
thanks, this is the page I was looking for. Charles C. Berry writes: > On Sat, 16 Apr 2016, John Kitchin wrote: > >> I submitted a patch for this. I still am not sure I did it quite right. >> Is there a page anywhere that outlines what to do? >> >> e.g. >> &

Re: [O] [PATCH] Make lexical eval default for elisp src blocks

2016-04-18 Thread John Kitchin
y counter examples though, where behavior changes, or stops working. Adam Porter writes: > John Kitchin writes: > > Forgive my ignorance--I haven't really dug into lexical scoping yet--but > what is the basic effect will this change have on elisp code blocks? > Say I'

Re: [O] isbn-to-bibtex (from org-ref) fails

2016-04-18 Thread John Kitchin
I found a (save-buffer) in the bibtex entry clean functions and took that out. I think it solves this problem. Julien Cubizolles writes: > John Kitchin writes: > >> thanks for the report. I think I have fixed it in a recent push. > > It now gets the bibtex entry right howeve

Re: [O] [PATCH] Make lexical eval default for elisp src blocks

2016-04-18 Thread John Kitchin
Thanks for the feedback. I have a few questions below. On Mon, Apr 18, 2016 at 12:38 PM, Nicolas Goaziou wrote: > Hello, > > John Kitchin writes: > > > Set default in `org-babel-default-header-args:emacs-lisp'. Add an > > optional argument to the eval function. &

[O] [PATCH] Make lexical eval default for elisp src blocks

2016-04-18 Thread John Kitchin
Set default in `org-babel-default-header-args:emacs-lisp'. Add an optional argument to the eval function. --- etc/ORG-NEWS | 11 +++ lisp/ob-emacs-lisp.el | 33 - 2 files changed, 35 insertions(+), 9 deletions(-) diff --git a/etc/ORG-NEWS b/etc/ORG

Re: [O] [PATCH] Make lexical eval default for elisp src blocks

2016-04-18 Thread John Kitchin
thanks. I think I have addressed these in a new patch I just submitted. John --- Professor John Kitchin Doherty Hall A207F Department of Chemical Engineering Carnegie Mellon University Pittsburgh, PA 15213 412-268-7803 @johnkitchin http

Re: [O] [PATCH] Make lexical eval default for elisp src blocks

2016-04-20 Thread John Kitchin
I think it would be fine to make :lexical "no" be the default, since that should preserve what we are used to. Users can alway set a different default of their own, or make it "yes" when they know it is needed. Nicolas Goaziou writes: > Hello, > > John Kitchin wri

Re: [O] Export to OpenDocument text doesn't work in org-mode 8.3.4

2016-04-21 Thread John Kitchin
this option in the latest version of org-mode? > > Regards, > Lohan -- Professor John Kitchin Doherty Hall A207F Department of Chemical Engineering Carnegie Mellon University Pittsburgh, PA 15213 412-268-7803 @johnkitchin http://kitchingroup.cheme.cmu.edu

Re: [O] State of things: Email with orgmode?

2016-04-25 Thread John Kitchin
That is nice! John --- Professor John Kitchin Doherty Hall A207F Department of Chemical Engineering Carnegie Mellon University Pittsburgh, PA 15213 412-268-7803 @johnkitchin http://kitchingroup.cheme.cmu.edu On Mon, Apr 25, 2016 at 12:48 PM, Eric S Fraga wrote

Re: [O] State of things: Email with orgmode?

2016-04-26 Thread John Kitchin
s of the latex images? I use a > black > background and it's impossible to see the latex images. > > Best regards, > > Jeremie -- Professor John Kitchin Doherty Hall A207F Department of Chemical Engineering Carnegie Mellon University Pittsburgh, PA 15213 412-268-7803 @johnkitchin http://kitchingroup.cheme.cmu.edu

[O] how does invisibility impact org?

2016-04-26 Thread John Kitchin
ake-overlay start end) 'invisible 'not-verse-block (defun unhide () (interactive) (remove-from-invisibility-spec 'not-verse-block) (ov-clear 'invisibility 'not-verse-block)) -- Professor John Kitchin Doherty Hall A207F Department of Chemical Engineering Carnegie

Re: [O] how does invisibility impact org?

2016-04-26 Thread John Kitchin
normally I would use narrowing, but I want to see all the verses in the document at once., so I was going to make all the other text temporarily invisible. John --- Professor John Kitchin Doherty Hall A207F Department of Chemical Engineering Carnegie Mellon

Re: [O] How to have a controllable popup?

2016-04-27 Thread John Kitchin
t; in the right third of the page. > > I've tried to set it up with workgroups, and also tabs of the relevant > files next to each other in tabbar, but neither of these really worked. > > Thanks > Sharon. -- Professor John Kitchin Doherty Hall A207F Department of Chemical

Re: [O] Special alignment in org-mode

2016-04-27 Thread John Kitchin
t; > * My fancy org file > ** Header 2 > Some content here > *** Header 3 > > Thanks in advance! > David -- Professor John Kitchin Doherty Hall A207F Department of Chemical Engineering Carnegie Mellon University Pittsburgh, PA 15213 412-268-7803 @johnkitchin http://kitchingroup.cheme.cmu.edu

Re: [O] pandoc-style citations

2016-04-27 Thread John Kitchin
3 pp148-152") that end up as \cites. However my > home-brew link solution, stuffing the multiple pre- and posts- with > separator into the link description is unwieldy - difficult to write, > hard to read and easy to get wrong or breaking output. > > thanks > alex -- Professor

Re: [O] pandoc-style citations

2016-04-27 Thread John Kitchin
docs on why we don't currently do more than the simple pre/post text. I don't have anything against supporting more, I just don't know how to do it, or when it would be right ;) > > thanks again and best wishes > alex -- Professor John Kitchin Doherty Hall A207F Dep

Re: [O] Special alignment in org-mode

2016-04-28 Thread John Kitchin
but the actual > content beneath the headers stays to the side of the buffer (as pictured: > http://i.imgur.com/nGv8XBI.png). > Would there be any way to fix this? > > David > > On Wed, Apr 27, 2016 at 9:47 AM John Kitchin > wrote: > >> I think this does approximat

Re: [O] speed keys for plain lists?

2016-05-09 Thread John Kitchin
ot;KEY") #'COMMAND) > > I guess that OP would like some key to do this only when in plain list. > It's slightly less easy then, and the preferred way (advice/new > function/maybe some hook) might depend on the particular choice of the > keys. > > Best, -- Professor

Re: [O] isbn-to-bibtex (from org-ref) fails

2016-05-09 Thread John Kitchin
does not help with this isbn, but gives a better error. I assume you were looking for Seveneves: A Novel? Maybe it is too new for xisbn. BTW: Did you read it? Is it good? Julien Cubizolles writes: > Julien Cubizolles writes: > >> John Kitchin writes: >> >>> I found

Re: [O] Using org-entities to escape symbols

2016-05-10 Thread John Kitchin
C-x b something.org >> 4. M-x org-mode >> 5. Hit "C-u *" >> 6. You should see an asterisk being displayed, which is actually a >> prettified version of "\ast{}" which is what actually got inserted. >> >> Also, please report your emacs and org-m

Re: [O] org-ref breaks org-repair-export-blocks

2016-05-11 Thread John Kitchin
(format "^[ \t]*#\\+INCLUDE: .*?%s[ \t]*$" back-end-re))) > (while (re-search-forward include-re nil t) >(let ((element (save-match-data (org-element-at-point > (when (and (eq (org-element-type element) 'keyword) >

Re: [O] Mixing Python2 and Python3 blocks in one file

2016-05-17 Thread John Kitchin
an accomplish the > things I want to do for now. However, I still do think that Python2 > and Python3 as different languages demand different block > identifiers. > > #+BEGIN_SRC python -> defaults to the default python interpreter > #+BEGIN_SRC python2 -> uses Python2 > #+BEGIN_SRC python3 -> uses Python3 > > Don't you think? -- Professor John Kitchin Doherty Hall A207F Department of Chemical Engineering Carnegie Mellon University Pittsburgh, PA 15213 412-268-7803 @johnkitchin http://kitchingroup.cheme.cmu.edu

Re: [O] assign tags via helm/avy?

2016-05-30 Thread John Kitchin
gs) > ("allan" . ?a) > ("bob" . ?o) > ("joel" . ?j) > ("david" . ?d) > ("boris" . ?b) > ("massimo" . ?s) > (:endgrouptag) > > anyone know of a way to quick add tags via a helm/avy i

[O] colored code background in org 8.3

2016-06-01 Thread John Kitchin
Hi all, I am finally getting around to switching over to org 8.3... One thing I miss already is the colored background in the code blocks. I recall that was removed. Has anyone looked into a way to put it back? -- Professor John Kitchin Doherty Hall A207F Department of Chemical Engineering

Re: [O] assign tags via helm/avy?

2016-06-01 Thread John Kitchin
Saram wrote: >> >>> thx so much john! >>> >>> is there a way where the function can auto read all the tags from >>> "org-tag-persistent-alist " instead of manfully adding to the function each >>> time a new tag is added? >>> >&

Re: [O] babel and bibliography

2016-06-02 Thread John Kitchin
documentation and examples using ox-bibtex, but those don't seem to > apply any longer with newer versions or org-mode. I'm running 8.3.4 in Emacs > 25.0.94.1 (5th pretest for version 25.1). > > Regards, > > Joseph -- Professor John Kitchin Doherty Hall A207F

Re: [O] Restricting admisible tags depending on header

2016-06-04 Thread John Kitchin
ction method (org-fast-tag-selection runs out of letters). > > I'm thinking on advising org-fast-tag-selection and prune the list of > acceptable tags before calling the real function, but maybe there is a > better method. -- Professor John Kitchin Doherty Hall A207F Department o

[O] default visibility of results drawer

2016-06-04 Thread John Kitchin
Is it possible to get the default visibility of results drawers to be open? They are closed when I first open a file, and I have to manually open them to see the contents. thanks! -- Professor John Kitchin Doherty Hall A207F Department of Chemical Engineering Carnegie Mellon University

Re: [O] default visibility of results drawer

2016-06-05 Thread John Kitchin
Thanks. The documentation wasn't too clear on if it should be a string or symbol. This worked for me to show everything: (setq org-startup-folded "showeverything") Matt Lundin writes: > John Kitchin writes: > >> Is it possible to get the default visibility of re

<    1   2   3   4   5   6   7   8   9   10   >