Re: [O] Org brings people together!

2018-10-10 Thread John Kitchin
Thanks for making it happen John! I had a great visit, and hope to see some org-mode adoption in a company environment. That would be amazing! John --- Professor John Kitchin Doherty Hall A207F Department of Chemical Engineering Carnegie Mellon University

Re: [O] file wide/language specific switches?

2018-09-28 Thread John Kitchin
ays but with org-export-with-buffer-copy, for example, I ran into difficulties because of the buffer modification, which I could find a way around that didn't lead to many copies of the buffer being open. In this solution, I just save it and have no issue there. John -------

[O] file wide/language specific switches?

2018-09-28 Thread John Kitchin
? It isn't obvious that is possible, so I thought I would ask. 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

Re: [O] Feature proposal: Triple square brackets to create a link to a file AND include the file

2018-09-27 Thread John Kitchin
ready something like this, if yes > - how can I achieve the same? > > Thank you! -- 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 to font-lock diffs?

2018-08-22 Thread John Kitchin
This does Just Work™ for me if I remove the two spaces at the front of each line. I never use the indentation, so I am not sure what the interplay there is. John --- Professor John Kitchin Doherty Hall A207F Department of Chemical Engineering Carnegie Mellon

Re: [O] How do you get the LOGBOOK information from the current heading at point?

2018-08-05 Thread John Kitchin
5:35] :year-start 2018 :month-start 8 :day-start 4 :hour-start 21 :minute-start 16 :year-end 2018 :month-end 8 :day-end 4 :hour-end 15 :minute-end 35 :begin 1569 :end 1616 :post-blank 1) | and then you can get to properties of those. > > > On Sun, Aug 5, 2018 at 5:41 PM John Kitchin &

Re: [O] How do you get the LOGBOOK information from the current heading at point?

2018-08-05 Thread John Kitchin
8 > :day-end 4 :hour-end 21 :minute-end 18 :begin 46 :end 68 :post-blank 0)) > :title "put into spacemacs file")) > > Thanks, > > Cody -- 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] Hyperlink to Table in Other Org file

2018-08-03 Thread John Kitchin
I don't think this can be done with labels/names out of the box. You can do it with radio targets, e.g. <> in the external file, and your link where you want it. John --- Professor John Kitchin Doherty Hall A207F Department of Chemical Engineering Carnegie

Re: [O] org-ref, html-export, citation links

2018-08-01 Thread John Kitchin
I don't think I have ever seen this, and can't think of a reason why it might be occurring. John --- Professor John Kitchin Doherty Hall A207F Department of Chemical Engineering Carnegie Mellon University Pittsburgh, PA 15213 412-268-7803 @johnkitchin http

Re: [O] globbing file links

2018-07-01 Thread John Kitchin
hat have a > common substring. it would also prevent broken links by allowing > myfile to be renamed slightly [such as compressed or uncompressed]. > > i think broken links are likely a common problem for org users. maybe > this can help prevent it. > > does this sound like a

Re: [O] Proposal: references from code to text.

2018-06-15 Thread John Kitchin
. 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, May 17, 2018 at 2:33 AM, ZHUO QL (KDr2) wrote: > Tha

Re: [O] how putting \begin{document} at the right place to export a specific latex class ?

2018-06-11 Thread John Kitchin
seph Vidal-Rosset}{\uppercase{Title of the paper}} #+END_EXPORT plus rest of your document. That exports as: % Created 2018-06-11 Mon 09:50 % Intended LaTeX compiler: pdflatex \documentclass[oumk,xs]{xxllp} \usepackage{amsmath} \usepackage{amssymb} \usepackage{blabla} \usepackage{blablabla}

Re: [O] how putting \begin{document} at the right place to export a specific latex class ?

2018-06-11 Thread John Kitchin
; \\LaLPonline{??} \\setcounter{page}{1} \\thispagestyle{LLPrrobezissn} >> \\label{p} should probably go in your org file as the first line. >> >> John >> >> --- >> Professor John Kitchin >> Doherty Hall A207F >>

Re: [O] how putting \begin{document} at the right place to export a specific latex class ?

2018-06-11 Thread John Kitchin
} should probably go in your org file as the first line. 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, Jun 11

Re: [O] Spurious "Non-existent agenda file" message?

2018-06-08 Thread John Kitchin
--- 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 Fri, Jun 8, 2018 at 12:38 AM, Loris Bennett wrote: > Hi, > > Suddenly, maybe after an upda

