Re: [O] blog refurbised: how is it in 2015 ?

2015-12-23 Thread Rainer M Krug
Xavier Maillard  writes:

> Hey,
>
> in the same vein I am refurbishing my Gnus (and love it), I'd like, as a 2k16
> resolution (right word in english ?), to restart my long abandoned blog. As
> usual, this is something I can't imagine doing outside GNU emacs and thus
> orgmode.

agreed - blogging from org is very nice.

I should do the same!

>
> My question is simply: what are the tools/technics in 2015 to blog ? Can you
> share some good recipes with me ?

It depends where your blog is managed. If you are using wordpress, I can
suggest org2blog - very nice to manage your posts there.

Cheers,

Rainer



>
> Thank you
>
> -- Xavier.

-- 
Rainer M. Krug
email: Rainerkrugsde
PGP: 0x0F52F982


signature.asc
Description: PGP signature


Re: [O] OrgMode into Gnus buffers (message-mode included) ?

2015-12-23 Thread Xavier Maillard
Rasmus  writes:

> Xavier Maillard  writes:
>
>> Thorsten Jolitz  writes:
>>
>>> Xavier Maillard  writes:
>>>
>>> Hello,
>>>
 there is an area where I am pretty dumb: orgmode articulation with Gnus
 buffers.

 What do I need exactly to do to activate orgmode into Gnus both when
 reading
 posts and when writing new ones ?
