Re: [O] a new csl - citation style lisp ;)

2015-12-12 Thread John Kitchin
y it will be to modify backend outputs, e.g. to change how in-text citations are hyperlinked to bibliography entries, or if it would be easy to have a bibitems list prepared for LaTeX, or to export as an org-file with footnotes, or otherwise linked references, etc... We can only learn those things b

Re: [O] org-ref is not using default bibliography file

2015-12-12 Thread John Kitchin
dd-to-list 'load-path org-ref-path) > > ;; make sure you have dash, helm, helm-bibtex, ebib, s, f, hydra and > key-chord > ;; in your load-path > ;; auto-install dependencies > (require 'org-ref) > > ;; optional but very useful libraries in org-ref > (require 'doi-utils) > (require 'jmax-bibtex) > (require 'pubmed) > (require 'arxiv) > (require 'sci-id) > > #+END_SRC -- 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] Embedding and extracting license/author information in an image file

2015-12-08 Thread John Kitchin
similar for pdf, but did not find anything but external programs. > > Footnotes: > > [fn:1] https://en.wikipedia.org/wiki/Extensible_Metadata_Platform -- 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] More questions about CSL and org-mode

2015-12-08 Thread John Kitchin
ting an xml citation, and then using xslt to translate it to the format you want? Or something equivalent? Your translation would still have to be clever to avoid nested syntax, which I guess requires some recursive parsing of the output. Modifying the parse tree is more elegant than the re

Re: [O] LaTeX export with section number, name and page in internal links

2015-12-08 Thread John Kitchin
e-by-custom-id "sec" path)) > (lambda (path desc format) >(org-export-dissertation-link "sec" path (or desc "Section") format))) > > ; etc. etc. > #+END_SRC elisp > > Best, > Richard > > OpenPGP Key ID: CF6FA646 > Fingerprint: 9969 43E1 CF6F A646 > > (See http://www.ocf.berkeley.edu/~rwl/encryption.html for more information.) -- 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] More questions about CSL and org-mode

2015-12-07 Thread John Kitchin
Richard Lawrence writes: > Hi John, > > John Kitchin <jkitc...@andrew.cmu.edu> writes: > >> Hi all, >> >> This is mostly for the people working on citations in org-mode. >> >> I have been reading about CSL more this weekend. IIRC, one of t

Re: [O] More questions about CSL and org-mode

2015-12-07 Thread John Kitchin
by the way: > > https://groups.google.com/d/msg/zotero-dev/Bz_IenruxX4/24QWuyEIp_IJ > > Best, > Richard > > P.S. John, thanks for your continued research on this. I see that our > procrastination habits are on the same schedule. :) -- 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] problem with org-babel-tangle

2015-12-07 Thread John Kitchin
or into the code block and execute C-c C-v t > and I obtain > > Tangled 0 code blocks from new.org > C-c C-v f gives the same result. > > What do I miss? > > Thanks > > Uwe Brauer -- Professor John Kitchin Doherty Hall A207F Department of Chemical Engineering Carnegi

Re: [O] Two column layout from org source?

2015-12-06 Thread John Kitchin
check out http://mirrors.concertpass.com/tex-archive/macros/latex/contrib/paracol/paracol-man.pdf John --- Professor John Kitchin Doherty Hall A207F Department of Chemical Engineering Carnegie Mellon University Pittsburgh, PA 15213 412-268-7803 @johnkitchin http

[O] More questions about CSL and org-mode

2015-12-06 Thread John Kitchin
://github.com/inukshuk/citeproc-ruby The ruby one looks pretty advanced. -- 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] jabref like orgmode based solution to bibliography management (not for latex)

2015-12-05 Thread John Kitchin
othing is selected > No Actions available [8 times] > > thx again > > Z > > On Sat, Dec 5, 2015 at 3:05 PM, John Kitchin <jkitc...@andrew.cmu.edu> > wrote: > >> Try (untested) >> >> >> >> >> >> John >> >>

Re: [O] jabref like orgmode based solution to bibliography management (not for latex)

