Fonts & Character Sets ⇒ Error when importing from latex to Lyx
Error when importing from latex to Lyx
I'm having some trouble with importing my thesis from Latex (I used Texmaker) to Lyx. I'm changing because Lyx offers the possibility of "follow the changes" in the main document.
The problem is when I try to convert to pdf. I get a lot of errors:
"String contains an invalid utf-8 sequence"
and
"Latex error: command \nobreakspace unavaliable in encoding T1".
I have each chapter in a separete file, if I try to convert each separete file into pdf it works great. But when a try to convert my main document (which contains the index) I got these errors.
I googled about but I not found any fix for that.
Any ideas will be welcome.
PS. Sorry for my poor english
NEW: TikZ book now 40% off at Amazon.com for a short time.
And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p
Error when importing from latex to Lyx
Welcome to the LaTeX community!
Have you looked at the source what the first error is and by which code it is caused?
Regards
Error when importing from latex to Lyx
Not sure what happend, but I think that the problem is with the bibliography and one of my chapters. I tried to convert whithout them and it works fine.
I'll try to see what is the problem with my bibliography (which is automatically generated by mendeley). It seems that there are some characters that are not recognized by Lyx.
Here are the error:
Looking to the description:package inputenc error: Keyboard character used is undefined
Code: Select all
\newblock {Polymer–filler interactions in kaolin/nylon 6,6 compositesYou need to provide a definition with \DeclareInputTextor \DeclareInputMath before using this key.
Here are my Preambule of latex:
Code: Select all
\usepackage[french]{babel}\usepackage{a4}\usepackage[cyr]{aeguill}\usepackage{epstopdf}\usepackage{amsfonts}\usepackage{url}\renewcommand{\baselinestretch}{1.5}\usepackage[center,small]{caption}\bibliographystyle{unsrt}\title{Modification du kaolin submicronique en vue de leur incorporation dans les matrices polymères}\author{Marcos Batistella}
Error when importing from latex to Lyx
Code: Select all
Polymerâ€
Regards
Re: Error when importing from latex to Lyx
That was the first thing that I thought about, but even changing the entry in bibtex does not change the error.
Error when importing from latex to Lyx
Error when importing from latex to Lyx
But in my main file, the problem is that when I try to convert to pdf with the bibliography an it show this message:
I googled about this error and it seems to be related with a bug in the latex - Lyx conversion. Any idea will be welcome.Error while previewing format: pdf2Systemcall.cpp (273): Systemcall: 'pdflatex "Manuscrito_these.tex"' finished with exit code 1
Error when importing from latex to Lyx
You're on the best way of creating amarcos wrote:Not sure what is happening. I tried a new document with only the problematic entries and it works fine, even the pdf conversion.

Regards
Re: Error when importing from latex to Lyx
Thank you again!!