[texhax] LaTeX and non-ASCII file system

Victor Ivrii vivrii at gmail.com
Thu Dec 4 23:13:37 CET 2014


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? It looks like it was discussed
10 y.a. but a satisfactory solution was not found.

Actually on MacOSX one can name file in any language and the same problem
is observed

Thank you

Victor

Victor Ivrii
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://tug.org/pipermail/texhax/attachments/20141204/923487f9/attachment.html>


More information about the texhax mailing list