I was wondering if there is a way to include with the subfiles package, files (in a main tex file) that don't have english names, especially in my case greek, but generally in other languages? I have tried some things, but it doen't give an output. It only outputs όνομα_αρχείου.τεξ.τεξ
which is the file's name in greek characters. The file itself is ok, I tested it with the desired preamble to make sure it works.
EDIT Firstly I am using TexLive2017 (TL2017) in ubuntu 2018, texstudio. So maybe that's the problem. I am posting below a MWE.
The Θέματα.tex file (the main file)
\documentclass[14pt]{extbook}
\usepackage[utf8]{inputenc}
\usepackage{parcolumns,paracol,rotating,mdframed}
\usepackage[english, greek]{babel}
\usepackage{subfiles}
\begin{document}
\subfile{Ε9α.tex}
\end{document}
The Ε9α.tex file which I use above
\documentclass[Θέματα.tex]{subfiles}
\begin{document}
\chapter{Πρωτοχρονιά}
Αρχιμηνιά και αρχιχρονιά
ψηλή μου δεντρολιβανιά
\end{document}
I will update my TL distribution and comment if the problem is fixed.
import
package withfilehooks
.import
is loaded bysubfiles
, andfilehooks
is used by various packages. I think the interference was resolved in recent versions. Otherwise, please do as David suggested: Provide a complete small sample document (with sub-files) that illustrates the problem, such that we can test and experiment with the code.subfiles
package if you use a TeX engine fit for Unicode, i.e.,xelatex
orlualatex
.pdflatex
will not work. If you usexelatex
orlualatex
, you have to set up a proper Greek font, which you are probably familiar with anyway.