2015-12-05 Thread John Kitchin
;kloog !unpublished !prep " :candidate-number-limit 500))) 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, Dec 5

Re: [O] Citation processing via Zotero + zotxt

2015-12-05 Thread John Kitchin
Matt Lundin writes: > Hi John, > > John Kitchin <jkitc...@andrew.cmu.edu> writes: > >> If a reference type is not listed in the CSL, it also will not be >> supported by CSL I suppose. > > How is this different than biblatex or bibtex? A user could just mo

Re: [O] Citation processing via Zotero + zotxt

2015-12-04 Thread John Kitchin
> > I am not yet convinced a citation processor will get us where we want > > because of the complexity of the external dependencies, and the > > potential/probable need for us to define new CSL files for different > > backends, or at a minimum for org-formatted citations and > > bibliographies.

Re: [O] Latex export: How to handle multiple authors, emails, institutes

2015-12-04 Thread John Kitchin
ication as follows: > > #+begin_src org > ,#+latex_class: springer > # Article/chapter specific information: title, authors, institution > ,#+title: The full title of the chapter > ,#+author: The authors > ,#+latex_header: \titlerunning{The running title for lo

[O] something in between @@html:@@ and html blocks

2015-12-04 Thread John Kitchin
block it adds line breaks in the html export. Is there a regular way to avoid this, e.g. to insert a large snippet? Thanks, -- Professor John Kitchin Doherty Hall A207F Department of Chemical Engineering Carnegie Mellon University Pittsburgh, PA 15213 412-268-7803 @johnkitchin http

Re: [O] org latex/beamer math escape in a ``surrounding context'': $a$'s

2015-12-04 Thread John Kitchin
uot; do a math-escape. Is there a solution for the above (I > don't want to write $a$ 's)? Or is there a rationale behind that, so I know > when to except an escape and when no? > > Martin -- Professor John Kitchin Doherty Hall A207F Department of Chemical Engineering Carnegi

Re: [O] something in between @@html:@@ and html blocks

2015-12-04 Thread John Kitchin
I tried putting an Emacs function docstring as a tooltip and it had a paragraph break in it. On Friday, December 4, 2015, Nicolas Goaziou <m...@nicolasgoaziou.fr> wrote: > Hello, > > John Kitchin <jkitc...@andrew.cmu.edu <javascript:;>> writes: > > > I have

Re: [O] Citation processing via Zotero + zotxt

2015-12-04 Thread John Kitchin
g-ref links with pandoc syntax as a pre-filter. Alternatively, when you export markdown documents with org-ref citations, they export as pandoc syntax right now. > > Best, > Matt -- Professor John Kitchin Doherty Hall A207F Department of Chemical Engineering Carnegie Mellon University Pit

Re: [O] something in between @@html:@@ and html blocks

2015-12-04 Thread John Kitchin
it doesn't seem to work. Eric S Fraga writes: > On Friday, 4 Dec 2015 at 10:43, John Kitchin wrote: >> I have an intermediate use case that isn't covered by html snippets or >> blocks, and I wondered if there is a solution to it. >> >> What I want is to put a larg

Re: [O] something in between @@html:@@ and html blocks

2015-12-04 Thread John Kitchin
Rasmus writes: > John Kitchin <jkitc...@andrew.cmu.edu> writes: > >> I have an intermediate use case that isn't covered by html snippets or >> blocks, and I wondered if there is a solution to it. >> >> What I want is to put a large tooltip on a link in html

Re: [O] LaTeX export with section number, name and page in internal links

2015-12-03 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 Thu, Dec 3, 2015 at 6:08 AM, Ilya <filip83...@yandex.ru> wrote: > I export my Org-M

Re: [O] Citation processing via Zotero + zotxt

2015-12-03 Thread John Kitchin
uld actually be the simpler route. It can parse bibtex files directly > and (as a filter within pandoc) can output formatted citations in org > format. > > As a GNU/Linux user, I would find installing zotero and all the add-ons > messier and more cumbersome than installing pandoc and/

