Graphics, Figures & TablesAccented Characters in Graphics File Name

Information and discussion about graphics, figures & tables in LaTeX documents.
Post Reply
Rafael Adorna
Posts: 1
Joined: Thu Sep 22, 2011 2:51 pm

Accented Characters in Graphics File Name

Post by Rafael Adorna »

Hi there, my first post in this forum so please be patient with me.
First of all, thank you all for all the support you give to novice latex users like me.

Going to the point, i was redacting my senior thesis in the University with texmaker 3.1, using MiKTeX 2.9.
As i was compiling using the "pdflatex" option i got this error:

Windows API error 1113: bla bla bla (in spanish)

I used other editor to compile it and everything was ok so i started to investigate a bit and discover this forum. So after all the "help", "guide" and "tips" sections I decided to go line on line compiling in a test.tex file.

So i discovered that that error only happened in this line (Will pos the full structure but the error line will be marked with "<<<>>>"):

Code: Select all

\begin{figure}[h]
  \begin{center}
  	<<<\includegraphics[width=5in]{./Figures/Selección.png}>>>
  	\caption[Selección de proyectos a importar.]{Selección de proyectos a importar.}
  	\label{fig:Selección de proyectos a importar.}
  \end{center}
\end{figure}
So the error was about using a written accent in the filepath.
Just rename it like:

Code: Select all

\includegraphics[width=5in]{./Figures/Seleccion.png}
And that error wont appear again. Hope this solve future issues. And please forgive me for any mistakes i made in this post.

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
localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

Accented Characters in Graphics File Name

Post by localghost »

You may try the grffile package from the oberdiek bundle to keep special characters in the name and the path of the graphics file. No guarantee for success.


Best regards and welcome to the board
Thorsten
Post Reply