I am working with Texmaker.There are some issues i could not solve and maybe you can help me.
- First one is that when compiling the files with the main file, console returns three different errors:
First one is:
Overfull \hbox (142.86594pt too wide) in paragraph at lines 51--52
\OT1/cmr/m/n/12 ser^^S^^Pa el pa^^S^^Ps con mas in-fec-ta-dos con Try-pa-no-zo-
ma cru-zi de Am^^Seri-ca[http://www.who.int/wer/2015/wer9006.pdf].
[]
Second one is:
Underfull \vbox (badness 10000) has occurred while \output is active []
[11
]
LaTeX Info: Redefining \. on input line 59.
LaTeX Info: Redefining \% on input line 59.
[12]
- Second problem is the next:
In main document thesis.tex i have some chapters, everytime i write one of them should i specify the hole path? Is there any analogous function to '\graphicxpath{{}}' but for chapters?
My chapters part look like this:
\documentclass[12pt,twoside]{report}
\usepackage[headheight=18pt,a4paper,width=150mm, top=25mm, bottom=25mm, bindingoffset=6mm]{geometry}
\usepackage[utf8]{inputenc}
\usepackage{url}
\usepackage{graphicx}
\title{\vspace{-4.0cm}Study of \\~\\
{\large Univers}
\begin{document}
\maketitle
\tableofcontents
\chapter{Introducción}
\input{/capitulos/intro}
\chapter{Estado del arte}
\input{/capitulos/estado-del-arte}
\end{document}
So, i have a thesis.tex file and then in /capitulos/chapter-files
I do not know why it does not work.
Console returns:
Cap\'{\i }tulo 1.
! LaTeX Error: File `/capitulos/intro.tex' not found.
Type X to quit or <RETURN> to proceed,
or enter new name. (Default extension: tex)
Enter file name:
! Emergency stop.
<read *>
l.48 \input{/capitulos/intro}
^^M
*** (cannot \read from terminal in nonstop modes)
! ==> Fatal error occurred, no output PDF file produced!
draft, with it the overfull lines will be marked with a black rectangle at the end of the line. This way you can easily spot them in the PDF (but with 100pt too wide, you should spot them without it, too). For your second issue: You can always specify relative paths to yourmain.tex. For whole chapters you might/should use\includerather than\input, see here – Skillmon May 27 '17 at 10:47\input{intro}or\input{chapters/intro}if the main document is in a parent directory. – David Carlisle May 27 '17 at 11:04\input{intro}not\input{/intro}unlessintro.texis at the root of the filesystem. – David Carlisle May 27 '17 at 11:13\input{/capitulos/intro}refers to a file at the root of the filesystem. just as if you typedls /capitulos/intro.texinto a commandline it would fail. delete the first/you need to specify a relative path from the working directory. – David Carlisle May 27 '17 at 11:24