[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[dssslist] Re: How to increase the space before the title of an article and modify the font of the title with DSSSL?



Try and try again, I find that my customized dsssl doesn't work,
No matter what stylesheet I write in my dsssl, It still doesn't work!#

But when I remove the reference of docbook.dsl in my dsssl, my dsssl
works , just like below:

<!DOCTYPE style-sheet PUBLIC "-//James Clark//DTD DSSSL Style Sheet//EN" [
  <!ENTITY % html "IGNORE">
  <![%html; [
    <!ENTITY % print "IGNORE">
    <!ENTITY docbook.dsl PUBLIC "-//Norman Walsh//DOCUMENT DocBook
HTML Stylesheet//EN" CDATA dsssl>
  ]]>
  <!ENTITY % print "INCLUDE">
  <![%print; [
    <!ENTITY docbook.dsl PUBLIC "-//Norman Walsh//DOCUMENT DocBook
Print Stylesheet//EN" CDATA dsssl>
  ]]>
]>

My DSSSL:

(element (articleinfo title)
(make paragraph
font-family-name: "Times New Roman"
font-weight: 'bold
font-size: 35pt
space-before: 55pt
space-after: 10pt
start-indent: 6pt
quadding: 'center))

but the attribute space-before doesn't work, can anyone help me?

2013/8/29 Chunman Sun <521scm@gmail.com>:
> Recently, I am trying to convert the docbook to RTF with openjade , I
> would like to customize my document with DSSSL.
>
> First, I would like to increase the space before the title of an
> article, because the title is at the most top of the title page.
>
> Sencond, I could not change the default font of the title.
>
> What should I do ?
>
>  I am new to DSSSL, could someone help me?