On Oct 11, 2010, at 23:04, Maxwell, Adam R wrote: > Sadly, I think btparse might be wrong to allow this. From bibtex.web: > > "furthermore, comments may appear anywhere > between entries (or before the first or after the last) as long as > they contain no |at_sign|s" [1] > > Since @comment was an afterthought for scribe compatibility, I'm not sure > that it's very well defined or supported. Disallowing @ in group names is > might be the safest thing to do. > > I wonder if bibclean or other parsers accept this? The web code is too > painful for me to decipher. > > [1] http://www.tex.ac.uk/tex-archive/biblio/bibtex/distribs/bibtex.web >
For such comments (not in @comment entries) it is natural that they can't contain "@", as those designate the beginning of an entry. However I'd say that @comment entries should be treated syntactically by bibtex similarly to other entries, except that they're ignored. And the "@" sign is allowed in fields, therefore they're also supposed to be allowed in @comment entries. But we can escape it the way we escape curly braces (which can give problems in @comment entries). Christiaan > On Oct 11, 2010, at 13:40, Christiaan Hofman wrote: > >> Strange, bibtex should just ignore anything in a comment, including the "@". >> >> Christiaan >> >> On Oct 10, 2010, at 9:10, Adam M. Goldstein wrote: >> >>> I had a group named >>> >>> Phil of Science @ Bayes, etc. >>> >>> and when I BibTeX'ed a file, I got an error. When I removed the @, it >>> worked. >>> >>> If it would help to see the @comment with the groups information that's in >>> my bib file, I can send it. >>> > > > ------------------------------------------------------------------------------ > Beautiful is writing same markup. Internet Explorer 9 supports > standards for HTML5, CSS3, SVG 1.1, ECMAScript5, and DOM L2 & L3. > Spend less time writing and rewriting code and more time creating great > experiences on the web. Be a part of the beta today. > http://p.sf.net/sfu/beautyoftheweb > _______________________________________________ > Bibdesk-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/bibdesk-users ------------------------------------------------------------------------------ Beautiful is writing same markup. Internet Explorer 9 supports standards for HTML5, CSS3, SVG 1.1, ECMAScript5, and DOM L2 & L3. Spend less time writing and rewriting code and more time creating great experiences on the web. Be a part of the beta today. http://p.sf.net/sfu/beautyoftheweb _______________________________________________ Bibdesk-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/bibdesk-users
