On Monday, November 26, 2007, at 04:20PM, "Paul-Olivier Dehaye" <[EMAIL
PROTECTED]> wrote:
>Thanks for the reply so far.
>
>> > - I don't understand how to use the macro feature. If I want to add
>> > @preamble{
>> > "\def\cprime{$'$} "
>> > }
>>
>> You'd need to add this manually in a text editor, or put it in the
>> frontmatter template (which is written to all files) using the Files
>> preference pane. We only provide editing for @string macros.
>
>Still: I found it in the Preferences panel, edited template.txt, which
>was put in the folder
>~/Library/Application Support/BibDesk/
>and added what I wanted. If I go back to the Preferences and edit
>again I see that my changes are saved. But when I save into a
>bibliography file, noting is added to the file (I did check the
>checkbox
>"Write template file at the front of every file while saving"
>It does really look like a bug?
It works for me. The content of my ~/Library/Application
Support/BibDesk/template.txt file is now
%% This BibTeX bibliography file was created using BibDesk.
%% http://bibdesk.sourceforge.net/
@preamble{
"\def\cprime{$'$} "
}
and saving a file gives me
%% This BibTeX bibliography file was created using BibDesk.
%% http://bibdesk.sourceforge.net/
@preamble{"\def\cprime{$'$} "}
%% Created for Adam Maxwell at 2007-11-26 16:28:08 -0800
%% Saved with string encoding Unicode (UTF-8)
which is what I expected. Adding that line to the .bib file directly in a text
editor (and not the template) should also work, so I've no idea what's going
wrong for you. You might try to quit and relaunch BibDesk, in case there's
something that doesn't get set properly when the template is enabled.
>> > - It would be very very very nice if you could support Mathscinet as
>> > well. I know this isn't a free database, but it is the reference
>> > database for most mathematicians, who in turn are the biggest users of
>> > Latex/Bibtex (I suspect).
>>
>> This is a fairly frequent request. Unfortunately, Christiaan and I do
>> not have access to Mathscinet, which makes development and testing
>> well-nigh impossible. We need an enterprising mathematician to come
>> on board and provide a patch, or some other developer to step up.
>
>I wish I could help. This seems to be true: if you are on Mathscinet,
>and have just made a search in HTML mode (just like on Google
>Scholar), if you add "&fmt=bibtex" to the url, you would get an html
>file with something ready for a cut and paste to BibDesk. But
>everything to cut and paste is actually included in the <pre> </pre>
>HTML tags, so could easily be parsed out. How do you do it for Google
>Scholar? Is it documented?
That sounds easy enough to work with. We use xpath queries and crafted URLs
for the other sites to do similar things. If you grok Objective-C, take a look
at
https://bibdesk.svn.sourceforge.net/svnroot/bibdesk/trunk/bibdesk/BDSKGoogleScholarParser.m
for an example.
--
adam
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Bibdesk-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bibdesk-users