I hope the joined file will help !
Of course, the braces don't matter with text-only ERT.
It's just annoying with commands.

Phil

Selon Jean-Marc Lasgouttes <[EMAIL PROTECTED]>:

> Le 21 nov. 08 � 21:48, [EMAIL PROTECTED] a �crit :
> > Within ERT, there seems to be something strange with the "lang"
> > wich leads to
> > some extra brace in the tex file and to some errors or unexpected
> > result.
> > Here's an example :
> > The first line is the original one,
> > the second, a pasted one, without modification, and the third one,
> > pasted with
> > mouse and with modifications. The extra braces came from nowhere !
> >
> > \psline[linewidth=0.8pt,linecolor=gray,linestyle=dotted]{-}
> > (6.0625,6.0625)(6.0625,8.59375)
> > \psline[linewidth=0.8pt,linecolor=gray,linestyle=dotted]{-}
> > (6.0625,6.0625)(6.0625,8.59375)
> > \psline[linewidth=0.8pt,linecolor=gray,linestyle=d{ash}ed]{-}({7}.
> > 0625,{7}.0625)({8}.0625,{9}.59375)
>
> Could you give a simple recipe. This is very weird.
>
> JMarc


%% LyX 1.6.0 created this file.  For more info, see http://www.lyx.org/.
%% Do not edit unless you really know what you are doing.
\documentclass[oneside,twocolumn,french]{amsart}
\usepackage[T1]{fontenc}
\usepackage[latin9]{inputenc}
\usepackage{geometry}
\geometry{verbose,landscape,a4paper,tmargin=1cm,bmargin=1cm,lmargin=1cm,rmargin=1cm,headheight=0in,headsep=0in,footskip=0in}
\pagestyle{empty}
\usepackage{amsmath}
\usepackage{amssymb}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% User specified LaTeX commands.


\usepackage{eurosym}
%\renewcommand{\texteuro}{\euro}
\usepackage{pst-plot,pst-tree,pst-eucl,pst-math,pstricks-add}
\setlength{\columnsep}{1cm}
\usepackage{fourier}
\newcommand{\R}{\mathbb{R}}
\newcommand{\N}{\mathbb{N}}
\newcommand{\D}{\mathbb{D}}
\newcommand{\Z}{\mathbb{Z}}
\newcommand{\Q}{\mathbb{Q}}
\newcommand{\C}{\mathbb{C}}
%\setlength{\textheight}{23,5cm}
\newcommand{\vect}[1]{\mathchoice%
{\overrightarrow{\displaystyle\mathstrut#1\,\,}}%
{\overrightarrow{\textstyle\mathstrut#1\,\,}}%
{\overrightarrow{\scriptstyle\mathstrut#1\,\,}}%
{\overrightarrow{\scriptscriptstyle\mathstrut#1\,\,}}}
\renewcommand{\theenumi}{\textbf{\arabic{enumi}}}
\renewcommand{\labelenumi}{\textbf{\theenumi.}}
\renewcommand{\theenumii}{\textbf{\alph{enumii}}}
\renewcommand{\labelenumii}{\textbf{\theenumii.}}
\def\Oij{$\left(\text{O},~\vect{\imath},~\vect{\jmath}\right)$}
\def\Oijk{$\left(\text{O},~\vect{\imath},~ \vect{\jmath},~ \vect{k}\right)$}
\def\Ouv{$\left(\text{O},~\vect{u},~\vect{v}\right)$}
%\setlength{\voffset}{-1,5cm}
\def\Arc#1{\buildrel\hbox{$\frown$}\over{#1}}
\def\arc#1{\setbox1=\hbox{#1}\vbox{\hbox to \wd1{\hfill$\frown$\hfill}\nointerlineskip\box1}}
\usepackage[colorlinks=true,pdfstartview=FitV,linkcolor=blue,citecolor=blue,urlcolor=blue]{hyperref}

\usepackage{babel}
\addto\extrasfrench{\providecommand{\og}{\leavevmode\flqq~}\providecommand{\fg}{\ifdim\lastskip>[EMAIL PROTECTED]

\begin{document}
This is a simple recipe !
This is a simple recipe !{ Pasted with the middle button.}
This is a simple recipe ! Pasted with the middle button.{ Did you see the braces ?}
\end{document}

Reply via email to