Re: [O] refontifying links

2015-12-03 Thread John Kitchin
b of third-party > dependencies to “work” at all. It’s a delicate balance... Agreed. The documents are still plain text in the end, and readable if you do it right. -- 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] Citation processing via Zotero + zotxt

2015-12-03 Thread John Kitchin
t (:delimiter "," :vertical-align "sup") (text (:variable "citation-number" It might start making more sense to think of a lisp based citation processor. It might even address some limitations of bib(la)tex. Now, about those cross-references a

Re: [O] a post-processing export hook?

2015-12-02 Thread John Kitchin
Rasmus writes: > John Kitchin <jkitc...@andrew.cmu.edu> writes: > >> Hi all, >> >> I tried using org-export-before-parsing-hook to modify an org-file prior >> to export to replace some regular expressions with html. >> >> I ran i

Re: [O] asynchronous python code blocks in org-mode

2015-12-01 Thread John Kitchin
Tom writes: > On Mon, Nov 30, 2015 at 1:06 PM, John Kitchin <jkitc...@andrew.cmu.edu> > wrote: > >> I have not thought about sessions and asynchronous execution. It would >> mean a queue and a different way to pass code to the process, which I >> have not tho

[O] a post-processing export hook?

2015-12-01 Thread John Kitchin
d have used a filter on a paragraph, which is where most of the things I was modifying were. Is there some other way I could have done this? -- 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] asynchronous python code blocks in org-mode

2015-11-30 Thread John Kitchin
Karl Voit writes: > * John Kitchin <jkitc...@andrew.cmu.edu> wrote: >> Hi everyone, > > Hi John! > >> I worked out some ideas on running Python blocks asynchronously in >> org-mode, while seeing the output of the code, /and/ still capturing the >> outp

Re: [O] Scripting with org-mode

2015-11-30 Thread John Kitchin
able to execute the entire file, and produce > one single output. > > Is this possible? > > SK -- 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] Scripting with org-mode

2015-11-30 Thread John Kitchin
of course there is a simpler way ;) 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, Nov 30, 2015 at 3:22 PM

Re: [O] inserting a copy of an element at point (timestamps)

2015-11-30 Thread John Kitchin
(org-timestamp-change 7 'dat) ))) > ) > > What's the real solution? Thank you, > Matt -- 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] Citation processing via Zotero + zotxt

2015-11-30 Thread John Kitchin
be independent of the citation processing, and is only related to the functions available when you click on a citation. Notes can be accessed via helm-bibtex too. > > Best regards, > Martin Yrjölä > > [1] https://github.com/jkitchin/org-ref > [2] https://www.zotero.org/support/d

[O] refontifying links

2015-11-24 Thread John Kitchin
][Some text I want colored]] and have it show in my buffer in Orangered1. Any thoughts? -- 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-preview-latex-fragment for @@latex:stuff@@?

2015-11-24 Thread John Kitchin
It can be, but a more typical one I use is \ce{Cu_{1-x}Pd_{x}} and that has to be wrapped in @@latex:...@@. John --- Professor John Kitchin Doherty Hall A207F Department of Chemical Engineering Carnegie Mellon University Pittsburgh, PA 15213 412-268-7803

Re: [O] org-preview-latex-fragment for @@latex:stuff@@?

2015-11-23 Thread John Kitchin
are good ones though, there could be many things that don't make sense to preview in these. Rasmus writes: > John Kitchin <jkitc...@andrew.cmu.edu> writes: > >> Should the inline latex fragments like @@latex:\ce{H_{2}O}@@ be >> previewable in org files with org-preview-latex-fr

Re: [O] Conditional link export?

2015-11-22 Thread John Kitchin
inserted as raw Org text. This is the > same as writing text in an Org document before exporting it. As > a consequence, these results are escaped during the export process. > > You could wrap the results in an export snippet, e.g., > > (format "@@html:http://some.place/%s\;>%s@@" arg1 arg2) > > > 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 can I wrap the subscript into a math environment in Org-mode?

