Texmaker and TeXstudioNo pdf output

Information and discussion about Texmaker, an integrated LaTeX environment for several platforms, and the related TeXstudio
Post Reply
MariaL
Posts: 4
Joined: Mon Jul 13, 2015 11:07 am

No pdf output

Post by MariaL »

Hi,

I have seen some similar issues on here but none that solved mine so here we go. I am using TexMaker to compile a report style latex document. Originally, I would alter something in the document, compile (F6) and there'd be no errors, just warnings but the same old pdf would show up, so I couldn't figure out whether the compilation was wrong or if texmaker's built in viewer was picking up the wrong file, so I deleted the .pdf and tried to compile again. Now the issue is no pdf is generated and still, running pdflatex, only warnings are outputted. (See attached png). Any help is appreciated. I would reinstall but I have no admin rights on my computer so need to tell the IT guys what is wrong.

Thanks in advance

Maria
warnings.png
warnings.png (88.27 KiB) Viewed 17798 times
Last edited by cgnieder on Mon Jul 13, 2015 11:27 am, 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.

User avatar
cgnieder
Site Moderator
Posts: 2000
Joined: Sat Apr 16, 2011 7:27 pm

No pdf output

Post by cgnieder »

Hi and welcome to the LaTeX community.

Can you please post a Infominimal working example? Otherwise I am afraid there is not much to say…

Regards
site moderator & package author
MariaL
Posts: 4
Joined: Mon Jul 13, 2015 11:07 am

No pdf output

Post by MariaL »

cgnieder wrote:Hi and welcome to the LaTeX community.

Can you please post a Infominimal working example? Otherwise I am afraid there is not much to say…

Regards

Hi Clemens,

Thank you. I wasn't quite sure where to start as this document was compiling before and all of a sudden isn't. This is what is in my master :

Code: Select all

\documentclass[12pt]{report}
\usepackage {fancyhdr}
\usepackage{graphicx, amssymb, changepage}
\usepackage{rotating}
\usepackage{setspace}
\usepackage{pgnumchapter_nums}
\usepackage{titlepg}
\usepackage{hyperref}
\usepackage{pdfpages}
\usepackage{pdflscape}

%              this is for the list of symbols page, if desired
\def\listofsymbols{\input{symbols} \clearpage}
\def\addsymbol #1: #2#3{$#1$\> \parbox{5in}{#2 \dotfill  \pageref{#3}}\\}
\def\newnot#1{\label{#1}}
%
\pagestyle{fancy}
% \fancyhead[LE,RO]{helv \thepage}
\fancyhead[L,R]{helv \thepage}
\setlength{\headheight}{15.2pt}     %%test this

%\fancyhead[LE,RO]{\thepage\hspace{2em}\footnotesize{\leftmark}}  % try this to move over header

\addtolength{\voffset}{-4em}   								% May2009 added this to move page number up a bit


\singlespacing

\lhead{}
\chead{}
\rhead{\thepage}
\lfoot{}
\cfoot{}
\rfoot{}

\renewcommand{\headrulewidth}{0 pt}          %this prints a line under the header
\renewcommand{\footrulewidth}{0  pt}         %this prints a line under the footer


\renewcommand{\contentsname}{\normalsize{Table of Contents}}
\renewcommand{\listfigurename}{\normalsize{List of Figures}}
\renewcommand{\listtablename}{\normalsize{List of Tables}}
\renewcommand{\bibname}{\normalsize{Bibliography}}
\renewcommand{\indexname}{\normalsize{Index}}

%\pagewidth 8.5in
%\pageheight 11in 
\pdfpagewidth 8.5in
\pdfpageheight 11in 
%
\setlength{\textheight}{8.5in} 
\setlength{\oddsidemargin}{0.5in}  
\setlength{\evensidemargin}{0.5in} 
\setlength{\textwidth}{6.0in}
\setlength{\topmargin}{0.in}    
\setlength{\headheight}{0.5in}
\setlength{\headwidth}{6.0in}
\setlength{\headsep}{0.65in}                       			% change from .25in to .5 in   May2009 
\setlength{\parindent}{12mm}


%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%
%%%  This begins the frontmatter of the document, everything preceding the body 
%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%


\begin{document}

\pagenumbering{roman}

\thesistitlepage

\thesiscopyrightpage              
	
\addcontentsline{toc}{chapter}{Abstract}          		 				
\thesisabstract

