On 07/10/2012 07:20 AM, Niels wrote:
Hi everyone

In this day and age where more users use small screens to read web
content, I have been looking for at possible media attribute to supply
to the output from the docbook stylesheets.

It is possible to supply more css file references in
<xsl:param
name="html.stylesheet">../../../globaLib/css/phone.css
../../../globaLib/css/nmlDocbookUvmat.css
</xsl:param>

and, as I understand you may supply one (1)
<xsl:param name="html.stylesheet.type">text/css</xsl:param>
which would then apply to all the css files, I suppose.

I am looking for something like
<xsl:param name="html.stylesheet.media">only screen and (max-width: 
640px)</xsl:param>
ie a media attribyte, which no-one has invented yet?

Ideally you would need n sets of
<xsl:param name="html.stylesheet">...</xsl:param>
<xsl:param name="html.stylesheet.type">...</xsl:param>
<xsl:param name="html.stylesheet.media">...</xsl:param>
one set per stylesheet.

Suitable for a change request?

I think it timely.
No reason docbook shouldn't be widely used for the mobile platform.
My main concern would be graphics? What happens to my 900px wide graphic?

DaveP




---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to