On Sun, 29 Apr 2007 12:38:16 +0100
"Chris Rawnsley"
On 29/04/07, Aditya Mahajan
wrote: I will need two three days to work on this.
Sorry I misunderstood you. I thought that function was already implemented. Don't feel you have to rush to get this implemented :) I can bear with the slow ness.
Right now, this is not possible. Let me see if I can add this feature.
That would be very useful. Thank you.
A fixed width font is also called a teletype font. By default, the code listing should be in a fixed width font, so I thought that you were talking about how to use a different fixed width font.
Ah I set up my body font like so:
\definetypeface [palatino] [rm] [serif] [palatino] [default] [encoding=ec] \switchtotypeface [palatino] [12pt,rm]
Hi Chris, replace this two lines with \usetypescript[palatino][texnansi] % use better texnansi than ec \setupbodyfont[palatino] % rm and 12pt are default values Wolfgang
Though when it comes to listing code it doesn't automatically switch to a teletype font and it sticks with the body font, however, when I comment out of those two lines it does use a fixed width font. I'm guessing here but does that mean there is no teletype font in Palatino?
I not trying to put on demands on you here but the changes you say will only be useful to me if I get them before tonight. I need to hand in the project tomorrow. So I don't want you to spend time on implementing features that won't be appreciated by me (but I'm sure others will find it useful! I will as well in the future too). Basically, all I'm saying here is that you don't have to rush these features on my behalf.
I hope that didn't come off as being rude because it certainly wasn't meant to be.
I'll gladly test anything in the future too. If you need any help I'd gladly return the favour :)
-- Chris ___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________