Did you read the warning in the log? It says you probably need a \usepackage. 
You need one to define the \url command, as noted by the error message in the 
log.

Christiaan

On Dec 24, 2010, at 1:00, Rafael Cruz wrote:

> 
> Hi,
> 
> I'm willing to use vancouver.bst as my BibDesk preview style. Here what I
> did:
> 
>    * Installed MacTex-2010 (http://www.tug.org/mactex/)
>    * Downloaded vancouver.bst
> (http://www.ctan.org/tex-archive/biblio/bibtex/contrib/vancouver/)
>    * Manually created ~/Library/texfm/bibtex/bst/
>    * Moved vancouver.bst to the folder above.
>    * BibDesk Preferences>Tex Preview>BibTex style "vancouver" (without
> cotes).
> 
> 
> When I tried to use preview I got ***** ERROR:  unable to create preview
> *****
> 
> Can I get some help? Thanks in advance.
> 
> PS: Sorry if its a beginner issue, I'm new to BibDesk/Tex.
> 
> Log output:
> 
>    TeX preview generation failed.  Please review the log below to determine
> the cause.
> 
>    ***** WARNING: You are using a non-standard BibTeX style *****
>    The style "vancouver" may require additional \usepackage commands to
> function correctly.
> 
>    ---------- TeX log file ----------
>    File:
> "/var/folders/bp/bpFFpHUbGkC2UjLAfG5E-E+++TI/-Tmp-/bibdesk.dlzzy0/bibpreview/bibpreview.log"
>    This is pdfTeX, Version 3.1415926-1.40.11 (TeX Live 2010)
> (format=pdflatex 2010.12.15)  17 DEC 2010 09:43
>    entering extended mode
>     restricted \write18 enabled.
>     %&-line parsing enabled.
>    **bibpreview
>    (./bibpreview.tex
>    LaTeX2e <2009/09/24>
>    Babel <v3.8l> and hyphenation patterns for english, dumylang,
> nohyphenation, ge
>    rman-x-2009-06-19, ngerman-x-2009-06-19, ancientgreek, ibycus, arabic,
> armenian
>    , basque, bulgarian, catalan, pinyin, coptic, croatian, czech, danish,
> dutch, u
>    kenglish, usenglishmax, esperanto, estonian, farsi, finnish, french,
> galician,
>    german, ngerman, swissgerman, monogreek, greek, hungarian, icelandic,
> assamese,
>     bengali, gujarati, hindi, kannada, malayalam, marathi, oriya, panjabi,
> tamil,
>    telugu, indonesian, interlingua, irish, italian, kurmanji, lao, latin,
> latvian,
>     lithuanian, mongolian, mongolianlmc, bokmal, nynorsk, polish,
> portuguese, roma
>    nian, russian, sanskrit, serbian, slovak, slovenian, spanish, swedish,
> turkish,
>     turkmen, ukrainian, uppersorbian, welsh, loaded.
>    (/usr/local/texlive/2010/texmf-dist/tex/latex/base/article.cls
>    Document Class: article 2007/10/19 v1.4h Standard LaTeX document class
>    (/usr/local/texlive/2010/texmf-dist/tex/latex/base/size10.clo
>    File: size10.clo 2007/10/19 v1.4h Standard LaTeX file (size option)
>    )
>    \...@part=\count79
>    \...@section=\count80
>    \...@subsection=\count81
>    \...@subsubsection=\count82
>    \...@paragraph=\count83
>    \...@subparagraph=\count84
>    \...@figure=\count85
>    \...@table=\count86
>    \abovecaptionskip=\skip41
>    \belowcaptionskip=\skip42
>    \bibindent=\dimen102
>    ) (./bibpreview.aux)
>    \openout1 = `bibpreview.aux'.
> 
>    LaTeX Font Info:    Checking defaults for OML/cmm/m/it on input line 14.
>    LaTeX Font Info:    ... okay on input line 14.
>    LaTeX Font Info:    Checking defaults for T1/cmr/m/n on input line 14.
>    LaTeX Font Info:    ... okay on input line 14.
>    LaTeX Font Info:    Checking defaults for OT1/cmr/m/n on input line 14.
>    LaTeX Font Info:    ... okay on input line 14.
>    LaTeX Font Info:    Checking defaults for OMS/cmsy/m/n on input line 14.
>    LaTeX Font Info:    ... okay on input line 14.
>    LaTeX Font Info:    Checking defaults for OMX/cmex/m/n on input line 14.
>    LaTeX Font Info:    ... okay on input line 14.
>    LaTeX Font Info:    Checking defaults for U/cmr/m/n on input line 14.
>    LaTeX Font Info:    ... okay on input line 14.
>    (./bibpreview.bbl
>    ! Undefined control sequence.
>    l.9 \newblock Available from: \url
> 
> {http://www.ncbi.nlm.nih.gov/pubmed/201482...
>    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.
> 
> 
>    Underfull \hbox (badness 2932) in paragraph at lines 4--10
>    []\OT1/cmr/m/n/10 Hardie AD, Naik M, Hecht EM, Chan-darana H, Man-nelli
> L, Babb
>     JS, et al.  Di-ag-no-
>     []
> 
> 
>    Underfull \hbox (badness 1931) in paragraph at lines 4--10
>    \OT1/cmr/m/n/10 sis of liver metas-tases: value of diffusion-weighted
> MRI com-p
>    ared with gadolinium-enhanced
>     []
> 
> 
>    Underfull \hbox (badness 2158) in paragraph at lines 4--10
>    \OT1/cmr/m/n/10 MRI.  Eu-ro-pean Ra-di-ol-ogy. 2010
> Jun;20(6):1431--1441.  PMID
>    : 20148251.  Avail-able from:
>     []
> 
>    ) [1
> 
>    {/usr/local/texlive/2010/texmf-var/fonts/map/pdftex/updmap/pdftex.map}]
> (./bibp
>    review.aux) )
>    Here is how much of TeX's memory you used:
>     212 strings out of 493747
>     2328 string characters out of 3143545
>     49070 words of memory out of 3000000
>     3585 multiletter control sequences out of 15000+200000
>     4245 words of font info for 16 fonts, out of 3000000 for 9000
>     714 hyphenation exceptions out of 8191
>     23i,4n,19p,154b,108s stack positions out of
> 5000i,500n,10000p,200000b,50000s
>    </usr/local/texlive/2010/texmf-dist/fonts/type1/public/amsfonts/cm
>    /cmr10.pfb>
>    Output written on bibpreview.pdf (1 page, 21247 bytes).
>    PDF statistics:
>     12 PDF objects out of 1000 (max. 8388607)
>     7 compressed objects within 1 object stream
>     0 named destinations out of 1000 (max. 500000)
>     1 words of extra memory for PDF output out of 10000 (max. 10000000)
> 
> 
> 
>    ---------- BibTeX log file -------
>    File:
> "/var/folders/bp/bpFFpHUbGkC2UjLAfG5E-E+++TI/-Tmp-/bibdesk.dlzzy0/bibpreview/bibpreview.blg"
>    This is BibTeX, Version 0.99d (TeX Live 2010)
>    Capacity: max_strings=35307, hash_size=35307, hash_prime=30011
>    The top-level auxiliary file: bibpreview.aux
>    The style file: vancouver.bst
>    Reallocated glb_str_ptr (elt_size=4) to 20 items from 10.
>    Reallocated global_strs (elt_size=5001) to 20 items from 10.
>    Reallocated glb_str_end (elt_size=4) to 20 items from 10.
>    Reallocated wiz_functions (elt_size=4) to 6000 items from 3000.
>    Database file #1: bibpreview.bib
>    You've used 1 entry,
>                3146 wiz_defined-function locations,
>                645 strings with 4804 characters,
>    and the built_in function-call counts, 2664 in all, are:
>    = -- 274
>> -- 28
>    < -- 0
>    + -- 14
>    - -- 7
>    * -- 253
>    := -- 327
>    add.period$ -- 6
>    call.type$ -- 1
>    change.case$ -- 0
>    chr.to.int$ -- 0
>    cite$ -- 1
>    duplicate$ -- 139
>    empty$ -- 277
>    format.name$ -- 8
>    if$ -- 592
>    int.to.chr$ -- 0
>    int.to.str$ -- 1
>    missing$ -- 16
>    newline$ -- 10
>    num.names$ -- 1
>    pop$ -- 20
>    preamble$ -- 1
>    purify$ -- 0
>    quote$ -- 0
>    skip$ -- 28
>    stack$ -- 0
>    substring$ -- 591
>    swap$ -- 37
>    text.length$ -- 0
>    text.prefix$ -- 0
>    top$ -- 0
>    type$ -- 0
>    warning$ -- 0
>    while$ -- 13
>    width$ -- 2
>    write$ -- 17
> 
> 
>    ---------- BibDesk info ----------
>    <BDSKTeXTask: 0x6bdd40> {
>    ivars:
>        delegate = "(null)"
>        file name = "bibpreview"
>        template = "/Users/LaaZ/Library/Application
> Support/BibDesk/previewtemplate.tex"
>        TeX file =
> "/var/folders/bp/bpFFpHUbGkC2UjLAfG5E-E+++TI/-Tmp-/bibdesk.dlzzy0/bibpreview/bibpreview.tex"
>        BibTeX file =
> "/var/folders/bp/bpFFpHUbGkC2UjLAfG5E-E+++TI/-Tmp-/bibdesk.dlzzy0/bibpreview/bibpreview.bib"
>        TeX binary path = "/usr/texbin"
>        Encoding = "Western (ASCII)"
>        BibTeX style = "vancouver"
>        Helper files = (
>    )
> 
>    environment:
>        SHELL = "/bin/bash"
>        BIBINPUTS = "(null)"
>        BSTINPUTS = "(null)"
>        PATH = "/usr/bin:/bin:/usr/sbin:/sbin:/usr/texbin:/usr/texbin" }
> 
> -- 
> View this message in context: 
> http://bibdesk-users.661331.n2.nabble.com/Need-some-help-with-vancouver-bst-tp5862925p5862925.html
> Sent from the bibdesk users mailing list archive at Nabble.com.


------------------------------------------------------------------------------
Learn how Oracle Real Application Clusters (RAC) One Node allows customers
to consolidate database storage, standardize their database environment, and, 
should the need arise, upgrade to a full multi-node Oracle RAC database 
without downtime or disruption
http://p.sf.net/sfu/oracle-sfdevnl
_______________________________________________
Bibdesk-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bibdesk-users

Reply via email to