Re: A little problem with listings
Herbert Voss wrote: > does your first document class have chapters? if not, you have > to change \thechapter with \thesection I just updated to 0.21 and works fine inmediately. Thanks you. -- German Poo Caaman~o mailto:[EMAIL PROTECTED] http://www.ubiobio.cl/~gpoo/chilelindo.html "La historia no se lee, se escribe"
Re: A little problem with listings
German Poo Caaman~o wrote: > I tryie with listings.lyx from your page, and the error appears. > But I got some errors: label{prog1} it doesn't recognize by > LaTeX. So, I deleted and I change the documento to Report and > a Chapter text was added. does your first document class have chapters? if not, you have to change \thechapter with \thesection Herbert -- [EMAIL PROTECTED] http://perce.de/lyx/
Re: A little problem with listings
Herbert Voss wrote: > German Poo Caaman~o wrote: > > When I put \lstlistoflistings the result looks like: > > 1 .1my Caption > > > > instead of: > > 1.1 my Caption > > try it without a space > \renewcommand\thelstlisting{\thechapter.\arabic{lstlisting}}% I tryied that whithout success. > i have version 0.21 of listing-package. if it doesn't help, > send a short lyx-example file I tryie with listings.lyx from your page, and the error appears. But I got some errors: label{prog1} it doesn't recognize by LaTeX. So, I deleted and I change the documento to Report and a Chapter text was added. Thanks Herbert. Tomorrow I'll try to download a newer versions (if my connection allow me). -- German Poo Caaman~o mailto:[EMAIL PROTECTED] http://www.ubiobio.cl/~gpoo/chilelindo.html "La historia no se lee, se escribe"
Re: A little problem with listings
German Poo Caaman~o wrote: > > I wrote a little text to try listings. > > If I try > \renewcommand\thelstlisting{\thechapter .\arabic{lstlisting}}% captionstyle > on LaTeX preamble (as well as Herbert's example). > > When I put \lstlistoflistings the result looks like: > 1 .1my Caption > > instead of: > 1.1 my Caption try it without a space \renewcommand\thelstlisting{\thechapter.\arabic{lstlisting}}% i have version 0.21 of listing-package. if it doesn't help, send a short lyx-example file Herbert -- [EMAIL PROTECTED] http://perce.de/lyx/
Re: A little problem with listings
German Poo Caaman~o wrote: > If I try > \renewcommand\thelstlisting{\thechapter .\arabic{lstlisting}}% captionstyle > on LaTeX preamble (as well as Herbert's example). > > When I put \lstlistoflistings the result looks like: > 1 .1my Caption > > instead of: > 1.1 my Caption May be it's a bug, because the line is commented, it happens the same. -- German Poo Caaman~o mailto:[EMAIL PROTECTED] http://www.ubiobio.cl/~gpoo/chilelindo.html "La historia no se lee, se escribe"
A little problem with listings
I wrote a little text to try listings. If I try \renewcommand\thelstlisting{\thechapter .\arabic{lstlisting}}% captionstyle on LaTeX preamble (as well as Herbert's example). When I put \lstlistoflistings the result looks like: 1 .1my Caption instead of: 1.1 my Caption the package's version is 0.20 (I can't connect outside to verify a more updated version) Thanks in advance, -- German Poo Caaman~o mailto:[EMAIL PROTECTED] http://www.ubiobio.cl/~gpoo/chilelindo.html "La historia no se lee, se escribe"