Re: [O] Problem with python source block

2018-05-26 Thread John Kitchin
) plt.savefig('test.png') return 'test.png' #+END_SRC 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 Sat, May 26, 2018 at 7

Re: [O] C++ is not accepted for SRC block evaluation

2018-05-26 Thread John Kitchin
It should be (C . t) it looks like ob-C also handles C++. 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 Sat

Re: [O] org file: export matlab to latex, then to html

2018-05-25 Thread John Kitchin
what if you use :wrap latex in the header? That should wrap the output in a latex block, which seems to export to html for me. John --- Professor John Kitchin Doherty Hall A207F Department of Chemical Engineering Carnegie Mellon University Pittsburgh, PA 15213 412

Re: [O] Proposal: references from code to text.

2018-05-16 Thread John Kitchin
I believe you can do that with the Library of Babel ( https://orgmode.org/worg/org-contrib/babel/library-of-babel.html) John --- Professor John Kitchin Doherty Hall A207F Department of Chemical Engineering Carnegie Mellon University Pittsburgh, PA 15213 412-268

Re: [O] Proposal: references from code to text.

2018-05-16 Thread John Kitchin
You might want to check out linkd: https://www.emacswiki.org/emacs/linkd.el It does a lot of what you describe independently of org-mode. John --- Professor John Kitchin Doherty Hall A207F Department of Chemical Engineering Carnegie Mellon University Pittsburgh

Re: [O] Proposal: references from code to text.

2018-05-16 Thread John Kitchin
a org-link-search: No match for coderef: add when you click on the link. ) #+END_SRC ** Notes *** There is a reason we only support two args :PROPERTIES: :ID: BAD97113-3561-4A4A-BA07-0CD5BF6BA35F :END: John --- Professor John Kitchin Doherty

Re: [O] Proposal: references from code to text.

2018-05-14 Thread John Kitchin
A07-0CD5BF6BA35F :END: 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, May 13, 2018 at 10:48 PM, Eri

Re: [O] [org-contacts] How to show avatar image on org headings?

2018-05-09 Thread John Kitchin
'((org-contacts-icon-property-image-overlay (0 'font-lock-keyword-face t))) t) #+END_SRC John --- Professor John Kitchin Doherty Hall A207F Department of Chemical Engineering Carnegie Mellon University Pittsburgh, PA 15213 412-268-7803 @johnkitchin http://kitchingroup.ch

Re: [O] [org-contacts] How to show avatar image on org headings?

2018-05-07 Thread John Kitchin
roperty's value? and how to iterate > on all heading elements then auto display image when open Contacts.org > file? -- 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] LOGBOOK note entries in functions

2018-05-02 Thread John Kitchin
) 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] coding help needed: set, increase and log review priority

2018-05-02 Thread John Kitchin
o bind the increase function to C-c r and the > function with user input to C-c R. > > Any help welcome! > > Thanks in advance, > > Julius -- 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] Q: setting/changing search path for links by id

2018-05-02 Thread John Kitchin
ng that search path, in a > specialized init file for example? > > Is there a way of adding a directory to this search path from inside an > org file? > > Thanks for any hints, > > Julius -- Professor John Kitchin Doherty Hall A207F Department of Chemical Engineering Carne

Re: [O] [SOLVED] How to use xml src block as data input?

2018-04-30 Thread John Kitchin
{} : body {} I don't know about noweb. 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 30, 2018

Re: [O] How to use xml src block as data input?

2018-04-30 Thread John Kitchin
;> 9VGILsaQfOZfO4lenZGMnWGt583DCV1CxEqcODQj2Z7DFb8EfxvRiGup9qPjMSVq >> 65gu7/Vk2Y2d+cvUZU7t592b7D/5na5Dxy0jkuAEttXjoJrk4OHoxcmYMjbnoimq >> DSUyu467YqtKKyyOgC8hEnatarkItDp6O5v/P8Ki/iVV5zSTiqkhriQYI9k/sPTV >> xmI9WZEFOB5A8auvw9csQTUUny2Mjw== >> =qQac >> -END PGP SIGNATURE- -- 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 to use xml src block as data input?

