[texhax] LaTeX and non-ASCII file system

Heiko Oberdiek heiko.oberdiek at googlemail.com
Fri Dec 5 04:24:17 CET 2014


Hello,

On 04.12.2014 23:13, Victor Ivrii wrote:
> One of my colleagues uses TeX on Russian Windows and the following code
> works
> 
> 
> \documentclass[12pt]{article}
> 
> \usepackage{cmap}
> %\usepackage[utf8x]{inputenc}
> \usepackage[T2A]{fontenc}
> \usepackage[russian]{babel}
> 
> \usepackage{graphicx}
> \begin{document}
> 
> 
> \includegraphics{RUSSNAME.png}
> 
> \end{document}
> 
> where RUSSNAME.png is a name of the file (in Russian) but uncommenting 
> \usepackage[utf8x]{inputenc}
> leads to the error like
> 
> Package pdftex.def Error: File `\T2A\cyrzh \T2A\cyro \T2A\c
> 
> yrp \T2A\cyra .png' not found.
> 
> 
> (Document is indeed in utf8). How to fix it?

See package `grffile'.

Yours sincerely
  Heiko Oberdiek


More information about the texhax mailing list