Tag Info

Hot answers tagged

8

As far as I could see from bibentry's package documentation, the \bibentry command is just outputting the whole reference as it stands in the bibliography. This is exactly what the \fullcite command of biblatex is doing, too. Compare the following code example that I adapted from your MWE and its output: \begin{filecontents}{ref.bib} ...


6

This seems simpler: \begin{filecontents}{\jobname.bib} @Book{elvis, author = "Elvis Presley", title = "Turn Me One More Time", publisher = "Jail House Books", year = 1963, } \end{filecontents} \documentclass{article} \bibliographystyle{plain} \usepackage{bibentry} \makeatletter\let\saved@bibitem\@bibitem\makeatother \usepackage{hyperref} ...


6

The command \nobibliography* can be used only if you are going to use \bibliography{mybib} later in the document (supposing mybib.bib is your bibliography file). In your case you have to use \nobibliography{mybib} Also remember that it is needed to declare a bibliography style, e.g. \bibliographystyle{plain} Thus, modifying your MWE to ...


5

I'm not sure to understand correctly your needs, but try the example below: \documentclass{article} \begin{filecontents}{examplebib.bib} @article{art1, author="First Last", title="A fictitious journal article", year=1900, journal="Journal of nothingness", volume=2, pages="1-2" } @book{boo1, author="Respectable Writer", title="A silly book", year=2000, ...


5

There are two errors in your MWE. \bibliography{mybib.bib} should be \bibliography{mybib} otherwise BibTeX looks for the file mybib.bib.bib instead of mybib.bib. \bibliographystyle{apa} should be \bibliographystyle{apalike}. The bibliography style apa.bst is not compatible with bibentry. So, delete your .aux and .bbl file, and retry with the following ...


4

You can load natbib (of which bibentry is a subpackage) and change abbrv to abbrvnat: \begin{filecontents*}{\jobname.bib} @book{Goossens1994LaTeX, author = {Michel Goossens and Frank Mittelbach and Alexander Samarin}, title = {The \LaTeX{} Companion, $2^{nd}$ Edition}, publisher = {Addison-Wesley}, year = {1994{.}} } \end{filecontents*} ...


4

Wrap the \bibentry in NoHypers i.e. \begin{NoHyper}\bibentry{elvis}\end{NoHyper} The hyperlink now points to the correct entry in the references.


4

As stated in the answer to the other question bibentry is not suitable for the task at hand (without modifications). If you want to give biblatex a try, it is easy to set it up for what you want to achieve. \documentclass{article} \usepackage[utf8]{inputenc} \usepackage{filecontents} \usepackage{csquotes} \usepackage[natbib,style=authoryear]{biblatex} ...


3

This seems to work: the \BR@c@bibitem macro is patched to change the category code of % before grabbing its argument. \begin{filecontents}{mytestbib.bib} @book{goossens93, author = {Frank Mittelbach and Michel Goossens and Johannes Braams and David Carlisle and Chris Rowley}, title = {The {LaTeX} Companion}, year = {1993}, publisher = ...


3

tufte-book uses the package bibentry which always deletes the final period. You have two options: Protect the final dot in the note field: @book{testcite, title={The}, author={Book}, year={1998}, publisher={Pub}, edition={second}, note={Part 2{.}} } Make bibentry to always keep the final period by redefining \BR@nodot (the command that strips the ...


2

biblatex Use \parencite instead of \citep. % arara: pdflatex % arara: biber % arara: pdflatex % arara: pdflatex \documentclass{article} \pagestyle{empty}% for cropping \begin{filecontents*}{\jobname.bib} @inproceedings{eps267587, booktitle = {WWW2009 Workshop: Linked Data on the Web (LDOW2009)}, month = {April}, title = ...


2

If it is ok for you to sort the references in your bib-file, you could do the following. Sort references in bib-file. Use \nocite{*} at the beginning of your document. Generate your bibliography with \bibliographystyle{unsrtnat} and \bibliography{mybib}. Here the full code: \documentclass{article} \usepackage{bibentry} ...


2

The subfiles need to have a \nobibliography* command included so that \bibentry works. In addition, you should really put the \bibliographystyle of the main file before any file inclusions. In your case it is not too important, but if you had different styles in the subfiles it would give a problem - each of the aux files for of the included files is read ...


1

The problem is beamers definition of \newblock which is used between units of the citation. Its definition, in beamerbaselocalstructure.sty, ends with some code that is unnecessary for your inline use. The strange spacing occurs whenever the text before the first new block (the author part) spans more than one line. Therefore you need to make a version of ...


1

You need to import the references with a \nocite{} command. That is, if you want a reference with a tag "mythesis" to appear, use the \nocite{mythesis} in your document, and the thesis will appear in the bibliography without having to be referenced in the main text. The relevant section would look like this \renewcommand{\bibname}{My Publications} ...


1

See comments on switching to biblatex and biber - if you want to keep using bibtex, read on. You're missing a \nobibliography* command - see the documentation and here for details. But even with the \nobibliography* command there is no output of \bibentry - this seems to be a problem with the agsm style since switching to plain style does fix the problem: ...


1

The bibliography style dinat.bst is not fully compatible with bibentry. If you push through the error it raises --- ! Undefined control sequence. <argument> \dinatlabel {Rice u.\,a. 1999} \textsc {Rice}, S.V.~; \textsc {Na... l.51 \bibentry{rice1999optical} You get some kind of output from bibentry. I leave it to you to ...


1

You can redefine the \bibentry command so it does not create a hyperref target by adding \makeatletter \renewcommand\bibentry[1]{\nocite{#1}{\frenchspacing \@nameuse{BR@r@#1\@extra@b@citeb}}} \makeatother to your preamble. E.g. your example (with natbib options added from your commet so it does not throw an error); the in text ordinary citation ...


1

EDIT Answer updated with step-by-step instructions on how to modify the .bst file according to this answer. It is possible to use the solution provided in this answer to Make one author's name bold every time it shows up in the bibliography as follows: Create a command \myref that takes an argument, and use such command to wrap your name in the ...


1

I'm not sure if I fully understand your question. The bibentry package provides the command \bibentry{<key>} to generate full citations in the running text. The "source" of the keys (i.e., the name(s) of the bib file(s) that contain the raw entries) is shoud be indicated via the instruction \nobibliography{<bibfile(s)>}. Note that the ...


1

What also helps is to use BOTH packages: natbib AND bibentry. The issue is then ressolved for me. Thus, make use of: \usepackage{natbib} \usepackage{bibentry} \usepackage{fancyhdr} \usepackage{hyperref} Cheers!



Only top voted, non community-wiki answers of a minimum length are eligible