2018-04-29 Thread John Kitchin
VQZS2h2dazdn/pQHkkTgMKSvI6XHUVIFCNxC+12bJgQQ5dQJZuX > gbctNMQoXFL6YDBbil2ky2NM8mZRiQcBMyo5B2okiVGxd8CV7Ko+Bu5J1mq/3HJb > assmXwXQiUOkmHBK29soT7Fa9iVWtk96PSmL/tzEdO9G2zyE5aDtnPT+iFSlUgqi > vVCvLhYPsjyYZ7r19swTyZbeVH0av7GzqdJB18jpe1XvwBKJzdicAMP0ilJ1D4c2 > jJFyOETQDkG+T1XQYqU7u94e79tJHg== > =P1VJ

Re: [O] Should wip-cite branch be merged to master?

2018-04-23 Thread John Kitchin
++ it will be progress. 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, Apr 22, 2018 at 11:17 AM, András Simonyi

Re: [O] [Documentation Bug?] Markdown export

2018-04-19 Thread John Kitchin
Org tables get exported as an html table. 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, Apr 19, 2018 at 12

Re: [O] How to set org-make-link-description-function

2018-04-13 Thread John Kitchin
ke-link-description" link-type (if (fboundp make-func) (funcall make-func link desc) desc #+END_SRC John --- Professor John Kitchin Doherty Hall A207F Department of Chemical Engineering Carnegie Mellon University Pittsburgh, PA 15213 412-

Re: [O] How to display babel src block language on exported PDF code block?

2018-04-13 Thread John Kitchin
) ;; scimax function, you might do something else here. (org-open-file pdffile))) Then: C-c C-e z o John ------- Professor John Kitchin Doherty Hall A207F Department of Chemical Engineering Carnegie Mellon University Pittsburgh, PA 15213 412-268-7803 @john

Re: [O] [OT] org-mode bindings in markdown-mode?

2018-04-13 Thread John Kitchin
://jblevins.org/projects/markdown-mode/ to get something kind of close. 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] How to set org-make-link-description-function

2018-04-12 Thread John Kitchin
Not with the way I wrote it. It should only affect your links and pass everything else through I think. On Thu, Apr 12, 2018 at 9:15 PM Eric Abrahamsen <e...@ericabrahamsen.net> wrote: > John Kitchin <jkitc...@andrew.cmu.edu> writes: > > > I don't know how to do that e

Re: [O] How to set org-make-link-description-function

2018-04-12 Thread John Kitchin
/" "" link)) (t desc #+END_SRC It doesn't seem too ideal, as it seems like something that should get set in the link parameters. Does anyone else have an idea? John ------- Professor John Kitchin Doherty Hall A207F Department of Chemical Engineer

Re: [O] How to display babel src block language on exported PDF code block?

2018-04-05 Thread John Kitchin
pt.tex" nil nil nil nil nil) (ox-manuscript-latex-pdf-process "manuscript.tex") John --- Professor John Kitchin Doherty Hall A207F Department of Chemical Engineering Carnegie Mellon University Pittsburgh, PA 15213 412-268-7803 @johnkitchin http://

Re: [O] Repeat three times a week

2018-04-05 Thread John Kitchin
tml I don't use this, so I don't know what the practical limitations are. John --- Professor John Kitchin Doherty Hall A207F Department of Chemical Engineering Carnegie Mellon University Pittsburgh, PA 15213 412-268-7803 @johnkitchin http://kitchingroup.cheme.c

Re: [O] Feature request: results type json

2018-03-28 Thread John Kitchin
ibragi...@gmail.com> wrote: > Hmm, it works for emacs-lisp, however I specifically wanted to use it with > ob-sql, and can't find a way. > > On Wed, Mar 28, 2018 at 2:05 PM John Kitchin <jkitc...@andrew.cmu.edu> > wrote: > >> Does this do what you want: >> >&g

Re: [O] Feature request: results type json

2018-03-28 Thread John Kitchin
Does this do what you want: #+BEGIN_SRC emacs-lisp :wrap json (json-encode '((type . "text"))) #+END_SRC #+RESULTS: #+BEGIN_json {"type":"text"} #+END_json John ------- Professor John Kitchin Doherty Hall A207F Department of Chemic

Re: [O] preview embedded latex fragments error with my settings

2018-03-26 Thread John Kitchin
it sounds like you should run something like this at the commandline: latex /tmp/orgtexhClnu9.tex and see if any errors come up. Maybe some package is missing. John --- Professor John Kitchin Doherty Hall A207F Department of Chemical Engineering Carnegie Mellon