2015-11-22 Thread John Kitchin
ironment) > However, the results exported are like B\($_{\text{25}}$ \). It seems > like the subscript filter contents only contain _25 part. Does anyone > have some solutions about this? -- 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] adding attributes to tables in results

2015-11-21 Thread John Kitchin
echo $data #+end_src #+BEGIN_SRC emacs-lisp :post attr_wrap(*this*) (list (+ 2 4) 4 5) #+END_SRC #+RESULTS: : #+ATTR_LATEX: :environment longtable : 6 4 5 Does anyone know a way to have a code block output a table with attributes (besides printing them as strings with raw output)? -- Professor

Re: [O] adding attributes to tables in results

2015-11-21 Thread John Kitchin
Thanks. That gets me pretty close to what I want. Charles C. Berry writes: > On Sat, 21 Nov 2015, John Kitchin wrote: > >> Hi everyone, >> >> I am trying to figure out a way to automatically add some attributes to >> tables generated from code blocks. >> >

Re: [O] adding attributes to tables in results

2015-11-21 Thread John Kitchin
C-c ' on them to get them in org, and I also want them functional in the org-buffer too. Vikas Rawal writes: > John, > > Just curious. What advantage do you see in adding these attributes to the > code block, and not directly to the result? > > Vikas > > > >>

[O] org-preview-latex-fragment for @@latex:stuff@@?

2015-11-21 Thread John Kitchin
Should the inline latex fragments like @@latex:\ce{H_{2}O}@@ be previewable in org files with org-preview-latex-fragment? They don't seem to be, and just wanted to confirm that is intended behavior. Thanks, -- Professor John Kitchin Doherty Hall A207F Department of Chemical Engineering Carnegie

Re: [O] How does org mode write to a file?

2015-11-21 Thread John Kitchin
ad-file tip from before. However, it seems > to tangle everything in the file, then does load-file. I do want the > finer-grained control of LOB where I can specify which code blocks to make > live. But then maybe I should just roll my own.. . . . > > LB > > > > > On Sat, N

Re: [O] adding attributes to tables in results

2015-11-21 Thread John Kitchin
ronment longtable |40|51|32|51|32|51|41| Charles C. Berry writes: > On Sat, 21 Nov 2015, John Kitchin wrote: > >> I am running a search committee of 5 people. As applications come in, an >> org heading is created for each application, and I run a command to send >> o

[O] asynchronous python code blocks in org-mode

2015-11-20 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

Re: [O] long running processes

2015-11-19 Thread John Kitchin
Your suggestions sounds possible to me. If you are up for it, I suggest trying to implement it, and offering it as a patch. Tom writes: > On Wed, Nov 18, 2015 at 2:55 PM, John Kitchin <jkitc...@andrew.cmu.edu> > wrote: > >> I am pretty sure this is not directly possible

Re: [O] long running processes

2015-11-18 Thread John Kitchin
unning functions from within org-mode and see the progress of the > computation as it happens. > > Tom -- 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] images rendering after execution?

2015-11-18 Thread John Kitchin
gt; blocks inline immediately? None of the options I found in the documentation > seemed to work. > > Thanks, > Tom -- 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] Emacs+org-mode in a Docker?

2015-11-09 Thread John Kitchin
This sounds a lot like what I have in mind. Have you tried doing this yet? Grant Rettke writes: > On Wed, Nov 4, 2015 at 7:07 PM, John Kitchin <jkitc...@andrew.cmu.edu> wrote: >> Thanks for all the notes! It looks like a not too trivial exercise that >> might have to be a

Re: [O] Org and Citations / References / Bibliography

