Santiago>  Any idea of what I'm doing wrong? :?

What you are doing wrong is write in Spanish :)

The Spanish mode makes the ~ character active so that people can type
~n for ñ and stuff like that. This is unfortunately not compatible
with LyX-Code where hard spaces are output as ~.

Try to add \noshorthandsspanish in the preamble.

 You're right. If I change Document Language from Spanish to English,
then it works perfectly, although I read "Chapter 1" instead of
"Capitulo 1" in the resulting DVI file.

 I've tried to add \noshorthandsspanish in the Document Preamble
(Document -> Configuration -> LaTeX Preamble), and I get an error:

"Undefined control sequence

 \noshorthandsspanish

The control sequence at the end of the top line
of your error message was never \def'ed. If you have
misspelled it (e.g., `\hobx'), type `I' and the correct
spelling (e.g., `I\hbox'). Otherwise just continue,
and I'll forget about whatever was undefined.
"

 Any idea? :?

--
Santiago Romero

Reply via email to