On 29/01/15 14:43, Geza Giedke wrote: >> Date: Thu, 08 Jan 2015 08:31:43 +0000 >> From: Peter Rockett <[email protected]> >> Subject: Re: [Jabref-users] control which fields JabRef exports to a >> bbl file >> To: [email protected] >> Message-ID: <[email protected]> >> Content-Type: text/plain; charset="windows-1252" >> >> If you get an answer to this I (and I, suspect, many others) will be >> delighted! But having looked at this before at length, I think the >> consensus is that this is a deficiency of the bst file you are using, >> and not JabRef. I routinely create a paper-specific bib file so I can >> do things like deleting unwanted fields that the (often >> publisher-supplied!) bst file insists on including. >> >> One other option, which has just occurred to me and hence haven't tried, >> is to run sed (or a similar stream editor) on the bbl file to comment >> out "\newblock URL \url{" fields. If you use an IDE like TexStudio, I >> think it should be possible to automate this using the Macros facility? > you can also use, e.g., \newcommand{\url}[1]{\relax} or s.th. similar > to prevent the output of the unwanted URL (assuming that you doe not > use the command elsewhere).
> > If this is a persistent issue (like it is for me with the bst-files of > the APS) then modifying the bst locally seems to me the best option. > Simply commenting the lines > format.url output > referring to articles, books and whatever other entry types you're using... > Make sure that the new bsts are found by LaTeX. OK, but editing the bst file may not help you for journal submissions. Journals will probably insist on using their own version of their bst file rather than any edited version you supply. In this case, possibly the easiest approach is to cut-&-paste the bbl file into a \bibliography section in the tex file (assuming the publisher asks for a tex file on final submission, which many do). Incidentally, my sed suggestion does not work for suppressing doi fields since they are not tagged with "doi" (unlike urls) so there seems no easy way to stream edit them out. P. ------------------------------------------------------------------------------ Dive into the World of Parallel Programming. The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/ _______________________________________________ Jabref-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/jabref-users
