I'm working on this file that has English and also passages in Cyrillic. I also have Feynman diagrams that I draw with tikz-feynman.
The issue is that if I compile with Latex I will get the text but the diagrams are not how they should be: The vertices are misplaced.
If I compile with Luatex I get the diagrams but not the Cyrillic writing.
These are the declarations used:
\documentclass{book}
\usepackage[english,russian]{babel}
\usepackage[utf8]{inputenc}
\usepackage{tikz-feynman}
I'm also using mactex with texshop as the editor. Perhaps if I define how to write Cyrillic that is understandable for Luatex everything will be ok but I don't know how to do that.
the code is:
\documentclass{book}
\usepackage[english,russian]{babel}
\usepackage[utf8]{inputenc}
\usepackage{tikz-feynman}
\title{Квантовая теория поле}
\begin{document}
\maketitle
\tableofcontents
\part{Часть II}
\chapter{Уравнение Дайсона}
Рассмотрим высшие имеются общие с
this line is just for debugging purposes
\begin{enumerate}
\item
\end{enumerate}
\begin{enumerate}
\item фотонные собств - диаграмм (ФСЭД)
\end{enumerate}
\begin{enumerate}
\item Вершинные диаграмм (ВД)
\end{enumerate}
\feynmandiagram [horizontal=a to b] {
i1 -- [fermion] a -- [fermion] i2,
a -- [photon] b,
f1 -- [fermion] b -- [fermion] f2,
};
\end{document}



latexorpdflatex? – Andrew Swann Jun 11 '17 at 13:21