On Mon, 2009-02-23 at 11:20 +0100, Manveru wrote: > 2009/2/22 Nikos Alexandris <nikos.alexand...@felis.uni-freiburg.de>: > > [ 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 _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 to BeraMono and language > > set to _bash_) the _backticks_ look very similar to the... well, the > > _ticks_! > > > > I guess it's a font-specific issue. Too bad because Bera looks great. > > > > Any other recommendation? Kind regards, Nikos > > If you use bash, there is another form of commands substitution other > than `backticks`. It is $(command) form. It may solve problems with > formatting and become more recognizable in your code examples. >
Manveru, thanks for the tip. However, I insist in using the backticks. It's easy and gives a bettwe overview in a command like... NEWNAME="MOD${YEAR}_${RESOLUTION}_`echo ${i} | cut -d':' -f5 | cut -d"_" -f1,2,3 | sed 's+\_1++g' | sed 's+\_250m++g' | sed 's+\_500m++g'`" Cheers, Nikos