docbook-apps

  • 1.  From where the reference to CSS is added

    Posted 02-10-2011 15:08
    hi dev,
    Currently the docbook is styled using CSS by applling directly to the
    docbook XMLs.Once any user wrote his docbook document(XML) from where the
    reference to the CSS(to driver.css in the trunk/css/xml/docbook) is being
    added to that XML?

    Thank you
    Sanjaya



  • 2.  Re: [docbook-apps] From where the reference to CSS is added

    Posted 02-10-2011 15:12
    On Thu, Feb 10, 2011 at 8:07 PM, Sanjaya Liyanage <sanjayacl@gmail.com>wrote:

    > hi dev,
    > Currently the docbook is styled using CSS by applling directly to the
    > docbook XMLs.Once any user wrote his docbook document(XML) from where the
    > reference to the CSS(to driver.css in the trunk/css/xml/docbook) is being
    > added to that XML?
    >
    > Thank you
    > Sanjaya
    >


    Hello. It can be customized with the
    *html.stylesheet*<http://docbook.sourceforge.net/release/xsl/current/doc/html/html.stylesheet.html>parameter.

    See
    http://docbook.sourceforge.net/release/xsl/current/doc/html/html.stylesheet.html

    --
    Kirill Churin
    Jabber: reflexing@reflexing.ru, ICQ: 8163230, Skype on demand.



  • 3.  Re: [docbook-apps] From where the reference to CSS is added

    Posted 02-10-2011 15:47
    Hi Kirill,
    If the CSS are applied for the generated html then using that parameter
    will do the referencing.But at the moment CSS are applied to the docbook
    XMLs directly.Not to the generated html.
    Thank you
    Sanjaya

    On Thu, Feb 10, 2011 at 8:42 PM, Kirill Churin <reflexing@reflexing.ru>wrote:

    > On Thu, Feb 10, 2011 at 8:07 PM, Sanjaya Liyanage <sanjayacl@gmail.com>wrote:
    >
    >> hi dev,
    >> Currently the docbook is styled using CSS by applling directly to the
    >> docbook XMLs.Once any user wrote his docbook document(XML) from where the
    >> reference to the CSS(to driver.css in the trunk/css/xml/docbook) is being
    >> added to that XML?
    >>
    >> Thank you
    >> Sanjaya
    >>
    >
    >
    > Hello. It can be customized with the *html.stylesheet*<http://docbook.sourceforge.net/release/xsl/current/doc/html/html.stylesheet.html>parameter.
    >
    > See
    > http://docbook.sourceforge.net/release/xsl/current/doc/html/html.stylesheet.html
    >
    > --
    > Kirill Churin
    > Jabber: reflexing@reflexing.ru, ICQ: 8163230, Skype on demand.
    >
    >



  • 4.  Re: [docbook-apps] From where the reference to CSS is added

    Posted 02-11-2011 06:48
    Is this what you are looking for?



    If you put that at the top of the XML file, a browser will apply styling
    from the referenced CSS.

    -- Jeff
    On Feb 10, 2011 7:50 AM, "Sanjaya Liyanage" <sanjayacl@gmail.com> wrote:
    > Hi Kirill,
    > If the CSS are applied for the generated html then using that parameter
    > will do the referencing.But at the moment CSS are applied to the docbook
    > XMLs directly.Not to the generated html.
    > Thank you
    > Sanjaya
    >
    > On Thu, Feb 10, 2011 at 8:42 PM, Kirill Churin <reflexing@reflexing.ru
    >wrote:
    >
    >> On Thu, Feb 10, 2011 at 8:07 PM, Sanjaya Liyanage <sanjayacl@gmail.com
    >wrote:
    >>
    >>> hi dev,
    >>> Currently the docbook is styled using CSS by applling directly to the
    >>> docbook XMLs.Once any user wrote his docbook document(XML) from where
    the
    >>> reference to the CSS(to driver.css in the trunk/css/xml/docbook) is
    being
    >>> added to that XML?
    >>>
    >>> Thank you
    >>> Sanjaya
    >>>
    >>
    >>
    >> Hello. It can be customized with the *html.stylesheet*<
    http://docbook.sourceforge.net/release/xsl/current/doc/html/html.stylesheet.html
    >parameter.
    >>
    >> See
    >>
    http://docbook.sourceforge.net/release/xsl/current/doc/html/html.stylesheet.html
    >>
    >> --
    >> Kirill Churin
    >> Jabber: reflexing@reflexing.ru, ICQ: 8163230, Skype on demand.
    >>
    >>



  • 5.  Re: [docbook-apps] From where the reference to CSS is added

    Posted 02-11-2011 07:57
    Hi Jeff,
    Yes that's the part I am looking for.But docbook users are not adding
    that part when they are writing their docbook XMLs.Because they are not
    aware of that.But that part should be inserted somewhere by the system in
    order to style them as the XMLs are styled not the generated html.

    thank you
    Sanjaya

    On Fri, Feb 11, 2011 at 12:17 PM, Jeff Beal <jbbeal@gmail.com> wrote:

    > Is this what you are looking for?
    >
    >
    >
    > If you put that at the top of the XML file, a browser will apply styling
    > from the referenced CSS.
    >
    > -- Jeff
    > On Feb 10, 2011 7:50 AM, "Sanjaya Liyanage" <sanjayacl@gmail.com> wrote:
    > > Hi Kirill,
    > > If the CSS are applied for the generated html then using that parameter
    > > will do the referencing.But at the moment CSS are applied to the docbook
    > > XMLs directly.Not to the generated html.
    > > Thank you
    > > Sanjaya
    > >
    > > On Thu, Feb 10, 2011 at 8:42 PM, Kirill Churin <reflexing@reflexing.ru
    > >wrote:
    > >
    > >> On Thu, Feb 10, 2011 at 8:07 PM, Sanjaya Liyanage <sanjayacl@gmail.com
    > >wrote:
    > >>
    > >>> hi dev,
    > >>> Currently the docbook is styled using CSS by applling directly to the
    > >>> docbook XMLs.Once any user wrote his docbook document(XML) from where
    > the
    > >>> reference to the CSS(to driver.css in the trunk/css/xml/docbook) is
    > being
    > >>> added to that XML?
    > >>>
    > >>> Thank you
    > >>> Sanjaya
    > >>>
    > >>
    > >>
    > >> Hello. It can be customized with the *html.stylesheet*<
    > http://docbook.sourceforge.net/release/xsl/current/doc/html/html.stylesheet.html
    > >parameter.
    >
    > >>
    > >> See
    > >>
    > http://docbook.sourceforge.net/release/xsl/current/doc/html/html.stylesheet.html
    > >>
    > >> --
    > >> Kirill Churin
    > >> Jabber: reflexing@reflexing.ru, ICQ: 8163230, Skype on demand.
    > >>
    > >>
    >



  • 6.  Re: [docbook-apps] From where the reference to CSS is added

    Posted 02-11-2011 11:38
    On Fri, Feb 11, 2011 at 1:26 PM, Sanjaya Liyanage <sanjayacl@gmail.com>wrote:

    > Hi Jeff,
    > Yes that's the part I am looking for.But docbook users are not adding
    > that part when they are writing their docbook XMLs.Because they are not
    > aware of that.But that part should be inserted somewhere by the system in
    > order to style them as the XMLs are styled not the generated html.
    >

    I think these two are two different paths. If docbook document is written to
    be transformed to another format (such as html), then this CSS is not
    necessary because CSS can be applied by the XSL file. Currently, most people
    transforms the XML to another format, so, for them this is not required.

    To reference the CSS files at trunk/css/xml/docbook, you may have to copy
    those CSS files to the local folder where your docbook documents resides.
    It's the understanding I got after going through the
    trunk/css/xml/docbook/index.html.
    It gives the CSS's as a tar ball (which you have to download and extracts at
    the folder you need) although the links seems to be broken. May be this
    needs some more documentation on how to configure things. There are some
    developers under the CREDITS file in the same folder, they might be able to
    give you more details. This is according to my understanding, I may be
    wrong!

    Thanks,
    Kasun


    >
    > thank you
    > Sanjaya
    >
    >
    > On Fri, Feb 11, 2011 at 12:17 PM, Jeff Beal <jbbeal@gmail.com> wrote:
    >
    >> Is this what you are looking for?
    >>
    >>
    >>
    >> If you put that at the top of the XML file, a browser will apply styling
    >> from the referenced CSS.
    >>
    >> -- Jeff
    >> On Feb 10, 2011 7:50 AM, "Sanjaya Liyanage" <sanjayacl@gmail.com> wrote:
    >> > Hi Kirill,
    >> > If the CSS are applied for the generated html then using that parameter
    >> > will do the referencing.But at the moment CSS are applied to the docbook
    >> > XMLs directly.Not to the generated html.
    >> > Thank you
    >> > Sanjaya
    >> >
    >> > On Thu, Feb 10, 2011 at 8:42 PM, Kirill Churin <reflexing@reflexing.ru
    >> >wrote:
    >> >
    >> >> On Thu, Feb 10, 2011 at 8:07 PM, Sanjaya Liyanage <sanjayacl@gmail.com
    >> >wrote:
    >> >>
    >> >>> hi dev,
    >> >>> Currently the docbook is styled using CSS by applling directly to the
    >> >>> docbook XMLs.Once any user wrote his docbook document(XML) from where
    >> the
    >> >>> reference to the CSS(to driver.css in the trunk/css/xml/docbook) is
    >> being
    >> >>> added to that XML?
    >> >>>
    >> >>> Thank you
    >> >>> Sanjaya
    >> >>>
    >> >>
    >> >>
    >> >> Hello. It can be customized with the *html.stylesheet*<
    >> http://docbook.sourceforge.net/release/xsl/current/doc/html/html.stylesheet.html
    >> >parameter.
    >>
    >> >>
    >> >> See
    >> >>
    >> http://docbook.sourceforge.net/release/xsl/current/doc/html/html.stylesheet.html
    >> >>
    >> >> --
    >> >> Kirill Churin
    >> >> Jabber: reflexing@reflexing.ru, ICQ: 8163230, Skype on demand.
    >> >>
    >> >>
    >>
    >
    >



  • 7.  Re: [docbook-apps] From where the reference to CSS is added

    Posted 02-11-2011 14:56
    Thank you Kasun.I'll try to contact one of them to get more info.

    On Fri, Feb 11, 2011 at 5:08 PM, Kasun Gajasinghe <
    kasun.gajasinghe@gmail.com> wrote:

    > On Fri, Feb 11, 2011 at 1:26 PM, Sanjaya Liyanage <sanjayacl@gmail.com>wrote:
    >
    >> Hi Jeff,
    >> Yes that's the part I am looking for.But docbook users are not adding
    >> that part when they are writing their docbook XMLs.Because they are not
    >> aware of that.But that part should be inserted somewhere by the system in
    >> order to style them as the XMLs are styled not the generated html.
    >>
    >
    > I think these two are two different paths. If docbook document is written
    > to be transformed to another format (such as html), then this CSS is not
    > necessary because CSS can be applied by the XSL file. Currently, most people
    > transforms the XML to another format, so, for them this is not required.
    >
    > To reference the CSS files at trunk/css/xml/docbook, you may have to copy
    > those CSS files to the local folder where your docbook documents resides.
    > It's the understanding I got after going through the trunk/css/xml/docbook/index.html.
    > It gives the CSS's as a tar ball (which you have to download and extracts at
    > the folder you need) although the links seems to be broken. May be this
    > needs some more documentation on how to configure things. There are some
    > developers under the CREDITS file in the same folder, they might be able to
    > give you more details. This is according to my understanding, I may be
    > wrong!
    >
    > Thanks,
    > Kasun
    >
    >
    >>
    >> thank you
    >> Sanjaya
    >>
    >>
    >> On Fri, Feb 11, 2011 at 12:17 PM, Jeff Beal <jbbeal@gmail.com> wrote:
    >>
    >>> Is this what you are looking for?
    >>>
    >>>
    >>>
    >>> If you put that at the top of the XML file, a browser will apply styling
    >>> from the referenced CSS.
    >>>
    >>> -- Jeff
    >>> On Feb 10, 2011 7:50 AM, "Sanjaya Liyanage" <sanjayacl@gmail.com> wrote:
    >>> > Hi Kirill,
    >>> > If the CSS are applied for the generated html then using that parameter
    >>> > will do the referencing.But at the moment CSS are applied to the
    >>> docbook
    >>> > XMLs directly.Not to the generated html.
    >>> > Thank you
    >>> > Sanjaya
    >>> >
    >>> > On Thu, Feb 10, 2011 at 8:42 PM, Kirill Churin <reflexing@reflexing.ru
    >>> >wrote:
    >>> >
    >>> >> On Thu, Feb 10, 2011 at 8:07 PM, Sanjaya Liyanage <
    >>> sanjayacl@gmail.com>wrote:
    >>> >>
    >>> >>> hi dev,
    >>> >>> Currently the docbook is styled using CSS by applling directly to the
    >>> >>> docbook XMLs.Once any user wrote his docbook document(XML) from where
    >>> the
    >>> >>> reference to the CSS(to driver.css in the trunk/css/xml/docbook) is
    >>> being
    >>> >>> added to that XML?
    >>> >>>
    >>> >>> Thank you
    >>> >>> Sanjaya
    >>> >>>
    >>> >>
    >>> >>
    >>> >> Hello. It can be customized with the *html.stylesheet*<
    >>> http://docbook.sourceforge.net/release/xsl/current/doc/html/html.stylesheet.html
    >>> >parameter.
    >>>
    >>> >>
    >>> >> See
    >>> >>
    >>> http://docbook.sourceforge.net/release/xsl/current/doc/html/html.stylesheet.html
    >>> >>
    >>> >> --
    >>> >> Kirill Churin
    >>> >> Jabber: reflexing@reflexing.ru, ICQ: 8163230, Skype on demand.
    >>> >>
    >>> >>
    >>>
    >>
    >>
    >