Re: Problem with 'extendedchars' in listings [solved]
Hello again, I am sorry to have bothered you, I have already solved it. It was just that I had missed the coma (,) after stringstyle in the preamble. Yours faithfully, Francesc Gispert El mié, 07-12-2011 a las 23:25 +0100, Francesc Gispert Sanchez escribió: Dear Sirs and Madams, I need to include some Python code in my work, so I decided to use the listings package. But I have come across a problem I do not know how to solve: when I export my document to a PDF with pdflatex, the double quotation marks do not look as expected: it appears something like 'extendedcharsextendedchars' (without the single quotation marks). In the preamble I have this: \usepackage{listings} \usepackage{color} \lstset{ frame=single, basicstyle=\scriptsize\ttfamily, numbers=left, numberstyle=\tiny, stepnumber=1, numbersep=5pt, keywordstyle=\bfseries\color[rgb]{0,0,1}, commentstyle=\color[rgb]{0.6,0.6,0.6}, stringstyle=\color[rgb]{0.627,0.126,0.941} extendedchars=true, showspaces=false, showtabs=false, breaklines=true, columns=fixed } I have already tried setting extendedchars to false, but then the double quotation marks look like this: 'showspacesshowspaces' (again, without the single quotation marks). By the way, I am using LyX 2.0.1 (installed from the Debian Wheezy repositories). I am looking forward to hearing from you. Yours faithfully, Francesc Gispert
Re: Problem with 'extendedchars' in listings [solved]
Hello again, I am sorry to have bothered you, I have already solved it. It was just that I had missed the coma (,) after stringstyle in the preamble. Yours faithfully, Francesc Gispert El mié, 07-12-2011 a las 23:25 +0100, Francesc Gispert Sanchez escribió: Dear Sirs and Madams, I need to include some Python code in my work, so I decided to use the listings package. But I have come across a problem I do not know how to solve: when I export my document to a PDF with pdflatex, the double quotation marks do not look as expected: it appears something like 'extendedcharsextendedchars' (without the single quotation marks). In the preamble I have this: \usepackage{listings} \usepackage{color} \lstset{ frame=single, basicstyle=\scriptsize\ttfamily, numbers=left, numberstyle=\tiny, stepnumber=1, numbersep=5pt, keywordstyle=\bfseries\color[rgb]{0,0,1}, commentstyle=\color[rgb]{0.6,0.6,0.6}, stringstyle=\color[rgb]{0.627,0.126,0.941} extendedchars=true, showspaces=false, showtabs=false, breaklines=true, columns=fixed } I have already tried setting extendedchars to false, but then the double quotation marks look like this: 'showspacesshowspaces' (again, without the single quotation marks). By the way, I am using LyX 2.0.1 (installed from the Debian Wheezy repositories). I am looking forward to hearing from you. Yours faithfully, Francesc Gispert
Re: Problem with 'extendedchars' in listings [solved]
Hello again, I am sorry to have bothered you, I have already solved it. It was just that I had missed the coma (,) after stringstyle in the preamble. Yours faithfully, Francesc Gispert El mié, 07-12-2011 a las 23:25 +0100, Francesc Gispert Sanchez escribió: > Dear Sirs and Madams, > > I need to include some Python code in my work, so I decided to use the > listings package. But I have come across a problem I do not know how to > solve: when I export my document to a PDF with pdflatex, the double > quotation marks do not look as expected: it appears something like > 'extendedchars"extendedchars' (without the single quotation marks). > > In the preamble I have this: > \usepackage{listings} > \usepackage{color} > \lstset{ > frame=single, > basicstyle=\scriptsize\ttfamily, > numbers=left, > numberstyle=\tiny, > stepnumber=1, > numbersep=5pt, > keywordstyle=\bfseries\color[rgb]{0,0,1}, > commentstyle=\color[rgb]{0.6,0.6,0.6}, > stringstyle=\color[rgb]{0.627,0.126,0.941} > extendedchars=true, > showspaces=false, > showtabs=false, > breaklines=true, > columns=fixed > } > > I have already tried setting extendedchars to false, but then the double > quotation marks look like this: 'showspaces"showspaces' (again, without > the single quotation marks). > > By the way, I am using LyX 2.0.1 (installed from the Debian Wheezy > repositories). > > I am looking forward to hearing from you. > > Yours faithfully, > > Francesc Gispert > >
Problem with 'extendedchars' in listings
Dear Sirs and Madams, I need to include some Python code in my work, so I decided to use the listings package. But I have come across a problem I do not know how to solve: when I export my document to a PDF with pdflatex, the double quotation marks do not look as expected: it appears something like 'extendedcharsextendedchars' (without the single quotation marks). In the preamble I have this: \usepackage{listings} \usepackage{color} \lstset{ frame=single, basicstyle=\scriptsize\ttfamily, numbers=left, numberstyle=\tiny, stepnumber=1, numbersep=5pt, keywordstyle=\bfseries\color[rgb]{0,0,1}, commentstyle=\color[rgb]{0.6,0.6,0.6}, stringstyle=\color[rgb]{0.627,0.126,0.941} extendedchars=true, showspaces=false, showtabs=false, breaklines=true, columns=fixed } I have already tried setting extendedchars to false, but then the double quotation marks look like this: 'showspacesshowspaces' (again, without the single quotation marks). By the way, I am using LyX 2.0.1 (installed from the Debian Wheezy repositories). I am looking forward to hearing from you. Yours faithfully, Francesc Gispert
Problem with 'extendedchars' in listings
Dear Sirs and Madams, I need to include some Python code in my work, so I decided to use the listings package. But I have come across a problem I do not know how to solve: when I export my document to a PDF with pdflatex, the double quotation marks do not look as expected: it appears something like 'extendedcharsextendedchars' (without the single quotation marks). In the preamble I have this: \usepackage{listings} \usepackage{color} \lstset{ frame=single, basicstyle=\scriptsize\ttfamily, numbers=left, numberstyle=\tiny, stepnumber=1, numbersep=5pt, keywordstyle=\bfseries\color[rgb]{0,0,1}, commentstyle=\color[rgb]{0.6,0.6,0.6}, stringstyle=\color[rgb]{0.627,0.126,0.941} extendedchars=true, showspaces=false, showtabs=false, breaklines=true, columns=fixed } I have already tried setting extendedchars to false, but then the double quotation marks look like this: 'showspacesshowspaces' (again, without the single quotation marks). By the way, I am using LyX 2.0.1 (installed from the Debian Wheezy repositories). I am looking forward to hearing from you. Yours faithfully, Francesc Gispert
Problem with 'extendedchars' in listings
Dear Sirs and Madams, I need to include some Python code in my work, so I decided to use the listings package. But I have come across a problem I do not know how to solve: when I export my document to a PDF with pdflatex, the double quotation marks do not look as expected: it appears something like 'extendedchars"extendedchars' (without the single quotation marks). In the preamble I have this: \usepackage{listings} \usepackage{color} \lstset{ frame=single, basicstyle=\scriptsize\ttfamily, numbers=left, numberstyle=\tiny, stepnumber=1, numbersep=5pt, keywordstyle=\bfseries\color[rgb]{0,0,1}, commentstyle=\color[rgb]{0.6,0.6,0.6}, stringstyle=\color[rgb]{0.627,0.126,0.941} extendedchars=true, showspaces=false, showtabs=false, breaklines=true, columns=fixed } I have already tried setting extendedchars to false, but then the double quotation marks look like this: 'showspaces"showspaces' (again, without the single quotation marks). By the way, I am using LyX 2.0.1 (installed from the Debian Wheezy repositories). I am looking forward to hearing from you. Yours faithfully, Francesc Gispert
Re: I can't use multiple indexes in LyX
El mar, 26-07-2011 a las 16:15 -0400, Richard Heck escribió: What do you mean by an alphabetic index? Do you need two indexes, or is it just the title that you want to change? If the latter, then you can use the normal index and change the title fairly easily. Just put: \renewcommand\indexname{Alphabetic Index} into the preamble. I suppose I explained it in a too ambiguous way. I need two indexes (or the table of contents plus another index. I don't know what is happening, but please see the attached. Richard I see that the attached document is similar to what I do, but I couldn't export it because I lack a package (I get a heck.sty-not-found error). Actually, my problem is that when I export my document the indexes created manually don't appear in the PDF (or whatever format). For example, in the attached document, I'd like to see the table of contents and, below, another index with the Important word and the page where it is. But when I export it, there's just the table of contents. Thanks for your help. Francesc Gispert indexes.lyx Description: application/lyx
Re: I can't use multiple indexes in LyX
El mar, 26-07-2011 a las 16:15 -0400, Richard Heck escribió: What do you mean by an alphabetic index? Do you need two indexes, or is it just the title that you want to change? If the latter, then you can use the normal index and change the title fairly easily. Just put: \renewcommand\indexname{Alphabetic Index} into the preamble. I suppose I explained it in a too ambiguous way. I need two indexes (or the table of contents plus another index. I don't know what is happening, but please see the attached. Richard I see that the attached document is similar to what I do, but I couldn't export it because I lack a package (I get a heck.sty-not-found error). Actually, my problem is that when I export my document the indexes created manually don't appear in the PDF (or whatever format). For example, in the attached document, I'd like to see the table of contents and, below, another index with the Important word and the page where it is. But when I export it, there's just the table of contents. Thanks for your help. Francesc Gispert indexes.lyx Description: application/lyx
Re: I can't use multiple indexes in LyX
El mar, 26-07-2011 a las 16:15 -0400, Richard Heck escribió: > What do you mean by an "alphabetic index"? Do you need two indexes, or > is it just the title that you want to change? If the latter, then you > can use the normal index and change the title fairly easily. Just put: > \renewcommand\indexname{Alphabetic Index} > into the preamble. I suppose I explained it in a too ambiguous way. I need two indexes (or the table of contents plus another index. > I don't know what is happening, but please see the attached. > > Richard I see that the attached document is similar to what I do, but I couldn't export it because I lack a package (I get a "heck.sty"-not-found error). Actually, my problem is that when I export my document the indexes created manually don't appear in the PDF (or whatever format). For example, in the attached document, I'd like to see the table of contents and, below, another index with the "Important word" and the page where it is. But when I export it, there's just the table of contents. Thanks for your help. Francesc Gispert indexes.lyx Description: application/lyx
I can't use multiple indexes in LyX
Hi, I am new at using LyX and I'm trying to create an alphabetic index in a book. However, there's no such option in the book layout, so I've been trying to use a custom index. I created it by adding a new index called 'Alphabetic index' in Document Settings Indexes. Then I selected the text I wanted to add in the index and I added it with Insert Index entry (Alphabetic index), and a gray box with green letters appeared. After that, I inserted the alphabetic index somewhere in the book (Insert Indexes Index: Alphabetic index) and a gray box labeled 'Alphabetic index' appeared right there. But when I try to export it as a PDF, there is no index (apart from the default table of contents). Am I doing something wrong? If so, how am I supposed to add multiple indexes? Thank you very much. Francesc Gispert PS: I am currently using Debian Wheezy and LyX 2.0.0. The result of '#uname -r' (kernel) is 2.6.39-2-686-pae. All the lyx- or latex-related packages have been installed through the Debian Wheezy official repositories.
I can't use multiple indexes in LyX
Hi, I am new at using LyX and I'm trying to create an alphabetic index in a book. However, there's no such option in the book layout, so I've been trying to use a custom index. I created it by adding a new index called 'Alphabetic index' in Document Settings Indexes. Then I selected the text I wanted to add in the index and I added it with Insert Index entry (Alphabetic index), and a gray box with green letters appeared. After that, I inserted the alphabetic index somewhere in the book (Insert Indexes Index: Alphabetic index) and a gray box labeled 'Alphabetic index' appeared right there. But when I try to export it as a PDF, there is no index (apart from the default table of contents). Am I doing something wrong? If so, how am I supposed to add multiple indexes? Thank you very much. Francesc Gispert PS: I am currently using Debian Wheezy and LyX 2.0.0. The result of '#uname -r' (kernel) is 2.6.39-2-686-pae. All the lyx- or latex-related packages have been installed through the Debian Wheezy official repositories.
I can't use multiple indexes in LyX
Hi, I am new at using LyX and I'm trying to create an alphabetic index in a book. However, there's no such option in the book layout, so I've been trying to use a custom index. I created it by adding a new index called 'Alphabetic index' in Document > Settings > Indexes. Then I selected the text I wanted to add in the index and I added it with Insert > Index entry (Alphabetic index), and a gray box with green letters appeared. After that, I inserted the alphabetic index somewhere in the book (Insert > Indexes > Index: Alphabetic index) and a gray box labeled 'Alphabetic index' appeared right there. But when I try to export it as a PDF, there is no index (apart from the default table of contents). Am I doing something wrong? If so, how am I supposed to add multiple indexes? Thank you very much. Francesc Gispert PS: I am currently using Debian Wheezy and LyX 2.0.0. The result of '#uname -r' (kernel) is 2.6.39-2-686-pae. All the lyx- or latex-related packages have been installed through the Debian Wheezy official repositories.