Hello everybody!
My references are cited correctly if I use any of the following styles with BibTex: plain, unsrt or alpha. However, if I change the style to amsplain or amsalpha, none of the references are cited in the text (in their places there is a blank), though the reference list is correctly formatted for both of the styles. Does anyone know what I could be doing wrong? Maybe there is a special way to cite references for those styles different from \cite{}. I use Tex Live 2022. Thank you all in advance!
BibTeX, biblatex and biber ⇒ amsplain or amsalpha not working
-
- Posts: 9
- Joined: Sun Feb 28, 2010 4:21 pm
amsplain or amsalpha not working
Actually, I noticed that if I hover the mouse cursor over the blank space in the .pdf file, it hyperlinks to the references list, which is correctly formatted. So I believe the problem is that the citations are "hidden" in the .pdf file, though they are there!
amsplain or amsalpha not working
Blank instead of reference sounds like missing bibtex run. But without
minimal working example (correctly marked as code) this would be hard so say.
Disclaimer: This is non of my favorite topics. Therefore, please do not expect any further replies from me.

Disclaimer: This is non of my favorite topics. Therefore, please do not expect any further replies from me.
My main topics are KOMA-Script and other questions related to my packages. If I reply to any other topic or if you've not yet added a minimal working example, please do not expect any further response. And please don't forget to tag examples as code.
-
- Posts: 9
- Joined: Sun Feb 28, 2010 4:21 pm
amsplain or amsalpha not working
Thank you, MjK. So here is a minimal working example.
Here is the content of dedicationFile:
Here is the content of acknowledgmentsFile:
Here is the content of abstractFile:
Here is the content of referenceFile:
Here is the content of biographyFile:
Here is the content of abbreviations:
Here is the content of appendix:
Here is the link for the document class:
https://helpdesk.ufl.edu/application-su ... templates/
Code: Select all
Code, edit and compile here:
\documentclass[editMode]{ufdissertation}\sloppy%\usepackage{CustomMacros}% This is a user macro/style file.\usepackage{tikz}% tikz is used by almost everyone, butcertainly by me for this.\usepackage{pgfplots}% pgfplots is tikz but better.%\usepackage{amsrefs}% amsrefs contains the .bibtex style content for mathematician papers.\usepackage{algpseudocode}\usepackage{scrextend}\deffootnote{1.5em}{0em}{\thefootnotemark\quad}%% Uncomment the relevant line below if you have tables or figures.\haveTablestrue% Uncomment this if you have tables in your thesis.\haveFigurestrue% Uncomment this if you have figures in your thesis.\haveObjectstrue% Uncomment this if you have Objects in your thesis. This is almost certainly not the case however.%%% Below are the commands to set the degree type, department, graduation time, and chair.% Most of these are self explanatory.% Note: The \chair command takes an optional argument for a cochair.% So if John was your chair and Jacob was a cochair, you would use \chair[Jacob]{John}.% If John was your chair and you had no cochair, you can simply use \chair{John}.\title{any}% Put your title here.\degreeType{any}% Official name of your degree; eg "Doctorate of Philosophy".\major{any}% Your official Department\author{any}% Your Name\thesisType{any}% Dissertation (PhD) or Thesis (Masters)\degreeYear{any}% Intended graduation year (not the year you submit the thesis)\degreeMonth{any}% Month of graduation should be May, August, or December.\chair{any}% Chair and Cochair (see comment block above).%%% For each of the following, type in the name of the file that contains each section.% They are assumed to be tex files, but if they aren't the command takes an optional argument for the extension.%So, you could load dedication.tex as your dedication file using \setDedicationFile{dedication}% You could load dedication.txt instead with \setDedicationFile[txt]{dedication}.% NOTE: For some compilers they may or may not add a .tex to the end of the file automatically.% If you get a "couldn't find dedication.tex.tex" type error, try the command with an empty optional argument,%e.g. \setDedicationFile[]{dedication}%%% These are REQUIRED sections; easiest to do via these commands.\setDedicationFile{dedicationFile}% Dedication Page
Code: Select all
Anything.
Code: Select all
Anything.
Code: Select all
Anything.
Code: Select all
@article{Author,title={Title},volume={1},number={1},journal={Journal},publisher={Publisher},author={Somebody, John},year={2000},pages={1-2}}@article{Author2,title={Title},volume={1},number={1},journal={Journal},publisher={Publisher},author={Somebody Else, John},year={2000},pages={1-2}}
Code: Select all
Anything.
Code: Select all
Code, edit and compile here:
\singlespacing\begin{tabular}{l p{5in}}\emph{a} & Piston acceleration.\\\\$A_{\mathrm{in}}$ & Piston internal annular area.\\\end{tabular}\doublespacing
Code: Select all
Code, edit and compile here:
\chapter{Some Additional Material}Test for first appendix file.\begin{table}[h]\caption[Aliquam mi nisi]{Aliquam mi nisi, tristique at rhoncus quis, consectetur non mi. Phasellus blandit quam ligula, a viverra lacus commodo at.}%\begin{center}\begin{tabularx}{\textwidth}{XXXX}\hlineSome & Data & Goes & Here\\\hlineSome & Data & Goes & Here\\Some & Data & Goes & Here\\Some & Data & Goes & Here\\\hline\end{tabularx}%\end{center}\end{table}\chapter{Secondary Appendix Content}Test for second appendix file.\chapter{Expert Opinions}Test for third appendix file.
https://helpdesk.ufl.edu/application-su ... templates/
amsplain or amsalpha not working
Ouch! Not the best example of a template. For example the class loads
Sorry, I'm out. Nevertheless, thank you for the (not so minimal) example code. This could help others to help you.
hyperref
before several packages like amsmath
and natbib
, that should be loaded before hyperref
.Sorry, I'm out. Nevertheless, thank you for the (not so minimal) example code. This could help others to help you.
amsplain or amsalpha not working
I agree. Also, a
Even so, I cannot reproduce the issue with the code provided...
(means it works for me after clearing up some
errors caused by some comments that were no longer comments. The stuff after `These are NOT required' I deleted from the preamble.)
@felipeabrao: did you verify if the code you presented shows the same issue?
KR
Rainer
\sloppy
within the preamble is a bad sign (first line in its `exampleMasterFile.tex'), IMHO. And since the class file doesn't contain a \ProvidesClass
statement, we couldn't just use \listfiles
to compare version numbers from that class, should we have different versions...Even so, I cannot reproduce the issue with the code provided...
(means it works for me after clearing up some
Code: Select all
! LaTeX Error: Missing \begin{document}.
@felipeabrao: did you verify if the code you presented shows the same issue?
KR
Rainer
-
- Posts: 9
- Joined: Sun Feb 28, 2010 4:21 pm
amsplain or amsalpha not working
Thank you very much, MjK and rais. Yes, I tried to change the position of
However, you gave me an idea: maybe I should simply change my class version to its newest one. I simply did this and it worked! So that was the problem: I was using an old class version.
Thank you again for your help!
hyperref
but it didn't work, and yes, I verified the code I presented but I got the same issue.However, you gave me an idea: maybe I should simply change my class version to its newest one. I simply did this and it worked! So that was the problem: I was using an old class version.
Thank you again for your help!