Longbibliography Revtex4-1

LaTeX forum ⇒ BibTeX, biblatex and biber ⇒ revtex4-1 | Problem with Bibliography Database FileTopic is solved

Information and discussion about BiBTeX - the bibliography tool for LaTeX documents.









hbaromega
Posts:48
Joined: Mon Mar 07, 2011 8:21 pm

revtex4-1 | Problem with Bibliography Database File

Postby hbaromega » Wed Aug 17, 2011 10:18 pm

I'm trying to compile a tex file (called test.tex) with a bib file (sample.bib). I'm using a bibliography style file apsrmp4-1.bst and a class file revtex4-1.cls, downloaded/installed from the APS site (http://www.aps.org/).

However, if I ignore the errors and compile forcefully, I don't see any error in the citation!

Hope I could explain the problem. I'm attaching the .tex, .bib and the .log files. Hope the class and style files, that I have mentioned, are familiar to you.

Thank you.


PS. I need this particular class/style files in order to publish article in their journals.
Attachments
test.log
(19.68 KiB) Downloaded 194 times
sample.bib
(508 Bytes) Downloaded 278 times
test.tex
(1.19 KiB) Downloaded 385 times

Tags:
localghost
Site Moderator
Posts:9206
Joined: Fri Feb 02, 2007 12:06 pm
Location: Braunschweig, Germany

Postby localghost » Sat Sep 03, 2011 7:57 pm

If I comment the obsolete fancyheadings package and this self-built »mycommand« package, the example given by the OP works fine for me. I only get a negligible warning by the caption package due to an unsupported document class. Probably a matter of outdated packages. For testing you can try the below example.

If this does not work, update your TeX system.


Thorsten
  1. \begin{filecontents*}{\jobname.bib}
  2. title={\LaTeX\ -- A Document Preparation System},
  3. note={User's Guide and Reference Manual},
  4. publisher={Addison-Wesley},
  5. \email{e.mail@domain.com}
  6. \affiliation{Affilliation}
  7. \blindtext\cite{lamport94}
  8. \bibliographystyle{apsrmp4-1}
hbaromega
Posts:48
Joined: Mon Mar 07, 2011 8:21 pm

Postby hbaromega » Mon Sep 05, 2011 1:05 am

localghost wrote:If I comment the obsolete fancyheadings package and this self-built »mycommand« package, the example given by the OP works fine for me. I only get a negligible warning by the caption package due to an unsupported document class. Probably a matter of outdated packages. For testing you can try the below example.

If this does not work, update your TeX system.


Thorsten
  1. \begin{filecontents*}{\jobname.bib}
  2. title={\LaTeX\ -- A Document Preparation System},
  3. note={User's Guide and Reference Manual},
  4. publisher={Addison-Wesley},
  5. \email{e.mail@domain.com}
  6. \affiliation{Affilliation}
  7. \blindtext\cite{lamport94}
  8. \bibliographystyle{apsrmp4-1}



Sorry for the late response. I didn't receive any notification of your reply !!!

I'm still getting the same problem. Did you compile with bibtex command as well?

And for what package I need an update?

Thanks.
localghost
Site Moderator
Posts:9206
Joined: Fri Feb 02, 2007 12:06 pm
Location: Braunschweig, Germany

Postby localghost » Mon Sep 05, 2011 10:21 am

hbaromega wrote:[…] Did you compile with bibtex command as well? […]

Certainly. And I obtained a complete document including references.
hbaromega wrote:[…] And for what package I need an update? […]

In the worst case for every package that you include. With the \listfiles command added as very first line to your example I get the following list of used files from the log file.

Compare with yours and you know which packages need an update. On my system all packages are present in their current versions. In general you should keep your TeX installation up to date by regular updates using the package manager of your TeX distribution.
  1. revtex4-1.cls 2010/07/25/20:33:00 4.1r (http://publish.aps.org/revtex4/ for documentation)
  2. textcase.sty 2004/10/07 v0.07 Text only upper/lower case changing (DPC)
  3. url.sty 2006/04/12 ver 3.3 Verb mode for urls, etc.
  4. natbib.sty 2010/09/13 8.31b (PWD, AO)
  5. revsymb4-1.sty 2010/07/25/20:33:00 4.1r (http://publish.aps.org/revtex4/ for documentation)
  6. graphicx.sty 1999/02/16 v1.0f Enhanced LaTeX Graphics (DPC,SPQR)
  7. keyval.sty 1999/03/16 v1.13 key=value parser (DPC)
  8. graphics.sty 2009/02/05 v1.0o Standard LaTeX Graphics (DPC,SPQR)
  9. trig.sty 1999/03/16 v1.09 sin cos tan (DPC)
  10. graphics.cfg 2007/01/18 v1.5 graphics configuration of teTeX/TeXLive
  11. dvips.def 1999/02/16 v3.0i Driver-dependant file (DPC,SPQR)
  12. hyperref.sty 2011/08/19 v6.82h Hypertext links for LaTeX
  13. hobsub-hyperref.sty 2011/04/23 v1.4 Bundle oberdiek, subset hyperref (HO)
  14. hobsub-generic.sty 2011/04/23 v1.4 Bundle oberdiek, subset generic (HO)
  15. hobsub.sty 2011/04/23 v1.4 Subsetting bundle oberdiek (HO)
  16. infwarerr.sty 2010/04/08 v1.3 Providing info/warning/message (HO)
  17. ltxcmds.sty 2011/04/18 v1.20 LaTeX kernel commands for general use (HO)
  18. ifluatex.sty 2010/03/01 v1.3 Provides the ifluatex switch (HO)
  19. ifvtex.sty 2010/03/01 v1.5 Switches for detecting VTeX and its modes (HO)
  20. intcalc.sty 2007/09/27 v1.1 Expandable integer calculations (HO)
  21. ifpdf.sty 2011/01/30 v2.3 Provides the ifpdf switch (HO)
  22. etexcmds.sty 2011/02/16 v1.5 Prefix for e-TeX command names (HO)
  23. kvsetkeys.sty 2011/04/07 v1.13 Key value parser (HO)
  24. kvdefinekeys.sty 2011/04/07 v1.3 Defining keys (HO)
  25. pdftexcmds.sty 2011/04/22 v0.16 Utilities of pdfTeX for LuaTeX (HO)
  26. pdfescape.sty 2011/04/04 v1.12 Provides string conversions (HO)
  27. bigintcalc.sty 2011/01/30 v1.2 Expandable big integer calculations (HO)
  28. bitset.sty 2011/01/30 v1.1 Data type bit set (HO)
  29. uniquecounter.sty 2011/01/30 v1.2 Provides unlimited unique counter (HO)
  30. letltxmacro.sty 2010/09/02 v1.4 Let assignment for LaTeX macros (HO)
  31. hopatch.sty 2011/01/30 v1.0 Wrapper for package hooks (HO)
  32. xcolor-patch.sty 2011/01/30 xcolor patch
  33. atveryend.sty 2011/04/23 v1.7 Hooks at very end of document (HO)
  34. atbegshi.sty 2011/01/30 v1.15 At begin shipout hook (HO)
  35. refcount.sty 2010/12/01 v3.2 Data extraction from references (HO)
  36. hycolor.sty 2011/01/30 v1.7 Color options of hyperref/bookmark (HO)
  37. ifxetex.sty 2010/09/12 v0.6 Provides ifxetex conditional
  38. kvoptions.sty 2010/12/23 v3.10 Keyval support for LaTeX options (HO)
  39. pd1enc.def 2011/08/19 v6.82h Hyperref: PDFDocEncoding definition (HO)
  40. hyperref.cfg 2002/06/06 v1.2 hyperref configuration of TeXLive
  41. hdvips.def 2011/08/19 v6.82h Hyperref driver for dvips
  42. pdfmark.def 2011/08/19 v6.82h Hyperref definitions for pdfmark specials
  43. rerunfilecheck.sty 2011/04/15 v1.7 Rerun checks for auxiliary files (HO)
  44. fancybox.sty 2010/05/15 1.4
  45. amsfonts.sty 2009/06/22 v3.00 Basic AMSFonts support
  46. amsmath.sty 2000/07/18 v2.13 AMS math features
  47. amstext.sty 2000/06/29 v2.01
  48. amsgen.sty 1999/11/30 v2.0
  49. amsbsy.sty 1999/11/29 v1.2d
  50. amsopn.sty 1999/12/14 v2.01 operator names
  51. mathtools.sty 2011/04/06 v1.11 mathematical typesetting tools
  52. calc.sty 2007/08/22 v4.3 Infix arithmetic (KKT,FJ)
  53. mhsetup.sty 2010/01/21 v1.2a programming setup (MH)
  54. amssymb.sty 2009/06/22 v3.00
  55. verbatim.sty 2003/08/22 v1.5q LaTeX2e package for verbatim enhancements
  56. eucal.sty 2009/06/22 v3.00 Euler Script fonts
  57. enumerate.sty 1999/03/05 v3.00 enumerate extensions (DPC)
  58. color.cfg 2007/01/18 v1.5 color configuration of teTeX/TeXLive
  59. dvipsnam.def 1999/02/16 v3.0i Driver-dependant file (DPC,SPQR)
  60. pstricks.sty 2011/04/23 v0.50 LaTeX wrapper for `PSTricks' (RN,HV)
  61. pstricks.tex 2011/06/07 v2.21 `PSTricks' (tvz,hv)
  62. pst-xkey.tex 2005/11/25 v1.6 PSTricks specialization of xkeyval (HA)
  63. xkeyval.sty 2008/08/13 v2.6a package option processing (HA)
  64. xkeyval.tex 2008/08/13 v2.6a key=value parser (HA)
  65. pst-fp.tex 2011/06/07 v2.21 `PST-fp' (hv)
  66. xcolor.sty 2007/01/21 v2.11 LaTeX color extensions (UK)
  67. color.cfg 2007/01/18 v1.5 color configuration of teTeX/TeXLive
  68. caption.sty 2011/08/18 v3.2b Customizing captions (AR)
  69. caption3.sty 2011/08/18 v1.3b caption3 kernel (AR)
  70. nameref.sty 2010/04/30 v2.40 Cross-referencing by name of section
  71. gettitlestring.sty 2010/12/03 v1.4 Cleanup title references (HO)
  72. umsa.fd 2009/06/22 v3.00 AMS symbols A
  73. umsb.fd 2009/06/22 v3.00 AMS symbols B
alex170872
Posts:6
Joined: Fri Jan 14, 2011 4:13 pm

Postby alex170872 » Wed Jan 25, 2012 6:34 pm

Hi,

I encountered the very same problem, i.e. the error message

! Undefined control sequence.
<argument> \@bibitemShut


when trying to compile some latex file. I tried all of the suggestions above, but NONE worked.

1 - In my bbl file there is no line "\BibitemShut {NoStop}" I could comment out
2 - I have checked the used latex file by using \listfiles. But I cannot tell which files are too old or so.
3- I tried to update my ubuntu system as follows

but I am not sure if any file got updated. Anyway it did no change the latex behavior.
4 - In the list of used files I could not find any reference to natbib. So I cannot say which version is used.


So in general I am lost here, and would appreciate any help regarding this problem.


Thanks
Alex

Return to “BibTeX, biblatex and biber”

Jump to
  • LaTeX Community
  •    Announcements
  •    Community talk
  •    Comments & Wishes
  •    New Members
  • LaTeX
  •    Text Formatting
  •    Graphics, Figures & Tables
  •    Math & Science
  •    Fonts & Character Sets
  •    Page Layout
  •    Document Classes
  •    General
  • LaTeX's Friends
  •    BibTeX, biblatex and biber
  •    MakeIndex, Nomenclature, Glossaries and Acronyms
  •    Conversion Tools
  •    Viewers for PDF, PS, and DVI
  •    XeTeX
  •    Others
  • LaTeX Distributions
  •    Decision Guidance
  •    MiKTeX and proTeXt
  •    TeX Live and MacTeX
  •    Others
  • LaTeX Editors
  •    Decision Guidance
  •    AUCTeX
  •    Kile
  •    LEd
  •    LyX
  •    Scientific Word/Workplace
  •    Texmaker and TeXstudio
  •    TeXnicCenter
  •       Announcements
  •       General
  •       Templates, Wizards & Tools
  •       Feature Suggestions
  •       Development
  •    TeXShop
  •    TeXworks
  •    WinEdt
  •    WinShell
  •    Others
  • LaTeX Templates
  •    Articles, Essays, and Journal Templates
  •    Theses, Books, Title pages
  •    Letters
  •    Presentations and Posters
  •    Curricula Vitae / Résumés
  •    Assignments, Laboratory books and reports
  •    Calendars and Miscellaneous

Who is online

Users browsing this forum: No registered users and 1 guest

Powered by phpBB® Forum Software © phpBB Limited

REVTeX Home Page

Current version: REVTeX 4.1 (released August 11, 2010)

Please send all comments to revtex@aps.org.

Release of REVTeX 4.1 (patch level 2)

Please note: REVTeX 4.1 now requires the latest version of the natbib package, version 8.31a which was released in November 2009. Please be sure to upgrade your natbib (see below).

August 11, 2010: A new release of REVTeX 4.1 has been made public. The following bugs were addressed:

  • AIP BibTeX style files properly handle journal article titles.
  • Pasting a .bbl file into the main TeX file no longer results in duplicate numbering of references.
  • BibTeX style files no longer put in spurious comma after journal name.
  • Improved compatibility with non-REVTeX BibTeX style files.
  • BibTeX style files no longer warn when both an editor and author are present in an @BOOK entry.
  • Review of Modern Physics BibTeX style file now correctly handles muliple references by an author in the same year.
  • Fixed linking of DOI when not using pdflatex.
  • Fixed listing of videos.
  • Improved handling of ISSN and ISBN fields in bibliography entries.
  • Fixed citation of a reference with long author lists in AIP author-year styles.
  • Fixed punctuation of authors in references.

March 15, 2010: Bugs addressed in the first patch level release:

  • Using the same \affiliation more than once results in some authors not getting any affiliation at all.
  • reftest was left out of the distribution
  • For RMP, the \cite command doesn't enclose the citation in parentheses properly.
  • For RMP, the .bst files don't properly handle several cases including a book with editors, but no authors

In addition, there were many other improvements including the handling of footnotes, compatibility with packages such as lscape and hyperref, and punctuation in bibliographies. Also, the "long" version of the BibTeX style files have been removed from the distribution. The remaining style files have been enhanced to provide the same functionality when the longbibliography class option is used.

Introduction to REVTeX 4

REVTeX 4.1 is a set of macro packages designed to be used with LaTeX2e and is well-suited for preparing manuscripts for submission to the journals of the American Physical Society (APS) and American Institute of Physics (AIP). The changes from REVTeX 4 include bug fixes, improved functionality, and support for a wider range of journals, including those of the American Institute of Physics (AIP). REVTeX 4.1 was developed jointly by APS, AIP, and Arthur Ogawa. Additional work was done by Patrick Daly to incorporate our suggested improvements into natbib 8.3 to address many new features concerning bibliographies. natbib 8.31a or later is required to run REVTeX 4.1.

Major changes in REVTeX 4.1 include:

  • Added support for APS journal Physical Review Physics Education Research.
  • Added support for AIP journals. There is now an explicit "aip" society option along with support for AIP journals. Please see the Author's Guide to AIP Substyles for REVTeX 4.1. In addition, REVTeX 4.1 provides an extensible system for the easy addition of new collections of journals.
  • Endnotes now ordered correctly. Endnotes in the bibliography now appear in the correct order, interleaved with citations.
  • Multiple references in a single citation supported using a special starred (*) argument to the \cite command. One of the major new features in 4.1 made possible by the joint work on "natbib 8.3". Multiple BibTeX entries can be combined into a single \bibitem command.
  • Free form text can be prepended and appended to a bibliographic entry using the special starred (*) argument to the \cite command. Often a citation in the bibliography will have explanatory text such as See also or and references therein before and after the actual citation. The new REVTeX 4.1 \cite command allows the specification of both text to precede and follow a citation.
  • Structured Abstracts. Use of the "description" environment in abstracts now provides for "structured" abstracts.
  • Figures referring to videos now supported. A "figure" may now be labeled as a Video by using the "video" environment. A frame from the video may be included in the figure and a URL to link the caption's label to the online video also may be included. There is also a \listofvideos command.
  • Better support for arXiv.org in BibTeX Three more BibTeX fields have been added: "SLACcitation", "archivePrefix", and "primaryClass" in addition to the existing field "eprint".

Authors submitting to APS or AIP journals using TeX should use REVTeX 4.1. Proper use of the commands provided by REVTeX greatly aids the peer-review and the publication process, reducing the chances for the introduction of errors.

Documentation

The documentation is included in the full REVTeX 4.1 distribution However, for convenience the documentation is also available from here in PDF format:

Download and Install REVTeX 4.1

The REVTeX 4.1 may be downloaded directly from here as revtex4-1.zip. REVTeX 4.1 is also available on CTAN.

To install REVTeX 4.1, unzip the revtex4-1.zip file. This will unpack a README file as well as an additional zip file, revtex4-1-tds.zip. The README file contains information about how to unpack and install the revtex4-1-tds.zip file. Briefly, this zip file contains all of the files in the REVTeX 4.1 distribution in the standard "TeX Directory Structure" (TDS) layout. Usually the file can be unzipped directly in the local tree of your TeX distribution (for TeX Live, this would be in the texmf-local directory).

Required Packages

The most common problem encountered when first trying to use REVTeX 4.1 is missing or outdated packages. REVTeX 4.1 requires the natbib package (version 8.31a or higher), url.sty, textcase.sty, and bm.sty files at the very least. AMS-LaTeX is required as well for certain documentclass optons. Most pacakges are available from CTAN, but you will be better served by installing an up-to-date TeX/LaTeX2e distribution such as TeX Live or MikTeX.

  • natbib: This can be downloaded from the contrib/natbib directory on CTAN. Be sure to get version 8.3 or later (8.31a was released in November 2009, so it is likely you will need to update natbib).
  • url.sty: This can be downloaded from the contrib/url directory on CTAN.
  • textcase.sty: This can be downloaded from the contrib/textcase directory on CTAN. Note that you need to download textcase.dtx and textcase.ins. textcase.sty is generated by running latex on the textcase.ins file.
  • bm.sty: If you are missing bm.sty, you have a very incomplete or outdated LaTeX2e distribution and you should upgrade your distribution.
  • AMS-LaTeX: Version 2.0 or higher is needed. It is available from http://www.ams.org/tex/.

Contact us

Please consult the Frequently Asked Questions below first. Email revtex@aps.org if you need more help with REVTeX 4.1 or with submissions to APS journals (Physical Review Letters, Physical Review A-E, Applied, Fluids, Physical Review X, Reviews of Modern Physics, or Physical Review Accelerators and Beams and Physical Review Physics Education Research). For issues concerning AIP's journals, please contact tex@aip.org instead.

Frequently Asked Questions

REVTeX FAQ:

One thought on “Longbibliography Revtex4-1

Leave a Reply

Your email address will not be published. Required fields are marked *