GeneralCitations and references appearing as text instead of numbers

LaTeX specific issues not fitting into one of the other forums of this category.
Post Reply
Alnazer
Posts: 1
Joined: Tue Feb 27, 2018 9:31 pm

Citations and references appearing as text instead of numbers

Post by Alnazer »

Hi
Please can you advice
(Citations and references appearing as text instead of numbers).
Here the written code

Code: Select all

%\documentclass[a4paper,12pt,twoside,openright]{report} %draft
\documentclass[a4paper,12pt,oneside,openany]{report} %draft

% Load the package
\usepackage[acronym,nonumberlist]{glossaries}

% Generate the glossary
\makeglossaries
\input{title/acronym}

\usepackage[top=2.5cm, bottom=2.5cm, inner=3.5cm, outer=2.5cm, heightrounded, marginparwidth=2cm, headheight=15pt,]{geometry}	% set correct margin

\usepackage{setspace}
\spacing{1.45} % Should be equal to one and a half line spacing in Word for Times New Roman 12pt

\setlength\parindent{0pt}	% no indentation

% BibTex bibliography
\usepackage[backend=bibtex,
			defernums=true,
			style=numeric,
			sorting=none,
			backref,
			maxbibnames=99, % prints upto 99 authors
			%refsection=section]{biblatex}
			refsegment=chapter]{biblatex}
						
\addbibresource{Chap_1_Intro/references/chap_1.bib}
\addbibresource{Chap_2_ZnO_Litre_Rev/references/ZnO_Literature_review.bib}
\addbibresource{Chap_3_CVD/references/Chap_3_CVD.bib}
\addbibresource{Chap_4_Mobility/references/Chap_4_Mobility.bib}
\addbibresource{Chap_5_ZnONWs/references/Chap_5_ZnONWs.bib}
\addbibresource{Chap_6_MS/references/Chap_6_MS.bib}
\addbibresource{Chap_7_InAs/references/Chap_7_InAs.bib}
\addbibresource{Chap_8_Conc/references/Chap_8_Conc.bib}


% Graphics package for imagaes
\usepackage{graphicx}
% Path for figures
\graphicspath{
{title/fig/}
{Chap_1_Intro/Figures/}
{Chap_2_ZnO_Litre_Rev/Figures/}
{Chap_3_CVD/Figures/}
{Chap_4_Mobility/Figures/}
{Chap_5_ZnONWs/Figures/}
{Chap_6_MS/Figures/}
{Chap_7_InAs/Fig/}
{Chap_8_Conc/Figures/}
}

%\usepackage{subcaption}
\usepackage[labelformat=simple]{subcaption}
\renewcommand\thesubfigure{(\alph{subfigure})}

\usepackage{capt-of}

\usepackage{multicol}
\usepackage{multirow}
%--messary--
\usepackage{arydshln}

%---------------
\usepackage{todonotes}
%The package lets the user mark things to do later, in a simple and and visually appealing way. The package takes several options to enable customization / finetuning of the visual appearance. The package makes use of the tikz and xkeyval packages.

%check margins
%\usepackage{showframe}	% make frame visible, borders

\usepackage{enumerate}

\usepackage{tocloft}	% list equations

% gmedina solution
%\newcommand{\listequationsname}{List of Equations}
%\newlistof{myequations}{equ}{\listequationsname}
%\newcommand{\myequations}[1]{%
%\addcontentsline{equ}{myequations}{\protect\numberline{\theequation}#1}\par}
%\setlength{\cftmyequationsnumwidth}{2.5em}% Width of equation number in List of Equations

% mathpackage
\usepackage{amsmath}
\usepackage{mathrsfs}
\usepackage{dsfont}

% drawing
\usepackage{tikz}
\usetikzlibrary{arrows,decorations.markings}
\usetikzlibrary{decorations.pathreplacing}
\usetikzlibrary{shapes.geometric, arrows}

\usepackage{color}

% Fancy header
\usepackage{fancyhdr}
\pagestyle{fancy}
\renewcommand{\sectionmark}[1]{\markright{#1}}
\fancyhead{}
\fancyhead[RO,LE]{\fancyplain{}{\rightmark}}
\fancyhead[LO,LE]{}
\fancyfoot[CO,RE]{}
\newcommand{\ud}{\mathrm{D}}
\newcommand{\ug}{\mathrm{G}}
\newcommand{\ugl}{\mathrm{g}}
%\newcommand{\ug}{\mathrm{FB}}
%\newcommand{\bk}{\textbf{k}}
%\newcommand{\br}{\textbf{r}}
\newcommand{\bv}{\textbf{v}}
%\newcommand{\E}{\textbf{E}}
%\newcommand{\uds}{\mathrm{d}}
%\usepackage{esvect}

\begin{document}

\pagenumbering{gobble}
\include{title/title_ME5}

\pagenumbering{roman}%
\begin{singlespace}%
%\phantomsection% if hyperref is used, then \phantomsection
\addcontentsline{toc}{chapter}{\contentsname}%
\tableofcontents%
\cleardoublepage
%\phantomsection% if hyperref is used, then \phantomsection
\addcontentsline{toc}{chapter}{\listfigurename}%
\listoffigures%
\cleardoublepage
%\phantomsection% if hyperref is used, then \phantomsection
%\addcontentsline{toc}{chapter}{\listtablename}%
\listoftables
\cleardoublepage
% List of equations
%\listofmyequations

\end{singlespace}%
\clearpage

\pagenumbering{arabic}



%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\include{Chap_1_Intro/Introduction}
%
%
\include{Chap_2_ZnO_Litre_Rev/ZnO_Literature_review}
%
%
\include{Chap_3_CVD/CVD_ZnONWs}
%
%
\include{Chap_4_Mobility/Mobility_in_ZnONWs}
%
%
\include{Chap_5_ZnONWs/ZnO_NWs}
%
%
\include{Chap_6_MS/fundamental_of_MS_Contacts}
%
%
\include{Chap_7_InAs/Source_Drain_Contact}
%
%
\include{Chap_8_Conc/Conclution}
%
%
%%%%%%%%%%%%

\end{document}

notice that all the references written same way as the attached folder mybib.bib
Manythanks
Attachments
mybib.bib
(7.11 KiB) Downloaded 194 times
main.tex
(4.24 KiB) Downloaded 188 times
Last edited by Stefan Kottwitz on Sat Jun 23, 2018 12:47 pm, edited 1 time in total.

Recommended reading 2024:

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

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

Post Reply