Re: [Bibdesk-users] Not able to drag and release?

2007-07-30 Thread Jung-Tsung Shen
On 7/30/07, Adam R. Maxwell <[EMAIL PROTECTED]> wrote:
>
> On Jul 30, 2007, at 19:00, Jung-Tsung Shen wrote:
>
> >>> Here's a sample data that refused to be dragged:
> >>> *
> >>>
> >>> @article{auff\`{e}ves-garnier:053823,
> >>
> >> This cite key is not valid; you need to remove the \'{} characters.
> >> Even if those characters were allowed, the \` should be inside the
> >> braces for BibTeX.
> >>
> >
> > Adam, isn't it the most easiest if BibDesk temporarily allows the
> > addition, and then the user manually modifies the entry? It might be
> > useful in this case that BibDesk performs the check *when* it comes to
> > save, but not at the point of addition ... Otherwise, the addition of
> > such entry becomes quite unnecessarily multi-stepped ...
>
> Not possible.  We use a regular expression to determine the type of
> text (BibTeX, RIS, Refer, JSTOR, ISI, MARC, XML...) when pasting or
> dragging.  If it has syntax errors in the cite key or type, we don't
> recognize it as BibTeX.  If you save it in a .bib file using a text
> editor, you can open it with BibDesk (which will then tell you there's
> a syntax error and the file can't be read).  So the problem isn't with
> saving, it's the impossibility of interpreting it as BibTeX.
>

I see. Thanks, Adam.

-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
___
Bibdesk-users mailing list
Bibdesk-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bibdesk-users


Re: [Bibdesk-users] Not able to drag and release?

2007-07-30 Thread Adam R. Maxwell

On Jul 30, 2007, at 19:00, Jung-Tsung Shen wrote:

>>> Here's a sample data that refused to be dragged:
>>> *
>>>
>>> @article{auff\`{e}ves-garnier:053823,
>>
>> This cite key is not valid; you need to remove the \'{} characters.
>> Even if those characters were allowed, the \` should be inside the
>> braces for BibTeX.
>>
>
> Adam, isn't it the most easiest if BibDesk temporarily allows the
> addition, and then the user manually modifies the entry? It might be
> useful in this case that BibDesk performs the check *when* it comes to
> save, but not at the point of addition ... Otherwise, the addition of
> such entry becomes quite unnecessarily multi-stepped ...

Not possible.  We use a regular expression to determine the type of  
text (BibTeX, RIS, Refer, JSTOR, ISI, MARC, XML...) when pasting or  
dragging.  If it has syntax errors in the cite key or type, we don't  
recognize it as BibTeX.  If you save it in a .bib file using a text  
editor, you can open it with BibDesk (which will then tell you there's  
a syntax error and the file can't be read).  So the problem isn't with  
saving, it's the impossibility of interpreting it as BibTeX.

-- 
Adam


-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
___
Bibdesk-users mailing list
Bibdesk-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bibdesk-users


Re: [Bibdesk-users] Not able to drag and release?

2007-07-30 Thread Jung-Tsung Shen
Adam,

Thanks for the reply.

On 7/30/07, Adam R. Maxwell <[EMAIL PROTECTED]> wrote:
>
> On Jul 30, 2007, at 14:41, Jung-Tsung Shen wrote:
>
> > For APS journals (e.g. Physical Review family), I usually have the
> > LaTeX bib data for a paper displayed by the web browser (Safari), then
> > highlight the whole block and drag and release to an empty
> > "Publication" entry in BibDesk.
>
> Using Services might be easier...

Never knew that I could use Services to achieve this. I learn a new
thing about BibDesk every day. :-)

>
> > Here's a sample data that refused to be dragged:
> > *
> >
> > @article{auff\`{e}ves-garnier:053823,
>
> This cite key is not valid; you need to remove the \'{} characters.
> Even if those characters were allowed, the \` should be inside the
> braces for BibTeX.
>

Adam, isn't it the most easiest if BibDesk temporarily allows the
addition, and then the user manually modifies the entry? It might be
useful in this case that BibDesk performs the check *when* it comes to
save, but not at the point of addition ... Otherwise, the addition of
such entry becomes quite unnecessarily multi-stepped ...

JT

-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
___
Bibdesk-users mailing list
Bibdesk-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bibdesk-users


Re: [Bibdesk-users] Not able to drag and release?

2007-07-30 Thread Adam R. Maxwell

On Jul 30, 2007, at 14:41, Jung-Tsung Shen wrote:

> For APS journals (e.g. Physical Review family), I usually have the
> LaTeX bib data for a paper displayed by the web browser (Safari), then
> highlight the whole block and drag and release to an empty
> "Publication" entry in BibDesk.

Using Services might be easier...

[...]

> Here's a sample data that refused to be dragged:
> *
>
> @article{auff\`{e}ves-garnier:053823,

This cite key is not valid; you need to remove the \'{} characters.   
Even if those characters were allowed, the \` should be inside the  
braces for BibTeX.

-- 
Adam

-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
___
Bibdesk-users mailing list
Bibdesk-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bibdesk-users


Re: [Bibdesk-users] auto-generated minimal bibtex files

2007-07-30 Thread Matthew Walter
Christiaan,

I downloaded the build and am able to run the the save-to-minimal- 
bibtex script without problems. thanks for all your help.

- matt



On Jul 30, 2007, at 6:29 AM, Christiaan Hofman wrote:

> I put an example script hook on the Wiki to auto-save RIS. It  
> should work (with todays nightly) also with Minimal BibTeX Database  
> if you make the appropriate changes to the first 3 lines (also add  
> a suffix, you don't want to override the full bibtex file).
>
> Christiaan
>
> On 30 Jul 2007, at 11:06 AM, Christiaan Hofman wrote:
>
>> But note that this is not a template, it's an export type. So in  
>> principle you should be able to use the "save" command for that  
>> (with the "in" and "as" arguments). Though that might not work, as  
>> AppKit has a buggy implementation of the save command (you may  
>> need todays nightly where it will be fixed). Or you can write a  
>> template for minimal bibtex.
>>
>> Christiaan
>>
>> On 7/30/07, Christiaan Hofman <[EMAIL PROTECTED]> wrote:
>> Minimal BibTeX Database
>>
>> Christiaan
>>
>> On 30 Jul 2007, at 12:42 AM, Matthew Walter wrote:
>>
>> > Christiaan,
>> >
>> > Great, thanks. one more question, though: what is the name of the
>> > template for minimal bibtex?
>> >
>> > - matt
>> >
>> >
>> > On Jul 29, 2007, at 5:46 PM, Christiaan Hofman wrote:
>> >
>> >> You could use AppleScript. If you want to do it automatically,  
>> have a
>> >> look at the example script hook in the online help to auto-save  
>> RSS
>> >> (the script can be downloaded from the Wiki).
>> >>
>> >> Christiaan
>> >>
>> >> On 29 Jul 2007, at 11:37 PM, Matthew Walter wrote:
>> >>
>> >>> Hi,
>> >>>
>> >>> First off, I've been using BibDesk for a few years now and  
>> find it
>> >>> very helpful in organizing my bibliography and papers.
>> >>>
>> >>> I use subversion to maintain my .bib file and occasionally
>> >>> include it
>> >>> in the tex source for papers that I am collaborating on. It  
>> would be
>> >>> nice if this shared version had only the standard/minimal fields
>> >>> (i.e. not "local-url" or "date-modified", etc). Without having to
>> >>> export a minimal bibtex, is there anyway to automatically  
>> maintain a
>> >>> minimal version of bibliographies in addition to the full version
>> >>> (i.e. with all the fields)? Supposing that references.bib is  
>> my main
>> >>> (full) bibtex file, each time I change it and save with  
>> BibDesk, I'd
>> >>> like to auto-generate a corresponding references_minimal.bib.
>> >>>
>> >>> Any help/comments are appreciated.
>> >>>
>> >>> Thanks,
>> >>> Matt Walter
>> >>>
> -- 
> ---
> This SF.net email is sponsored by: Splunk Inc.
> Still grepping through log files to find problems?  Stop.
> Now Search log events and configuration files using AJAX and a  
> browser.
> Download your FREE copy of Splunk now >>  http://get.splunk.com/ 
> ___
> Bibdesk-users mailing list
> Bibdesk-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/bibdesk-users


-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
___
Bibdesk-users mailing list
Bibdesk-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bibdesk-users


[Bibdesk-users] Not able to drag and release?

2007-07-30 Thread Jung-Tsung Shen
For APS journals (e.g. Physical Review family), I usually have the
LaTeX bib data for a paper displayed by the web browser (Safari), then
highlight the whole block and drag and release to an empty
"Publication" entry in BibDesk.

Sometimes, however, there were some data simply refused to be dragged.
I guess the problem resulted from the encoding, but couldn't figure
out a way to go around it, except that I typed in the data manually
and avoided the special characters. I am now writing to ask what the
correct way it is. In the following I attach a sample data that
refused to be dragged.

Thanks for any guidance.

JT

Here's a sample data that refused to be dragged:
*

@article{auff\`{e}ves-garnier:053823,
author = {Alexia Auff\`{e}ves-Garnier and Christoph Simon and
Jean-Michel G\'{e}rard and Jean-Philippe Poizat},
collaboration = {},
title = {Giant optical nonlinearity induced by a single two-level
system interacting with a cavity in the Purcell regime},
publisher = {APS},
year = {2007},
journal = {Physical Review A (Atomic, Molecular, and Optical Physics)},
volume = {75},
number = {5},
eid = {053823},
numpages = {16},
pages = {053823},
keywords = {nonlinear optics; microcavities; semiconductor quantum
dots; quantum optics; atom-photon collisions},
url = {http://link.aps.org/abstract/PRA/v75/e053823},
doi = {10.1103/PhysRevA.75.053823}
}

**
which is from

http://scitation.aip.org/getabs/servlet/GetCitation?source=scitation&PrefType=ARTICLE&PrefAction=Add+Selected&SelectCheck=PLRAAN750505382301&fn=view_bibtex2&downloadcitation=+Go+

-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
___
Bibdesk-users mailing list
Bibdesk-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bibdesk-users


Re: [Bibdesk-users] auto-generated minimal bibtex files

2007-07-30 Thread Christiaan Hofman
I put an example script hook on the Wiki to auto-save RIS. It should  
work (with todays nightly) also with Minimal BibTeX Database if you  
make the appropriate changes to the first 3 lines (also add a suffix,  
you don't want to override the full bibtex file).


Christiaan

On 30 Jul 2007, at 11:06 AM, Christiaan Hofman wrote:

But note that this is not a template, it's an export type. So in  
principle you should be able to use the "save" command for that  
(with the "in" and "as" arguments). Though that might not work, as  
AppKit has a buggy implementation of the save command (you may need  
todays nightly where it will be fixed). Or you can write a template  
for minimal bibtex.


Christiaan

On 7/30/07, Christiaan Hofman <[EMAIL PROTECTED]> wrote:
Minimal BibTeX Database

Christiaan

On 30 Jul 2007, at 12:42 AM, Matthew Walter wrote:

> Christiaan,
>
> Great, thanks. one more question, though: what is the name of the
> template for minimal bibtex?
>
> - matt
>
>
> On Jul 29, 2007, at 5:46 PM, Christiaan Hofman wrote:
>
>> You could use AppleScript. If you want to do it automatically,  
have a

>> look at the example script hook in the online help to auto-save RSS
>> (the script can be downloaded from the Wiki).
>>
>> Christiaan
>>
>> On 29 Jul 2007, at 11:37 PM, Matthew Walter wrote:
>>
>>> Hi,
>>>
>>> First off, I've been using BibDesk for a few years now and find it
>>> very helpful in organizing my bibliography and papers.
>>>
>>> I use subversion to maintain my .bib file and occasionally
>>> include it
>>> in the tex source for papers that I am collaborating on. It  
would be

>>> nice if this shared version had only the standard/minimal fields
>>> (i.e. not "local-url" or "date-modified", etc). Without having to
>>> export a minimal bibtex, is there anyway to automatically  
maintain a

>>> minimal version of bibliographies in addition to the full version
>>> (i.e. with all the fields)? Supposing that references.bib is my  
main
>>> (full) bibtex file, each time I change it and save with  
BibDesk, I'd

>>> like to auto-generate a corresponding references_minimal.bib.
>>>
>>> Any help/comments are appreciated.
>>>
>>> Thanks,
>>> Matt Walter
>>>
-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/___
Bibdesk-users mailing list
Bibdesk-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bibdesk-users


Re: [Bibdesk-users] auto-generated minimal bibtex files

2007-07-30 Thread Christiaan Hofman
But note that this is not a template, it's an export type. So in principle
you should be able to use the "save" command for that (with the "in" and
"as" arguments). Though that might not work, as AppKit has a buggy
implementation of the save command (you may need todays nightly where it
will be fixed). Or you can write a template for minimal bibtex.

Christiaan

On 7/30/07, Christiaan Hofman <[EMAIL PROTECTED]> wrote:
>
> Minimal BibTeX Database
>
> Christiaan
>
> On 30 Jul 2007, at 12:42 AM, Matthew Walter wrote:
>
> > Christiaan,
> >
> > Great, thanks. one more question, though: what is the name of the
> > template for minimal bibtex?
> >
> > - matt
> >
> >
> > On Jul 29, 2007, at 5:46 PM, Christiaan Hofman wrote:
> >
> >> You could use AppleScript. If you want to do it automatically, have a
> >> look at the example script hook in the online help to auto-save RSS
> >> (the script can be downloaded from the Wiki).
> >>
> >> Christiaan
> >>
> >> On 29 Jul 2007, at 11:37 PM, Matthew Walter wrote:
> >>
> >>> Hi,
> >>>
> >>> First off, I've been using BibDesk for a few years now and find it
> >>> very helpful in organizing my bibliography and papers.
> >>>
> >>> I use subversion to maintain my .bib file and occasionally
> >>> include it
> >>> in the tex source for papers that I am collaborating on. It would be
> >>> nice if this shared version had only the standard/minimal fields
> >>> (i.e. not "local-url" or "date-modified", etc). Without having to
> >>> export a minimal bibtex, is there anyway to automatically maintain a
> >>> minimal version of bibliographies in addition to the full version
> >>> (i.e. with all the fields)? Supposing that references.bib is my main
> >>> (full) bibtex file, each time I change it and save with BibDesk, I'd
> >>> like to auto-generate a corresponding references_minimal.bib.
> >>>
> >>> Any help/comments are appreciated.
> >>>
> >>> Thanks,
> >>> Matt Walter
> >>>
> >>>
> >>>
> >>> 
> >>> -
> >>> -
> >>> ---
> >>> This SF.net email is sponsored by: Splunk Inc.
> >>> Still grepping through log files to find problems?  Stop.
> >>> Now Search log events and configuration files using AJAX and a
> >>> browser.
> >>> Download your FREE copy of Splunk now >>  http://get.splunk.com/
> >>> ___
> >>> Bibdesk-users mailing list
> >>> Bibdesk-users@lists.sourceforge.net
> >>> https://lists.sourceforge.net/lists/listinfo/bibdesk-users
> >>
> >>
> >> -
> >> -
> >> ---
> >> This SF.net email is sponsored by: Splunk Inc.
> >> Still grepping through log files to find problems?  Stop.
> >> Now Search log events and configuration files using AJAX and a
> >> browser.
> >> Download your FREE copy of Splunk now >>  http://get.splunk.com/
> >> ___
> >> Bibdesk-users mailing list
> >> Bibdesk-users@lists.sourceforge.net
> >> https://lists.sourceforge.net/lists/listinfo/bibdesk-users
> >
> >
> > --
> > ---
> > This SF.net email is sponsored by: Splunk Inc.
> > Still grepping through log files to find problems?  Stop.
> > Now Search log events and configuration files using AJAX and a
> > browser.
> > Download your FREE copy of Splunk now >>  http://get.splunk.com/
> > ___
> > Bibdesk-users mailing list
> > Bibdesk-users@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/bibdesk-users
>
>
-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/___
Bibdesk-users mailing list
Bibdesk-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bibdesk-users