Re: [O] mktemp for orgmode

2018-03-17 Thread John Kitchin
Can you do something like: #+BEGIN_SRC some-lang :results output org drawer :file (make-temp-file "prefix-") #+END_SRC John --- Professor John Kitchin Doherty Hall A207F Department of Chemical Engineering Carnegie Mellon University Pittsburgh, PA

Re: [O] org mode error "pdf wasn't produced"

2018-03-14 Thread John Kitchin
that probably means run: pip install pygments at a command line, assuming you have a working Python installation. If not, you can either get one, or don't use minted for syntax highlighting. John --- Professor John Kitchin Doherty Hall A207F Department

Re: [O] Structured links to headings with endless depth

2018-03-14 Thread John Kitchin
;:" path-components)) #+END_SRC 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 Wed, Mar 14, 2018 at 3:10 A

Re: [O] Structured links to headings with endless depth

2018-03-13 Thread John Kitchin
------ 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, Mar 12, 2018 at 8:08 AM, ST <smn...@gmail.com> wrote: > He

Re: [O] org mode error "pdf wasn't produced"

2018-03-13 Thread John Kitchin
rom a shell. 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, Mar 13, 2018 at 4:37 PM, Dereje Tefera &

Re: [O] Concatenating header args

2018-03-06 Thread John Kitchin
would not make sense to concatenate these to ":tangle no yes". I think you have to add -Wall to the src header. John ------- Professor John Kitchin Doherty Hall A207F Department of Chemical Engineering Carnegie Mellon University Pittsburgh, PA 15213

Re: [O] Feature suggestion and code review request: org-babel-cycle-src-block-header

2018-03-04 Thread John Kitchin
-no-properties p1 p2))) (delete-region p1 p2) (insert content))) #+END_SRC John ------- Professor John Kitchin Doherty Hall A207F Department of Chemical Engineering Carnegie Mellon University Pittsburgh, PA 15213 412-268-7803 @johnkitchin http://kitchingroup.chem

Re: [O] Feature suggestion and code review request: org-babel-cycle-src-block-header

2018-03-04 Thread John Kitchin
ens? 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 Sat, Mar 3, 2018 at 12:26 PM, Thorsten Jolitz <tjol...@gmail.com> wr

Re: [O] Feature suggestion and code review request: org-babel-cycle-src-block-header

2018-03-02 Thread John Kitchin
eaders) (car headers)) #+END_SRC 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 Wed, Feb 28, 2018 at 2:59 A

Re: [O] Need help understanding how to limit a function to a tree

2018-02-28 Thread John Kitchin
ree you want to reset. 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 Wed, Feb 28, 2018 at 4:36 PM, mediapathic steen <mediap

Re: [O] Suppress table when creating gnuplot on HTML export?

2018-02-27 Thread John Kitchin
Can you just put the table in a section tagged noexport, e.g. * data :noexport: #+tblname: mydata | -2 | 0 | | -0.015 | 0 | || | | 0.015 | 1 | | 2 | 1 | John --- Professor John Kitchin Doherty Hall A207F Department of Chemical Engineering

Re: [O] mailto link for the #+email keyword: Suppressing backslash and braces "escaping" for latex exports

2018-02-26 Thread John Kitchin
Something besides: #+BEGIN_EXPORT html mailto:some...@example.com?Subject=Hello%20again; target="_top">Send Mail #+END_EXPORT or @@html:mailto:some...@example.com?Subject=Hello%20again; target="_top">Send Mail@@ ? H. Dieter Wilhelm writes: > John Kitchin <

Re: [O] Expose value-begin and value-end instead of just value in org-element API

2018-02-25 Thread John Kitchin
Nicolas Goaziou writes: > Hello, > > John Kitchin <jkitc...@andrew.cmu.edu> writes: > >> +1 on this. >> >> I also have some janky code to do things like go to the beginning/end of >> the value in a src block. Here is my solution to mark the code in a

Re: [O] src-blocks with captions do not respect attr_latex :placement options

2018-02-25 Thread John Kitchin
Nicolas Goaziou writes: > Hello, > > John Kitchin <jkitc...@andrew.cmu.edu> writes: > >> A block like this: >> >> #+attr_latex: :placement [H] >> >> #+caption: A test block >> #+BEGIN_SRC ipython >> >> 'hello' >> #+END_SRC

