Re: [EXT] Problem with org-ref

2021-03-10 Thread Marvin M. Doyley
HI Kyle,

This solved my problems

 Thanks, 

M




> On Mar 9, 2021, at 11:49 PM, Kyle Meyer  wrote:
> 
> Marvin M. Doyley writes:
> 
>> Hi there,
>> 
>> When I use crossref-add-bibtex-entry it download the BibTeX entry but cannot 
>> download the associated pdf.
>> I get the following error  (wrong-type-argument stringp 
>> ("/Users/doyley/Dropbox/Filing_Cabinet/B/refs/pdf/“))
>> 
>> I configured org-ref as follows
>> 
>> (setq org-ref-bibliography-notes 
>> '("/Users/doyley/Dropbox/Filing_Cabinet/B/refs/ref_notes.org") 
>>  org-ref-default-bibliography 
>> '("/Users/doyley/Dropbox/Filing_Cabinet/B/refs/ref.bib") 
>>  org-ref-pdf-directory 
>> '("/Users/doyley/Dropbox/Filing_Cabinet/B/refs/pdf/")
>>org-ref-notes-citation-link '("cite")
>>  )
> 
> [ Caveat: I've never used org-ref ]
> 
> org-ref's 0383cc2 (support multiple pdf directories, 2016-06-10) updated
> org-ref-pdf-directory to accept a list value, so your value is valid,
> but...
> 
>> Debugger entered--Lisp error: (wrong-type-argument stringp 
>> ("/Users/doyley/Dropbox/Filing_Cabinet/B/refs/pdf/"))
>>  file-name-as-directory(("/Users/doyley/Dropbox/Filing_Cabinet/B/refs/pdf/"))
>>  doi-utils-get-bibtex-entry-pdf(nil)
> 
> ... doi-utils-get-bibtex-entry-pdf wasn't updated for that (+cc the
> author of that commit and John Kitchin).
> 
> It looks like org-ref-pdf-directory still supports a string, though, and
> you only have one item, so you should be able to work around the issue
> with
> 
>  (setq org-ref-pdf-directory 
> "/Users/doyley/Dropbox/Filing_Cabinet/B/refs/pdf/")



Problem with org-ref

2021-03-08 Thread Marvin M. Doyley
 ... 
...) (f3 lambda nil ... ...) (f2 lambda nil ... ...) (menu-bar keymap ...) 
(help keymap ...) (23 . #f(compiled-function () ... #)) (f1 lambda nil ... ...) (8 keymap ... ... ... ... ...) (20 . 
helm-toggle-resplit-and-swap-windows) (C-tab . undefined) (67108897 . 
helm-toggle-suspend-update) (3 keymap ... ... ... ... ... ... ... ... ... ... 
... ... ... ... ... ... ... ... ... ... ...) (67108987 . helm-enlarge-window) 
(67108989 . helm-narrow-window) ...) (action . helm-type-command-actions) 
(persistent-action . helm-M-x-persistent-action) (persistent-help . "Describe 
this command") (help-message . helm-M-x-help-message) (requires-pattern . 0) 
(filtered-candidate-transformer helm-M-x-transformer-no-sort 
helm-fuzzy-highlight-matches) (volatile . t) (match . identity) (redisplay . 
identity) (nomark . t) (coerce . helm-symbolify) (header-line . "C-j: Describe 
this command (keeping se...") (must-match . t) (group . helm-command) 
(match-dynamic . t))) nil "M-x " nil nil "*helm M-x*" nil nil 
helm-M-x-input-history))
  helm(:sources (((name . "Emacs Commands history") (candidates . 
#f(compiled-function () #)) (keymap keymap (keymap 
...) keymap (21 . helm-M-x-universal-argument) keymap (127 . 
delete-backward-char) (27 keymap ...) (C-return . helm-cr-empty-string) keymap 
(tab . helm-execute-persistent-action) (normal-state keymap "Auxiliary keymap 
for Normal stat..." ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... 
... ... ... ... ... ...) (insert-state keymap "Auxiliary keymap for Insert 
stat..." ... ... ... ... ... ... ... ...) (\(insert\ normal\)-state keymap 
"Auxiliary keymap for (insert nor...") (26 . helm-select-action) (f13 lambda 
nil ... ...) (f12 lambda nil ... ...) (f11 lambda nil ... ...) (f10 lambda nil 
... ...) (f9 lambda nil ... ...) (f8 lambda nil ... ...) (f7 lambda nil ... 
...) (f6 lambda nil ... ...) (f5 lambda nil ... ...) (f4 lambda nil ... ...) 
(f3 lambda nil ... ...) (f2 lambda nil ... ...) (menu-bar keymap ...) (help 
keymap ...) (23 . #f(compiled-function () ... #)) (f1 
lambda nil ... ...) (8 keymap ... ... ... ... ...) ...) (action . 
helm-type-command-actions) (persistent-action . helm-M-x-persistent-action) 
(persistent-help . "Describe this command") (help-message . 
helm-M-x-help-message) (requires-pattern . 0) (filtered-candidate-transformer 
helm-M-x-transformer-no-sort helm-fuzzy-highlight-matches) (volatile . t) 
(match . identity) (redisplay . identity) (nomark . t) (coerce . 
helm-symbolify) (header-line . "C-j: Describe this command (keep...") 
(must-match . t) (group . helm-command) (match-dynamic . t)) ((name . "Emacs 
Commands") (candidates . #f(compiled-function () #)) 
(keymap keymap (keymap ...) keymap (21 . helm-M-x-universal-argument) keymap 
(127 . delete-backward-char) (27 keymap ...) (C-return . helm-cr-empty-string) 
keymap (tab . helm-execute-persistent-action) (normal-state keymap "Auxiliary 
keymap for Normal stat..." ... ... ... ... ... ... ... ... ... ... ... ... ... 
... ... ... ... ... ... ... ...) (insert-state keymap "Auxiliary keymap for 
Insert stat..." ... ... ... ... ... ... ... ...) (\(insert\ normal\)-state 
keymap "Auxiliary keymap for (insert nor...") (26 . helm-select-action) (f13 
lambda nil ... ...) (f12 lambda nil ... ...) (f11 lambda nil ... ...) (f10 
lambda nil ... ...) (f9 lambda nil ... ...) (f8 lambda nil ... ...) (f7 lambda 
nil ... ...) (f6 lambda nil ... ...) (f5 lambda nil ... ...) (f4 lambda nil ... 
...) (f3 lambda nil ... ...) (f2 lambda nil ... ...) (menu-bar keymap ...) 
(help keymap ...) (23 . #f(compiled-function () ... #)) (f1 lambda nil ... ...) (8 keymap ... ... ... ... ...) ...) 
(action . helm-type-command-actions) (persistent-action . 
helm-M-x-persistent-action) (persistent-help . "Describe this command") 
(help-message . helm-M-x-help-message) (requires-pattern . 0) 
(filtered-candidate-transformer helm-M-x-transformer-no-sort 
helm-fuzzy-highlight-matches) (volatile . t) (match . identity) (redisplay . 
identity) (nomark . t) (coerce . helm-symbolify) (header-line . "C-j: Describe 
this command (keep...") (must-match . t) (group . helm-command) (match-dynamic 
. t))) :prompt "M-x " :buffer "*helm M-x*" :history helm-M-x-input-history)
  helm-M-x-read-extended-command([okr LaTeX-length-list 
ansi-color-apply-overlay-face epg-context-signers 
reftex-untie-multifile-symbols 0 rng-what-schema vc-git-stash-snapshot 
TeX-command-Biber reftex-default-bibliography pdf-cache-renderpage-highlight 
pdf-cache-pagelinks semantic-tag-write-list-slot-value markdown-match-bold 
evil-replace-alist LaTeX-item-tabular* helm-type-timers-actions 
biblio--selection-insert template nsm-permanent-host-settings 
doom-modeline-eldoc-bar mixal gnus-summary-recenter ob-ipython--create-repl 
cl-print--preprocess semantic--tag-unlink-list-from

Re: [EXT] Org-ref-helm-insert-cite-link

2021-02-23 Thread Marvin M. Doyley
Installing bibtex-completion fixed the problem








> On Feb 23, 2021, at 5:53 PM, Kyle Meyer  wrote:
> 
> Marvin M. Doyley writes:
> 
>> Hi there,
>> 
>> For some reason org-ref-helm-insert-cite-link is not working anymore
>> for me. When I try to execute it, I get the following error
>> helm-bibtex-candidates-formatter: Symbol’s function definition is
>> void: bibtex-completion-candidates-formatter
> 
> I don't use org-ref or helm-bibtex, but, based on poking around in their
> repos, helm-bibtex removed bibtex-completion-candidates-formatter way
> back in 390e9c3 (move helm-specific code to helm-bibtex.el, 2016-09-27),
> which in turn led to 400c4f4 (use helm-bibtex-candidates-formatter,
> 2016-10-01) on org-ref's side.  So...
> 
>> Does anybody know how to fix this?
> 
> ... while it's not really a satisfying answer, I suspect your issue will
> be fixed by uninstalling both packages, including the *.elc files, and
> reinstalling.



Re: [EXT] Org-ref-helm-insert-cite-link

2021-02-23 Thread Marvin M. Doyley
Thanks Kyle,

I deleted both packages, but the problem still persists.

I am using the latest version of org and help-bibtex-2.0.0 that I just pulled 
from Melpa. I also pulled the latest version org-ref

Strange but I will keep digging 

Cheers,
M






> On Feb 23, 2021, at 5:53 PM, Kyle Meyer  wrote:
> 
> Marvin M. Doyley writes:
> 
>> Hi there,
>> 
>> For some reason org-ref-helm-insert-cite-link is not working anymore
>> for me. When I try to execute it, I get the following error
>> helm-bibtex-candidates-formatter: Symbol’s function definition is
>> void: bibtex-completion-candidates-formatter
> 
> I don't use org-ref or helm-bibtex, but, based on poking around in their
> repos, helm-bibtex removed bibtex-completion-candidates-formatter way
> back in 390e9c3 (move helm-specific code to helm-bibtex.el, 2016-09-27),
> which in turn led to 400c4f4 (use helm-bibtex-candidates-formatter,
> 2016-10-01) on org-ref's side.  So...
> 
>> Does anybody know how to fix this?
> 
> ... while it's not really a satisfying answer, I suspect your issue will
> be fixed by uninstalling both packages, including the *.elc files, and
> reinstalling.



Org-ref-helm-insert-cite-link

2021-02-23 Thread Marvin M. Doyley
) (19 . undefined) (24 keymap ... ... ... ... ... 
... ... ... ... ... ... ...) (11 . helm-delete-minibuffer-contents) (67108896 . 
helm-toggle-visible-mark-forward) (0 . helm-toggle-visible-mark) (C-M-up . 
helm-scroll-other-window-down) (C-M-down . helm-scroll-other-window) (M-prior . 
helm-scroll-other-window-down) ...) (action ("Open PDF file (if present)" . 
helm-bibtex-open-pdf) ("Insert citation" . helm-bibtex-insert-citation) ("Open 
PDF, URL or DOI" . helm-bibtex-open-any) ("Open URL or DOI in browser" . 
helm-bibtex-open-url-or-doi) ("Insert reference" . 
helm-bibtex-insert-reference) ("Insert BibTeX key" . helm-bibtex-insert-key) 
("Insert BibTeX entry" . helm-bibtex-insert-bibtex) ("Insert formatted 
citation(s)" lambda ... ...) ("Attach PDF to email" . 
helm-bibtex-add-PDF-attachment) ("Edit notes" . helm-bibtex-edit-notes) ("Show 
entry" . helm-bibtex-show-entry) ("Add keywords to entries" . 
org-ref-helm-tag-entries) ("Copy entry to clipboard" . 
bibtex-completion-copy-candidate) ("Add PDF to library" . 
helm-bibtex-add-pdf-to-library)) (requires-pattern . 0) 
(filtered-candidate-transformer helm-bibtex-candidates-formatter 
helm-fuzzy-highlight-matches) (match helm-mm-exact-match helm-mm-match) 
(redisplay . identity) (header-line . "C-j: Open PDF file (if present) 
(keepi...") (multimatch . t) (group . helm)) ((name . "Fallback options") 
(match (lambda ... t)) (candidates . bibtex-completion-fallback-candidates) 
(no-matchplugin) (nohighlight) (action . bibtex-completion-fallback-action))) 
nil nil nil nil "*helm bibtex*" nil nil nil))
  helm(:sources (((name . "BibTeX entries") (init . bibtex-completion-init) 
(candidates . bibtex-completion-candidates) (keymap keymap (tab . 
helm-execute-persistent-action) (normal-state keymap "Auxiliary keymap for 
Normal stat..." ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... 
... ... ... ... ...) (insert-state keymap "Auxiliary keymap for Insert stat..." 
... ... ... ... ... ... ... ...) (\(insert\ normal\)-state keymap "Auxiliary 
keymap for (insert nor...") (26 . helm-select-action) (f13 lambda nil ... ...) 
(f12 lambda nil ... ...) (f11 lambda nil ... ...) (f10 lambda nil ... ...) (f9 
lambda nil ... ...) (f8 lambda nil ... ...) (f7 lambda nil ... ...) (f6 lambda 
nil ... ...) (f5 lambda nil ... ...) (f4 lambda nil ... ...) (f3 lambda nil ... 
...) (f2 lambda nil ... ...) (menu-bar keymap ...) (help keymap ...) (23 . 
#f(compiled-function () ... #)) (f1 lambda nil ... 
...) (8 keymap ... ... ... ... ...) (20 . helm-toggle-resplit-and-swap-windows) 
(C-tab . undefined) (67108897 . helm-toggle-suspend-update) (3 keymap ... ... 
... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ...) 
(67108987 . helm-enlarge-window) (67108989 . helm-narrow-window) (19 . 
undefined) (24 keymap ... ... ... ... ... ... ... ... ... ... ... ...) ...) 
(action ("Open PDF file (if present)" . helm-bibtex-open-pdf) ("Insert 
citation" . helm-bibtex-insert-citation) ("Open PDF, URL or DOI" . 
helm-bibtex-open-any) ("Open URL or DOI in browser" . 
helm-bibtex-open-url-or-doi) ("Insert reference" . 
helm-bibtex-insert-reference) ("Insert BibTeX key" . helm-bibtex-insert-key) 
("Insert BibTeX entry" . helm-bibtex-insert-bibtex) ("Insert formatted 
citation(s)" lambda ... ...) ("Attach PDF to email" . 
helm-bibtex-add-PDF-attachment) ("Edit notes" . helm-bibtex-edit-notes) ("Show 
entry" . helm-bibtex-show-entry) ("Add keywords to entries" . 
org-ref-helm-tag-entries) ("Copy entry to clipboard" . 
bibtex-completion-copy-candidate) ("Add PDF to library" . 
helm-bibtex-add-pdf-to-library)) (requires-pattern . 0) 
(filtered-candidate-transformer helm-bibtex-candidates-formatter 
helm-fuzzy-highlight-matches) (match helm-mm-exact-match helm-mm-match) 
(redisplay . identity) (header-line . "C-j: Open PDF file (if present) ...") 
(multimatch . t) (group . helm)) ((name . "Fallback options") (match (lambda 
... t)) (candidates . bibtex-completion-fallback-candidates) (no-matchplugin) 
(nohighlight) (action . bibtex-completion-fallback-action))) :full-frame t 
:buffer "*helm bibtex*" :candidate-number-limit 500)
  helm-bibtex()
  org-ref-helm-insert-cite-link(nil)
  funcall-interactively(org-ref-helm-insert-cite-link nil)
  call-interactively(org-ref-helm-insert-cite-link nil nil)
  command-execute(org-ref-helm-insert-cite-link)

--
Marvin M. Doyley Ph.D.  
Professor of Department of Electrical and Computer Engineering,
Professor of Biomedical Engineering, and of Imaging Sciences,
University of Rochester
518 Computer Science Building Rochester NY 14627 
Tel: 585-275-3774 Fax: 585-273-4919
Website: http://www.ece.rochester.edu/projects/doyley_lab/










Re: Splitting large org file into smaller ones

2020-05-30 Thread Marvin M. Doyley
Thanks Bill

> On May 30, 2020, at 11:36 AM, William Denton  wrote:
> 
> On 30 May 2020, Marvin M. Doyley wrote:
> 
>> How do I export the subtree to separate org files, say
>> 
>> - Candidate-a.org 
>> <https://urldefense.proofpoint.com/v2/url?u=http-3A__candidate-2Da.org_=DwIBAg=kbmfwr1Yojg42sGEpaQh5ofMHBeTl9EI2eaqQZhHbOU=T41F_5QsIVBGYhPPUkgYHUp9iPHgs2rOCjs7rfKaTMU=bIZSMkqv64C1tMXjpulbll5ho0_g78uEvbSGB385-YQ=qfP2YDuIkAJM2S_aXOWV8p65RBNCtPMSSd8Y7h4nWPU=
>>  >
>> - Candidate-b.org 
>> <https://urldefense.proofpoint.com/v2/url?u=http-3A__candidate-2Db.org_=DwIBAg=kbmfwr1Yojg42sGEpaQh5ofMHBeTl9EI2eaqQZhHbOU=T41F_5QsIVBGYhPPUkgYHUp9iPHgs2rOCjs7rfKaTMU=bIZSMkqv64C1tMXjpulbll5ho0_g78uEvbSGB385-YQ=m7juMWMKRPTM8hGOlYOQJy31TXiDJ52t2-Uu7t6i9EQ=
>>  >
> 
> I'll throw out an uninformed suggestion of a possible direction:  archiving 
> subtrees.  I guess you'd have to keep changing the name of the target archive 
> file, or rename it after you'd moved a tree to it, but at least it's getting 
> a whole tree out of the way at once.
> 
> Bill
> --
> William Denton :: Toronto, Canada   ---   Listening to Art: 
> https://urldefense.proofpoint.com/v2/url?u=https-3A__listeningtoart.org_=DwIBAg=kbmfwr1Yojg42sGEpaQh5ofMHBeTl9EI2eaqQZhHbOU=T41F_5QsIVBGYhPPUkgYHUp9iPHgs2rOCjs7rfKaTMU=bIZSMkqv64C1tMXjpulbll5ho0_g78uEvbSGB385-YQ=3SYzbH-wXEZ1etjDC-J5keIPie3ll0ngiWihrTPputs=
>  
> https://urldefense.proofpoint.com/v2/url?u=https-3A__www.miskatonic.org_=DwIBAg=kbmfwr1Yojg42sGEpaQh5ofMHBeTl9EI2eaqQZhHbOU=T41F_5QsIVBGYhPPUkgYHUp9iPHgs2rOCjs7rfKaTMU=bIZSMkqv64C1tMXjpulbll5ho0_g78uEvbSGB385-YQ=Eyy6EE7boaclNVgLZFy6YP4RM57VQQMr5pBFDOdY5Zo=
>   ---   GHG.EARTH: 
> https://urldefense.proofpoint.com/v2/url?u=https-3A__ghg.earth_=DwIBAg=kbmfwr1Yojg42sGEpaQh5ofMHBeTl9EI2eaqQZhHbOU=T41F_5QsIVBGYhPPUkgYHUp9iPHgs2rOCjs7rfKaTMU=bIZSMkqv64C1tMXjpulbll5ho0_g78uEvbSGB385-YQ=WZpqujYA7GRmIP00WVRuyH4g-hRRFcrNhWV9O27p0F0=
>  Caveat lector.  ---   STAPLR: 
> https://urldefense.proofpoint.com/v2/url?u=https-3A__staplr.org_=DwIBAg=kbmfwr1Yojg42sGEpaQh5ofMHBeTl9EI2eaqQZhHbOU=T41F_5QsIVBGYhPPUkgYHUp9iPHgs2rOCjs7rfKaTMU=bIZSMkqv64C1tMXjpulbll5ho0_g78uEvbSGB385-YQ=sKITlXUZ5Q6MQoPb4RFPynZVydyakhlNKabGQieVC7c=
>  




Re: Splitting large org file into smaller ones

2020-05-30 Thread Marvin M. Doyley
Cool! I will try this too

Thanks

Cheers,
M

> On May 30, 2020, at 6:23 PM, Diego Zamboni  wrote:
> 
> Hi Marvin,
> 
> I replied to a similar question some time ago, here's my answer (with
> updated links since the files have changed in the meantime):
> 
> I do something similar in my ox-leanpub-book module [1], which exports
> each top-level heading to a different file. The general idea is to use
> =org-map-entries= to loop over the entire buffer [2]. The function you
> call can then check whether the current entry is a header at the level
> you want [3] and then export it to the corresponding file. The title
> can be used to deduct the filename [4].
> 
> I found that I had to mark the entire subtree before calling the
> export function [5], otherwise the headline was not getting included
> in the export.
> 
> I based my code originally on this blog post, which might be a simpler
> starting point:
> https://urldefense.proofpoint.com/v2/url?u=https-3A__medium.com_-40lakshminp_publishing-2Da-2Dbook-2Dusing-2Dorg-2Dmode-2D9e817a56d144=DwIBaQ=kbmfwr1Yojg42sGEpaQh5ofMHBeTl9EI2eaqQZhHbOU=T41F_5QsIVBGYhPPUkgYHUp9iPHgs2rOCjs7rfKaTMU=249GZv4Zgx7zyEm64J3m2eEYuchXSdodRltw_gmrqlg=exfuDxb81D5anZ5KD-hCvUI4PRaQxsb812EaBW3b9p4=
>  
> - this code does not select the entire subtree before exporting, which
> means only the contents of the section is exported, but not the
> headline itself.
> 
> I wrote a simplified function which puts the above ideas together,
> feel free to use it:
> https://urldefense.proofpoint.com/v2/url?u=https-3A__gist.github.com_zzamboni_2e6ac3c4f577249d98efb224d9d34488=DwIBaQ=kbmfwr1Yojg42sGEpaQh5ofMHBeTl9EI2eaqQZhHbOU=T41F_5QsIVBGYhPPUkgYHUp9iPHgs2rOCjs7rfKaTMU=249GZv4Zgx7zyEm64J3m2eEYuchXSdodRltw_gmrqlg=ARDFenWJJT9XTsBKAReDC6bDx9VwbP3ADCw3o-_hQbY=
>  
> 
> Hope this helps!
> --Diego
> 
> [1] 
> https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_zzamboni_ox-2Dleanpub_tree_book-2Dand-2Dmarkua=DwIBaQ=kbmfwr1Yojg42sGEpaQh5ofMHBeTl9EI2eaqQZhHbOU=T41F_5QsIVBGYhPPUkgYHUp9iPHgs2rOCjs7rfKaTMU=249GZv4Zgx7zyEm64J3m2eEYuchXSdodRltw_gmrqlg=peXBLnzs1ABFnCABzVUsley3-VMFDR0_2oLF3TgiBPM=
>  
> [2] 
> https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_zzamboni_ox-2Dleanpub_blob_f7ae0f86f517a321a5150e1c712554b12acf144b_ox-2Dleanpub-2Dbook.el-23L216-2DL217=DwIBaQ=kbmfwr1Yojg42sGEpaQh5ofMHBeTl9EI2eaqQZhHbOU=T41F_5QsIVBGYhPPUkgYHUp9iPHgs2rOCjs7rfKaTMU=249GZv4Zgx7zyEm64J3m2eEYuchXSdodRltw_gmrqlg=3K2q6g7FxxjjxKJZtqdsE5bpMFT6RTf3S4mmyldNdLw=
>  
> [3] 
> https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_zzamboni_ox-2Dleanpub_blob_f7ae0f86f517a321a5150e1c712554b12acf144b_ox-2Dleanpub-2Dbook.el-23L145=DwIBaQ=kbmfwr1Yojg42sGEpaQh5ofMHBeTl9EI2eaqQZhHbOU=T41F_5QsIVBGYhPPUkgYHUp9iPHgs2rOCjs7rfKaTMU=249GZv4Zgx7zyEm64J3m2eEYuchXSdodRltw_gmrqlg=QOtk1D413Gju7Agm6zgbAMlIwww6e-UV1SZsjomzuZA=
>  
> [4] 
> https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_zzamboni_ox-2Dleanpub_blob_f7ae0f86f517a321a5150e1c712554b12acf144b_ox-2Dleanpub-2Dbook.el-23L154-2DL158=DwIBaQ=kbmfwr1Yojg42sGEpaQh5ofMHBeTl9EI2eaqQZhHbOU=T41F_5QsIVBGYhPPUkgYHUp9iPHgs2rOCjs7rfKaTMU=249GZv4Zgx7zyEm64J3m2eEYuchXSdodRltw_gmrqlg=ynLKEu4CLjIJqR3y3zl2UMEkS_onMBSSb2TDwOaixt4=
>  
> [5] 
> https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_zzamboni_ox-2Dleanpub_blob_f7ae0f86f517a321a5150e1c712554b12acf144b_ox-2Dleanpub-2Dbook.el-23L192=DwIBaQ=kbmfwr1Yojg42sGEpaQh5ofMHBeTl9EI2eaqQZhHbOU=T41F_5QsIVBGYhPPUkgYHUp9iPHgs2rOCjs7rfKaTMU=249GZv4Zgx7zyEm64J3m2eEYuchXSdodRltw_gmrqlg=quomDHaK1zPArr8wu5m8uwkgug6NZ6eDChE5VMZwrG4=
>  
> 
> On Sat, May 30, 2020 at 12:08 PM Marvin M. Doyley
>  wrote:
>> 
>> Hi there,
>> 
>> Is there an efficient way to split a large org file into smaller ones?
>> 
>> Lets say I have a master file with the following
>> 
>> 
>> * Notes
>> **  Candidate A
>> - Strong technical background
>> - High H-factor
>> - good funding
>> - More established investigator
>> - Huge startup need $$
>> 
>> **  Candidate B
>> - lower startup need
>> - signal processing
>> - young investigator
>> 
>> 
>> How do I export the subtree to separate org files, say
>> 
>> - Candidate-a.org
>> - Candidate-b.org
>> 
>> 
>> Thanks
>> 
>> M




Re: Splitting large org file into smaller ones

2020-05-30 Thread Marvin M. Doyley
Hi Marcin,

I appreciate this, I will give it a go.

Thanks,
M

> On May 30, 2020, at 9:13 AM, Marcin Borkowski  wrote:
> 
> 
> On 2020-05-30, at 11:51, Marvin M. Doyley  wrote:
> 
>> Hi there,
>> 
>> Is there an efficient way to split a large org file into smaller ones?
> 
> I do not know about "efficient", but you might find my org-one-to-many
> library useful: 
> https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_mbork_org-2Done-2Dto-2Dmany=DwIBAg=kbmfwr1Yojg42sGEpaQh5ofMHBeTl9EI2eaqQZhHbOU=T41F_5QsIVBGYhPPUkgYHUp9iPHgs2rOCjs7rfKaTMU=iHWQZlKMtTtC96Iqx0ymA0VpA5m6A73UehcV_vuh1tM=6rsipfH8vh-XeWLb1NEWAcdpcTFAfyUOLHD5Pkmea2o=
>  
> (Note that I don't wven know if it works with newer versions of Org; if
> not, drop me a line, maybe I'll be able to fix it.)
> 
> Best,
> 
> -- 
> Marcin Borkowski
> https://urldefense.proofpoint.com/v2/url?u=http-3A__mbork.pl=DwIBAg=kbmfwr1Yojg42sGEpaQh5ofMHBeTl9EI2eaqQZhHbOU=T41F_5QsIVBGYhPPUkgYHUp9iPHgs2rOCjs7rfKaTMU=iHWQZlKMtTtC96Iqx0ymA0VpA5m6A73UehcV_vuh1tM=VLUzcQS7YObsdTrrwTldDMYEUZJlqE3mMIxxY8tN9JQ=
>  




Splitting large org file into smaller ones

2020-05-30 Thread Marvin M. Doyley
Hi there,

Is there an efficient way to split a large org file into smaller ones?

Lets say I have a master file with the following


* Notes
**  Candidate A
 - Strong technical background
 - High H-factor
 - good funding
- More established investigator
- Huge startup need $$

**  Candidate B
- lower startup need
- signal processing  
- young investigator


How do I export the subtree to separate org files, say

- Candidate-a.org 
- Candidate-b.org 


Thanks

M

Re: Email rendered equation

2020-05-19 Thread Marvin M. Doyley
Hi Eric,

This works like a charm.


Thanks,
M

> On May 19, 2020, at 10:14 AM, Eric S Fraga  wrote:
> 
> On Tuesday, 19 May 2020 at 09:19, Marvin M. Doyley wrote:
>> I have decided to take the plunge and switch to mu4e. I have also
>> installed the org-mu4e package. Most stuff works pretty well, except
>> latex equations are not rendered when I send them.
>> 
>> Does anybody know how to solve this problem?
> 
> I don't use mu4e so I don't know what org-mu4e actually brings to the
> table.  In gnus, if I want to send an email with LaTeX fragments
> (e.g. equations) shown as images, I invoke org-mime-htmlize on the
> message once written.  This creates an HTML message with org processing
> (links, tables, LaTeX, images).  Works well the infrequent times I do
> it.
> -- 
> : Eric S Fraga via Emacs 28.0.50, Org release_9.3.6-640-g9bc0cc




Re: Email rendered equation

2020-05-19 Thread Marvin M. Doyley
Thanks Eric,

I will give it a try

Cheers,
M


> On May 19, 2020, at 10:14 AM, Eric S Fraga  wrote:
> 
> On Tuesday, 19 May 2020 at 09:19, Marvin M. Doyley wrote:
>> I have decided to take the plunge and switch to mu4e. I have also
>> installed the org-mu4e package. Most stuff works pretty well, except
>> latex equations are not rendered when I send them.
>> 
>> Does anybody know how to solve this problem?
> 
> I don't use mu4e so I don't know what org-mu4e actually brings to the
> table.  In gnus, if I want to send an email with LaTeX fragments
> (e.g. equations) shown as images, I invoke org-mime-htmlize on the
> message once written.  This creates an HTML message with org processing
> (links, tables, LaTeX, images).  Works well the infrequent times I do
> it.
> -- 
> : Eric S Fraga via Emacs 28.0.50, Org release_9.3.6-640-g9bc0cc




Email rendered equation

2020-05-19 Thread Marvin M. Doyley
Hi there,

I have decided to take the plunge and switch to mu4e. I have also installed the 
org-mu4e package. Most stuff works pretty well, except latex equations are not 
rendered when I send them.


Does anybody know how to solve this problem?

Thanks,
M


Org-ref issues

2020-01-24 Thread Marvin M. Doyley
Hi there,

I just upload org-ref on my system via melpa and get the following error when I 
issue the command doi-utils-add-bibtex-entry-from-doi

Symbol’s function definition is void: org-ref-possible-bibfiles


Does anybody know how to resolve this

Thanks 

M

Here is the backtrace

Debugger entered--Lisp error: (void-function org-ref-possible-bibfiles)
  org-ref-possible-bibfiles()
  doi-utils-add-bibtex-entry-from-doi("10.1109/TUFFC.2019.2961875")
  funcall-interactively(doi-utils-add-bibtex-entry-from-doi 
"10.1109/TUFFC.2019.2961875")
  call-interactively(doi-utils-add-bibtex-entry-from-doi record nil)
  command-execute(doi-utils-add-bibtex-entry-from-doi record)
  helm-M-x-execute-command(doi-utils-add-bibtex-entry-from-doi)
  helm-execute-selection-action-1()
  helm-execute-selection-action()
  helm-internalname . "Emacs Commands history") (candidates . 
#f(compiled-function () #)) (keymap keymap (keymap (13 . 
helm-confirm-and-exit-minibuffer)) keymap (21 . helm-M-x-universal-argument) 
keymap (127 . delete-backward-char) (27 keymap (13 . helm-cr-empty-string)) 
(C-return . helm-cr-empty-string) keymap (tab . helm-execute-persistent-action) 
(26 . helm-select-action) (f13 lambda nil (interactive) (helm-select-nth-action 
12)) (f12 lambda nil (interactive) (helm-select-nth-action 11)) (f11 lambda nil 
(interactive) (helm-select-nth-action 10)) (f10 lambda nil (interactive) 
(helm-select-nth-action 9)) (f9 lambda nil (interactive) 
(helm-select-nth-action 8)) (f8 lambda nil (interactive) 
(helm-select-nth-action 7)) (f7 lambda nil (interactive) 
(helm-select-nth-action 6)) (f6 lambda nil (interactive) 
(helm-select-nth-action 5)) (f5 lambda nil (interactive) 
(helm-select-nth-action 4)) (f4 lambda nil (interactive) 
(helm-select-nth-action 3)) (f3 lambda nil (interactive) 
(helm-select-nth-action 2)) (f2 lambda nil (interactive) 
(helm-select-nth-action 1)) (menu-bar keymap (help-menu keymap (describe keymap 
(describe-mode . helm-help (help keymap (109 . helm-help)) (23 . 
#f(compiled-function () (interactive nil) #)) (f1 lambda 
nil (interactive) (helm-select-nth-action 0)) (8 keymap (109 . helm-help) (104 
. undefined) (8 . undefined) (99 . helm-customize-group) (4 . 
helm-enable-or-switch-to-debug)) (20 . helm-toggle-resplit-and-swap-windows) 
(C-tab . undefined) (67108897 . helm-toggle-suspend-update) (3 keymap (57 . 
helm-execute-selection-action-at-nth-+9) (56 . 
helm-execute-selection-action-at-nth-+8) (55 . 
helm-execute-selection-action-at-nth-+7) (54 . 
helm-execute-selection-action-at-nth-+6) (53 . 
helm-execute-selection-action-at-nth-+5) (52 . 
helm-execute-selection-action-at-nth-+4) (51 . 
helm-execute-selection-action-at-nth-+3) (50 . 
helm-execute-selection-action-at-nth-+2) (49 . 
helm-execute-selection-action-at-nth-+1) (63 . helm-help) (110 . 
#f(compiled-function () (interactive nil) #)) (108 . 
helm-display-line-numbers-mode) (62 . helm-toggle-truncate-line) (21 . 
helm-refresh) (6 . helm-follow-mode) (9 . helm-copy-to-buffer) (11 . 
helm-kill-selection-and-quit) (25 . helm-yank-selection) (37 . 
helm-exchange-minibuffer-and-header-line) (95 . helm-toggle-full-frame) (45 . 
helm-swap-windows)) (67108987 . helm-enlarge-window) (67108989 . 
helm-narrow-window) (19 . undefined) (24 keymap (57 . 
helm-execute-selection-action-at-nth-+9) (56 . 
helm-execute-selection-action-at-nth-+8) (55 . 
helm-execute-selection-action-at-nth-+7) (54 . 
helm-execute-selection-action-at-nth-+6) (53 . 
helm-execute-selection-action-at-nth-+5) (52 . helm-select-4rd-action) (51 . 
helm-select-3rd-action) (50 . helm-select-2nd-action) (49 . 
helm-execute-selection-action-at-nth-+1) (2 . 
helm-resume-list-buffers-after-quit) (98 . 
helm-resume-previous-session-after-quit) (6 . helm-quit-and-find-file)) (11 . 
helm-delete-minibuffer-contents) (67108896 . helm-toggle-visible-mark) (0 . 
helm-toggle-visible-mark) (C-M-up . helm-scroll-other-window-down) (C-M-down . 
helm-scroll-other-window) (M-prior . helm-scroll-other-window-down) (M-next . 
helm-scroll-other-window) (12 . helm-recenter-top-bottom-other-window) (15 . 
helm-next-source) (10 . helm-execute-persistent-action) (9 . 
helm-select-action) (13 . helm-maybe-exit-minibuffer) (7 . helm-keyboard-quit) 
...) (action . helm-type-command-actions) (persistent-action . 
helm-M-x-persistent-action) (persistent-help . "Describe this command") 
(help-message . helm-M-x-help-message) (requires-pattern . 0) 
(filtered-candidate-transformer helm-M-x-transformer-no-sort 
helm-fuzzy-highlight-matches) (volatile) (match . identity) (redisplay . 
identity) (nomark) (coerce . helm-symbolify) (header-line . "C-j: Describe this 
command (keeping session)") (must-match) (group . helm-command) 
(match-dynamic)) ((name . "Emacs Commands") (candidates . #f(compiled-function 
() #)) (keymap keymap (keymap (13 . 
helm-confirm-and-exit-minibuffer)) keymap (21 . helm-M-x-universal-argument) 
keymap (127 . delete-backward-char) (27 keymap (13 . 

Re: [O] org-mode in teaching

2014-12-20 Thread Marvin M. Doyley

Very cool indeed.
I would love to try this for a small course that I will be teaching in the 
spring semester.
Is your code available?
Cheers,
M
Sent from my iPad


Re: [O] org-mode in teaching

2014-12-20 Thread Marvin M. Doyley
Thanks John,
I am sure this will be better than blackboard. I will give it a try :)
Cheers 
M

Sent from my iPhone
** May contain typos**


 On Dec 20, 2014, at 5:48 PM, John Kitchin jkitc...@andrew.cmu.edu wrote:
 
 All of the code is here:
 https://github.com/jkitchin/jmax/tree/master/techela
 
 and there is some documentation in the README.
 
 I am not sure how much work it would take to try it yourself though. You
 need to setup a gitolite server (that is described in the README), and
 more importantly figure out how to get this in your student's hands. For
 windows users, they can just clone jmax, and it should run out of the
 box (it has an emacs in it).
 
 Marvin M. Doyley mdoy...@me.com writes:
 
 Very cool indeed.
 I would love to try this for a small course that I will be teaching in the 
 spring semester.
 Is your code available?
 Cheers,
 M
 Sent from my iPad
 
 -- 
 ---
 John Kitchin
 Professor
 Doherty Hall A207F
 Department of Chemical Engineering
 Carnegie Mellon University
 Pittsburgh, PA 15213
 412-268-7803
 http://kitchingroup.cheme.cmu.edu