Text FormattingTrouble converting from Overleaf to TeXStudio

Information and discussion about LaTeX's general text formatting features (e.g. bold, italic, enumerations, ...)
Post Reply
dlongddsma
Posts: 5
Joined: Tue Jun 24, 2025 5:39 am

Trouble converting from Overleaf to TeXStudio

Post by dlongddsma »

Since Overleaf is cutting back on the compile time, I'm trying to switch over to TeXstudio. I used a template in Overleaf, and everything compiled beautifully. So I copy and pasted the entire coding from Overleaf into TeXstudio, and it's now screwed up. I'm trying to use Chicago style citations for endnotes, specifically (notes-bibliography). When I compile in overleaf, it compiles perfectly, with numbers after the citation and a beautifully formatted bibliography.

Wheelis, Mark. 2002. “Biological Warfare at the 1346 Siege of Caffa.”
Emerging Infectious Diseases 8 (9): 971–75. https://doi.org/10.
3201/e-id0809.010536.[6] This article r


References
[6] Mark Wheelis. “Biological warfare at the 1346 siege of Caffa”. In: Emerg-
ing Infectious Diseases 8.9 (2002), pp. 971–975. issn: 10806040. doi:
10.3201/eid0809.010536. url: https://www.ncbi.nlm.nih.gov/
pmc/articles/PMC2732530/.

However, when I compile the exact same code in TeXStudio, the reference is changed to the (author-date) style and there is no bibliography.

Wheelis, Mark. 2002. “Biological Warfare at the 1346 Siege of Caffa.”
Emerging Infectious Diseases 8 (9): 971–75. https://doi.org/10.
3201/e-id0809.010536.[Wheelis2002] This article r

Here is the preamble source code followed by the citation code

\documentclass[a4paper,12pt]{article}
\setlength{\parskip}{0.5pt}%
\setlength{\parindent}{20pt}%

%preamble: style and/or packages
\author{XXXXXXXXXXX}
\title{PhD research proposal}
\date{January 2023}

%\usepackage{package}

\usepackage{hyperref}
\usepackage{titlesec}
\setcounter{secnumdepth}{3}
\usepackage{enumitem}
\usepackage{varwidth}
\usepackage{tasks}
\usepackage{setspace}
%\doublespacing

\usepackage{graphicx}
\usepackage{siunitx}

%colors, boxes
\usepackage[dvipsnames]{xcolor}
\usepackage[most]{tcolorbox}
\tcbuselibrary{fitting}

\definecolor{columbiablue}{rgb}{0.61, 0.87, 1.0}
\definecolor{mossgreen}{rgb}{0.68, 0.87, 0.68}

%\usepackage[super,sort&compress,comma]{natbib}
\usepackage{biblatex} %Imports biblatex package
\addbibresource{My CollectionForDisProposal.bib} %Import the bibliography file

%indent first line
\usepackage{indentfirst}
\setlength{\parindent}{30pt}

%captions
\usepackage[font=footnotesize,labelfont={bf,it}, textfont=it]{caption}
\usepackage[labelsep=period]{caption}

%landscape pages
\usepackage{pdflscape}
\usepackage{fancyhdr}

%page number at bottom in landscape
\fancypagestyle{mylandscape}{
\fancyhf{} %Clears the header/footer
\fancyfoot{% Footer
\makebox[\textwidth][r]{% Right
\rlap{\hspace{.75cm}% Push out of margin by \footskip
\smash{% Remove vertical height
\raisebox{4.87in}{% Raise vertically
\rotatebox{90}{\thepage}}}}}}% Rotate counter-clockwise
\renewcommand{\headrulewidth}{0pt}% No header rule
\renewcommand{\footrulewidth}{0pt}% No footer rule
}

%temporarily disable superscript
\DeclareRobustCommand*{\citen}[1]{%
\begingroup
\romannumeral-`\x % remove space at the beginning of \setcitestyle
\setcitestyle{numbers}%
\cite{#1}%
\endgroup
}


\begin{document}
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
\item
Wheelis, Mark. 2002. “Biological Warfare at the 1346 Siege of Caffa.” \textit{Emerging Infectious Diseases} 8 (9): 971–75. \url{https://doi.org/10.3201/e-id0809.010536 ... heelis2002} This

Why is this code doing different things in different compilers???

Recommended reading 2024:

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

Learn LaTeX easily with newest books:

The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis

The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more

LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis

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

Re: Trouble converting from Overleaf to TeXStudio

Post by Stefan Kottwitz »

Hi Dlongddsma,

sorry to see there's no answer yet. I guess that's because the code is incomplete and cannot be tested.

Were you able to solve it? If not perhaps post a compilable example code, with the My CollectionForDisProposal.bib too. Either copied in here as source code formatted (using the "code" button </> above when writing), which is the best for short code, or as an attachment for longer files. I would test that too.

Anyway, let us know how it turned out, thanks!

Stefan
LaTeX.org admin
Amissane
Posts: 1
Joined: Wed Dec 03, 2025 4:45 pm

Re: Trouble converting from Overleaf to TeXStudio

Post by Amissane »

Hi,
For comparison, I’ve been working with the BlabLaTeX online editor (https://www.blablatex.com), which doesn’t impose any compile-time limits, and my documents with biblatex compile normally

This might help determine whether the issue is related to Overleaf’s reduced compile time or to the local TeX setup in TeXstudio.
Post Reply