2015-11-06 Thread John Kitchin
l4_dg][org-ref video]] and > [[https://github.com/jkitchin/jmax/blob/master/org-ref.org][org-rel github > site]] for further details (John Kitchin) > #+begin_src emacs-lisp > (use-package ebib > :ensure t > ) > (use-package dash > :ensure t > ) > (use-package s &g

Re: [O] Conditional link export?

2015-11-06 Thread John Kitchin
[[https://www.gnu.org/software/emacs/manual/html_node/emacs/Packages.html]] > #endif > > Oleh -- 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 and Citations / References / Bibliography

2015-11-05 Thread John Kitchin
the .bib file. > > Any suggestions what I can do, any simple / minimalistic init.el file > which I can merge into my config? > > Thanks, > > Rainer > > > Footnotes: > [1] > http://kitchingroup.cheme.cmu.edu/blog/2014/05/13/Using-org-ref-for-citations-and-re

Re: [O] Emacs+org-mode in a Docker?

2015-11-04 Thread John Kitchin
it’s pretty trivial to do a backup: > > $ docker run --rm --volumes-from dbdata -v $(pwd):/backup debian tar cvf > /backup/backup.tar /var/lib/postgresql/data > > ** Above should create a tarball of everything in the volume (the official > postgres Dockerfile defines a volume at /va

Re: [O] How does Library of Babel actually work?

2015-10-31 Thread John Kitchin
C and you will get 8. org-babel-load This isn't possible in other languages. You can of course have an elisp block to tangle f1.org, and then if it was python, for example, you could import the functions in a python block. John --- Professor John Kitchin Doherty

Re: [O] Babel: How to call code in one org file into another org file

2015-10-30 Thread John Kitchin
file1.org: > ... > #+begin_src lisp > (defun foo () >(...)) > #+end_src > > is then called from. . . > > file2.org: > ... > #+begin_src lisp > (defun baa () > (foo)) > #+end_src > > > LB -- Professor John Kitchin Doherty Hall A207F Departm

Re: [O] Babel: How to call code in one org file into another org file

2015-10-30 Thread John Kitchin
Odd. I found this I wrote before http://kitchingroup.cheme.cmu.edu/blog/2014/06/24/Using-org-files-like-el-files/ What org version do you have? On October 30, 2015, at 10:15 PM, Lawrence Bottorff <borg...@gmail.com> wrote: @John Kitchin: I can't seem to find a `org-babel-load-file`.  

[O] Emacs+org-mode in a Docker?

2015-10-30 Thread John Kitchin
Has anyone tried setting up a Docker with an Emacs and org-mode setup? I am looking for some kind of solution like this to use with some students. Any thoughts? Thanks, -- Professor John Kitchin Doherty Hall A207F Department of Chemical Engineering Carnegie Mellon University Pittsburgh, PA

Re: [O] Links in comments

2015-10-28 Thread John Kitchin
main text? Even within a COMMENT section say? -- 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] pdflatex not found?

2015-10-27 Thread John Kitchin
to ~/.tcshrc seems to fix the > >> problem. That makes sense, but leaves two questions: > >> > >> 1) Why am I able to run pdflatex (without specifying the path) just > >> from the shell running in a terminal window? > >> > >> 2) What's the point of defining the emacs exec-path, since I needed > >> to define the shell's PATH variable anyway? > >> > > FWIW, I never define exec-path explicitly: it is set from my $PATH when > emacs starts. > > -- > Nick > > > > -- 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] [PATCH] org-id-goto doesn't work if buffer is narrowed.

2015-10-25 Thread John Kitchin
dangling markers! I guess you would want to use more global variables, so there would only be two. and hopefully you don't follow multiple id links through narrowed buffers in a row! Rasmus writes: > John Kitchin <jkitc...@andrew.cmu.edu> writes: > >> I like the idea too. I worked out

Re: [O] Org-mode reinvented?

2015-10-25 Thread John Kitchin
eresting thing to implement in Org-mode. > > Best, -- 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] [PATCH] org-id-goto doesn't work if buffer is narrowed.

2015-10-24 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 Sat, Oct 24, 2015 at 8:47 AM, Rasmus <ras...@gmx.us> wrote: > John Kitchin <jkitc...@andrew.cmu

Re: [O] [PATCH] org-id-goto doesn't work if buffer is narrowed.

