Fonts & Character Sets ⇒ Error when importing from latex to Lyx
Error when importing from latex to Lyx
Hello.
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
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.
Error when importing from latex to Lyx
Hi marcos,
Welcome to the LaTeX community!
Have you looked at the source what the first error is and by which code it is caused?
Regards
Welcome to the LaTeX community!
Have you looked at the source what the first error is and by which code it is caused?
Regards
site moderator & package author
Error when importing from latex to Lyx
Hello,
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:
These error seems to be related to the bibiography.
Here are my Preambule of latex:
thank you again.
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 composites
You need to provide a definition with \DeclareInputText
or \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}
Last edited by cgnieder on Mon Feb 04, 2013 1:47 pm, edited 1 time in total.
Error when importing from latex to Lyx
I would think the entry that produced
is responsible. You probably have some none-ASCII character in the bib file there. Unfortunately bibtex is not able to read other than 7bit encoded characters. A solution might be to switch to biblatex but it's probably easier to modify the offending entry.
Regards
Code: Select all
Polymerâ€
Regards
site moderator & package author
Re: Error when importing from latex to Lyx
Thank you for you answer.
That was the first thing that I thought about, but even changing the entry in bibtex does not change the error.
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
Can you make a minimal copy (a few words and the one erroneous bib entry should suffice) of the LyX file that reproduces the error and upload it here?
site moderator & package author
Error when importing from latex to Lyx
Not sure what is happening. I tried a new document with only the problematic entries and it works fine, even the pdf conversion.
But in my main file, the problem is that when I try to convert to pdf with the bibliography an it show this message:
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
site moderator & package author
Re: Error when importing from latex to Lyx
Thank you very much for your help. I found the problems (some characters in the bibtex file) and now it works fine.
Thank you again!!
Thank you again!!