Re: Bug in pretty ref
Herbert Voss a écrit : Vincent VAQUIN wrote: I'am using lyx.1.1.5 with Linux, and I have a bug when I want to insert, in cross reference, pretty ref. can you send an example-file? prettyref needs a label definiaion like \label{tab:MyTable} than \prettyref{tab:Mytable} gives in dvi-output Table aNumber. from my point of view, lyx doesn't create the labels in prettyref-style, so it's not possible to use cross-reference with the prettyref-button. Thanks a lot. your attached lyx-file shows how all works with pure latex-code, but this isn't lyx-like ... :-( I don't understand... My text was written with LyX... -- Vincent
Re: Bug in pretty ref
Herbert Voss a écrit : Vincent VAQUIN wrote: I'am using lyx.1.1.5 with Linux, and I have a bug when I want to insert, in cross reference, pretty ref. can you send an example-file? prettyref needs a label definiaion like \label{tab:MyTable} than \prettyref{tab:Mytable} gives in dvi-output Table aNumber. from my point of view, lyx doesn't create the labels in prettyref-style, so it's not possible to use cross-reference with the prettyref-button. Thanks a lot. your attached lyx-file shows how all works with pure latex-code, but this isn't lyx-like ... :-( I don't understand... My text was written with LyX... -- Vincent
Re: Bug in pretty ref
Herbert Voss a écrit : > > > > > Vincent VAQUIN wrote: > > > > > > I'am using lyx.1.1.5 with Linux, and I have a bug when I want to insert, > > > > > > in cross reference, pretty ref. > > > > > > can you send an example-file? > prettyref needs a label definiaion like \label{tab:MyTable} > than \prettyref{tab:Mytable} gives in dvi-output Table aNumber. > from my point of view, lyx doesn't create the labels in > prettyref-style, so it's not possible to use cross-reference > with the prettyref-button. Thanks a lot. > your attached lyx-file shows how all works with pure latex-code, > but this isn't lyx-like ... :-( I don't understand... My text was written with LyX... -- Vincent
Re: Bug in pretty ref
Herbert Voss a écrit : Herbert Voss a écrit : Vincent VAQUIN wrote: I'am using lyx.1.1.5 with Linux, and I have a bug when I want to insert, in cross reference, pretty ref. can you send an example-file? Well, here it is. -- Vincent #LyX 1.1 created this file. For more info see http://www.lyx.org/ \lyxformat 2.16 \textclass article \language default \inputencoding latin1 \fontscheme default \graphics default \paperfontsize default \spacing single \papersize Default \paperpackage widemarginsa4 \use_geometry 0 \use_amsmath 0 \paperorientation portrait \secnumdepth 3 \tocdepth 3 \paragraph_separation indent \defskip medskip \quotes_language french \quotes_times 2 \papercolumns 1 \papersides 1 \paperpagestyle default \layout Title TITLE \layout Author MySelf \layout Date Today \layout Section This is my first section \begin_inset LatexCommand \label{FirstSection} \end_inset \layout Standard This is a very interesting text. This is a very interesting text. This is a very interesting text. This is a very interesting text. This is a very interesting text. \layout Section This is my second section \layout Standard Au commencement, Dieu créa les cieux et la terre. La terre était informe et vide et l'esprit de Dieu flottait au-dessus des eaux. \layout Standard This a cross-reference \begin_inset LatexCommand \prettyref{FirstSection} \end_inset to the firts section. \layout Standard And so on... \the_end NouveauFichier.tex
Re: Bug in pretty ref
Herbert Voss a écrit : Herbert Voss a écrit : Vincent VAQUIN wrote: I'am using lyx.1.1.5 with Linux, and I have a bug when I want to insert, in cross reference, pretty ref. can you send an example-file? Well, here it is. -- Vincent #LyX 1.1 created this file. For more info see http://www.lyx.org/ \lyxformat 2.16 \textclass article \language default \inputencoding latin1 \fontscheme default \graphics default \paperfontsize default \spacing single \papersize Default \paperpackage widemarginsa4 \use_geometry 0 \use_amsmath 0 \paperorientation portrait \secnumdepth 3 \tocdepth 3 \paragraph_separation indent \defskip medskip \quotes_language french \quotes_times 2 \papercolumns 1 \papersides 1 \paperpagestyle default \layout Title TITLE \layout Author MySelf \layout Date Today \layout Section This is my first section \begin_inset LatexCommand \label{FirstSection} \end_inset \layout Standard This is a very interesting text. This is a very interesting text. This is a very interesting text. This is a very interesting text. This is a very interesting text. \layout Section This is my second section \layout Standard Au commencement, Dieu créa les cieux et la terre. La terre était informe et vide et l'esprit de Dieu flottait au-dessus des eaux. \layout Standard This a cross-reference \begin_inset LatexCommand \prettyref{FirstSection} \end_inset to the firts section. \layout Standard And so on... \the_end NouveauFichier.tex
Re: Bug in pretty ref
Herbert Voss a écrit : > > > Herbert Voss a écrit : > > > > > > Vincent VAQUIN wrote: > > > > I'am using lyx.1.1.5 with Linux, and I have a bug when I want to insert, > > > > in cross reference, pretty ref. > > can you send an example-file? Well, here it is. -- Vincent #LyX 1.1 created this file. For more info see http://www.lyx.org/ \lyxformat 2.16 \textclass article \language default \inputencoding latin1 \fontscheme default \graphics default \paperfontsize default \spacing single \papersize Default \paperpackage widemarginsa4 \use_geometry 0 \use_amsmath 0 \paperorientation portrait \secnumdepth 3 \tocdepth 3 \paragraph_separation indent \defskip medskip \quotes_language french \quotes_times 2 \papercolumns 1 \papersides 1 \paperpagestyle default \layout Title TITLE \layout Author MySelf \layout Date Today \layout Section This is my first section \begin_inset LatexCommand \label{FirstSection} \end_inset \layout Standard This is a very interesting text. This is a very interesting text. This is a very interesting text. This is a very interesting text. This is a very interesting text. \layout Section This is my second section \layout Standard Au commencement, Dieu créa les cieux et la terre. La terre était informe et vide et l'esprit de Dieu flottait au-dessus des eaux. \layout Standard This a cross-reference \begin_inset LatexCommand \prettyref{FirstSection} \end_inset to the firts section. \layout Standard And so on... \the_end NouveauFichier.tex
Bug in pretty ref
Hello, I'am using lyx.1.1.5 with Linux, and I have a bug when I want to insert, in cross reference, pretty ref. I can insert it, but when I try to compile, lyx say : error, and I have this message : "paragraph ended before \@prettyref was complete. I suspect you'have forgotten a '}'." On the tex source document, I have this : blabla \prettyref{r=E9f=E9rence} blabla What's wrong ? -- Vincent
Bug in pretty ref
Hello, I'am using lyx.1.1.5 with Linux, and I have a bug when I want to insert, in cross reference, pretty ref. I can insert it, but when I try to compile, lyx say : error, and I have this message : "paragraph ended before \@prettyref was complete. I suspect you'have forgotten a '}'." On the tex source document, I have this : blabla \prettyref{r=E9f=E9rence} blabla What's wrong ? -- Vincent
Bug in pretty ref
Hello, I'am using lyx.1.1.5 with Linux, and I have a bug when I want to insert, in cross reference, pretty ref. I can insert it, but when I try to compile, lyx say : error, and I have this message : "paragraph ended before \@prettyref was complete. I suspect you'have forgotten a '}'." On the tex source document, I have this : blabla \prettyref{r=E9f=E9rence} blabla What's wrong ? -- Vincent
X-Window on Windows 98
Hello, I saw it's possible to have LyX on Windows 98. But I saw that I need a X-server for that purpose. Where can I get a non-commercial X server ? regards. -- Vincent
X-Window on Windows 98
Hello, I saw it's possible to have LyX on Windows 98. But I saw that I need a X-server for that purpose. Where can I get a non-commercial X server ? regards. -- Vincent
X-Window on Windows 98
Hello, I saw it's possible to have LyX on Windows 98. But I saw that I need a X-server for that purpose. Where can I get a non-commercial X server ? regards. -- Vincent
Re: Strange comportement
Jean-Marc Lasgouttes a écrit : Vincent 1) LyX tells me, when I want to compile some documents : Vincent missing \begin{document} in messages boxes; Of course, when I Vincent edit the .tex file, the command is here ! Yes, but the error means there is some text before the \begin{document} which should not be there. This comes in general from an error in the preamble. Could you show us the proamble of your document? 1) This is the preamble of a document which saids "missing \begin{document}" : \batchmode \makeatletter \def\input@path{{/home/vincent/Desktop/Mes-docs/Doc Linux//}} \makeatother \documentclass[a4paper,francais]{article} \usepackage{palatino} \usepackage[T1]{fontenc} \usepackage[latin1]{inputenc} \usepackage{babel} \makeatletter %% LyX specific LaTeX commands. \providecommand{\LyX}{L\kern-.1667em\lower.25em\hbox{Y}\kern-.125emX\@} \makeatother \begin{document} Blahblahblah. 2) This is the preamble of a document which works well : \batchmode \makeatletter \def\input@path{{/home/vincent/Desktop/Mes-docs/Roman//}} \makeatother \documentclass[francais]{report} \usepackage[T1]{fontenc} \usepackage[latin1]{inputenc} \usepackage{a4wide} \pagestyle{headings} \usepackage{babel} \setcounter{secnumdepth}{5} \setcounter{tocdepth}{5} \setlength\parskip{\medskipamount} \setlength\parindent{0pt} \makeatletter %% LyX specific LaTeX commands. \providecommand{\LyX}{L\kern-.1667em\lower.25em\hbox{Y}\kern-.125emX\@} %% Special footnote code from the package 'stblftnt.sty' %% Author: Robin Fairbairns -- Last revised Dec 13 1996 \let\SF@@footnote\footnote \def\footnote{\ifx\protect\@typeset@protect \expandafter\SF@@footnote \else \expandafter\SF@gobble@opt \fi } \expandafter\def\csname SF@gobble@opt \endcsname{\@ifnextchar[%] \SF@gobble@twobracket \@gobble } \edef\SF@gobble@opt{\noexpand\protect \expandafter\noexpand\csname SF@gobble@opt \endcsname} \def\SF@gobble@twobracket[#1]#2{} \makeatother \AtBeginDocument{ \renewcommand{\labelitemii}{\(\ast\)} } \begin{document} \title{My Title} \author{Vincent VAQUIN} Blahblahblah I don't see what's wrong... Thanks for your help. -- Vincent
Re: Strange comportement
Jose Abilio Oliveira Matos a écrit : On Thu, May 18, 2000 at 11:16:34AM +0200, Vincent VAQUIN wrote: 1) This is the preamble of a document which saids "missing \begin{document}" : \batchmode \makeatletter \def\input@path{{/home/vincent/Desktop/Mes-docs/Doc Linux//}} --^ Isn't the problem here? YES, it was the problem ! I changed some names of my directories. And the problem is only when there is a "blank" in the name. Thank you very much, all of you. -- Vincent
Re: Strange comportement
Jean-Marc Lasgouttes a écrit : Vincent 1) LyX tells me, when I want to compile some documents : Vincent missing \begin{document} in messages boxes; Of course, when I Vincent edit the .tex file, the command is here ! Yes, but the error means there is some text before the \begin{document} which should not be there. This comes in general from an error in the preamble. Could you show us the proamble of your document? 1) This is the preamble of a document which saids "missing \begin{document}" : \batchmode \makeatletter \def\input@path{{/home/vincent/Desktop/Mes-docs/Doc Linux//}} \makeatother \documentclass[a4paper,francais]{article} \usepackage{palatino} \usepackage[T1]{fontenc} \usepackage[latin1]{inputenc} \usepackage{babel} \makeatletter %% LyX specific LaTeX commands. \providecommand{\LyX}{L\kern-.1667em\lower.25em\hbox{Y}\kern-.125emX\@} \makeatother \begin{document} Blahblahblah. 2) This is the preamble of a document which works well : \batchmode \makeatletter \def\input@path{{/home/vincent/Desktop/Mes-docs/Roman//}} \makeatother \documentclass[francais]{report} \usepackage[T1]{fontenc} \usepackage[latin1]{inputenc} \usepackage{a4wide} \pagestyle{headings} \usepackage{babel} \setcounter{secnumdepth}{5} \setcounter{tocdepth}{5} \setlength\parskip{\medskipamount} \setlength\parindent{0pt} \makeatletter %% LyX specific LaTeX commands. \providecommand{\LyX}{L\kern-.1667em\lower.25em\hbox{Y}\kern-.125emX\@} %% Special footnote code from the package 'stblftnt.sty' %% Author: Robin Fairbairns -- Last revised Dec 13 1996 \let\SF@@footnote\footnote \def\footnote{\ifx\protect\@typeset@protect \expandafter\SF@@footnote \else \expandafter\SF@gobble@opt \fi } \expandafter\def\csname SF@gobble@opt \endcsname{\@ifnextchar[%] \SF@gobble@twobracket \@gobble } \edef\SF@gobble@opt{\noexpand\protect \expandafter\noexpand\csname SF@gobble@opt \endcsname} \def\SF@gobble@twobracket[#1]#2{} \makeatother \AtBeginDocument{ \renewcommand{\labelitemii}{\(\ast\)} } \begin{document} \title{My Title} \author{Vincent VAQUIN} Blahblahblah I don't see what's wrong... Thanks for your help. -- Vincent
Re: Strange comportement
Jose Abilio Oliveira Matos a écrit : On Thu, May 18, 2000 at 11:16:34AM +0200, Vincent VAQUIN wrote: 1) This is the preamble of a document which saids "missing \begin{document}" : \batchmode \makeatletter \def\input@path{{/home/vincent/Desktop/Mes-docs/Doc Linux//}} --^ Isn't the problem here? YES, it was the problem ! I changed some names of my directories. And the problem is only when there is a "blank" in the name. Thank you very much, all of you. -- Vincent
Re: Strange comportement
Jean-Marc Lasgouttes a écrit : > Vincent> 1) LyX tells me, when I want to compile some documents : > Vincent> missing \begin{document} in messages boxes; Of course, when I > Vincent> edit the .tex file, the command is here ! > > Yes, but the error means there is some text before the > \begin{document} which should not be there. This comes in general from > an error in the preamble. Could you show us the proamble of your > document? 1) This is the preamble of a document which saids "missing \begin{document}" : \batchmode \makeatletter \def\input@path{{/home/vincent/Desktop/Mes-docs/Doc Linux//}} \makeatother \documentclass[a4paper,francais]{article} \usepackage{palatino} \usepackage[T1]{fontenc} \usepackage[latin1]{inputenc} \usepackage{babel} \makeatletter %% LyX specific LaTeX commands. \providecommand{\LyX}{L\kern-.1667em\lower.25em\hbox{Y}\kern-.125emX\@} \makeatother \begin{document} Blahblahblah. 2) This is the preamble of a document which works well : \batchmode \makeatletter \def\input@path{{/home/vincent/Desktop/Mes-docs/Roman//}} \makeatother \documentclass[francais]{report} \usepackage[T1]{fontenc} \usepackage[latin1]{inputenc} \usepackage{a4wide} \pagestyle{headings} \usepackage{babel} \setcounter{secnumdepth}{5} \setcounter{tocdepth}{5} \setlength\parskip{\medskipamount} \setlength\parindent{0pt} \makeatletter %% LyX specific LaTeX commands. \providecommand{\LyX}{L\kern-.1667em\lower.25em\hbox{Y}\kern-.125emX\@} %% Special footnote code from the package 'stblftnt.sty' %% Author: Robin Fairbairns -- Last revised Dec 13 1996 \let\SF@@footnote\footnote \def\footnote{\ifx\protect\@typeset@protect \expandafter\SF@@footnote \else \expandafter\SF@gobble@opt \fi } \expandafter\def\csname SF@gobble@opt \endcsname{\@ifnextchar[%] \SF@gobble@twobracket \@gobble } \edef\SF@gobble@opt{\noexpand\protect \expandafter\noexpand\csname SF@gobble@opt \endcsname} \def\SF@gobble@twobracket[#1]#2{} \makeatother \AtBeginDocument{ \renewcommand{\labelitemii}{\(\ast\)} } \begin{document} \title{My Title} \author{Vincent VAQUIN} Blahblahblah I don't see what's wrong... Thanks for your help. -- Vincent
Re: Strange comportement
Jose Abilio Oliveira Matos a écrit : > On Thu, May 18, 2000 at 11:16:34AM +0200, Vincent VAQUIN wrote: > > 1) This is the preamble of a document which saids "missing > > \begin{document}" : > > \batchmode > > \makeatletter > > \def\input@path{{/home/vincent/Desktop/Mes-docs/Doc Linux//}} >--^ > Isn't the problem here? YES, it was the problem ! I changed some names of my directories. And the problem is only when there is a "blank" in the name. Thank you very much, all of you. -- Vincent
Strange comportement
I'm using lyx 1.1.4 fix3 with linux Mandrake 7.02, latex web2c 7.3.1 and tex version 3.14159 Today, LyX have a strange comportment. 1) LyX tells me, when I want to compile some documents : missing \begin{document} in messages boxes; Of course, when I edit the .tex file, the command is here ! 1.1) but some documents, without anything in preamble, work nicely. 2) with some documents, which use, in latex preambule, \usepackage{french} or \usepackage[french]{babel} I have this message before my text when I view it in psviewer : Latex//bblopts.cfg Latex//frpatch.sty Latex//frpatch.sty Latex//french.cfg Blahblahblah... 2.1) But, some documents, with \usepackage[french]{babel} in latex preambule works finely ! 3) I try to add \usepackage[french]{babel} in the documents which said "missing \begin{document}" (like in 1) and, sometime, it's work, and sometime no ! (like in 2 and 2.1) 3.1) When I add \usepackage[french]{babel} in document which have not previously, and don't work, like in 1, I have errors : "the package babel has already been loaded with option[]". 4) I try to add \usepackage[french]{babel} in documents which, like in 1.1, works well, and I had the message "the package babel has already been loaded". 5) So I decide to apply latex directly to the .tex file created by LyX. I took a file which not work with or without preamble. I killed the preamble. I made "latex the-file.tex", no problem. After I made "dvips -o the-file.ps the-file.dvi", no problem, I got a ps file. When I viewed it, there was a firt page with : Linux//bblopts.cfg Linux//the-name-of-the-file.aux and my text starting at the second page. The file .aux consist in : \relax \catcode`:\active \catcode`;\active \catcode`!\active \catcode`?\active \select@language{frenchb} \@writefile{toc}{\select@language{frenchb}} \@writefile{lof}{\select@language{frenchb}} \@writefile{lot}{\select@language{frenchb}} So I took the same file, adding the preamble \usepackage[french]{babel} with LyX, and apply latex directly on the .tex file created by lyx. And I had exactly the same thing... I'm very annoying because I don't understand what's happen ! NB : I try "reconfigure" and "texhash", but there was no changement. If you can help me, I would be very happy ! -- Vincent
Strange comportement
I'm using lyx 1.1.4 fix3 with linux Mandrake 7.02, latex web2c 7.3.1 and tex version 3.14159 Today, LyX have a strange comportment. 1) LyX tells me, when I want to compile some documents : missing \begin{document} in messages boxes; Of course, when I edit the .tex file, the command is here ! 1.1) but some documents, without anything in preamble, work nicely. 2) with some documents, which use, in latex preambule, \usepackage{french} or \usepackage[french]{babel} I have this message before my text when I view it in psviewer : Latex//bblopts.cfg Latex//frpatch.sty Latex//frpatch.sty Latex//french.cfg Blahblahblah... 2.1) But, some documents, with \usepackage[french]{babel} in latex preambule works finely ! 3) I try to add \usepackage[french]{babel} in the documents which said "missing \begin{document}" (like in 1) and, sometime, it's work, and sometime no ! (like in 2 and 2.1) 3.1) When I add \usepackage[french]{babel} in document which have not previously, and don't work, like in 1, I have errors : "the package babel has already been loaded with option[]". 4) I try to add \usepackage[french]{babel} in documents which, like in 1.1, works well, and I had the message "the package babel has already been loaded". 5) So I decide to apply latex directly to the .tex file created by LyX. I took a file which not work with or without preamble. I killed the preamble. I made "latex the-file.tex", no problem. After I made "dvips -o the-file.ps the-file.dvi", no problem, I got a ps file. When I viewed it, there was a firt page with : Linux//bblopts.cfg Linux//the-name-of-the-file.aux and my text starting at the second page. The file .aux consist in : \relax \catcode`:\active \catcode`;\active \catcode`!\active \catcode`?\active \select@language{frenchb} \@writefile{toc}{\select@language{frenchb}} \@writefile{lof}{\select@language{frenchb}} \@writefile{lot}{\select@language{frenchb}} So I took the same file, adding the preamble \usepackage[french]{babel} with LyX, and apply latex directly on the .tex file created by lyx. And I had exactly the same thing... I'm very annoying because I don't understand what's happen ! NB : I try "reconfigure" and "texhash", but there was no changement. If you can help me, I would be very happy ! -- Vincent
Strange comportement
I'm using lyx 1.1.4 fix3 with linux Mandrake 7.02, latex web2c 7.3.1 and tex version 3.14159 Today, LyX have a strange comportment. 1) LyX tells me, when I want to compile some documents : missing \begin{document} in messages boxes; Of course, when I edit the .tex file, the command is here ! 1.1) but some documents, without anything in preamble, work nicely. 2) with some documents, which use, in latex preambule, \usepackage{french} or \usepackage[french]{babel} I have this message before my text when I view it in psviewer : Latex//bblopts.cfg Latex//frpatch.sty Latex//frpatch.sty Latex//french.cfg Blahblahblah... 2.1) But, some documents, with \usepackage[french]{babel} in latex preambule works finely ! 3) I try to add \usepackage[french]{babel} in the documents which said "missing \begin{document}" (like in 1) and, sometime, it's work, and sometime no ! (like in 2 and 2.1) 3.1) When I add \usepackage[french]{babel} in document which have not previously, and don't work, like in 1, I have errors : "the package babel has already been loaded with option[]". 4) I try to add \usepackage[french]{babel} in documents which, like in 1.1, works well, and I had the message "the package babel has already been loaded". 5) So I decide to apply latex directly to the .tex file created by LyX. I took a file which not work with or without preamble. I killed the preamble. I made "latex the-file.tex", no problem. After I made "dvips -o the-file.ps the-file.dvi", no problem, I got a ps file. When I viewed it, there was a firt page with : Linux//bblopts.cfg Linux//the-name-of-the-file.aux and my text starting at the second page. The file .aux consist in : \relax \catcode`:\active \catcode`;\active \catcode`!\active \catcode`?\active \select@language{frenchb} \@writefile{toc}{\select@language{frenchb}} \@writefile{lof}{\select@language{frenchb}} \@writefile{lot}{\select@language{frenchb}} So I took the same file, adding the preamble \usepackage[french]{babel} with LyX, and apply latex directly on the .tex file created by lyx. And I had exactly the same thing... I'm very annoying because I don't understand what's happen ! NB : I try "reconfigure" and "texhash", but there was no changement. If you can help me, I would be very happy ! -- Vincent