Re: listings package problem

2009-03-02 Thread Guenter Milde
On 2009-02-28, Nikos Alexandris wrote: > Solution: >> % copy-paste from the listing package documentation >> upquote= true|false >> determines whether the left and right quote are printed ‘’ or `'. This >> key requires the textcomp package if true. > LyX-problem(?): > I get an error-message that

Re: listings package problem

2009-02-28 Thread Nikos Alexandris
On Sat, 2009-02-28 at 18:20 +0100, Vincent van Ravesteijn wrote: > > Question: > > So, what's the deal? Where are the "missing" lines from the .lyx file? > > How can I force the "textcomp" packge to be loaded before the "listings" > > package? > > > > There are no missing lines. If there is a l

Re: listings package problem

2009-02-28 Thread Vincent van Ravesteijn
Question: So, what's the deal? Where are the "missing" lines from the .lyx file? How can I force the "textcomp" packge to be loaded before the "listings" package? There are no missing lines. If there is a listing in the .lyx file, LyX adds the usepackage automatically when generating the l

Re: listings package problem

2009-02-28 Thread Nikos Alexandris
On Sat, 2009-02-28 at 17:49 +0100, Nikos Alexandris wrote: > Problem: > > > > > There is only one *important* problem though: usually the _backticks_ > > > > > (used in *nix-like OSes to execute a command within, let's say, from > > > > > another command) appear as to have a top-left to bottom-righ

Re: listings package problem

2009-02-28 Thread Nikos Alexandris
Problem: > > > > There is only one *important* problem though: usually the _backticks_ > > > > (used in *nix-like OSes to execute a command within, let's say, from > > > > another command) appear as to have a top-left to bottom-right direction. > > > > With my current setting (Typewriter font set

Re: listings package problem

2009-02-28 Thread Nikos Alexandris
Nikos: > > > [ I am posting a listing-related problem here instead of starting a new > > > thread. ] > > > There is only one *important* problem though: usually the _backticks_ > > > (used in *nix-like OSes to execute a command within, let's say, from > > > another command) appear as to have a top

Re: listings package problem

2009-02-24 Thread Nikos Alexandris
Nikos: I guess it's a font-specific issue. Too bad because Bera looks great. Guenter: > >> Txtt: > >> Set the typewriter font to Default in the GUI and write in the preamble > >> \renewcommand{\ttdefault}{txtt} Nikos: > > Not bad (the font in general). Yet: > > i. the backticks still look lik

Re: listings package problem

2009-02-24 Thread Nikos Alexandris
On Mon, 2009-02-23 at 11:20 +0100, Manveru wrote: > 2009/2/22 Nikos Alexandris : > > [ I am posting a listing-related problem here instead of starting a new > > thread. ] > > > > I now realise how powerful is the listing package. I used some R code > > and setting the fonts to BeraMono gives a very

Re: listings package problem

2009-02-24 Thread Guenter Milde
On 2009-02-23, Nikos Alexandris wrote: > On Mon, 2009-02-23 at 08:12 +, Guenter Milde wrote: >> On 2009-02-22, Nikos Alexandris wrote: >> > I guess it's a font-specific issue. Too bad because Bera looks great. >> Txtt: >> Set the typewriter font to Default in the GUI and write in the preamble

Re: listings package problem

2009-02-23 Thread Nikos Alexandris
On Mon, 2009-02-23 at 08:12 +, Guenter Milde wrote: > On 2009-02-22, Nikos Alexandris wrote: > > > I guess it's a font-specific issue. Too bad because Bera looks great. > > > Any other recommendation? Kind regards, Nikos > > Txtt: > > Set the typewriter font to Default in the GUI and write

Re: listings package problem

2009-02-23 Thread Manveru
2009/2/22 Nikos Alexandris : > [ I am posting a listing-related problem here instead of starting a new > thread. ] > > I now realise how powerful is the listing package. I used some R code > and setting the fonts to BeraMono gives a very nice and highlighted code > in the output. > > There is only

Re: listings package problem

2009-02-23 Thread Guenter Milde
On 2009-02-22, Nikos Alexandris wrote: > I guess it's a font-specific issue. Too bad because Bera looks great. > Any other recommendation? Kind regards, Nikos Txtt: Set the typewriter font to Default in the GUI and write in the preamble \renewcommand{\ttdefault}{txtt} Günter

Re: listings package problem

2009-02-21 Thread Nikos Alexandris
[ I am posting a listing-related problem here instead of starting a new thread. ] I now realise how powerful is the listing package. I used some R code and setting the fonts to BeraMono gives a very nice and highlighted code in the output. There is only one *important* problem though: usually the

Re: listings package problem

2009-02-21 Thread Nikos Alexandris
On Fri, 2009-02-20 at 21:19 +0100, David Weenink wrote: > L.S., > > I have found the solution to my problem. The following listings configuration > solves my space injection problem: > > alsoletter={*()"'0123456789.} > basicstyle={\footnotesize\ttfamily} > extendedchars=false > frame=L > upquote

Re: listings package problem

2009-02-20 Thread David Weenink
L.S., I have found the solution to my problem. The following listings configuration solves my space injection problem: alsoletter={*()"'0123456789.} basicstyle={\footnotesize\ttfamily} extendedchars=false frame=L upquote=false (only the first line matters for this specific problem, I think) Th

RE: listings package problem

2009-02-20 Thread Vincent van Ravesteijn - TNW
>It did not help to include the dot in the alsoletter list >because then the number 0.3 will be split in two parts as 0 .3. I don't see this. Everything works fine for me when I add the dot to alsoletter. Vincent

Re: listings package problem

2009-02-20 Thread Nikos Alexandris
On Fri, 2009-02-20 at 12:13 +0100, David Weenink wrote: > L.S., > > I'm having the following problem with the listings package. I would like to > use the listings package in lyx to show code parts in pdf output. User should > be able to just copy the code from the pdf and paste it in their edito

listings package problem

2009-02-20 Thread David Weenink
L.S., I'm having the following problem with the listings package. I would like to use the listings package in lyx to show code parts in pdf output. User should be able to just copy the code from the pdf and paste it in their editor and run the code without modification. However, if I put the f