>>>
>>> I guess you mean message-mode?
>>
>> `message-mode' is only for outgoing messages, right ?
>>
>>> For writing:
>>>
>>> - use orgstruct or
>>
>> I do but it does not seem to change anything (I have tried to add bullet and
>> stuff like that).
>
> I think bullets are in orgstruct mode, but they could be in
> orgstuct++-mode.  BTW: there's also orgtbl-mode.

Ok, I will try all the combinations to see which one works for me.

Thank you.

-- Xavier.




Re: [O] Problem with org-ref

2015-12-23 Thread marvin doyley
Hi John,I am using a Mac too, and pdftotext seem to be working, well for an ocr file (see below) if I run pdftotext on the original pdf I get nothing.cheers,MPS I am using brew poppler, which includes pdftotext On Dec 23, 2015, at 4:30 PM, John Kitchin  wrote:Thanks! Do you know if you have pdftotext working on your machine? The pdf drag-n-drop works by converting the pdf to text, and than matching a pattern to find a doi. If none is found, you get the message you noted. The url dnd works similarly, but there are a bunch of recipes for what to match depending on the base of the url.I did that on a Mac, and I haven't tested it on a windows or Linux machine. JohnO~

This is an open access article published under an ACS Authorchoice License 
which permits
copyingand redistribution ofthe article or any adaptations 
fornon-commercialpurposes.

ACS
rditers' Choice

r

e

pubs.acs.org/acscatalysis

Examples of Effective Data Sharing in Scientific Publishing
John R. Kitchin*
Department of Chemical Engineering, Carnegie Mellon University, 5000 Forbes 
Avenue, Pittsburgh, Pennsylvania 15213,
United States

6 Supporting Information
ABSTRACT: We present a perspective on an approach to data sharing in scientific 
publications we have been developing in our group.
The essence of the approach is that data can be embedded in a human-readable 
and machine-addressable way within the traditional
publishing environment. We show this by example for both computational and 
experimental data. We articulate a need for new authoring
tools to facilitate data sharing, and we discuss the tools we have been 
developing for this purpose. With these tools, data generation,
analysis, and manuscript preparation can be deeply integrated, resulting in 
easier and better data sharing in scientific publications.

1. INTRODUCTION

a)Q

Data sharing and m anagement plans are becoming an
increasingly important requirement for scientific research. The
1
National Science Foundation requires a data management plan
for all proposals and has a formal statement on data sharing.
The Department of Energy is beginning to require this in some
proposals and has issued a formal statement on data management. Th e N ational 
Institutes of Health has a formal data
sharing policy.4 These mandates do not usually say how the data
management plan must be implemented, simply that there must
be one that is appropriate for the data being generated and
consistent with the needs of the scientific field.
There are several challenges to meeting these requirements.
Data is a generic term that refers to a broad range of information that varies 
in size and complexity. There is no single
solution that fits all data. The tools we use to write manuscripts,
which has been the primary mode of data sharing for decades
typically only include graphical or tabular data. Those data
are usually not machine readable nor are they easy to reuse. We
believe that progress in data sharing will require the development of new tools 
and social expectations about scientific data.
T hese tools will have to i n tegrate data directly into t h e
manuscripts and into the manuscript preparation workflow,
so that by the time one finishes writing the manuscript, the data
is already integrated and ready to share with no further work
required. When this is possible, data will be shared much more
frequently.
In this Viewpoint, we illustrate an example of a method we
have been developing that enables data, analysis, and code
sharing within the traditional publishing environment. We have
published several papers this way already including experimental
5
6
work, combined computational and experimental work, and
computational work. ' T hese manuscripts in published form
are indistinguishable from other manuscripts in those journals.
However, the Supporting Information files are very difFerent.
Although, at first glance, the Supporting Information files are
simple PDF files that provide additional information, there
are actually data files embedded (see Figure I a ) in those
PDFs which can be extracted and reused. The data is human
readable in most cases, and machine addressable, enabling
reuse and sharing. We will provide an example of this for a

'~ ACg pUbIicgtiQfi5

0201SAmericanchemicalSociety

tt

v

@ Add ~iii Delete cj h Search
a Description

Name

Q data.json
Q supportlng-information.org

IModined

Unknown

Unknown

b le, to figure our how soine analysis was r

, ~< he~. ~

+

An embeddedfi
le
in the PDF

Figure 1. (a) The attachments in the Supporting Information of ref 11.
There are two attachments. (b) A single attachment in the PDF file.
Double-clicking on the thumbtack(in the Supporting Information file)
will open the attached file.

paper we recently published in ACS Catalysis on "Estimating
Bulk-Composition-Dependent Hz Adsorption Energies on
Cu„Pd, „Alloy (111) Surfaces"."
The Supporting Information file for that article is available for
free.' When opened in a 

Re: [O] org-ref video

2015-12-23 Thread briangpowell .
I believe I read how to correctly pronounce LaTeX as Lay-Teck (and why its
important--to honor the creator of TeX's wishes+intentions, Donald Knuth)
in Leslie Lamport's book on LaTeX--in the preface.

And when you think about it, pronouncing it as "Lay" does make sense "La"
only means "the" in some romance Languages and the "L" and "A" don't stand
for anything in particular either--LA isn't an acronym--and it has no
"foreign language" meaning.  Its not "The TeX"--TeX is "The TeX"--the
lowest primal language itself, programmed in C.

As for any relationship to Latex in paint or whatever; well, that's
patently absurd.

And its important for newbies to realize especially--before even using
LaTeX--that LaTeX is a macro language and any newbie can program directly
in TeX, create their own macro language--built on top of TeX too--and/or
that they themselves can program in TeX and extend the language and embed
it into LaTeX by creating libraries, style .sty files, etc.

But I must say, of all the videos I've ever seen, I believe Dr. Kitchin has
produced the most well-pronounced and clearly spoken ones ever--not just on
Emacs, etc.  Thanks again.


Thanks Nick for the link: This reminds me of a strange and hilarious job
interview I had long ago, when LaTeX wasn't fully well-known as a
computerized typesetting packaged (used to publish more books on higher
math than any other system).

The interviewers asked what my "favorite computer software is"--well I
smiled and said "Lay-Tecks"--this conjured up smirks, giggles and a wink or
two--they thought I was into some other "favorite activities"--they
obviously thought I was into latex clothing, etc.  Not quickly realizing
it, I went on: "Oh yes, I use it a lot, I use it as much as possible--I'm
way into it; and, the whole free [soft-wear] community--I'd have to say
I've been part of the community for many years."

Obviously, people that don't know EXACTLY what you're talking about, can
lead themselves to many very strange conclusions about you.  So, such
things can be very important indeed.







On Tue, Dec 22, 2015 at 10:37 PM, Nick Dokos  wrote:

> John Kitchin  writes:
>
> > Thanks!
> >
> > You might add your interpretation of the pronunciation here:
> http://tex.stackexchange.com/questions/17502/what-is-the-correct-pronunciation-of-tex-and-latex
> ;)
> >
> > John
> >
>
> The vexing issue of how to pronounce "LaTeX" has reared its ugly head
> before, e.g in this thread on the comp.text.tex group ca 1999:
>
>
> https://groups.google.com/forum/#!searchin/comp.text.tex/Robin$20Fairbairns$20rubber/comp.text.tex/Ts9l6CPcjCk/g_89W2rJsPcJ
>
> with the entertaining subject "anyone have a source of all rubber
> panties".  I would recommend that you read the whole thread but in any
> case don't give up until you read Robin Fairbairns's followup to his
> (Robin's) suggestion that the OP should read the FAQ.
>
> How's that for a Christmas present?
> --
> Nick
>
>
>


Re: [O] Problem with org-ref

2015-12-23 Thread Andreas Kiermeier
Hi John,
similar doi problem here.
My configuration is:

   - Windows 10
   - GNU Emacs 24.5.1 (i686-pc-mingw32) of 2015-04-11 on LEG570
   - Miktex (up-to-date) with pdftotext v0.32..0
   - org-ref v 0.5.0 (from melpa)

Running pdftotext from the command line works and produces a text file with
doi info.
Let me know what I can do to help to test things.
Thanks.
Andreas
PS: Thank you for org-ref ... an awesome Xmas present!


On 24 December 2015 at 08:00, John Kitchin  wrote:

> Thanks! Do you know if you have pdftotext working on your machine? The pdf
> drag-n-drop works by converting the pdf to text, and than matching a
> pattern to find a doi. If none is found, you get the message you noted. The
> url dnd works similarly, but there are a bunch of recipes for what to match
> depending on the base of the url.
>
> I did that on a Mac, and I haven't tested it on a windows or Linux
> machine.
>
> 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 23, 2015 at 4:22 PM, marvin doyley 
> wrote:
>
>> Hi John,
>>
>> I am playing with org-ref,  the melpa version.
>>
>> Everything works fine except, one thing.  When I drag a pdf to an empty
>> bibtex file it doesn’t extract the doi ( no doi found in the file:///).
>> I tried it pdf you used  in your video (Examples of Effective Data Sharing
>> in Scientific Publishing), but I got the same error. Dragging the url to
>> the bibtex file also doesn’t works for me.
>>
>> cheers,
>> M
>>
>> PS by the way, your video was excellent :)
>>
>
>


Re: [O] 'q' not quitting agenda

2015-12-23 Thread David Mann
Kyle Meyer  writes:

> Hi David,
>
> David Mann  writes:
>
>> Hello group,
>>
>> Recently I have found that using 'q' in the Agenda buffer closes the
>> other window and leaves the Agenda filling the whole frame.
>> org-agenda-sticky is nil.  I am using recent org-mode (Org-mode version
>> 8.3.2 (release_8.3.2-416-g369955)) and emacs (GNU Emacs 25.1.50.1
>> (x86_64-apple-darwin15.2.0, NS appkit-1404.34 Version 10.11.2 (Build
>> 15C50)) of 2015-12-20).  Not sure what is causing this.
>
> Thanks for reporting the issue.  It was introduced by 9b1c682
> (org-agenda: Fix quit sticky agenda, 2015-12-12).  I'll put together a
> fix soon.

Thanks!




Re: [O] Problem with org-ref

2015-12-23 Thread John Kitchin
I tested part of this on Windows in a git bash shell:

$ pdftotext -v
pdftotext version 0.14.5
Copyright 2005-2010 The Poppler Developers - http://poppler.freedesktop.org
Copyright 1996-2004 Glyph & Cog, LLC

and then this works:
$ pdftotext.exe kitchin-2015-examp.pdf - | grep DOI
ACS Catal., Just Accepted Manuscript • DOI: 10.1021/acscatal.5b00538 •
Publicati
on Date (Web): 11 May 2015
readers and citable by the Digital Object Identifier (DOI®). “Just
Accepted” is
an optional service offered
sharing site which assigned the data set a DOI. 19 An alternative data
repositor
y could be an
institutional data repository which also provides a DOI for citing. It
remains t
o be seen if
stores that provide a citable DOI for the data set. The point is that this
appro
ach is very

However, I see that in emacs, it appears another pdftotext is getting used,
which does not work.
~/Desktop $ pdftotext -v
pdftotext version 2.03
Copyright 1996-2003 Glyph & Cog, LLC

that is the same version that runs in a cmd shell.

The version that seems to work for me is at "C:\Program Files
(x86)\Git\bin\pdftotext".

I added a variable to set the location of this program, and then rely on
the executable path. It was a little tricky to set this right, note the
escaped quotes.

#+BEGIN_SRC emacs-lisp
(setq pdftotext-executable "\"C:/Program Files (x86)/Git/bin/pdftotext\"")
#+END_SRC


It turned out there was another issue with the uri in the drag-n-drop
needing to be unescaped on windows because of the : in the path, which is
also done now.

I pushed these out. hopefully that makes some progress for you! or at least
gives some hints on where to look for the problem.

Merry Xmas!

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 23, 2015 at 6:56 PM, Andreas Kiermeier <
andreas.kierme...@gmail.com> wrote:

> Hi John,
> similar doi problem here.
> My configuration is:
>
>- Windows 10
>- GNU Emacs 24.5.1 (i686-pc-mingw32) of 2015-04-11 on LEG570
>- Miktex (up-to-date) with pdftotext v0.32..0
>- org-ref v 0.5.0 (from melpa)
>
> Running pdftotext from the command line works and produces a text file
> with doi info.
> Let me know what I can do to help to test things.
> Thanks.
> Andreas
> PS: Thank you for org-ref ... an awesome Xmas present!
>
>
> On 24 December 2015 at 08:00, John Kitchin 
> wrote:
>
>> Thanks! Do you know if you have pdftotext working on your machine? The
>> pdf drag-n-drop works by converting the pdf to text, and than matching a
>> pattern to find a doi. If none is found, you get the message you noted. The
>> url dnd works similarly, but there are a bunch of recipes for what to match
>> depending on the base of the url.
>>
>> I did that on a Mac, and I haven't tested it on a windows or Linux
>> machine.
>>
>> 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 23, 2015 at 4:22 PM, marvin doyley 
>> wrote:
>>
>>> Hi John,
>>>
>>> I am playing with org-ref,  the melpa version.
>>>
>>> Everything works fine except, one thing.  When I drag a pdf to an empty
>>> bibtex file it doesn’t extract the doi ( no doi found in the file:///).
>>> I tried it pdf you used  in your video (Examples of Effective Data Sharing
>>> in Scientific Publishing), but I got the same error. Dragging the url to
>>> the bibtex file also doesn’t works for me.
>>>
>>> cheers,
>>> M
>>>
>>> PS by the way, your video was excellent :)
>>>
>>
>>
>


Re: [O] Problem with org-ref

2015-12-23 Thread marvin doyley
Hi John,
Its now working, it turns out the version of pdftotext that I was using wasn’t 
working well. I found different version (http://macappstore.org/pdftotext/ 
) that did the trick

cheers,
M

> On Dec 23, 2015, at 4:30 PM, John Kitchin  wrote:
> 
> Thanks! Do you know if you have pdftotext working on your machine? The pdf 
> drag-n-drop works by converting the pdf to text, and than matching a pattern 
> to find a doi. If none is found, you get the message you noted. The url dnd 
> works similarly, but there are a bunch of recipes for what to match depending 
> on the base of the url.
> 
> I did that on a Mac, and I haven't tested it on a windows or Linux machine. 
> 
> 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 23, 2015 at 4:22 PM, marvin doyley  > wrote:
> Hi John,
> 
> I am playing with org-ref,  the melpa version.
> 
> Everything works fine except, one thing.  When I drag a pdf to an empty 
> bibtex file it doesn’t extract the doi ( no doi found in the file:/// <>). I 
> tried it pdf you used  in your video (Examples of Effective Data Sharing in 
> Scientific Publishing), but I got the same error. Dragging the url to the 
> bibtex file also doesn’t works for me.
> 
> cheers,
> M
> 
> PS by the way, your video was excellent :)
> 



Re: [O] Problem with org-ref

2015-12-23 Thread John Kitchin
Thanks! Do you know if you have pdftotext working on your machine? The pdf
drag-n-drop works by converting the pdf to text, and than matching a
pattern to find a doi. If none is found, you get the message you noted. The
url dnd works similarly, but there are a bunch of recipes for what to match
depending on the base of the url.

I did that on a Mac, and I haven't tested it on a windows or Linux machine.

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 23, 2015 at 4:22 PM, marvin doyley  wrote:

> Hi John,
>
> I am playing with org-ref,  the melpa version.
>
> Everything works fine except, one thing.  When I drag a pdf to an empty
> bibtex file it doesn’t extract the doi ( no doi found in the file:///). I
> tried it pdf you used  in your video (Examples of Effective Data Sharing in
> Scientific Publishing), but I got the same error. Dragging the url to the
> bibtex file also doesn’t works for me.
>
> cheers,
> M
>
> PS by the way, your video was excellent :)
>


Re: [O] Unable to resolve info links during publishing

2015-12-23 Thread Robert Klein
Hi,

On 12/22/2015 01:49 PM, Nicolas Goaziou wrote:
> Hello,
> 
> Robert Klein  writes:
> 
>> when publishing a org document (to HTML), info links, e.g.
>> "info:org#Formula syntax for Lisp" throw errors, e.g.:
>>
>>   Unable to resolve link "info:org#Formula syntax for Lisp"
>>
>>
>> The link exists and can be followed in the org document by pressing
>> the keys C-c C-o.
> 
> FWIW, I cannot reproduce it on development version.

Thank you very much.  In trying to make an ECM I encountered a
custom-set-variable

   '(org-modules (quote (org-jsinfo)))

left over from pre-8.0 times.

I now commented it out in worg's .emacs-custom.el

Best regards
Robert




[O] Can't jump between code and Org when tangle to another directory

2015-12-23 Thread Enzo Chi
Try to use "Jumping between code and Org" feature.

The org file link in the tangled code doesn't have path information.

So if I tangle my file to another directory, I can't jump back to my
org-mode file.


My org file (jump.org):

* Dummy Header
  :PROPERTIES:
  :ID:   11af8f9b-c22d-4549-9191-97bfa980608c
  :END:
  #+NAME: 8258bf05-64bb-430b-9b13-913a7dc2a458
  #+BEGIN_SRC sh :padline yes :comments link :tangle test/test.sh :mkdirp yes 
:shebang "#!/usr/bin/env bash"
echo "Hello"
  #+END_SRC


Tangled code (test.sh):

#!/usr/bin/env bash
# [[file:jump.org::*Dummy%20Header][8258bf05-64bb-430b-9b13-913a7dc2a458]]
echo "Hello"
# 8258bf05-64bb-430b-9b13-913a7dc2a458 ends here




Re: [O] 'q' not quitting agenda

2015-12-23 Thread Kyle Meyer
Hi David,

David Mann  writes:

> Hello group,
>
> Recently I have found that using 'q' in the Agenda buffer closes the
> other window and leaves the Agenda filling the whole frame.
> org-agenda-sticky is nil.  I am using recent org-mode (Org-mode version
> 8.3.2 (release_8.3.2-416-g369955)) and emacs (GNU Emacs 25.1.50.1
> (x86_64-apple-darwin15.2.0, NS appkit-1404.34 Version 10.11.2 (Build
> 15C50)) of 2015-12-20).  Not sure what is causing this.

Thanks for reporting the issue.  It was introduced by 9b1c682
(org-agenda: Fix quit sticky agenda, 2015-12-12).  I'll put together a
fix soon.

-- 
Kyle



[O] Problem with org-ref

2015-12-23 Thread marvin doyley
Hi John,

I am playing with org-ref,  the melpa version.

Everything works fine except, one thing.  When I drag a pdf to an empty bibtex 
file it doesn’t extract the doi ( no doi found in the file:/// ). I 
tried it pdf you used  in your video (Examples of Effective Data Sharing in 
Scientific Publishing), but I got the same error. Dragging the url to the 
bibtex file also doesn’t works for me.

cheers,
M

PS by the way, your video was excellent :)

[O] 'q' not quitting agenda

2015-12-23 Thread David Mann
Hello group,

Recently I have found that using 'q' in the Agenda buffer closes the
other window and leaves the Agenda filling the whole frame.
org-agenda-sticky is nil.  I am using recent org-mode (Org-mode version
8.3.2 (release_8.3.2-416-g369955)) and emacs (GNU Emacs 25.1.50.1
(x86_64-apple-darwin15.2.0, NS appkit-1404.34 Version 10.11.2 (Build
15C50)) of 2015-12-20).  Not sure what is causing this.

David Mann




Re: [O] Problem with org-ref

2015-12-23 Thread Andreas Kiermeier
Hi John,

thanks for the quick feedback and fix. Yes, the version that comes with
GitHub (on Windows) works when set this way, though I had to specify
slightly differently (i.e quotes & backslashes):

(setq pdftotext-executable
"C:/Users/andre_000/AppData/Local/GitHub/PortableGit_c7e0cbde92ba565cb218a521411d0e854079a28c/mingw32/bin/pdftotext.exe")

But now the following error occurs, after inserting the new bibtex entry
and creating a new note (in the notes file):

org-ref-open-bibtex-notes: Wrong type argument: stringp, nil

Turning debugging on yields the following:

Debugger entered--Lisp error: (wrong-type-argument stringp nil)
  file-name-as-directory(nil)
  org-ref-open-bibtex-notes()
  doi-utils-insert-bibtex-entry-from-doi("10.1016/j.vetpar.2010.10.058")
  doi-utils-add-bibtex-entry-from-doi("10.1016/j.vetpar.2010.10.058"
"c:/Users/andre_000/Dropbox/_biblio/refs.bib")

org-ref-pdf-dnd-protocol("file:C%3A/Users/andre_000/Dropbox/Consulting/Projects/RedMeat/MLA_Beef_Measles-C_bovis/literature/VetPara_McFadden_2011.pdf"
private)
  byte-code(" \306 \211 \203%

Looks like something is still not quite right with the ":" in the pathname.

​Cheers,

Andreas​

On 24 December 2015 at 12:03, John Kitchin  wrote:

> I tested part of this on Windows in a git bash shell:
>
> $ pdftotext -v
> pdftotext version 0.14.5
> Copyright 2005-2010 The Poppler Developers -
> http://poppler.freedesktop.org
> Copyright 1996-2004 Glyph & Cog, LLC
>
> and then this works:
> $ pdftotext.exe kitchin-2015-examp.pdf - | grep DOI
> ACS Catal., Just Accepted Manuscript • DOI: 10.1021/acscatal.5b00538 •
> Publicati
> on Date (Web): 11 May 2015
> readers and citable by the Digital Object Identifier (DOI®). “Just
> Accepted” is
> an optional service offered
> sharing site which assigned the data set a DOI. 19 An alternative data
> repositor
> y could be an
> institutional data repository which also provides a DOI for citing. It
> remains t
> o be seen if
> stores that provide a citable DOI for the data set. The point is that this
> appro
> ach is very
>
> However, I see that in emacs, it appears another pdftotext is getting
> used, which does not work.
> ~/Desktop $ pdftotext -v
> pdftotext version 2.03
> Copyright 1996-2003 Glyph & Cog, LLC
>
> that is the same version that runs in a cmd shell.
>
> The version that seems to work for me is at "C:\Program Files
> (x86)\Git\bin\pdftotext".
>
> I added a variable to set the location of this program, and then rely on
> the executable path. It was a little tricky to set this right, note the
> escaped quotes.
>
> #+BEGIN_SRC emacs-lisp
> (setq pdftotext-executable "\"C:/Program Files (x86)/Git/bin/pdftotext\"")
> #+END_SRC
>
>
> It turned out there was another issue with the uri in the drag-n-drop
> needing to be unescaped on windows because of the : in the path, which is
> also done now.
>
> I pushed these out. hopefully that makes some progress for you! or at
> least gives some hints on where to look for the problem.
>
> Merry Xmas!
>
> 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 23, 2015 at 6:56 PM, Andreas Kiermeier <
> andreas.kierme...@gmail.com> wrote:
>
>> Hi John,
>> similar doi problem here.
>> My configuration is:
>>
>>- Windows 10
>>- GNU Emacs 24.5.1 (i686-pc-mingw32) of 2015-04-11 on LEG570
>>- Miktex (up-to-date) with pdftotext v0.32..0
>>- org-ref v 0.5.0 (from melpa)
>>
>> Running pdftotext from the command line works and produces a text file
>> with doi info.
>> Let me know what I can do to help to test things.
>> Thanks.
>> Andreas
>> PS: Thank you for org-ref ... an awesome Xmas present!
>>
>>
>> On 24 December 2015 at 08:00, John Kitchin 
>> wrote:
>>
>>> Thanks! Do you know if you have pdftotext working on your machine? The
>>> pdf drag-n-drop works by converting the pdf to text, and than matching a
>>> pattern to find a doi. If none is found, you get the message you noted. The
>>> url dnd works similarly, but there are a bunch of recipes for what to match
>>> depending on the base of the url.
>>>
>>> I did that on a Mac, and I haven't tested it on a windows or Linux
>>> machine.
>>>
>>> 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 23, 2015 at 4:22 PM, marvin doyley 
>>> wrote:
>>>
 Hi John,

 I am playing with org-ref,  the melpa version.

 Everything works fine except, one thing.  When I drag a pdf to an empty
 bibtex file it doesn’t extract the doi ( no doi found in the file:///).
 I tried it pdf 

Re: [O] org-ref video

2015-12-23 Thread Marcin Borkowski

On 2015-12-22, at 23:10, briangpowell .  wrote:

> Small note, feel free to ignore it (one and all); but, "LaTeX" is properly
> pronounced: "Lay-Teck"--since its a macro language which "lays on top of
> TeX"--the TeX part you pronounced correctly, which is the part that really
> matters (Tau-Epsilon-Chi).

My 2cents: not "teck", but "tekh" (as in Scottish "loch").  AFAIK,
"teck" is allowed, but it's not how Knuth pronounces TeX.

Merry Christmas to you all

-- 
Marcin Borkowski
http://octd.wmi.amu.edu.pl/en/Marcin_Borkowski
Faculty of Mathematics and Computer Science
Adam Mickiewicz University



Re: [O] 'q' not quitting agenda

2015-12-23 Thread Kyle Meyer
David Mann  writes:

> Kyle Meyer  writes:

[...]

>> Thanks for reporting the issue.  It was introduced by 9b1c682
>> (org-agenda: Fix quit sticky agenda, 2015-12-12).  I'll put together a
>> fix soon.
>
> Thanks!

Should be fixed with 6d0af59.

-- 
Kyle



Re: [O] blog refurbised: how is it in 2015 ?

2015-12-23 Thread Xavier Maillard
John Kitchin  writes:

>>
>> John Kitchin  writes:
>>
>>> I integrated org-mode to blogofile here:
>>> https://github.com/jkitchin/jmax/blob/master/user/blogofile.el>
>>> This lets me "publish" an org heading to the blog with a single key
>>> press, and it copies all the files, and other stuff to the right places,
>>> builds and pushes the blog.
>>
>> Nice job. I am pretty sure this can be extended to support any « external »
>> blog engine, right ? Do you have plan to do so ?
>
> Probably not until I decide to switch to another blog engine ;)

Fair enough :)

-- Xavier.




Re: [O] blog refurbised: how is it in 2015 ?

2015-12-23 Thread Xavier Maillard
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA512

Rainer M Krug  writes:

> Xavier Maillard  writes:
>
>> My question is simply: what are the tools/technics in 2015 to blog ? Can you
>> share some good recipes with me ?
>
> It depends where your blog is managed. If you are using wordpress, I can
> suggest org2blog - very nice to manage your posts there.

Well blog is a little exaggerated: at best, it will be a static pages blog. My
website can not serve dynamic stuff just static content (which is fine for
me).

Regards

- -- Xavier.
-BEGIN PGP SIGNATURE-
Comment: GPGTools - https://gpgtools.org

iQEbBAEBCgAGBQJWepH3AAoJEDy08nibbhJt/FsH9iZsYNy+axzTp2UwS1f1+BzY
wNwFTIIWFV0+30psX2GjQk+FYBEYYjzeKbSQIl/Nti/QbZcoC0wamLjxm7qZok6Q
AI3KxCv/MX9oPiER5l0D2cF+4kq3GUVrAWum+g/ub7DefUBCR9ztXNjCnDtiz6i+
PvAMm8ami7gRmdDu4Clg+24U9m9OgT6/tYexlNGPat7khpu8OwtbKY0Qs1X6eHWN
uM0LGcQJiEHUZf9j5B90UI5eZ+Xo57TrUpeSCyoMBp0HjDBVLdi4DSHqkWDY9uUB
5pRW2DHrYbOzt4c98edT8Usoxq8wGoQ/urJx1MWqrm1cuCI+37z1kG2NaRlc0g==
=cCcK
-END PGP SIGNATURE-




Re: [O] blog refurbised: how is it in 2015 ?

2015-12-23 Thread John Kitchin
>
> John Kitchin  writes:
>
>> I integrated org-mode to blogofile here:
>> https://github.com/jkitchin/jmax/blob/master/user/blogofile.el
>
>> This lets me "publish" an org heading to the blog with a single key
>> press, and it copies all the files, and other stuff to the right places,
>> builds and pushes the blog.
>
> Nice job. I am pretty sure this can be extended to support any « external »
> blog engine, right ? Do you have plan to do so ?

Probably not until I decide to switch to another blog engine ;)

>
> I do not know whether I want to install a blog engine at all or just use plain
> GNU emacs + org-mode power as my sole tools. Will see.
>
> - -- Xavier.
> -BEGIN PGP SIGNATURE-
> Comment: GPGTools - https://gpgtools.org
>
> iQEcBAEBCgAGBQJWei7tAAoJEDy08nibbhJtIoAIAK03sNOl7vDQSyHoHxAh3MQu
> MnIu+/EFEbyDAR7Ffk+mFnUT/RQ6kraCGVEknsGvZtA1bZPDpnAcXC0aAwBUWF9d
> J1gAkO59nvfaR3DJoFSHZ+LGCtPsRHx346F4EMXhtbrQVZnHFx5JnIv4v4sYRiJs
> I+/+U04KhB1St8GewWZQTxVYachS4IjZg4Mbk1ozvZUtki+K4Z95Yg1bgrFDPT5E
> zXzLaaFPaAWOymmlYXE0SblvVQPnokYLTfFrRml9A5JqcjJNDeidIElPeQt7QK0+
> AvCjOh/GHhGCxbDhbFLj+J9SyAPaBSlmpbNp9nVFlwYGYRl+757O0PwKbZUCl5k=
> =e90E
> -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