A friend sent me a lyx file to edit it. I had no idea how lyx works so I assumed it was similar to the usual latex. Since I hadn't lyx installed, I opened with texmaker as a .tex file and edited. I didn't know it but what I was editing was the source code, so it wasn't what my friend saw when she wrote it. There were code lines like
\begin_layout Standard
Existe un tipo de tensores que tiene especial interés en geometría, conocidos
como tensores métricos.
Se llama
\emph on
tensor métrico o métrica
\emph default
a cualquier tensor 2-covariante simétrico bilineal:
\end_layout
When I sent the edited .tex file back to her, I thought she just had to open it on lyx or copy the text and paste it in lyx, but it turns out that lyx isn't able to read its source code. I tried to install lyx to see what happens, but I've got an error when I tried to open it so I uninstalled it.
Does anyone know how to open that file on lyx?
.tex
file and a.lyx
file is a plain text file, the difference is in the content. You could have opened the.lyx
file in Texmaker without changing the extension.