2015-10-24 Thread John Kitchin
> > > >> On Fri, Oct 23, 2015 at 8:57 PM, Rasmus wrote: > >>> It's not obvious that org should change a—potentially—carefully > selected > >>> narrowed region. > >> > >> I agree. But, am I not explicitly asking to jump to the specified > >> item. I don't mind the widening, at least

Re: [O] [PATCH] org-id-goto doesn't work if buffer is narrowed.

2015-10-23 Thread John Kitchin
orks for this case. > > You mean, display the entry in a new buffer, and any changes will be > applied onto the original entry too? -- 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] Suppress export of Abstract block?

2015-10-23 Thread John Kitchin
ml "html-marked.html") Lawrence Bottorff writes: > How would I suppress the > > #+begin_abstract > ... > #+end_abstract > > block content, specifically for the HTML export? :exports none doesn't seem > to work. I saw the drawer hide, but this a block, not a drawer...

Re: [O] prompt for deadline in capture template?

2015-10-22 Thread John Kitchin
I just type C-c C-d and add it while the capture is open. Xebar Saram writes: > Hi guys > > i looked in the capture docu but couldn't seem to find it. anyone knows how > to prompt for deadline in capture template? > > thx! > > Z -- Professor John Kitchin Doher

Re: [O] preparing a R course in org for slides..can i link back to org document?

2015-10-21 Thread John Kitchin
t;> [1] https://github.com/avdi/org-tree-slide >> >> [2] http://orgmode.org/worg/org-tutorials/non-beamer-presentations.html >> >> -- >> : Eric S Fraga (0xFFFCF67D), Emacs 24.5.1, Org release_8.3beta-1229-ge900eb >> -- 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] Bizarre C-c ' error

2015-10-21 Thread John Kitchin
st > needs a backquote too. This has been a hair-pulling, all-time-top-ten bug, > to be sure. And diff shows only this problem on the whole LEIBNIZ.CL file. > Any ideas what's causing this? > > Lb -- 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] function to cycle through specific org files?

2015-10-19 Thread John Kitchin
ant to cycle (ie open and show in the emacs window) through: > A.org B.org C.org > i want to use ie A-left and A-right to open (if not already) and cycle > through these files. any one has such a system? > > best > > Z -- Professor John Kitchin Doherty Hall A207F Depart

[O] org-map-entries on heading?

2015-10-17 Thread John Kitchin
tml that ITEM should contain the headline with stars, but it doesn't seem to be accessible in org-map-entries. 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] :point-entered and :point-left on text in org-mode?

2015-10-13 Thread John Kitchin
, or display a message about the link. I think it would be better than using post-command-hook, and simpler than the idle-timer approach I have been using. Is there some other canonical way to execute code on entering a region? Thanks! -- Professor John Kitchin Doherty Hall A207F Department

Re: [O] line numbers in org src blocks?

2015-10-13 Thread John Kitchin
I meant in the org-file buffer. The numbers in export are pretty straightforward. I made a partial solution here: http://kitchingroup.cheme.cmu.edu/blog/2015/10/13/Line-numbers-in-org-mode-code-blocks/ It works pretty well I think. Nick Dokos writes: > John Kitchin andrew.cmu.edu>

[O] line numbers in org src blocks?

2015-10-12 Thread John Kitchin
Does anyone know if it is possible to get line numbering only in code blocks in an 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

Re: [O] multi letter agenda commands

2015-10-11 Thread John Kitchin
e=\"Asian\"" > ( > (org-agenda-files '("~/org/files/agenda/food.org")) > (org-agenda-sorting-strategy '(priority-down)) ;; Sort by priority > where priority goes first. > > ) > ) > > where i would press f then a or c to launch the appropriate agenda command > > thx so much > > Z -- 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] Minning Org-files

2015-10-10 Thread John Kitchin
making the search term a variable ? > >> On Oct 9, 2015, at 1:24 PM, John Kitchin <jkitc...@andrew.cmu.edu> wrote: >> >> You can do something like this: >> >> By TODO keyword to grab the DONE entries. >> >> #+BEGIN_SRC emacs-lisp >> (let ((e

