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
(Ali Tofigh)
2. Re: elisp function to start ebib on specified bibtex entry
(Joost Kremers)
3. new feature? (Piter_)
4. Re: new feature? (Joost Kremers)
5. Re: new feature? (Piter_)
6. Re: new feature? (Joost Kremers)
7. Re: new feature? (Piter_)
----------------------------------------------------------------------
Message: 1
Date: Sun, 12 Sep 2010 12:05:39 -0400
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]>, [email protected]
Message-ID:
<[email protected]>
Content-Type: text/plain; charset=UTF-8
Hi Joost!
Thanks so much for this function. It will be very useful to me. I have
been using Ebib a while now and I am very happy with it. I have also
migrated my task management to org-mode. And now I have the glue that
I need to connect these two. I'm used to working with git so that will
be perfect. Once I have set things up for myself, I will probably send
a note to the org-mode mailing list. I remember that this issue has
come up there previously, so hopefully more people will find it
useful.
Thanks,
/Ali
On Sun, Sep 12, 2010 at 07:07, Joost Kremers <[email protected]> wrote:
> hi ali,
>
> it took me a while to get round to it, but i finally wrote the function you
> asked for... it's in the git repository now, if you use git, just check out
> the
> latest version. (if you don't want to use git, let me know, i can make a new
> release at sourceforge. which won't take as long as it took to write the
> function. promise. :-/ )
>
> the function is called 'ebib-start-on-entry'. it takes one argument, the entry
> key of the entry you want selected. note that this entry has to be in the last
> database that is preloaded through the customisation option "Ebib Preload Bib
> Files", or, if Ebib is already running in the background, it has to be in the
> current database. if 'ebib-start-on-entry' doesn't find the entry key, it
> simply
> acts as if you called 'ebib'.
>
> you can call 'ebib-start-on-entry' from a function with
>
> ? ?(ebib-start-on-entry "Jones1998")
>
> or you can call it interactively with `M-x ebib-start-on-entry'. in that case,
> you'll be prompted to supply the entry you want selected.
>
> i know it's pretty late, but hopefully the function is still helpful. :-)
>
> best,
>
> joost
>
>
>
> On Thu, Jun 03, 2010 at 05:43:09PM -0400, Ali Tofigh wrote:
>> hi,
>>
>> i'm not knowledgeable about elisp. in the current ebib implementation,
>> is it possible to write an elisp function, that takes a bibtex entry
>> as argument, and starts ebib, opens a standard database (possible also
>> given as argument), and directly positions the cursor at the specified
>> bibtex entry in the index buffer?
>>
>> /ali
>>
>> ------------------------------------------------------------------------------
>> ThinkGeek and WIRED's GeekDad team up for the Ultimate
>> GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the
>> lucky parental unit. ?See the prize list and enter to win:
>> http://p.sf.net/sfu/thinkgeek-promo
>> _______________________________________________
>> Ebib-users mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/ebib-users
>
> --
> Joost Kremers
> Life has its moments
>
------------------------------
Message: 2
Date: Mon, 13 Sep 2010 10:56:14 +0200
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,
> Thanks so much for this function. It will be very useful to me.
Ah, I'm glad to hear that!
Of course, if any problems turn up or you need some further functionality, don't
hesitate to ask.
> I have
> been using Ebib a while now and I am very happy with it. I have also
> migrated my task management to org-mode. And now I have the glue that
> I need to connect these two. I'm used to working with git so that will
> be perfect. Once I have set things up for myself, I will probably send
> a note to the org-mode mailing list. I remember that this issue has
> come up there previously, so hopefully more people will find it
> useful.
I'd be interested in that myself, actually. :-) I've started using org-mode a
while ago (though for the moment I'm barely scratching the surface of what it
can do!) and it be interesting to see how exactly you connect ebib and org-mode.
So I'll keep an eye out for your message to the org-mode mailing list!
Best,
Joost
--
Joost Kremers
Life has its moments
------------------------------
Message: 3
Date: Thu, 14 Oct 2010 16:06:33 +0200
From: Piter_ <[email protected]>
Subject: [Ebib-users] new feature?
To: [email protected]
Message-ID:
<[email protected]>
Content-Type: text/plain; charset=ISO-8859-1
Hi all there.
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.
Thanks.
Petro.
------------------------------
Message: 4
Date: Thu, 14 Oct 2010 16:52:45 +0200
From: Joost Kremers <[email protected]>
Subject: Re: [Ebib-users] new feature?
To: [email protected]
Message-ID: <[email protected]>
Content-Type: text/plain; charset=utf-8
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
--
Joost Kremers
Life has its moments
------------------------------
Message: 5
Date: Fri, 15 Oct 2010 12:49:19 +0200
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
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
>
>
> --
> Joost Kremers
> Life has its moments
>
> ------------------------------------------------------------------------------
> 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
>
------------------------------
Message: 6
Date: Sun, 17 Oct 2010 12:44:01 +0200
From: Joost Kremers <[email protected]>
Subject: Re: [Ebib-users] new feature?
To: [email protected]
Message-ID: <20101017104401.ga3...@eeenterprise>
Content-Type: text/plain; charset=utf-8
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
------------------------------
Message: 7
Date: Mon, 18 Oct 2010 18:36:07 +0200
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
Thanks a lot.
I will give it a try.
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
>
------------------------------
------------------------------------------------------------------------------
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
End of Ebib-users Digest, Vol 13, Issue 1
*****************************************