unknown entry

Issue #30 resolved
Former user created an issue

hy, all! i'm trying to use pybtex with few bst styles and it stops on the entries witch are not defined in bst. It should use default.entry, like bibtex does. it would be better to do not rise an error and just print warnings.

for example: @​www{fernelius:dichotomy, url ="some url" }

bibtex returns: Warning--entry type for "fernelius:dichotomy" isn't style-file defined --line 635 of file sola.bib

and pybtex error: Traceback (most recent call last): File "E:pybtex-0.14.1scriptspybtex", line 21, in <module> main() File "E:pybtex-0.14.1pybtexcmdline.py", line 42, in __call__ self.main() File "E:pybtex-0.14.1pybtexcmdline.py", line 84, in main self.run(options, args) File "e:pybtex-0.14.1pybtex~~__main__.py", line 145, in run engine.make_bibliography(filename, **kwargs) File "E:pybtex-0.14.1pybtexbibtex~~__init__.py", line 47, in make_bibliography interpreter.run(bst_script, aux_data.citations, bib_filenames, bbl_file, min_crossrefs=min_crossrefs) File "E:pybtex-0.14.1pybtexbibtexinterpreter.py", line 226, in run getattr(self, commandname)() File "E:pybtex-0.14.1pybtexbibtexinterpreter.py", line 259, in command_iterate self._iterate(self.citations) File "E:pybtex-0.14.1pybtexbibtexinterpreter.py", line 266, in _iterate f.execute(self) File "E:pybtex-0.14.1pybtexbibtexbuiltins.py", line 35, in execute self.f(interpreter) File "E:pybtex-0.14.1pybtexbibtexbuiltins.py", line 110, in call_type i.vars[type].execute(i) KeyError: u'www'

one more thing! I think other users would want to have a possibility to pass an options to program throe the aux. for example: biboptions{opt1,opt2,opt3=kaka} citation{*} bibstyle{style} bibdata{data}

p.s. it's just my opinion

Linas.

Comments (3)

  1. Log in to comment