On 17 May 2009, at 2:00 AM, David Nicholls wrote:

> Thanks, Christiaan,
>
> As I'm pretty new to Latex (and even newer to Bibtex) I'm just using  
> the
>  default install settings from the batch of installs from the Mactex  
> site.

Than it shouldn't be conneced to the bibtex style.

However you DO have some undefined command. I don't know where you got  
it from, so there's nothing I can say about it.

> So that transforms my question to:
>
> (a) What style do I need to use for bibtext and

You don't 'need' anything. Or in other words: you need to define what  
you use... and as I don't know what kind of data you use, there's  
nothing I can say about that.

> (b) where do I put the .sty file?

Best is to put .sty files in a standard location where tex can find  
it. However where this is depends on your tex distribution... in my  
case it's in ~/Library/texmf/tex.

Christiaan

> Sorry this has got somewhat OT, but I'd appreciate assistance from
> anyone who uses SAO/ADS data successfully.  It may also help other
> neophyte Bibdesk users.
>
> Regards
>
> DN
>
> Christiaan Hofman wrote:
>> This is a TeX error. There's an undefined command \apjs in your data.
>> You may be using a non-standard bibtex style, and need a  
>> corresponding
>> tex style file?
>>
>> Christiaan
>>
>> On 16 May 2009, at 5:16 PM, David Nicholls wrote:
>>
>>> From what I read, this is not a new problem.
>>>
>>> I'm using Bibdesk 1.3.20 on OSX 10.5.7, with data from SAO/NASA ADS
>>>
>>> I'm seeing the error in two forms:
>>>
>>> (1) While I get the error message 'Tex preview generation failed',  
>>> it
>>> does generate a preview.  This happens for every record whether
>>> selected
>>> individually or in a group, except when the second error form occurs
>>> (below).
>>>
>>> The log includes the following:
>>>
>>> .....
>>>
>>> (./bibpreview.bbl
>>> ! Undefined control sequence.
>>> l.9 \newblock {\em \apjs
>>>                        }, 167:177--200, Dec. 2006.
>>> The control sequence at the end of the top line
>>> of your error message was never \def'ed. If you have
>>> misspelled it (e.g., `\hobx'), type `I' and the correct
>>> spelling (e.g., `I\hbox'). Otherwise just continue,
>>> and I'll forget about whatever was undefined.
>>>
>>> )
>>>
>>> ......
>>>
>>> (2) The second form doesn't generate a preview, just the message:
>>> '*****
>>> ERROR:  unable to create preview *****'
>>>
>>> The is accompanied in the log by:
>>>
>>> .....
>>>
>>> ---------- BibTeX log file -------
>>> File:
>>> "/var/folders/pY/pYWCInoIEimeOp31FlHgg++++TI/-Tmp-/bibdesk.agRcq9/
>>> bibpreview/bibpreview.blg"
>>> (null)
>>>
>>> ---------- BibDesk info ----------
>>> <BDSKTeXTask: 0x1ab0eef0> {
>>> ivars:
>>>     delegate = "(null)"
>>>     file name = "bibpreview"
>>>     template = "/Users/<username>/Library/Application
>>> Support/BibDesk/previewtemplate.tex"
>>>     TeX file =
>>> "/var/folders/pY/pYWCInoIEimeOp31FlHgg++++TI/-Tmp-/bibdesk.agRcq9/
>>> bibpreview/bibpreview.tex"
>>>     BibTeX file =
>>> "/var/folders/pY/pYWCInoIEimeOp31FlHgg++++TI/-Tmp-/bibdesk.agRcq9/
>>> bibpreview/bibpreview.bib"
>>>     TeX binary path = "/usr/texbin"
>>>     Encoding = "Western (ASCII)"
>>>     BibTeX style = "abbrv"
>>>     Helper files = (
>>> )
>>>
>>> environment:
>>>     SHELL = "/bin/bash"
>>>     BIBINPUTS = "(null)"
>>>     BSTINPUTS = "(null)"
>>>     PATH = "/usr/bin:/bin:/usr/sbin:/sbin:/usr/texbin" }
>>> ........
>>>
>>> I've only found (so far) one record that triggers the second error,
>>> and
>>> it does so whether selected by itself or in a group.
>>>
>>> All of my bibtex records are copied from the SAO/NASA ADS database  
>>> and
>>> pasted into Bibdesk.
>>>
>>> The citation reference that causes the second form of the error is
>>> 2006ApJ...647..244D  (from ADS)
>>>
>>> A typical reference that causes the first error form is
>>> 2006ApJS..167..177D (from ADS)
>>>
>>> The references can be found using the above citation refs in the
>>> search
>>> page at http://adsabs.harvard.edu/basic_search.html
>>>
>>> I have copied, in every case, the bibtex data from the link to  
>>> 'Bibtex
>>> entry for this abstract' from the main record page.
>>>
>>> DN
>
>
>
> -- 
> __________
> ANU RSAA Mt Stromlo
>
> ------------------------------------------------------------------------------
> Crystal Reports - New Free Runtime and 30 Day Trial
> Check out the new simplified licensing option that enables
> unlimited royalty-free distribution of the report engine
> for externally facing server and web deployment.
> http://p.sf.net/sfu/businessobjects
> _______________________________________________
> Bibdesk-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/bibdesk-users


------------------------------------------------------------------------------
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables 
unlimited royalty-free distribution of the report engine 
for externally facing server and web deployment. 
http://p.sf.net/sfu/businessobjects
_______________________________________________
Bibdesk-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bibdesk-users

Reply via email to