Re: [O] Minning Org-files

2015-10-09 Thread John Kitchin
ng > 333 Hopeman Engineering Building > Rochester NY 14627 -- 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] Suggestion for automatic latex rendering

2015-10-09 Thread John Kitchin
b/yWPiuydGnjsCgOoO5B7qr4DxqK5l8+IePcRZBeZpaM767U > lEf0gRMbA030q+UXhAbbKN0Kn8s0K+SDt0yAer1/NE9PDGeObIWiOwHXz3nA61E= > =PPw+ > -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] Readcube

2015-10-09 Thread John Kitchin
you would have to find an applescript api I think. Look at some examples in org-mac-link http://orgmode.org/worg/org-contrib/org-mac-link.html or this project https://github.com/claviclaws/org-mac-protocol. John --- Professor John Kitchin Doherty Hall A207F

Re: [O] (org-element-context) :end property

2015-10-04 Thread John Kitchin
the revised unlinkify function (and a hydra with the > org-link-edit functions) are here: > > https://github.com/abo-abo/hydra/wiki/Org-mode-links > > All the best, > Tom -- 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] emacs-lisp babel won't print

2015-09-25 Thread John Kitchin
ced no output." in Messages. > Why can't it print out? Same code works fine in the IELM buffer. > > LB -- 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] tangle on export

2015-09-24 Thread John Kitchin
be compiled and actually compile it. Is there > a header I should put on the "hello" block to tangle it when I export > it? > > Thanks, > > Alan > > -- > OpenPGP Key ID : 040D0A3B4ED2E5C7 > Athmospheric CO₂ (Updated September 22, 2015, Mauna Loa Obs.): 397

Re: [O] html export list of figures

2015-09-24 Thread John Kitchin
ables > > > > > > Exporting latex provides > > > > > > #+LATEX: \listoffigures > > > > > > To complement > > > > > > #+LATEX: \tableofcontents > > > #+LATEX: \listoftables > > > > > > But I s

Re: [O] html export list of figures

2015-09-23 Thread John Kitchin
t; > Am I missing something? > > Thanks, > > Malcolm Cook -- 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] Set or update timestamp after evaluation of code block?

