Send Ebib-users mailing list submissions to
[email protected]
To subscribe or unsubscribe via the World Wide Web, visit
https://lists.sourceforge.net/lists/listinfo/ebib-users
or, via email, send a message with subject or body 'help' to
[email protected]
You can reach the person managing the list at
[email protected]
When replying, please edit your Subject line so it is more specific
than "Re: Contents of Ebib-users digest..."
Today's Topics:
1. Re: elisp function to start ebib on specified bibtex entry
(Joost Kremers)
2. Re: elisp function to start ebib on specified bibtex entry
(Joost Kremers)
3. Re: elisp function to start ebib on specified bibtex entry
(Joost Kremers)
4. Re: elisp function to start ebib on specified bibtex entry
(Ali Tofigh)
5. Re: save virtual database or new feature? (Piter_)
6. ebib and web search (Piter_)
7. Re: new feature? (Piter_)
----------------------------------------------------------------------
Message: 1
Date: Thu, 9 Dec 2010 15:30:39 +0100
From: Joost Kremers <[email protected]>
Subject: Re: [Ebib-users] elisp function to start ebib on specified
bibtex entry
To: "Discussion of issues relating to Ebib."
<[email protected]>
Message-ID: <[email protected]>
Content-Type: text/plain; charset=utf-8
Hi Ali,
> No, I'm not planning to use the function interactively. I think it
> makes a lot of sense to just extend the functionality of 'ebib'. Makes
> for a very clean interface imo.
Yeah, me too. So then I'll make the change.
> >> I'll let you know once I set things up with org-mode.
> >
> > Yeah, that would be great. :-)
>
> I have now set up the connection between org-mode and ebib and it
> works great! It was easier than I had anticipated. I just added three
> lines to my .emacs:
>
> (org-add-link-type "ebib" 'org-ebib-open)
> (defun org-ebib-open (path)
> (ebib-start-on-entry path))
>
> Now I can insert ebib links like this: [[ebib:Jones1998][some paper
> title]] and open them in ebib by opening the link in org-mode.
Cool!
> I'm planning to write about this on the org-mode mailing list. Do you
> want me to wait until you have rewritten the 'ebib' function?
Yeah, that would be good. I have a few minutes to spare, so I'll see if I can
make the change. Shouldn't take too long.
Best,
Joost
--
Joost Kremers
Life has its moments
------------------------------
Message: 2
Date: Thu, 9 Dec 2010 15:46:38 +0100
From: Joost Kremers <[email protected]>
Subject: Re: [Ebib-users] elisp function to start ebib on specified
bibtex entry
To: [email protected]
Message-ID: <[email protected]>
Content-Type: text/plain; charset=utf-8
On Thu, Dec 09, 2010 at 03:30:39PM +0100, Joost Kremers wrote:
> Yeah, that would be good. I have a few minutes to spare, so I'll see if I can
> make the change. Shouldn't take too long.
Ok, done. It's in the repo. :-) Let me know if you experience any problems.
J.
--
Joost Kremers
Life has its moments
------------------------------
Message: 3
Date: Thu, 9 Dec 2010 15:52:04 +0100
From: Joost Kremers <[email protected]>
Subject: Re: [Ebib-users] elisp function to start ebib on specified
bibtex entry
To: [email protected]
Message-ID: <[email protected]>
Content-Type: text/plain; charset=utf-8
On Wed, Dec 08, 2010 at 11:44:50AM -0500, Ali Tofigh wrote:
> I have now set up the connection between org-mode and ebib and it
> works great! It was easier than I had anticipated. I just added three
> lines to my .emacs:
>
> (org-add-link-type "ebib" 'org-ebib-open)
> (defun org-ebib-open (path)
> (ebib-start-on-entry path))
Looking at this a bit closer, it should be possible to just do:
(org-add-link-type "ebib" 'ebib)
No need to create a wrapper function org-ebib-open if all it does is call 'ebib
and pass on the argument unchanged.
Unless of course there's a good reason for having an org link call a function
that starts with org-. But for me it works fine if I let org call ebib directly.
J.
--
Joost Kremers
Life has its moments
------------------------------
Message: 4
Date: Fri, 10 Dec 2010 12:12:54 -0500
From: Ali Tofigh <[email protected]>
Subject: Re: [Ebib-users] elisp function to start ebib on specified
bibtex entry
To: "Discussion of issues relating to Ebib."
<[email protected]>
Message-ID:
<[email protected]>
Content-Type: text/plain; charset=UTF-8
Hi Joost,
I've just tested your new code. It works perfectly. I'll be sending a
notice to the org-mode list.
/Ali
On Thu, Dec 9, 2010 at 09:52, Joost Kremers <[email protected]> wrote:
> On Wed, Dec 08, 2010 at 11:44:50AM -0500, Ali Tofigh wrote:
>> I have now set up the connection between org-mode and ebib and it
>> works great! It was easier than I had anticipated. I just added three
>> lines to my .emacs:
>>
>> (org-add-link-type "ebib" 'org-ebib-open)
>> (defun org-ebib-open (path)
>> ? ? (ebib-start-on-entry path))
>
> Looking at this a bit closer, it should be possible to just do:
>
> (org-add-link-type "ebib" 'ebib)
>
> No need to create a wrapper function org-ebib-open if all it does is call
> 'ebib
> and pass on the argument unchanged.
>
> Unless of course there's a good reason for having an org link call a function
> that starts with org-. But for me it works fine if I let org call ebib
> directly.
>
> J.
>
>
> --
> Joost Kremers
> Life has its moments
>
> ------------------------------------------------------------------------------
> This SF Dev2Dev email is sponsored by:
>
> WikiLeaks The End of the Free Internet
> http://p.sf.net/sfu/therealnews-com
> _______________________________________________
> Ebib-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/ebib-users
>
------------------------------
Message: 5
Date: Thu, 3 Mar 2011 10:27:48 +0100
From: Piter_ <[email protected]>
Subject: Re: [Ebib-users] save virtual database or new feature?
To: "Discussion of issues relating to Ebib."
<[email protected]>
Message-ID:
<[email protected]>
Content-Type: text/plain; charset=ISO-8859-1
Hi Joost.
Thanks for your reply.
Yes to add it will be easy to add new "drawer" field. But I have
realized that virtual database cannot be edited. Is it possible to
make some workarround it? Without this my idea will not be much
useful.
Thanks.
Petro
On Tue, Nov 30, 2010 at 12:31 PM, Joost Kremers
<[email protected]> wrote:
> Hi Petro,
>
> sorry for the late reply, I haven't been reading my mail for the past few
> days...
>
>> Virtual databases can be created for some keywords, but sometimes one
>> wants to sort articles in the different manner.
>> Is it possible to make the following:
>> add a "drawer" field into entry, which contains a keywords names for
>> different drawers.
>
> I'm not entirely sure what you mean by "drawers". Do you mean you'd like to
> add
> another field called "drawers"? That's pretty easy, you can do that by
> configuring the variable ebib-additional-fields. Of course, that doesn't give
> you a menu.
>
>> now one can define a function add-to-drawer ?which upon execution
>> shows menu with all available drawers in current database, plus
>> possibility to create (add) new drawer. The menu similar to ispell
>> menu.
>>
>> (1)topic1(2)topuc2)(c)create new
>>
>> or something like this.
>> similar function remove-from-drawer, and show the drawer which uses
>> virtual database feature to show references from different drawers.
>
> I'm not sure how the virtual databases come in here... Could you explain a bit
> more about how this functionality should work? If it's possible to implement
> it,
> I'd be happy to see what I can do.
>
> HTH
>
> Joost
>
>
> --
> Joost Kremers
> Life has its moments
>
> ------------------------------------------------------------------------------
> Increase Visibility of Your 3D Game App & Earn a Chance To Win $500!
> Tap into the largest installed PC base & get more eyes on your game by
> optimizing for Intel(R) Graphics Technology. Get started today with the
> Intel(R) Software Partner Program. Five $500 cash prizes are up for grabs.
> http://p.sf.net/sfu/intelisp-dev2dev
> _______________________________________________
> Ebib-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/ebib-users
>
------------------------------
Message: 6
Date: Thu, 3 Mar 2011 10:33:56 +0100
From: Piter_ <[email protected]>
Subject: [Ebib-users] ebib and web search
To: "Discussion of issues relating to Ebib."
<[email protected]>
Message-ID:
<[email protected]>
Content-Type: text/plain; charset=ISO-8859-1
Hi all.
I have found great emacs mod for literature search
http://pubmode.sourceforge.net/ (this is for literature in biology).
Are there any plans to add such (or similar) feature to ebib?
Thanks.
Petro.
------------------------------
Message: 7
Date: Thu, 3 Mar 2011 10:38:54 +0100
From: Piter_ <[email protected]>
Subject: Re: [Ebib-users] new feature?
To: "Discussion of issues relating to Ebib."
<[email protected]>
Message-ID:
<[email protected]>
Content-Type: text/plain; charset=ISO-8859-1
Hi Joost.
I have finally tried the function you wrote.
Thanks it works. I juss made a minor modification. Because my bibtex
keys look like Joost:2011 and i don't want ":" in filename
I chage
(puthash 'file (concat "{" (car (edb-cur-entry ebib-cur-db)) ".pdf}")
ebib-cur-entry-hash)
to
(puthash 'file (replace-regexp-in-string ":" "" (concat "{" (car
(edb-cur-entry ebib-cur-db)) ".pdf}")) ebib-cur-entry-hash)
Thanks.
On Sun, Oct 17, 2010 at 12:44 PM, Joost Kremers
<[email protected]> wrote:
> Hi Petro,
>
> Thanks for that clarification. The following function does what you want:
>
> ============================================================
>
> (defun ebib-pdf-file-name ()
> ?"Create a pdf file name of the basis of the current entry key.
> The file name is inserted in the file field of the current entry."
> ?(interactive)
> ?(ebib-execute-when
> ? ?((entries)
> ? ? (if (gethash 'file ebib-cur-entry-hash)
> ? ? ? ? (beep)
> ? ? ? (puthash 'file (concat "{" (car (edb-cur-entry ebib-cur-db)) ".pdf}")
> ebib-cur-entry-hash)
> ? ? ? (ebib-fill-entry-buffer)))
> ? ?((default)
> ? ? (beep))))
>
> ============================================================
>
> I'm not sure if I'll include this in Ebib, so it's probably easiest for you to
> put this into your ~/.emacs. As it is, the function can be called with M-x
> ebib-pdf-file-name, but you'll probably want to bind it to a key. You can do
> so
> in ~/.emacs as well, with:
>
> (ebib-key index "D" ebib-pdf-file-name)
>
> (Choose any key you want, of course.) Note: the function is meant to be used
> in
> the index buffer (which I assume is what you want). In order for this key
> assignment to work, you'll need to load ebib in your ~/.emacs, not autoload
> it.
> So instead of the autoload line as explained in the manual, just put the
> following in ~/.emacs:
>
> (load "path/to/ebib.el")
>
> You'll need to specify the correct path, of course.
>
> Best,
>
> Joost
>
>
> On Fri, Oct 15, 2010 at 12:49:19PM +0200, Piter_ wrote:
>> Sorry.
>> My English was not clear.
>> The string Fool1999.pdf ?has to go into "file" field of the same entry.
>> Thanks.
>> Petro.
>>
>>
>> On Thu, Oct 14, 2010 at 4:52 PM, Joost Kremers <[email protected]>
>> wrote:
>> > On Thu, Oct 14, 2010 at 04:06:33PM +0200, Piter_ wrote:
>> >> I would like to ask if its possible to implement the following in ebib.
>> >> To make a keystroke that compose a filename for file from bibtex index
>> >> and pdf extention.
>> >> For example if I reference Fool1999 selected uponn pressing it in file
>> >> file ill have Fool1999.pdf.
>> >
>> > I'm not entirely sure I understand what you mean. It's certainly possible
>> > to
>> > create the string "Fool1999.pdf" on the basis of an entry key "Fool1999",
>> > but
>> > where should it go? Do you mean something like the push functionality,
>> > where an
>> > entry key gets pushed to another buffer?
>> >
>> > Joost
>> >
>> >
>> >
>> > ------------------------------------------------------------------------------
>> > Beautiful is writing same markup. Internet Explorer 9 supports
>> > standards for HTML5, CSS3, SVG 1.1, ?ECMAScript5, and DOM L2 & L3.
>> > Spend less time writing and ?rewriting code and more time creating great
>> > experiences on the web. Be a part of the beta today.
>> > http://p.sf.net/sfu/beautyoftheweb
>> > _______________________________________________
>> > Ebib-users mailing list
>> > [email protected]
>> > https://lists.sourceforge.net/lists/listinfo/ebib-users
>> >
>>
>> ------------------------------------------------------------------------------
>> Download new Adobe(R) Flash(R) Builder(TM) 4
>> The new Adobe(R) Flex(R) 4 and Flash(R) Builder(TM) 4 (formerly
>> Flex(R) Builder(TM)) enable the development of rich applications that run
>> across multiple browsers and platforms. Download your free trials today!
>> http://p.sf.net/sfu/adobe-dev2dev
>> _______________________________________________
>> Ebib-users mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/ebib-users
>
> --
> Joost Kremers
> Life has its moments
>
> ------------------------------------------------------------------------------
> Download new Adobe(R) Flash(R) Builder(TM) 4
> The new Adobe(R) Flex(R) 4 and Flash(R) Builder(TM) 4 (formerly
> Flex(R) Builder(TM)) enable the development of rich applications that run
> across multiple browsers and platforms. Download your free trials today!
> http://p.sf.net/sfu/adobe-dev2dev
> _______________________________________________
> Ebib-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/ebib-users
>
------------------------------
------------------------------------------------------------------------------
Free Software Download: Index, Search & Analyze Logs and other IT data in
Real-Time with Splunk. Collect, index and harness all the fast moving IT data
generated by your applications, servers and devices whether physical, virtual
or in the cloud. Deliver compliance at lower cost and gain new business
insights. http://p.sf.net/sfu/splunk-dev2dev
------------------------------
_______________________________________________
Ebib-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ebib-users
End of Ebib-users Digest, Vol 15, Issue 1
*****************************************