[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]
Subject: Re: DOCBOOK-APPS: More justify
%default-quadding% (for the html stylesheets) specifies the value of the "ALIGN" attribute of the <P> tag in the HTML. i.e it is not a DSSSL attribute! It defaults to "#f" which means "don't generate an align tag at all" otherwise it can be "left", "center", "right", "justify". So you should have (define %default-quadding% "left") which will cause the paragraph to be generated with <P ALIGN="left"> Of course, you should, nowadays, use CSS to set an appropriate attribute with a stylesheet: (define %stylesheet% ;; Name of the stylesheet to use "style.css") (define %css-decoration% ;; Enable CSS decoration of elements #t) and leave %default-quadding% as #f. But it begs the question why you paragraphs are justified! On Wed, 2002-02-27 at 14:20, Lars Bjørndal wrote: > Hi > > I can't solve my problem with getting html's with no justified text. > Pleas help me! > > I've modified the file ldp.dsl, and put in the line: > > (define %default-quadding% 'start) > > This line is placed after this: > > <!-- > ;; =================================================== > ;; customize the html stylesheet; borrowed from Cygnus > ;; at http://sourceware.cygnus.com/ (cygnus-both.dsl) > ;; =================================================== > --> > > <!-- <DEFANGED_STYLE-specification id="html" use="docbook"> > <!-- <DEFANGED_STYLE-specification-body> > > (declare-characteristic preserve-sdata? > ;; this is necessary because right now jadetex does not understand > ;; symbolic entities, whereas things work well with numeric entities. > "UNREGISTERED::James Clark//Characteristic::preserve-sdata?" > #f) > > Without the quadding-line I've inserted, all works well while > compiling. But when inserting this line, I get this errormessage after > the command db2html -u -d ~/tmp/ldp.dsl#html p.sgml > > The first errormessage are: > > jade:/usr/share/sgml/docbook/dsssl-stylesheets-1.64/html/dbhtml.dsl:324:17:E: invalid value for "attributes" characteristic > jade:/usr/share/sgml/docbook/dsssl-stylesheets-1.64/html/dbhtml.dsl:324:17:E: invalid value for "attributes" characteristic > jade:/usr/share/sgml/docbook/dsssl-stylesheets-1.64/html/dbhtml.dsl:324:17:E: invalid value for "attributes" characteristic > jade:/usr/share/sgml/docbook/dsssl-stylesheets-1.64/html/dbhtml.dsl:324:17:E: invalid value for "attributes" characteristic > jade:/usr/share/sgml/docbook/dsssl-stylesheets-1.64/html/dbhtml.dsl:324:17:E: invalid value for "attributes" characteristic > > What can I do to solve this problem and to get my html's without > justified text? > > Lars > -- > Lars Bjørndal <lars.bjorndal@grieg.uib.no> > Storetveitåsen 15, 5067 Bergen. > Tlf.: 55 28 87 55 Mobil: 958 37 537 Telefaks: 55 28 40 67
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]
Powered by eList eXpress LLC