Return-Path: Delivered-To: apmail-forrest-dev-archive@www.apache.org Received: (qmail 15076 invoked from network); 29 Nov 2005 15:32:44 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 29 Nov 2005 15:32:44 -0000 Received: (qmail 28761 invoked by uid 500); 29 Nov 2005 15:32:39 -0000 Delivered-To: apmail-forrest-dev-archive@forrest.apache.org Received: (qmail 28714 invoked by uid 500); 29 Nov 2005 15:32:38 -0000 Mailing-List: contact dev-help@forrest.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: dev@forrest.apache.org List-Id: Delivered-To: mailing list dev@forrest.apache.org Received: (qmail 28703 invoked by uid 99); 29 Nov 2005 15:32:38 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 29 Nov 2005 07:32:38 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: neutral (asf.osuosl.org: local policy) Received: from [81.169.145.175] (HELO natblindhugh.rzone.de) (81.169.145.175) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 29 Nov 2005 07:34:06 -0800 Received: from [172.26.0.5] (242.Red-213-97-135.staticIP.rima-tde.net [213.97.135.242]) (authenticated bits=0) by post.webmailer.de (8.13.1/8.13.1) with ESMTP id jATFWClp002183 for ; Tue, 29 Nov 2005 16:32:13 +0100 (MET) Subject: Re: how to include additional classes (e.g. from sdocbook) From: Thorsten Scherler To: dev@forrest.apache.org In-Reply-To: <438C6A6B.5020305@uidesign.de> References: <20051128174841.41972.qmail@minotaur.apache.org> <1133201089.13437.4.camel@localhost> <438C18E6.8080908@uidesign.de> <438C1BB5.4000307@uidesign.de> <438C6A6B.5020305@uidesign.de> Content-Type: text/plain; charset=utf-8 Date: Tue, 29 Nov 2005 16:32:11 +0100 Message-Id: <1133278331.8200.55.camel@localhost> Mime-Version: 1.0 X-Mailer: Evolution 2.2.1.1 Content-Transfer-Encoding: 8bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Sorry, I am too busy atm to show you the commit messages regarding this issue. I only have in the back of my head some committs around this topic stating, what said. If I have this issue wrong in my head then sorry, but AFAIK .codefrag literal{} stands for: class="codefrag" element="literal" maybe better with a more explicit sample: gives .codefrag p{} which stands for class="codefrag" element="p" which would design all elements within e.g.

this

...or am I wrong? salu2 El mar, 29-11-2005 a las 15:49 +0100, Johannes Schaefer escribió: > I'd definitely like to know the opinion of other developers. > I didn't think this was controversal. > > I'm (back) working on another style guide and we're doing it in > sDocBook. So I'm very likely to enhance support for it. Since > sDocBook offers a richer vocabulary than xdoc I'll need to include > some information in classes, e.g. > > sDocBook --Forrest--> HTML > -----------> > ---------> the same > >
-----------> > -----> the same > > I would add classes to the sdocbook-plugin's output that preserve > the more detailed information, e.g. > -- sdocbook-plugin --> > --> -- document-to-html.xsl --> > --> > > These classes get lost in Forrest's output stage, so, I'll have to > add them to a number of elements. I did the commit below to see if > anybody objects. And Thorsten did. > > I still cannot see the "nightmare" that Thorsten mentioned. > Thorsten, can you explain what you mean? > What do others think? > > Johannes > > Johannes Schaefer schrieb: > > >>Thorsten Scherler schrieb: > >> > >> > >>>El lun, 28-11-2005 a las 17:48 +0000, josch@apache.org escribió: > >>> > >>> > >>> > >>>>Author: josch > >>>>Date: Mon Nov 28 09:48:30 2005 > >>>>New Revision: 349444 > >>>> > >>>>URL: http://svn.apache.org/viewcvs?rev=349444&view=rev > >>>>Log: > >>>>make respect @class; used to differentiate e.g. from sdocbook's , > >>>> > >>>>Modified: > >>>> forrest/trunk/main/webapp/skins/common/xslt/html/document-to-html.xsl > >>>> > >>>>Modified: forrest/trunk/main/webapp/skins/common/xslt/html/document-to-html.xsl > >>>>URL: http://svn.apache.org/viewcvs/forrest/trunk/main/webapp/skins/common/xslt/html/document-to-html.xsl?rev=349444&r1=349443&r2=349444&view=diff > >>>>============================================================================== > >>>>--- forrest/trunk/main/webapp/skins/common/xslt/html/document-to-html.xsl (original) > >>>>+++ forrest/trunk/main/webapp/skins/common/xslt/html/document-to-html.xsl Mon Nov 28 09:48:30 2005 > >>>>@@ -227,7 +227,7 @@ > >>>> > >>>> > >>>> > >>>>- > >>>>+ > >>> > >>> > >>>That is not really css friendly. Please use: > >>>+ > >> > >> > >>I did it like this to leave the other *.css definitions > >>untouched. > >> > >> > >> > >>>Otherwise it is a nightmare in the *.css. > >> > >> > >>Don't understand why, it's one of the features of CSS, > >>see e.g. > >> http://dhtmlkitchen.com/learn/css/multiclass/ > >> (The example there is not very useful, though) > >> > >>I added this to skinconf/extra-css: > >> > >> .literal { font-weight:bold; } > >> > >>which gives me nicely monospaced + bold for > >> > >>Still objecting? > >>Johannes > >> > >> > >> > >>>salu2 > >>> > >>> > >>> > >>> > >>>> > >>>> > >>>> > >>>> > >>>> > >> > > > > > > -- thorsten "Together we stand, divided we fall!" Hey you (Pink Floyd)