On Tue, Apr 20, 2010 at 10:24 AM, Hussein Shafie <[email protected]> wrote: > Very simple. If you add something like: > > --- > <xsl:param name="foo">wiz</xsl:param> > --- > > to your custom_fo.xsl, then you'll be able to specify "-p foo bar" from > the command-line. In such case, string "bar" is used instead of "wiz", > the default value specified in custom_fo.xsl.
Great! >> Ok, then, to be explicit, you are planning on allowing the kinds of >> font control (color, size) that we indicated? I think we will do our >> customization now with the understanding that a future release may >> allow us to use a completely standard release. > > Not really. I have just noticed that: > > [a] The proportional column widths of the tabular header are hardwired > to 2, 6, 2. > > [b] There are no attribute-sets allowing to individually style the cells > of the tabular header. > > We are just going to make this a little more flexible. > > From what I understand of your needs, you'll probably still have to > redefine things in your custom_fo.xsl. Which is why I had originally inquired as to whether our styling flexibility might be worth giving to other customers. I have managed to get the example you pointed me to http://www.xmlmind.com/ditac/_distrib/doc/manual/manual-6.html#customAttributeSet working, but there are some rough edges: at the very bottom of the page, it says: Alternatively add the following -xslt2 options to your ditac.options file. ... -xslt2 docx absolute_filename_of_custom_fo.xsl ... but the switch -xslt2 does not work. I think it should be -xslt instead. Also, on that page, there is a link: http://www.xmlmind.com/ditac/_distrib/doc/manual/customize/custom_fo.xsl however if you just blindly download that file assuming that the contents match the text on the web page, you'll find it doesn't work. http://www.xmlmind.com/ditac/_distrib/doc/manual/customize/custom_fo.xsl is missing the name space declarations (which are present on the main page). It looks as if I'm well on my way to simple customizations. Thanks! -Doug -- XMLmind DITA Converter Support List [email protected] http://www.xmlmind.com/mailman/listinfo/ditac-support

