Document Classesbabel's problem with includegraphics

Information and discussion about specific document classes and how to create your own document classes.
Post Reply
sepeth
Posts: 3
Joined: Wed Jul 30, 2008 4:50 pm

babel's problem with includegraphics

Post by sepeth »

Hello!

When I am using \includegraphics without using babel package, everything is fine. But with babel, I get "Missing \endcsname inserted. \includegraphics[scale=0.25]{image1}".

I found some explanation about this error in http://theoval.sys.uea.ac.uk/~nlct/late ... sname.html but it seems this solution is not about my problem.

Here is the file:

Code: Select all

\documentclass[a4paper,12pt]{article}
% \usepackage[turkish]{babel}
\usepackage{graphicx}
\usepackage{url}

\title{ProFTPD Sunucusu}

\begin{document}
\maketitle
\tableofcontents

\newpage
\section{ProFTPD}

\includegraphics[scale=0.25]{image1}

\end{document}
Thanks

Recommended reading 2024:

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

NEW: TikZ book now 40% off at Amazon.com for a short time.

And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p

localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

babel's problem with includegraphics

Post by localghost »

This issue has already been reported to comp.text.tex [1]. Perhaps the possible solutions given there will help you. There is nothing against cross posting, as long as you mention it [2]. This prevents other users from redundant efforts and waste of time in the case that a solution has already been given elsewhere.

[1] babel packace with Turkish seems to interfere with graphicx (bug?) - comp.text.tex | Google Groups
[2] CQF.info :: View topic - babel's problem with includegraphics


Best regards
Thorsten¹
sepeth
Posts: 3
Joined: Wed Jul 30, 2008 4:50 pm

Re: babel's problem with includegraphics

Post by sepeth »

Thank you all

Stefan_K's answer in comp.text.tex worked.

and sorry for cross posting.
Post Reply