On Thu, Jan 8, 2009 at 09:03, Nilgün Belma Bugüner <[email protected]> wrote: > 08 Ocak 2009 Perşembe 09:08 sularında, Kalle Sommer Nielsen şunları yazmıştı: >> Hi Nilgün >> > Hi, > >> 2009/1/8 Nilgün Belma Bugüner <[email protected]>: >> > 08 Ocak 2009 Perşembe 06:50 sularında, Kalle Sommer Nielsen şunları >> > yazmıştı: >> >> Hello >> >> >> >> 2009/1/7 Keryx Web <[email protected]>: >> >> > As the title says: >> >> > >> >> > Line 12-14: >> >> > >> >> > code, pre, tt { >> >> > font-family: Consolas, "Courier New", Courier, monospace; >> >> > } >> >> > >> >> > Added Consolas, which will benefit anyone using Vista, Offive 2007 or >> >> > have >> >> > downloaded the fonts, perhaps through the ppt-viewer. >> >> >> >> Consolas is also downloadable with Visual Studio[1] and it wouldn't >> >> surprise me if newever SP's to VS includes it. But for the font-family >> >> I would set Monaco as another fallback: >> >> >> >> font-family: Consolas, Monaco, "Courier New", Courier, monospace; >> >> >> >> > >> >> > Consolas really is a superb monospace font ad it is becoming ubiquitous. >> >> > Courier New is one of the ugliest in existence. >> >> > >> >> > A nice font for Linux might be DejaVu Sans Mono, but other are perhaps >> >> > more >> >> > qualified to recommend one. >> > >> > For Linux: >> > >> > code, pre, tt { >> > font-family: Consolas, Monaco, "DejaVu Sans Mono", "Courier New", >> > Courier, monospace; >> > } >> > >> > and a suggestion: >> > >> > tt.parameter { >> > font-style: italic; >> > } >> >> I was wondering about that one the other day, did someone remove it or >> what? Because it used to be like that > > Or, > > Index: xhtml.php > =================================================================== > RCS file: /repository/phd/formats/xhtml.php,v > retrieving revision 1.84 > diff -u -r1.84 xhtml.php > --- xhtml.php 3 Jan 2009 12:55:22 -0000 1.84 > +++ xhtml.php 8 Jan 2009 07:58:11 -0000 > @@ -802,11 +802,11 @@ > public function format_methodparam_parameter($open, $name, $attrs) { > if ($open) { > if (isset($attrs[PhDReader::XMLNS_DOCBOOK]["role"])) { > - return ' <tt class="parameter reference">&$'; > + return ' <i><tt class="parameter reference">&$'; > } > - return ' <tt class="parameter">$'; > + return ' <i><tt class="parameter">$'; > } > - return "</tt>"; > + return "</tt></i>";
Lars would slap you with his semantic wand if this gets committed. The CSS changes earlier in this thread are fine with me if someone wants to commit. -Hannes
