Am Donnerstag, den 07.06.2018, 13:40 +0200 schrieb Kornel Benko: > tex2lyx still (again?) has some quirks. > Importing development/batchtests/ams-import.tex leads to correct > display in lyx, but > the tex-file used to compile with e.g. pdflatex is wrong. > > The original preamble is now repeated twice
This is a general limitation. Preamble definitions are only removed if they are in the LyX preamble, i.e. after %% LyX [...] created this file. [...] and before %%%%%%%%%%%%%%%%%%%%%%%%%%%%%% User specified LaTeX commands. The same happens with \newcommand and \newenvironment Fixing this would require some effort. Jürgen
signature.asc
Description: This is a digitally signed message part