Consider the attached .tex file. 

tex2lyx (lyx 2.4, commit 0a2cc00ddda101eadbe12e5b9c8f23c00fb7f9f3 )
is not able to import it because

marco@sun:/tmp/lyx_tmpdir.vyYLPhOYXMfW/lyx_tmpbuf0> tex2lyx2.4 -f newfile2.tex 
newfile2.lyx 
tex2lyx warning: Creating file 
/tmp/lyx_tmpdir.vyYLPhOYXMfW/lyx_tmpbuf0/newfile2.lyx
tex2lyx error: Could not read layout file for textclass "svjour3".

Everything works fine if I add "-c svglobal3". If I get this right this is 
because tex2lyx gets 
confused by the fact that the layout for svjour3 is called svglobal3 . 

Marco
\batchmode
\makeatletter
\def\input@path{{/home/marco/}}
\makeatother
\documentclass[american]{svjour3}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{babel}
\begin{document}
asd
\end{document}
-- 
lyx-devel mailing list
lyx-devel@lists.lyx.org
https://lists.lyx.org/mailman/listinfo/lyx-devel

Reply via email to