[O] question on org-element-interpret-data and when it works

2018-02-25 Thread John Kitchin
s. I put the point on one of those things, run this command, and then I can paste it somewhere to see that it did indeed work. But, it does not work on plain-lists, or paragraphs. I either get an empty string, or Wrong type argument: char-or-string-p, nil Is it possible to do what I am describing? Am I just mis

Re: [O] mailto link for the #+email keyword: Suppressing backslash and braces "escaping" for latex exports

2018-02-25 Thread John Kitchin
--- 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 25, 2018 at 10:01 AM, H. Dieter Wilhelm < die...@duenenhof-wilhelm.de> wrote: > Dear orgers

Re: [O] Expose value-begin and value-end instead of just value in org-element API

2018-02-20 Thread John Kitchin
-min)) (p1 (point-max))) (goto-char p0) (org-edit-src-exit) (set-mark (point)) (goto-char (+ (point) (- p1 2) John --- Professor John Kitchin Doherty Hall A207F Department of Chemical Engineering Carnegie Mellon University Pittsburgh, PA 15213 41

Re: [O] Is the ELPA repo for orgmode working?

2018-02-20 Thread John Kitchin
at https://github.com/jkitchin/scimax/issues/159 If you are on windows, it might help. John --- Professor John Kitchin Doherty Hall A207F Department of Chemical Engineering Carnegie Mellon University Pittsburgh, PA 15213 412-268-7803 @johnkitchin http

[O] help with a strange interaction of button-lock and C-c C-v C-z

2018-02-19 Thread John Kitchin
. Any ideas? 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] Converting AsciiDoc to org-mode, preserving index entries

2018-02-19 Thread John Kitchin
would pass through the pandoc untouched, and afterwards, go back through and replace the uuid with the #+INDEX entries. I don't know if that is worth the effort, but it might get you a faster org-doc than bug reporting :) John --- Professor John Kitchin Doherty

[O] image thumbnails of files in org-mode?

2018-02-17 Thread John Kitchin
I just wanted to confirm that a link like this [[./2018-02-17.org ][file:obipy-resources/33735cc07b9b0c59cfa97f851f6f0800-32111HNp.png]] does not show the thumbnail in org-mode (it does in html export). Is that the case? Thanks, John --- Professor John Kitchin

Re: [O] make svg files open in inkscape?

2018-02-17 Thread John Kitchin
t; > my-svg would eventually create a template file if the file doesn't exist, but in this form it doesn't work for files that don't exist yet. Is it expected that the files exist for file:some-file.svg when you click on them? > John > > --- > Profe

[O] make svg files open in inkscape?

2018-02-17 Thread John Kitchin
) (message "path: %s - %s" path link)) (add-to-list 'org-file-apps '("\\.svg\\'" . my-svg)) #+END_SRC but i John --- Professor John Kitchin Doherty Hall A207F Department of Chemical Engineering Carnegie Mellon University Pittsburgh, PA 15213 412-2

[O] src-blocks with captions do not respect attr_latex :placement options

2018-02-14 Thread John Kitchin
htbp" to "[htbp]". Thoughts? 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] stop results drawers from folding?

2018-02-14 Thread John Kitchin
alled in many places, e.g. org-next-block, which is called by org-babel-next-src-block. It is inconvenient when you use results drawers, as it closes them when you navigate around. It isn't obvious how to suppress that behavior. Any thoughts? John ------- Professor J

Re: [O] Ad-hoc, mix-and-match tag hierarchies?

