[Openstack-docs] <table> conventions and PDF results
Diane Fleming
diane.fleming at RACKSPACE.COM
Tue Aug 13 16:47:01 UTC 2013
I think the build currently breaks with call tables. The validation script might also need to change.
Sent from my iPhone
On Aug 12, 2013, at 11:35 AM, "David Cramer" <david.cramer at rackspace.com> wrote:
> I've adapted an xslt I found to convert CALS tables to HTML tables and
> posted it here for now (it's xslt 2.0, so use Saxon 9.x to run it):
> http://feline.thingbag.net/docbook/cals2html.xsl
>
> I'm pondering putting it in our pipeline so that if anybody uses a CALS
> table it's converted to html, but I'm about to cut a release with some
> other stuff (olink etc) and don't want to bundle this in with that in
> case this turns out to be 1/2 baked. I should cut that release today
> though so I can have this in the SNAPSHOT after that so you can test it
> and let me know if there are any issues.
>
> I should really figure out what's up with fop and our CALS tables, but
> this is something I can do quickly.
>
> Regards,
> David
>
> Btw., here's the xslt I adapted:
> http://www.biglist.com/lists/xsl-list/archives/200202/msg00666.html
>
> On 08/12/2013 08:56 AM, David Cramer wrote:
>> On 08/12/2013 02:11 AM, Summer Long wrote:
>>> Hello all,
>>> I just ran into an interesting problem. Because my contributions have
>>> been building, I missed that the conventions for <table> were different.
>>>
>>> This is what I used:
>>> <table frame='all'><title>TableTitle</title>
>>> <tgroup cols='2' align='left' colsep='1' rowsep='1'>
>>> <colspec colname='c1' colwidth="20%"/>
>>> <colspec colname='c2' colwidth="80%"/>
>> ...
>>
>> Ok, that's a CALS table. I'm not sure why they're not formatted
>> correctly in pdf. Let me see if I can either figure that out or do a
>> preprocessing step to convert CALS to html before handing them off to
>> the DocBook xslts.
>>
>>> This looks fine in HTML (which is where I edit), but doesn't work in the
>>> PDF. Is there any way that we could change the build process so that it
>>> works in PDF as well? Am sure other noobs might make the same mistake,
>>> and content-wise, it doesn't make a difference.
>>>
>>> thanks,
>>> Summer
>>>
>>> Summer Long
>>> OpenStack Documentation
>>> Engineering Content Services
>>>
>>> Red Hat Asia Pacific
>>> Brisbane, Australia
>>> slong at redhat.com <mailto:slong at redhat.com>
>>>
>>>
>>>
>>>
>>> _______________________________________________
>>> Openstack-docs mailing list
>>> Openstack-docs at lists.openstack.org
>>> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-docs
>
>
> _______________________________________________
> Openstack-docs mailing list
> Openstack-docs at lists.openstack.org
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-docs
More information about the Openstack-docs
mailing list