I work with Linux Debian Sid, Emacs and TeXlive 2013 installed in my home. I compile all my documents with LuaLaTeX with header as a master file that contains, among other things, the package file below :
\documentclass[12pt,a4paper]{article}
\usepackage{etex}
\usepackage[urw-garamond,uppercase=upright,greeklowercase=upright]{mathdesign}
\usepackage{garamondx}
\usepackage[no-math]{fontspec}
\usepackage[frenchb]{babel}
\begin{document}
$f(x)=x^2+2x+4$
\end{document}
%%% Local Variables:
%%% mode: LaTeX
%%% LaTeX-command: "lualatex -shell-escape"
%%% End
Are there a conflict between these packages ? If yes, what should be correct ?
The compilation of this file works perfectly.
Recently I discovered ConTeXt. I made several attempts, and there were problems with the fonts in the distribution TeXlive 2013. I was advised to install Standalone ConTeXt to avoid these problems. To have ConTeXt Standalone permanently, I changed my .profile
file as follows :
source /home/fab/context/tex/setuptex
export LIBGS=/usr/lib/libgs.so.9
export PATH=$PATH:/texmf/tex/latex/tex4ebook-master/tex4ebook
export PATH=$PATH:/home/fab/texlive/2013/bin/x86_64-linux
My conclusion is that the file texnansi.enc
of Standalone ConTeXt was loaded instead of that of 2013 TeXlive distribution, and it was he who was the cause of problems.
\documentclass{...}
, the required\usepackage
's,\begin{document}
, and\end{document}
. That may seem tedious to you, but think of the extra work it represents for TeX.SX users willing to give you a hand. Help them help you: remove that one hurdle between you and a solution to your problem.fontspec
along withmathdesign
.mathdesign
withfontspec
, either there is another problem or there is a (minor) bug concerning a rather misleading error message. TeX should be able to find the encoding file for LY1 even if loading it will cause problems. Or does LuaTeX modify the search path to block the loading of.enc
files deliberately? (But then it would be much more helpful if it said so.)