2018-02-03 Thread John Kitchin
seems there's no prescribed way to do this. And creating tag hierarchies > by hand, i.e., (setq org-tag-alist '((:startgrouptag)..., makes me play the > combinatorics game of imagining all different possible hierarchy > combinations. Or am I missing something? > > On Thu, Feb 1, 2018

Re: [O] stop results drawers from folding?

2018-02-03 Thread John Kitchin
hm. naturally even though this has bugged me for months, publically asking about it seems to have made the issue vanish! If I figure out what the issue was I will bring it up again later. Sorry for the noise. John --- Professor John Kitchin Doherty Hall A207F

[O] stop results drawers from folding?

2018-02-01 Thread John Kitchin
? 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

Re: [O] Ad-hoc, mix-and-match tag hierarchies?

2018-02-01 Thread John Kitchin
headings that are lisp and not emacs, lisp+orgmode, etc. I am not sure about the org-mode tag. In the past, emacs splits that into :org:mode: for me. What do you want to do with the tags? John --- Professor John Kitchin Doherty Hall A207F Department of Chemical

Re: [O] setting flags in python src blocks?

2018-01-31 Thread John Kitchin
Thanks. That does work for flags the interpreter knows, but python doesn't understand --some_flag (I mean literally that flag!). It turns out I meant: python test.py --some_flag=True. It looks like that is not currently possible. John --- Professor John Kitchin

[O] setting flags in python src blocks?

2018-01-31 Thread John Kitchin
g=True test.py 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

Re: [O] export to latex but *not* export the citations

2018-01-19 Thread John Kitchin
atch-beginning 0) (match-end 0)) "") (org-latex-export-as-latex)) #+END_SRC John ------- Professor John Kitchin Doherty Hall A207F Department of Chemical Engineering Carnegie Mellon University Pittsburgh, PA 15213 412-268-7803 @johnkitchin http://kit

Re: [O] export to latex but *not* export the citations

2018-01-19 Thread John Kitchin
e pdf can be seen at [fn:1]. > > So how can I do it please? > > Thanks > Sharon. > > [fn:1] 'pdfbuild' - from tex to PDF - version 2 = > http://www.sharons.org.uk/pdfbuild2.html -- 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] change in calling remote code blocks?

2018-01-15 Thread John Kitchin
-call.org:test-block() These get returned In 8.2.10: "(remote-call.org:test-block() nil 0 nil)" In 9.1.6: "nil" I am not sure what all the differences are, but it seems to be where the change in behavior came from. John --- Professor John Kitchin

[O] change in calling remote code blocks?

2018-01-15 Thread John Kitchin
and insert the results. in org 9.1.6, this does nothing. Does anyone know if this got changed, and if there is a new way to do that? John --- Professor John Kitchin Doherty Hall A207F Department of Chemical Engineering Carnegie Mellon University Pittsburgh, PA 15213 412

Re: [O] Using org-ref to automatically download articles from Pubmed that satisfies a given search term

2018-01-09 Thread John Kitchin
I think you can do that with C-spc. 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, Jan 9, 2018 at 9:40 AM

Re: [O] filter for svg latex-export

2018-01-08 Thread John Kitchin
," options) > ! (format "{%s}" (substring options 1))) > ! (t (format "{%s}" options))) > ! path)) > (setq image-code (replace-regexp-in-string "\\.svg}" > "}" > image-code -- 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 org-ref to automatically download articles from Pubmed that satisfies a given search term

2018-01-08 Thread John Kitchin
s, > > M -- 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 org-ref to automatically download articles from Pubmed that satisfies a given search term

2018-01-08 Thread John Kitchin
how) the pdf. 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, Jan 8, 2018 at 3:32 PM, Doyley, Marvin M. <m.doy...@rochester.edu> wr

Re: [O] Bug: Org table alignment, horrible failures [9.1.5 (9.1.5-1-gb3ddb0-elpaplus @ /Users/genovese/.emacs.d/elpa/org-plus-contrib-20171225/)]

2018-01-01 Thread John Kitchin
No answer, but something like this was also posted on SO: https://emacs.stackexchange.com/questions/37828/org-mode-doesnt-align-column-bars-properly John --- Professor John Kitchin Doherty Hall A207F Department of Chemical Engineering Carnegie Mellon University

Re: [O] double underlines and external references

2017-12-13 Thread John Kitchin
other label)}}} This exports to: \uline{some label} and \uuline{some other label} John --- Professor John Kitchin Doherty Hall A207F Department of Chemical Engineering Carnegie Mellon University Pittsburgh, PA 15213 412-268-7803 @johnkitchin http

Re: [O] double underlines and external references

2017-12-13 Thread John Kitchin
of things can be done. 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 Wed, Dec 13, 2017 at 6:56 AM, Sharon Kimble

Re: [O] Parsing org table from Linux command line

2017-12-11 Thread John Kitchin
017-12-10 at 18:12 -0800, John Kitchin wrote: >> Check out Listing 7 in >> http://pubs.acs.org/doi/pdf/10.1021/acscatal.5b00538. >> >> It is a pretty minimal Python script to get data from a table. You could >> then use it to print column 3 to stdout maybe so it could get p

Re: [O] Parsing org table from Linux command line

