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

2018-01-09 Thread myglc2
On 01/08/2018 at 20:32 Doyley, Marvin M. writes:
> I am in the process of writing a broad literature review and was
> wondering if there is a way to get org-ref to search Pubmed and
> automatically pull (pdf, abstracts, etc) all the papers that satisfy a
> given search terms (year range, keyword, authors) ?

Dunno/haven't used org-ref. FWIW a couple years ago I used
https://github.com/wash/pubmode to search pubmed. It works well.

HTH - George



Re: [O] org to static site?

2017-12-05 Thread myglc2
On 12/05/2017 at 13:30 Rasmus writes:

> myg...@gmail.com writes:
>
>> On 12/01/2017 at 18:19 Adonay Felipe Nogueira writes:
>>
>>> The best approach for me is also to use something such as org-publish,
>>> and a simple static site server such as GNU Serveez.
>>
>> Have you used org-publish in earnest?  I settled on the approach used in
>> https://github.com/myglc2/emacsite only after trying out org-publish
>> extensively.  I needed source and generated content to sit together in
>> the working tree of complex multi-level reproducible research projects
>> and to be transparently revision controlled and hosted on the
>> organization's Github Entreprise server.
>
> I am happy that you found a method that works for you.
>
> As a contrasting point, I don’t see why you couldn’t do that with
> ox-publish.el in addition to maybe Make.
>
> Based on your description, I’d copy source files using
> org-publish-attachment to a publish dir and compiled files to the same dir
> via different projects in org-publish-project-alist.

Yes, this works and I this before switching to the emacsite approach.

[...]

> If you have any suggestions on how to improve ox-publish to better suit
> please share them.

Does org-publish now support making the publishing directory coincide
with the project directory? If not, this is the suggestion.



Re: [O] org to static site?

2017-12-01 Thread myglc2
On 12/01/2017 at 18:19 Adonay Felipe Nogueira writes:

> The best approach for me is also to use something such as org-publish,
> and a simple static site server such as GNU Serveez.

Have you used org-publish in earnest?  I settled on the approach used in
https://github.com/myglc2/emacsite only after trying out org-publish
extensively.  I needed source and generated content to sit together in
the working tree of complex multi-level reproducible research projects
and to be transparently revision controlled and hosted on the
organization's Github Entreprise server.

After studying both approaches I found the emacsite approach to work
better than org-publish. Just to be clear, emacsite does not require
GitHub. You can equally well serve the site from the development tree,
or you can publish by doing git push to non bare git repos hosted on web
servers. In this way emacsite effectively automates site publishing
using make and git which I found to be more reliable than org-publish.

I also needed to be able to easily preview live results generated on HPC
development servers in order to share work in progress with colleges.
emacsite supports this natively.  A nice lightweight emacs-only way to
serve this work is https://github.com/skeeto/emacs-http-server.

-George



Re: [O] org to static site?

2017-12-01 Thread George myglc2 Clemmer
On 12/01/2017 at 17:17 Tory S. Anderson writes:

> I've got a single-chord setup with Hugo, adapted from:
> http://www.holgerschurig.de/en/emacs-blog-from-org-to-hugo/
>
> I'm very pleased with it.

That's cool, but I wanted to avoid "external" components like
frameworks, site generators, and themes as much as possible ;-)

That's why https://github.com/myglc2/emacsite generates sites directly
from org-mode using only emacs and GNU make. The only external component
is the Bootstrap javascript front-end library (https://getbootstrap.com)
referenced by https://github.com/marsmining/ox-twbs to produce
mobile-first sites.



Re: [O] org to static site?

2017-12-01 Thread George myglc2 Clemmer
On 05/31/2017 at 12:00 Matt Price writes:

> I'm trying to wean myself off of Wordpress for next year's teaching websites, 
> and am wondering what solutions other people are using for turning a 
> collection of org pages and/or subtrees into a static html site. I am leaning 
> towards Hugo but honestly not for any sensible reason; I've seen other people 
> use Jekyll,
> though the fact that Github doesn't support direct conversion from org-mode 
> removes some of Jekyll's appeal; and I know there are a number of other 
> solutions too. 
>
> So, I would love to hear what you all recommend.
[...]

No doubt too late for your teaching website, but you may find this interesting 
...

https://github.com/myglc2/emacsite

HTH - George