New answers tagged bibtex
0
Instead of using "inbook" entry, I believe you should use "incollection" entry. That should work ;)
Alain
5
For a one-off document where there is only one (or very few) entries that require special sorting treatment, it is not unreasonable to create a 'special' entry and use that entry instead.
\documentclass[12pt]{article}
\usepackage{natbib}
\newcommand{\noop}[1]{}
\usepackage{filecontents}
\begin{filecontents}{\jobname.bib}
@Article{adams1986,
author = ...
1
You can try the option --nostdmacros on an earlier run to stop biber defining these macros internally in first place? If this doesn't work, I will address this in the biber dev version as this biblatex -> bibtex conversion is quite important.
There is a new option in 1.7 (currently in dev folder on SourceForge) called --tool_macro_fields which can be set to ...
1
I hope that my answer here would satisfy your needs to do bibliography with Zotero without the need to use the autocomplete feature.
-1
I strongly recommend making use of biblatex rich features to tweak the bibliography. Since your favorite citation management tool is Zotero, which I highly recommend also, then you might be interested to shift to the better backup end biber, so just use the text editor of your like that supports biber, I use TexStudio. For automated workflow of bibliography ...
3
Try replacing \bibliography{mybibfile.bib} with \bibliography{mybibfile}. The extension is not needed and may be in the way.
1
Based on our discussion in the comments, you created a new .bst file using the custom-bib package. This .bst file then needs to be modified to be used with the jabbrv package.
It seems that the .bib files created by custom-bib package are a bit more sophisticated than the basic .bst files assumed by the package, and the modification suggested in the ...
0
Why don't you invest in Zotero, I use Zotero + Biblatex + Biber backend + TexStudio as workflow for automation of bibliography citations. You may want to have a look at my answer here, let me know if that works fine with you.
8
Try the biber option --tool-resolve. This resolves crossref/xref and xdata. To reverse the standard biblatex mappings you mention (which are implemented in biblatex.def using the standard macros in the documentation), copy the standard mappings to your preamble and edit as necessary to reverse them:
\DeclareSourcemap[datatype=bibtex]{
\map{
...
2
I suspect you have a bibliography that has to be compiled with biber and you are trying to compile it with bibtex.
Also you are probably using PDFTeXify command in WinEdt and this compiles with bibtex if you don't specify that you want to use biber. To do that in WinEdt, go to Options -> Execution modes -> Console Applications -> Accessories -> BibTeX and ...
0
BibTeX is probably exiting with errors but LyX is not telling you because of this bug:
http://www.lyx.org/trac/ticket/2757
To see what the error is, go to
Document > LaTeX Log
Under Log Type, change it from LaTeX to BibTeX. Then use the Next Error and Next Warning buttons to navigate.
2
put it in curly brackets:
AUTHOR={{United Nations}}
This will prevent it from being taken apart.
1
The OP doesn't have enough reputation to answer her question, so I provide this CW
The log file of BibTeX compiling shows:
This is BibTeX, Version 0.99c (Web2C 7.5.6)
The top-level auxiliary file: sophie.aux
I couldn't open style file elsarticle-num.bst ---
line 31 of file sophie.aux : \bibstyle{elsarticle-num : }
I downloaded missed file and put it ...
2
The error is in your entry. You are typing: R{\"o}{\ss}~ler. However the token ~ forces a space. So simple write: R{\"o}{\ss}ler.
Here the correct entry:
@incollection{mathe,
year={2012},
isbn={978-3-642-32256-3},
booktitle={Statistik für Wirtschaftswissenschaftler},
series={BA KOMPAKT},
doi={10.1007/978-3-642-32257-0_4},
...
2
To get a bold volume
You have to define a new function which prints the contents bold. This can be achieved by
FUNCTION {bold}%%new func to print the argument with \textbf{}
{ duplicate$ empty$
{ pop$ "" }
{ "\textbf{" swap$ * "}" * }
if$
}
Modify the output of volume for article
FUNCTION {format.vol.num.pages}
{ volume bold%%changed ...
5
Preface: Even though the locution "with contributions from" is used in the reference on R's website, you shouldn't feel compelled to use it for a bib entry in your document. Using the simple and connector between the first and subsequent authors is perfectly legitimate in the present case -- and doing so avoids all kinds of tricky complications.
However, ...
2
The thebibliography environment is built using a list, so you can change the appropriate lengths. In the following example I show such modification using the default definition for the \thebibliography commands as defined in report.cls. Basically what you have to do, according to your description, is to set \leftmargin to 0pt and \itemindent to a positive ...
1
There is no way to make IEEEbib.bst work as an author-year citation style, but you can use one of the derived styles in the IEEEtran bundle. Both IEEEtranN and IEEEtranSN provide an author-year style that can be used in conjunction with natbib, the first listing the references "unsorted" (in order of appearance), the second one sorted by author.
2
There is no provision in BibTeX for "with contributions from" in the author field. What are the possible strategies for this entry?
Remove the contributors from the author field.
Remove the contributors from the author field and put them in the note field.
Sort manually this entry.
The last way requires rewriting the entry:
...
4
If you do not want to run biber write before you load the package cleanthesis:
\usepackage[ % use biblatex for bibliography
backend=bibtex8, % - use bibtex8 backend
bibencoding=utf8, % - use auto file encode
style=alphabetic, % - use alphabetic (or numeric) bib style
...
4
You should run biber, not bibtex, as the package uses the biblatex package to handle references. Newer versions of biblatex assume biber as the default backend (i.e., the program that does the sorting of the entries), so it won't work with bibtex.
To force biblatex to use bibtex or bibtex8 instead, you can edit cleanthesis.sty. Line 285 of the current ...
3
To simplify your work you can also work with biblatex. To complete the answer here an example:
\documentclass[12pt,a4paper]{article}
\usepackage[style=numeric,sortcites]{biblatex}
\addbibresource{biblatex-examples.bib}
\renewbibmacro*{cite}{%
\printtext[bibhyperref]{%
\printfield{prefixnumber}%
\printfield{labelnumber}%
...
3
Here's one possibility; I used "Telespazio" in the author field, and 2010 for the year (see little text to the right, on the last page in the brochure):
\begin{filecontents*}{bbb.bib}
@misc{GCC,
year= "2010",
title = "{G}alileo {C}ontrol {C}entre",
url = "http://www.telespazio.it/docs/brodoc/GCC_eng.pdf",
howpublished = "Brochure",
author ="Telespazio"
}
...
0
In the code below, I show how you can edit the file chicago.bst -- rename it to mychicago.bst in the process, please -- to remove the string pp. before the page range.
For all other modifications you're looking to achieve, I think you're much better off not trying to hack an existing .bst file. Instead, you should look to crate a new, custom bibliography ...
0
You may need to add " extra.label *" to "year *" in FUNCTION {output.bibitem} if you use the author-year mode and get
FUNCTION {output.bibitem}
{ newline$
"\bibitem[{" write$ make.short.names "}(" * year empty$ {skip$} { year * extra.label * } if$ "){" * make.full.names * "}]{" * write$
cite$ write$
"}" write$
newline$
""
before.all 'output.state :=
...
5
run
bibtex8 -d io <file>
then you'll get some "debug" information of the io (input/output) process. Pay attention for the "8" it is the 8bit version of the old bibtex. For more debug options see bibtex8 -h or run texdoc bibtex8. However, bibtex searches its files via kpsewhich
3
Welcome to TeX.SE!
The solution to the first part of your first question, about getting the author to be displayed as Deutsche Börse rather than as Börse, D., is not related to any particular bibliography style but to the way one should enter "corporate" authors in BibTeX. To signal to BibTeX that a given author's name is "corporate" -- and hence doesn't ...
0
Posting the answer for future reference (the way I actually wanted it):
FUNCTION {inproceedings}
{ output.bibitem
format.authors "author" output.check
new.block
format.title "title" output.check
new.block
crossref missing$
{ format.in.ed.booktitle "booktitle" output.check
format.bvolume output
format.number.series output
...
4
Please always post complete documents that show the problem. You need to modify a copy of bst file.
\begin{filecontents}{xx.bib}
@inproceedings{x1,
author = {Dave Madengly and Johny Depp},
title = "{Using new Context}",
booktitle = {Proceedings of 1st Conference of the XXX (XXX' 01)},
year = {2001},
crossref = {x2},
pages ="12 ...
1
This behavior is hardcoded in your bibliography style ieeetr. The relevant function is
FUNCTION {format.title}
{ title empty$
{ "" }
{ "``" title "t" change.case$ * ",''" * }
if$
}
If you change that into
FUNCTION {format.title}
{ title empty$
{ "" }
{ "``" title "t" change.case$ * "''," * } %% moved comma out
if$
}
you get the ...
3
elsarticle-num.bst is deprecated now. So you may use elsarticle-num-names.bst instead. You may download it from the following site:
http://support.river-valley.com/wiki/index.php?title=Model-wise_bibliographic_style_files
4
An alternative is to define a bibfilter for the multiple entry types
\defbibfilter{papers}{
type=article or
type=inproceedings
}
and then
\printbibliography[filter=papers]
15
If you need the bibliography sorted in order of appearance, use
\bibliographystyle{unsrt}
because the plain bib style sorts alphabetically by author.
As an aside: your bib entries are wrong. Authors should be separated by and rather than commas:
@article{
GatorTechSmartHouse,
Author = {S. Helal and W. Mann and H. El-Zabadani and J. King and Y. ...
2
A solution using the xpatch packages (\usepackage{xpatch})
\xpatchbibmacro{textcite}
{\multicitedelim}
{\ifnumequal{\value{citecount}}{\value{citetotal}}
{\addspace\bibstring{and}\addspace}
{\multicitedelim}}
{}
{}
2
The incollection type requires the author, title, booktitle, publisher, and year fields. Your entry has no title field, hence the warning. On the other hand, the chapter field should contain a number. So move the content of chapter to title, and maybe find out which chapter number it is to fill the chapter field.
0
You did not mention which bibliography style you use, but most styles wrap the content of the url field in a \url{...} macro, and provide a very basic definition for it that can not handle special characters like %.
The solution is to simply load the url or hyperref package, as those define sophisticated versions of the \url macro that do handle special ...
2
When you are entering names in a .bib file you should always put a full stop after the initials. That is crucial because it signals that the letter in question is an initial. If you put Evins, S, then "S" could be a very short name: if you put Evins, S. then it's clearly an initial.
If you know what the S stands for, you shouldn't put the initial at all, ...
1
Yes, with BibTeX and LyX it is possible to generate such bibliographies. It is just a setting of an option of the bibtopic package in an indirect way. Its document mentioned the following package option.
sectcntreset
Reset the numerical label for the bibliography items for
each btSect environment to '1'. (The default is continuous
numbering.) Note: ...
1
You need to escape the % in your bib file because the % symbol has special meaning in LaTeX. See http://en.wikibooks.org/wiki/LaTeX/Basics#Reserved_Characters.
Try replacing % with \% in the URL field in the bib file.
1
If you are working on a mac or linux, you can use a symbolic link to your .bib file. At the command line, type ln -s <target> bib.bib to create a symbolic link between bib.bib and your actual .bib file. You can now use \bibliography{bib} in the .tex file.
5
BibTeX doesn't accept spaces in the name of the bibliography file it inputs. So a file named A B C.bib is rejected.
It's by no means necessary that the .bib file has the same name as the LaTeX file; to the contrary, many people organize their big bibliography file and call that one for all their papers.
Example. The following is the file naji.tex:
...
1
Based on the answer above and comments, what I used was this:
@misc{author1:year,
author={Author 1 and Author 2},
title={Title in Portuguese [Title in english]},
howpublished={Institution},
month={December},
year={2010},
url={some_place_internet.pdf},
urldate={2013-05},
note={Original document in Portuguese},
}
2
You are right in that the BibTeX style (alphadin.bst) adds an extra label to entries that appear the same to it. This label is just the counter of equivalent entries converted to characters, and after z comes { in ASCII.
We can fix that by changing this conversion to obtain extra labels of the form a..z, aa..az, ba..bz, ....
For that, make a copy of ...
6
BibTeX returns that error if you reference one or more @article entries that have a number field but lack a volume field. For instance, if you run pdflatex, bibtex on
\documentclass{article}
\usepackage{filecontents}
\begin{filecontents*}{mybiblio.bib}
@article{Jubobs:2013,
author = {Jubobs},
title = {{How} to stay away from {TeX.SE} for a ...
1
You found a bug in custom-bib, that should be reported to its maintainer.
Specifically, merlin.mbs contains in function format.org.or.pub, line 6907 ff. the following code that needs to be changed as indicated
%<*pub-date&!ay>
year empty$
'skip$
{ t empty$ address empty$ and
'skip$
%<!pub-xc> { ...
1
You can set up Jabref to automatically import a reference from Firefox into the current database, but it's somewhat arcane. Here is my solution under Linux:
1) Select Options -> Preferences -> Advanced -- and check "Listen for remote operation ..." I don't think it matters which port.
2) Create a small bash script (text file) named "jabref-import" that ...
1
Your question is a little bit missleading.
I suppose you do not have to change a bst file or something else. It is not clear if you wrote the keys by yourself or if you used a program to do it for you.
In a comment you told me that you are using Jabref. In the manual of Jabref is a chapter BibTeX Keys (in my german 2.4 Beta version it is chapter 3.4). ...
1
With the standard natbib styles, the \citet*{...} and \citep*{...} commands give complete author lists as opposed to the possibly abbreviated author lists that are obtained with \citet{...} and \citep{...}. We will modify this long author list to also contain first names.
Make a copy of plainnat.bst, say plainnat2.bst, and put it in a place where BibTeX ...
3
Well, starting from the fact that I don't think you should translate a title, you can always use its second language name in parenthesis and lets say, italicized.
Also, one of the valid options in a bibtex entry is language = {thenameofthelanguage}. Therefore, you could try something like this:
@misc{author1:year,
author={Author 1 and Author 2},
...
Top 50 recent answers are included