2017-12-10 Thread John Kitchin
somehow if I have several tables with different > #+TBLNAMEs: in the same file? > > Thank you in advance! -- 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] References: simplifying org mode usage for Bibtex files

2017-11-05 Thread John Kitchin
. I have not used lentic extensively, and haven't had much luck lately using it but it seems to be made for the kind of purpose you describe. John --- Professor John Kitchin Doherty Hall A207F Department of Chemical Engineering Carnegie Mellon University Pittsburgh

Re: [O] Org latex pdf syncing

2017-09-17 Thread John Kitchin
yncing means what SyncTeX does for TeX source code, so that it > is possible to jump back and forth to the same place in the TeX and pdf > documents, the answer is the same as Nick's, that there is no built in > way to do that in Org mode. > > All the best, > Tom -- Professor John

Re: [O] org-ref, html-export, bibtex url, webpage

2017-09-11 Thread John Kitchin
Maybe it isn't in customization. Try C-h v bibtex-BibTeX-entry-alist bibtex-BibTeX-entry-alist is a variable defined in `bibtex.el'. You have to set it with some elisp code. John --- Professor John Kitchin Doherty Hall A207F Department of Chemical Engineering

Re: [O] org-ref, html-export, bibtex url, webpage

2017-09-10 Thread John Kitchin
I am pretty sure you cannot use entry types that are not defined in bibtex-BibTeX-entry-alist or bibtex-biblatex-entry-alist. You can add types to those variables to get them to work. John --- Professor John Kitchin Doherty Hall A207F Department of Chemical

Re: [O] link recognition in orgmode

2017-09-05 Thread John Kitchin
Nicolas Goaziou writes: > Hello, > > John Kitchin <jkitc...@andrew.cmu.edu> writes: > >> With this definition of a link in org-9: >> >> #+BEGIN_SRC emacs-lisp >> (org-link-set-parameters "test" :follow (lambda (path) (message "

Re: [O] mimetype for orgmode files

2017-09-05 Thread John Kitchin
>> > > text/org seems to be perfect. > > Carsten > > >> >> I’ll make the change later this week if nobody disagrees. >> >> Thanks, >> >> -- >> Bastien >> >> -- 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] mimetype for orgmode files

2017-09-04 Thread John Kitchin
Thanks for letting me know. I let the people at https://github.com/jshttp/mime-db/pull/82 know that. It looks like org might be registered as a mimetype now. Bastien Guerry writes: > Hi John, > > John Kitchin <jkitc...@andrew.cmu.edu> writes: > >> Let me know the url to t

Re: [O] disable execute script/program query

2017-09-04 Thread John Kitchin
You are looking for this page: http://orgmode.org/manual/Code-evaluation-security.html#Code-evaluation-security Just set org-confirm-shell-link-function and org-confirm-elisp-link-function to nil. John --- Professor John Kitchin Doherty Hall A207F Department

[O] link recognition in orgmode

2017-09-04 Thread John Kitchin
It seems like the "test:rtree" parts of both of these are linkified. test:rtree :test:rtree 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] is there an easier way to insert an internal link?

2017-08-24 Thread John Kitchin
I don't think this is in org-mode, but something like helm-org-in-buffer-headings has an action for doing something like that. John --- Professor John Kitchin Doherty Hall A207F Department of Chemical Engineering Carnegie Mellon University Pittsburgh, PA 15213 412

Re: [O] babel, matlab export plot to png fails

2017-08-13 Thread John Kitchin
in the png file which is not correct. But I don't > know who to achieve that just the last command is saved in a png file. > > I googled without success. Does somebody know the correct syntax? > > Thanks > > Uwe Brauer > > > -- John --- Profess

Re: [O] Escaping links

2017-08-12 Thread John Kitchin
I was thinking of something like how all PDF files start with something like %PDF-1.3. So any string that started with %org-9.0, for example would be certain to be encoded, whereas any other beginning would not be certain. Nicolas Goaziou writes: > Hello, > > John Kitch

Re: [O] Escaping links

2017-08-11 Thread John Kitchin
own limitations (e.g., no > square brackets allowed in a link); > 2. it's not possible to know if a string is percent-encoded or not; > 3. percent-encoding is not idempotent. > > Using a different escaping mechanism to solve 1 and never ever > percent-decode an URL could p

[O] how do you get an OPTIONS value during export?

2017-08-08 Thread John Kitchin
ohn --- 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

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