GeneralMiktex not showing references (Overleaf does)

LaTeX specific issues not fitting into one of the other forums of this category.
Post Reply
marbocam
Posts: 38
Joined: Thu Dec 19, 2024 11:14 am

Miktex not showing references (Overleaf does)

Post by marbocam »

Hi there!

I'm working on a template given by uni, so I have a master doc where I input the docs I want to show:

Code: Select all

\documentclass[tesi, crop, rm, english]{editorialupv}
\usepackage{etoolbox}
\usepackage{tikz}


% Opciones de la clase 'editorialupv'
%
% llibre      - Libro docente
% ebookpdf    - Libro en formato PDF para e-Readers
% tesi        - Formato de tesis
% a4          - Formato A4
% rm          - Tipo de letra roman
% sf          - Tipo de letra sanserif
% crop        - Marcas de corte (cruz) 17x24 cm (+3 mm por los cuatro lados) centrada en una A4 
% nocrop      - Sin marcas de corte, respeta el tamaño 17x24 cm 
% nomathskip  - No se modifican las distancias de las ecuaciones 
%
% castellano  - La publicación está escrita en castellano
% valencia    - La publicació està escrita en valencià
% english     - La publicación está escrita en inglés
%
% literari    - La publicación tiene un formato literario

% ---------------------------------------------------------------------
% Configuraciones presonalizadas 

\input{./configuraciones/preambulo}
\input{./configuraciones/preambulo_tcolorbox}
\input{./configuraciones/preambulo_listings_LaTeX} % Para incluir código LaTeX
%\input{preambulo_listings} % Ejemplos de configuración para incluir código C, o Matlab

% ---------------------------------------------------------------------
% Archivos con las referencias bibliográficas

\bibliography{referencias}


% ---------------------------------------------------------------------
% Las carpetas para los gráficos

\graphicspath{
	{./figuras/}
	{./logos/}
	}

% ---------------------------------------------------------------------

\title{
	Photonic Transceivers for 6G mmW-based Radio Access Networks\\[3ex]
	\mdseries\large	June de 2025
	}

% ---------------------------------------------------------------------
% Para una tesis se recomienda utilizar esta estructura para el autor y directores de tesis

\author{
	\parbox{\textwidth}{\centering%
		\begin{tabular}{l@{\hspace{.75em}}l}
			Author: 		& Marta Botella Campos\\[4ex]
			Supervisors: 	& Beatriz Ortega Tamarit\\[.5ex]
						& José Mora Almerich
		\end{tabular}
		}
	}

% ---------------------------------------------------------------------
% ---------------------------------------------------------------------
% ---------------------------------------------------------------------

\begin{document}
	
\input{configuraciones/referencias_cruzadas}

% -------------------------------------------------------

\frontmatter

% -------------------------------------------------------
% Página de título

\maketitle

% -------------------------------------------------------
% Resumen, prólogo o prefacio

\cleardoublepage

\input{cap_Resumen}

	
% -------------------------------------------------------
% Índice: tabla de contenidos
% Lista de figuras y lista de tablas

\cleardoublepage
\phantomsection
\addcontentsline{toc}{chapter}{\contentsname}
\tableofcontents
        
% Lista de figuras
\cleardoublepage
\phantomsection
\addcontentsline{toc}{chapter}{\listfigurename}
\listoffigures

% Lista de tablas
\cleardoublepage
\phantomsection
\addcontentsline{toc}{chapter}{\listtablename}
\listoftables

\cleardoublepage

% -------------------------------------------------------
% Numeración de páginas números arábicos
% Primer capítulo en página 1

\mainmatter

% -------------------------------------------------------
% -------------------------------------------------------
% -------------------------------------------------------
% Capítulos de la publicación

%\input{cap_Manual}

%\input{cap_ISO_9000}

%\input{cap_Respuesta_en_frecuencia}

\input{cap_mmW_gain}

% -------------------------------------------------------
% -------------------------------------------------------
% -------------------------------------------------------
% Bibliografía

\bibitemsep = 3ex
\bibhang = 2em

\printbibliography[heading=bibintoc,title=\bibname]

% -------------------------------------------------------
% Índice alfabético

\cleardoublepage
%\phantomsection
%\addcontentsline{toc}{chapter}{\indexname}

%\printindex

% -------------------------------------------------------
% Fin del documento

\end{document}
Overleaf does show the references, but Miktex doesn't. Any ideas on how to work it around? I could show you the style sheet as well if it helps..

Recommended reading 2024:

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

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

User avatar
Stefan Kottwitz
Site Admin
Posts: 10320
Joined: Mon Mar 10, 2008 9:44 pm

Miktex not showing references (Overleaf does)

Post by Stefan Kottwitz »

You have to run BibTeX in your editor or at the command line. Overleaf does it automatically. See here: texfaq.org/FAQ-usebibtex

Stefan
LaTeX.org admin
marbocam
Posts: 38
Joined: Thu Dec 19, 2024 11:14 am

Miktex not showing references (Overleaf does)

Post by marbocam »

I supposedly have the package installed, but when I run if I get this error:

\usepackage{bibtex}
----------------------------------
! LaTeX Error: File `bibtex.sty' not found.

Type X to quit or <RETURN> to proceed,
or enter new name. (Default extension: sty)

How can I fix it? Please... :)
User avatar
Stefan Kottwitz
Site Admin
Posts: 10320
Joined: Mon Mar 10, 2008 9:44 pm

Miktex not showing references (Overleaf does)

Post by Stefan Kottwitz »

It's not a package / style file, it's an external program. Did you read texfaq.org/FAQ-usebibtex?

Stefan
LaTeX.org admin
marbocam
Posts: 38
Joined: Thu Dec 19, 2024 11:14 am

Miktex not showing references (Overleaf does)

Post by marbocam »

Sorry, Stephan. I got caught with something else and didn't fully understand the website you sent me. I'll go back to it later and see I can fix the problem..

Thank you!!!
marbocam
Posts: 38
Joined: Thu Dec 19, 2024 11:14 am

Re: Miktex not showing references (Overleaf does)

Post by marbocam »

Hello again!

Yesterday I finally managed to make the whole bibliography appear :) Thank you for your help :)
Post Reply