\makeatletter \renewcommand{\@dotsep}{10000} \makeatother

%  {evensidemargin}{oddsidemargin}%
%  {columnsep}{topmargin}%
%  {headheight}{headsep}%
%  {footskip}

\renewcommand{\contentsname}{\normalsize{Table of Contents}}    
\tableofcontents                                                


\newpage		

\addcontentsline{toc}{chapter}{List of Tables}     					% added May2009
\listoftables

\newpage     % added June2009
\addcontentsline{toc}{chapter}{List of Figures}						
\listoffigures

%   \newpage
%   \chapter*\normalsize\textbf{List of Symbols\hfill}   %/hfill
%   \addcontentsline{toc}{chapter}{List of Symbols}
%   \listofsymbols


%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%
%%%  This begins the body of the document
%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%


\newpage
\pagenumbering{arabic}

\include{Competencies}
\include{chapter1}
\include{chapter2}
\include{chapter3}
\include{Evidence}

\bibliographystyle{plain}
\newpage
\addcontentsline{toc}{chapter}{Bibliography}	
\bibliography{myrefs}

\end{document}



Maria
Last edited by cgnieder on Mon Jul 13, 2015 12:21 pm, edited 1 time in total.
User avatar
cgnieder
Site Moderator
Posts: 2000
Joined: Sat Apr 16, 2011 7:27 pm

No pdf output

Post by cgnieder »

MariaL wrote:I wasn't quite sure where to start as this document was compiling before and all of a sudden isn't.
This actually gives you a hint where the problems is: what did you add/change between the working and the non-working compilation?

Unfortunately the code you posted is no minimal working example! It is a) not minimal and b) not working. Working means that I or anyone can copy and paste the code, hit compile, and see the same behaviour you are seeing.

Regards
site moderator & package author
MariaL
Posts: 4
Joined: Mon Jul 13, 2015 11:07 am

No pdf output

Post by MariaL »

cgnieder wrote:
MariaL wrote:I wasn't quite sure where to start as this document was compiling before and all of a sudden isn't.
This actually gives you a hint where the problems is: what did you add/change between the working and the non-working compilation?

Unfortunately the code you posted is no minimal working example! It is a) not minimal and b) not working. Working means that I or anyone can copy and paste the code, hit compile, and see the same behaviour you are seeing.

Regards
Hi,
I deleted the pdf between working & not working. The reason it is not minimal is because I have no idea where the error is. It is a massive document with several chapters. I don't know how to narrow it down. I pasted the warnings I was getting as I get no errors. For you to replicate these warnings, surely you need my entire document? The reason I asked the question is because I suspected the error was not in my code as it was compiling previously. But if you suspect the problem is still related to the code ( based on the warnings & no error msgs), I can continue to wade through the entire document one more time.

Maria
User avatar
Johannes_B
Site Moderator
Posts: 4182
Joined: Thu Nov 01, 2012 4:08 pm

No pdf output

Post by Johannes_B »

There is a very simple and mechanical algorithm to track down the reason, described in Creating a LaTeX minimal working example.
The smart way: Calm down and take a deep breath, read posts and provided links attentively, try to understand and ask if necessary.
MariaL
Posts: 4
Joined: Mon Jul 13, 2015 11:07 am

No pdf output

Post by MariaL »

Johannes_B wrote:There is a very simple and mechanical algorithm to track down the reason, described in Creating a LaTeX minimal working example.
Thank you. I tried the hacking down approach and I get an error box with : "Log File not found! ".

I also tried a simple very basic example and another thesis template off the web and again I get the error Log File not found.

Sorry for articulating myself messily and not obeying by all the coding rules. I am learning as I go.

Maria
User avatar
Johannes_B
Site Moderator
Posts: 4182
Joined: Thu Nov 01, 2012 4:08 pm

Re: No pdf output

Post by Johannes_B »

log file not found can have two reasons i am familiar with: The pdf and/or log files are opened by other programs (acrobat reader for the pdf for example)

or, there is no TeX-distribution installed.

You said it worked previously, if you are on a new machine, the second is likely. The first reason can be resolved by closing all openn programs and restart the computer. Wouldn't be really necessary to close and shut down, but this will ensure that really everything related is closed. Firing up the tex-editor and trying again hopefulle will resolve the message.
The smart way: Calm down and take a deep breath, read posts and provided links attentively, try to understand and ask if necessary.
Post Reply