2015-09-21 Thread John Kitchin
; Thanks - sounds possible? But if I just use > > , > | :post (org-time-stamp-inactive) > ` > > 1) an input is required and > 2) the time stamp is inserted before the #+begin_src and makes the block > invalid. > > How can I put the time stamp in the line afte

Re: [O] Set or update timestamp after evaluation of code block?

2015-09-21 Thread John Kitchin
t;) (kill-line)) (insert (concat "# Last run: " (format-time-string "[%Y-%m-%d %a %H:%M:%S]" (current-time)) (add-hook 'org-babel-after-execute-hook 'j-add-ts) ;(remove-hook 'org-babel-after-execute-hook ; 'j-add-ts) #+END_SRC

Re: [O] A book produced using Org

2015-09-20 Thread John Kitchin
ion for the FAO document repository. > > Let me put the files in a github repo and share the link. > > Vikas -- 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] All TODOs are equal, but some are more equal than others...

2015-09-20 Thread John Kitchin
Could you just make a todo keyword called ASAP or use a tag to differentiate them? Then use a more specific tag search on the agenda? On September 20, 2015, at 7:55 AM, Marcin Borkowski wrote: Dear collective Org-mind, I really want to use the global todo list, but it's not

Re: [O] create vector-graphics with org-babel

2015-09-09 Thread John Kitchin
ent. > > Another interesting thing to know is how I can change the DPI of the > produced png? > > best Max -- 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] paste from clip to code block

2015-09-07 Thread John Kitchin
Neat. Do you have some handy way to store a link to the source block, or jump to them? Grant Rettke writes: > On Thu, May 7, 2015 at 2:59 AM, Sebastien Vauban > <sva-n...@mygooglest.com> wrote: >> John Kitchin wrote: >>> I have these templates defined in my setup: &

Re: [O] paste from clip to code block

2015-09-07 Thread John Kitchin
(label) (org-mark-ring-push) (widen) (goto-char (point-min)) (re-search-forward (regexp-quote (format "#+NAME: %s" label))) (beginning-of-line))) #+END_SRC it only works in the current file though. Grant Rettke writes: > On Mon, Sep 7, 2015 at 9:09 AM, John Kitchin &

Re: [O] shell scripts in yasnippet?

2015-09-06 Thread John Kitchin
"#+BEGIN_QUOTE: %s ,#+END_QUOTE " (shell-command-to-string "fortune")) #+END_SRC #+BEGIN_SRC emacs-lisp :exports none (let ((org-export-babel-evaluate t)) (browse-url (org-html-export-to-html nil t))) #+END_SRC Tobias Frischholz writes: > On 05 Sep 2015, at 00:19, John Kitchin &

Re: [O] shell scripts in yasnippet?

2015-09-04 Thread John Kitchin
write its > results in the text file. > > Specifically, I’m want to run “fortune” and put the results in a > #+BEGIN_QUOTE…#+END_QUOTE block. > Would that be possible? > Best regards, > Tobias Frischholz > > PGP PUBLIC KEY: http://pgp.mit.edu/pks/lookup?search=0xCD463AC1=ind

Re: [O] emacs & org mode for scholars questions

2015-09-04 Thread John Kitchin
t; > I was really blown away by org-ref. It’s a great package. I love, for > instance, the citation displayed in the minibuffer when the cursor is > on a cite. If you need help with the MELPA packaging process, let me > know. > > best, Erik > > On Wed, 02 Sep 2015 03:40:

Re: [O] using dates as property?

2015-09-04 Thread John Kitchin
> or newest first. they are visible and binary-searchable. > works perfectly for me. -- 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] emacs & org mode for scholars questions

2015-09-02 Thread John Kitchin
Emacs >> developers should be concentrating on to make it an even better tool >> for the scholarly community. >> >> I’m wondering if you any of you might have any suggestions about what >> you would like to see Emacs do better to support the scholarly writing >>

Re: [O] students, classes, assignments...

2015-09-01 Thread John Kitchin
scraw...@gmail.com writes: > On Tue, Sep 01, 2015 at 06:13:00AM -0400, John Kitchin wrote: >> It depends a lot on what you want to be able to do. Do you need reports >> of what is completed? aggregated grades, etc... >> >> Here is what I do: https://www.youtube.com/wat

Re: [O] students, classes, assignments...

2015-09-01 Thread John Kitchin
tudent with Classwork, Homework, > and Assessment headings, maybe checkboxes to indicate completion; A date-tree > in a file with the Homework and due dates--something along those lines. > > Any ideas would be appreciated. I know a bunch of you are teachers... -- Professor John Kitc

Re: [O] gnuplot: plotting students' progress of grades

2015-09-01 Thread John Kitchin
ut your gnuplot code here >> #+end_src > > The problem for the OP will be that the data are in rows instead of > columns and gnuplot will only plot columns (selected using > "using"). The table needs to be transposed first (which is possible but > don't ask me how ;-)

[O] using dates as property?

2015-08-31 Thread John Kitchin
:URL: http://some.place.edu/some-person :END: *** [2010-02-02 Tue] Title :PROPERTIES: :DATE: [2010-02-02 Tue] :END: *** [2015-09-01 Tue] Title... :PROPERTIES: :DATE: [2015-09-01 Tue] :END: Thanks! -- Professor John Kitchin Doherty Hall A207F Department

Re: [O] emacs org mode for scholars questions

2015-08-27 Thread John Kitchin
Kitchin jkitc...@andrew.cmu.edu wrote: What would make it even better? Not imposing Helm on the user? (I know nothing about Helm, but I use Icicles.) Best, -- Professor John Kitchin Doherty Hall A207F Department of Chemical Engineering Carnegie Mellon University Pittsburgh, PA 15213 412-268-7803

<    5   6   7   8   9   10   11   12   13   14   >