I found the following bug, but I'm completely sure that is a LyX bug.

I'm writting a spanish text (Format/Document/Language/Spanish)
with a list item.

The text is the following:
Conexiones_no_persistentes. ...

The underscore represent a protected space.  The dvi's page show
an n~ (ñ) instead a space.  
Conexionño persistente. ...

If I try with default language works ok.

I exported to LaTeX and something like that appears:
\item [Conexiones~no~persistentes.]

The problem is that LaTeX interpret ~n like a ñ (n tilde), and
precede to protected space on lyxlist.

Sorry, but I can't sent to you a fix for that, just the error.


My document exported to LaTeX looks like:
------------

\documentclass[12pt,oneside,spanish]{book}
\usepackage{pslatex}
\usepackage[T1]{fontenc}
\usepackage[latin1]{inputenc}
\usepackage{babel}
\usepackage{setspace}
\onehalfspacing

\makeatletter

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% LyX specific LaTeX commands.
\providecommand{\LyX}{L\kern-.1667em\lower.25em\hbox{Y}\kern-.125emX\@}
\newcommand{\noun}[1]{\textsc{#1}}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Textclass specific LaTeX commands.
 \newenvironment{lyxlist}[1]
   {\begin{list}{}
     {\settowidth{\labelwidth}{#1}
      \setlength{\leftmargin}{\labelwidth}
      \addtolength{\leftmargin}{\labelsep}
      \renewcommand{\makelabel}[1]{##1\hfil}}}
   {\end{list}}
 \usepackage{verbatim}

\makeatother

\begin{document}

\begin{lyxlist}{00.00.0000}
\item [Conexiones~no~persistentes.]Problem.
\end{lyxlist}

\end{document}


------------
On LyX appears as:
\layout List
\labelwidthstring 00.00.0000

Conexiones\SpecialChar ~
no\SpecialChar ~
persistentes.
Problem.

-- 
German Poo Caaman~o
mailto:[EMAIL PROTECTED]
http://www.ubiobio.cl/~gpoo/chilelindo.html
"La historia no se lee, se escribe"

Reply via email to