Trouble convertinf from Overleaf to TeXstudio #4132
Replies: 4 comments 3 replies
-
the example is incomplete, hence it can't be answered. |
Beta Was this translation helpful? Give feedback.
-
So what do I need to show you?* Everything?*
…On Tue, Aug 5, 2025 at 7:14 AM sunderme ***@***.***> wrote:
the example is incomplete, hence it can't be answered.
Generally there are more than one tool to compile biblatex (e.g. biber)
The correct tool needs to be selected in txs. A compile run usually
automatically calls the biblatex tool when needed.
—
Reply to this email directly, view it on GitHub
<#4132 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/BVAOXWCFXMPGIQQHDCOJBF33MDC6DAVCNFSM6AAAAACDDSCYESVHI2DSMVQWIX3LMV43URDJONRXK43TNFXW4Q3PNVWWK3TUHMYTIMBQHAYDAMY>
.
You are receiving this because you authored the thread.Message ID:
***@***.***
com>
--
Daniel E. Long, DDS, MA
|
Beta Was this translation helpful? Give feedback.
-
OK, here's everything. Good luck!
%%%%CODE%%%%
\documentclass[a4paper,12pt]{article}
\setlength{\parskip}{0.5pt}%
\setlength{\parindent}{20pt}%
%preamble: style and/or packages
\author{xxxxxxxxxx}
\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}
% cover page
\begin{center}
\thispagestyle{empty}
\begin{LARGE}
A Review \\[1 cm] \vfill
\end{LARGE}
\begin{Large}
proposal \\ [1 cm]\vfill
A \\
\href{mailto:<email>}{d} \\[1 cm]\vfill
August 2025\\[1 cm]\vfill
%1st supervisor: $<$1st supervisor$>$ \\
%2nd supervisor: $<$2nd supervisor$>$ \\[1 cm]\vfill
P\\
Faculty of \\
%choose between bnw or rgb logo
\centerline{ \includegraphics[scale=0.5]{../figures/U of York Logo.jpg}
}
\end{Large}
\end{center}
% document begins
%\newpage
%%table of contents
{\setlength\parskip{\fill}
%\tableofcontents
}
%you can start a new page anytime with \newpage
%\newpage
%Abstract
%\section*{Abstract}
%\addcontentsline{toc}{section}{\protect\numberline{}Abstract}
%%Introduction
\newpage
\section{Introduction}Biological
\section{Review of the Literature}
%\citep{lowry1951protein}.
%You can reference a figure like this %(fig.~\ref{fig:mandelbrot}).
Upload your own figures in the /figures/ folder.
%figure template
% \begin{figure}[ht]
%\centerline{
%\includegraphics[scale=1.2]{../figures/mandelbrot.jpg}
%}
%\caption{A caption \citep{mandelbrot1982fractal} or non-superscripted
reference [\citen{mandelbrot1982fractal}]}
%\label{fig:mandelbrot}
%\end{figure}
%\newpage
%\subsection{State of the art}\\
%\subsubsection{An additional subsection}
Although
%make a list
%\begin{enumerate}
% \item
% First item;
% \item
% Second item;
% \item
% Third item.
%\end{enumerate}
%\subsection{Knowledge gaps}
\begin{itemize}
\item
Old
\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.}\cite{Wheelis2002} This article
recounts
\item
Harris, Sheldon. 2002. \textit{Factories of Death: Japanese
Biological Warfare, 1932-1945, and the American Cover-Up.} Revised. New
York: Routledge;\cite{Harris2002a} Guillemin, Jeanne. 2017. \textit{Hidden
Atrocities: Japanese Germ Warfare and American Obstruction of Justice at
the Tokyo Trial.} New York: Columbia University Press.\cite{Guillemin2017}
These two volumes
\item
Alibek, Ken, and Stephen Handelman. 2000. \textit{Biohazard: The
Chilling True Story of the Largest Covert Biological Weapons Program in the
World--Told from Inside by the Man Who Ran It.} Reprint. New York:
Delta.\cite{Alibek2000}; Domaradskij, Igor, and Wendy Orent. 2003.
\textit{Biowarrior: Inside the Soviet/Russian Biological War Machine.}
Amherst, New York: Prometheus Books.\cite{Domaradskij2003} Ken Alibek and
Igor Domaradskij are
\item
Lentzos, Filippa. 2025. “Pandemic Risks: Are There Some Genetic
Experiments That Simply Should Not Be Done?” \textit{Bulletin of the Atomic
Scientists} 81 (3): 174–77. \url{
https://doi.org/10.1080/00963402.2025.2488669.}\cite{Lentzos2025} In this
article,
\end{itemize}
%Add extra space
%\vspace*{5mm}
%Objective and research questions
\section{Objective and research questions}
%\begin{tcolorbox}[minipage,colback=Goldenrod,arc=0pt,outer arc=0pt]
%\centering
\textbf{The objective of this paper is to answer the following questions:}
%\end{tcolorbox}
\begin{itemize}
\item
\textbf{RQ 1.} \emph{What ?}
\item
\textbf{RQ 2.} \emph{Has ?}
\item
\textbf{RQ 3.} \emph{If ?}
\item
\textbf{RQ 4.} \emph{Can ?}
\end{itemize}
%Methods
%\newpage
\section{Methodology}
%\subsection{Methods tackling the first research question}
%\vspace*{10mm}
%\begin{tcolorbox}[minipage,colback=columbiablue,arc=10pt,outer arc=10pt]
%\centering
%\textbf{RQ 1.} \emph{First research question}
%\end{tcolorbox}
%\vspace*{10mm}
% \noindent \textbf{a. Methodology}\\ [0.1 cm]
% \textbf{i. First step}
% \textbf{ii. Second step}
% \vspace*{5mm}
%example of equation
% An equation (eq. \ref{eq:euler}):
% \begin{equation} \label{eq:euler}
% e^{ \pm i\theta } = \cos \theta \pm i\sin \theta
% \end{equation}
%\textbf{iii. Third step}
%\vspace*{5mm}
%\noindent \textbf{b. Novelty}\\ [0.1 cm]
%\begin{tcolorbox}[minipage,colback=mossgreen,arc=10pt,outer arc=10pt]
%\centering
%\textbf{Paper 1. \emph{First paper}}
%\end{tcolorbox}
%\vspace*{5mm}
The
\section{Anticipated Results}
By
\section{Risks and Feasibility}
I
%\textbf{c. }\\
% \noindent \textbf{d. Outcomes} %\vspace*{5mm}
%\textbf{Outcome 1.1.} Outcome 1.1\\
%\textbf{Outcome 1.2.} Outcome 1.2.
% you can find the template for this gantt chart in
/figures/gantt_template.pptx, convert it to pdf and then to png to upload
it on the document
%example of a temporarily horizontal page
% \newpage
% \begin{landscape}
% \thispagestyle{mylandscape}
% \vspace*{-3cm}
% \section{Timetable}
% \begin{figure}[!htb]\vspace*{-0.4cm}
% \centerline{
% \includegraphics[scale=0.67]{../figures/gantt_template.png}
%}
%\caption{Gantt chart of the PhD project.}
%\label{fig:gantt}
%\end{figure}
%\end{landscape}
%\newpage
%\section{Collaborations}
%\vspace*{1 cm}
%\noindent \textbf{University - Department}\\
%\noindent University address\\
%\textbf{Theme}
%Person 1 - \href{mailto:<email>}{$<$email$>$} \\ \vspace*{-5.5mm}
%Person 2 – \href{mailto:<email>}{$<$email$>$} \\
%\textbf{Theme 2}
%Person 1 - \href{mailto:<email>}{$<$email$>$} \\ \vspace*{-5.5mm}
%Person 2 – \href{mailto:<email>}{$<$email$>$} \\\\
%\section{Data management plan}
\newpage
\section{References}
%\addcontentsline{toc}{section}{References}
\printbibliography%[My CollectionForDisProposal]
\end{document}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%References from "My CollectionForDisProposal"%%%%
@book{Alibek2000,
address = {New York},
author = {Alibek, Ken and Handelman, Stephen},
edition = {Reprint},
isbn = {978-0385334969},
pages = {xi--319},
publisher = {Delta},
title = {{Biohazard: The Chilling True Story of the Largest Covert
Biological Weapons Program in the World--Told from Inside by the Man Who
Ran It}},
url = {https://isbnsearch.org/isbn/9780385334969},
year = {2000}
}
@book{Domaradskij2003,
address = {Amherst, New York},
author = {Domaradskij, Igor and Orent, Wendy},
pages = {341},
publisher = {Prometheus Books},
title = {{Biowarrior: Inside the Soviet/Russian Biological War Machine}},
year = {2003}
}
@book{Guillemin2017,
address = {New York},
author = {Guillemin, Jeanne},
isbn = {9780231183529},
pages = {xix--460},
publisher = {Columbia University Press},
title = {{Hidden Atrocitiess: Japanese Germ Warfare and American
Obstruction of Justice at the Tokyo Trial}},
year = {2017}
}
@book{Harris2002a,
address = {New York},
author = {Harris, Sheldon},
edition = {Revised},
isbn = {0-415-93214-9},
pages = {xxv--385},
publisher = {Routledge},
title = {{Factories of Death: Japanese Biological Warfare, 1932-1945, and
the American Cover-up}},
year = {2002}
}
@Article{Lentzos2025,
author = {Lentzos, Filippa},
doi = {10.1080/00963402.2025.2488669},
file = {:C$\backslash$:/Users/hoyad/AppData/Local/Mendeley Ltd./Mendeley
Desktop/Downloaded/Lentzos - 2025 - Pandemic risks Are there some genetic
experiments that simply should not be done.pdf:pdf},
journal = {Bulletin of the Atomic Scientists},
month = {may},
number = {3},
pages = {174--177},
title = {{Pandemic risks: Are there some genetic experiments that simply
should not be done?}},
url = {https://doi.org/10.1080/00963402.2025.2488669},
volume = {81},
year = {2025}
}
@Article{Wheelis2002,
abstract = {On event.},
author = {Wheelis, Mark},
doi = {10.3201/eid0809.010536},
file = {:C$\backslash$:/Users/hoyad/AppData/Local/Mendeley Ltd./Mendeley
Desktop/Downloaded/Wheelis - 2002 - Biological warfare at the 1346 siege of
Caffa.pdf:pdf},
issn = {10806040},
journal = {Emerging Infectious Diseases},
number = {9},
pages = {971--975},
pmid = {12194776},
title = {{Biological warfare at the 1346 siege of Caffa}},
url = {https://www.ncbi.nlm.nih.gov/pmc/articles/PMC2732530/},
volume = {8},
year = {2002}
}
…On Tue, Aug 5, 2025 at 10:15 PM sunderme ***@***.***> wrote:
Yes, everything.
Though everything can be a reduced test case. Remove all unneeded parts
and texts, but make sure that the test case still shows the issue, i.e.
bibliography on overleaf and not on txs.
—
Reply to this email directly, view it on GitHub
<#4132 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/BVAOXWC2GEI6FEIKFA3PSRD3MGMQVAVCNFSM6AAAAACDDSCYESVHI2DSMVQWIX3LMV43URDJONRXK43TNFXW4Q3PNVWWK3TUHMYTIMBRGQ3DSOA>
.
You are receiving this because you authored the thread.Message ID:
***@***.***
com>
--
Daniel E. Long, DDS, MA
|
Beta Was this translation helpful? Give feedback.
-
BTW Overleaf compiles LaTeX project using latexmk, with a system-level configuration file. See article How does Overleaf compile my project? for more info. For a smoother migration from Overleaf to TeXstudio, you may consider extracting the config file and setting-up TeXstudio to also use You can "extract" the content of that \usepackage{embedfile}
% filespec renames the embedded file
\embedfile[filespec=LatexMk.txt]{/usr/local/share/latexmk/LatexMk} TeXstudio setup can be done by, e.g. adding another magic comment
or by adding and applying a user command in the Commands tab, TeXstudio configuration. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
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???
Beta Was this translation helpful? Give feedback.
All reactions