GeneralBibTeX & "undefined control sequence"

LaTeX specific issues not fitting into one of the other forums of this category.
jkobori
Posts: 3
Joined: Sun Oct 26, 2014 4:36 pm

BibTeX & "undefined control sequence"

Post by jkobori »

Hi Rainer,

sorry for the late answer.
You are right, it would be much more elegant to have 'Astrophysical Journal' than 'apj' in the bibliography.
I found the sty file
http://cdsads.u-strasbg.fr/abs_doc/aas_macros.sty
with all of the definitions, and I include it in the preamble
(\documentclass[12pt,aas_macros]{book}), but it does not have any effect, it still gives the same error.
Putting the aas_macros into the option list is the only change I've made to the source tex file.
Am I doing something wrong?
Thanks!

Joseph

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p

Ijon Tichy
Posts: 640
Joined: Mon Dec 24, 2018 10:12 am

BibTeX & "undefined control sequence"

Post by Ijon Tichy »

Style files cannot be loaded via class option. They have to be loaded by \usepackage. So you have to use

Code: Select all

\documentclass[12pt]{book}
\usepackage{aas_macros}
Sorry, but I can no longer participate here as the administrator is trampling on my wishes on one of his other platforms. :cry:
Post Reply