[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: Re: [dita] Valid colwidth values
DITA tables conform to the OASIS XML table interchange model. That standard does not define "%" as a recognized unit. Any use of percentages can be replaced with the equivalent "n*", e.g., 20% becomes "20*". From https://www.oasis-open.org/specs/tm9901.html ============= 3.3.2.3. colwidth â column width specification Either proportional measure of the form number*, e.g., â5*â for 5 times the proportion, or â*â (which is equivalent to â1*â); fixed measure, e.g., 2pt for 2 point, 3pi for 3 pica. (Mixed measure, e.g., 2*+3pt, while allowed in the full CALS table model, is not supported in this Exchange model.) Coefficients are positive integers or fixed point numbers; for fixed point numbers, a leading (possibly 0) integer part is required, and implementations should support at least 2 decimal places. A value of "" [the null string] is treated as a proportional measure of â1*â. The fixed unit values are case insensitive. The standard list of allowed unit values is âptâ (points), âcmâ (centimeters), âmmâ (millimeters), âpiâ (picas), and âinâ (inches). The default fixed unit should be interpreted as âptâ if neither a proportion nor a fixed unit is specified. ============= Cheers, E. -- Eliot Kimber http://contrext.com ïOn 8/14/19, 3:06 PM, "Bill Burns" <dita@lists.oasis-open.org on behalf of bburns@healthwise.org> wrote: Hello, We've been going round about on the question of valid @colwidth values. The documentation on Oxygen's site indicates that you can use proportional sizing using * and numeric values or fixed values using pt, cm, mm, pi, or in. I don't seen anyone using % values, but given that the allowed values are all CDATA, it doesn't seem this should or would be precluded. Yet one of our engineers insists that % isn't valid. Oxygen validates with no errors. The DITA-OT PDF output seems to render it correctly. SDL's Publication Manager and Web Client previews seem to render them correctly. So is there a reason not to use %? If it is invalid, where is this documented? Thanks, Bill Burns Content Architect | Healthwise bburns@healthwise.org<mailto:bburns@healthwise.org> | www.healthwise.org<http://www.healthwise.org/> 208.331.6917 (office) | 208.345.1897 (fax) [cid:image001.png@01D552A6.F6213D80] --------------------------------------------------------------------- To unsubscribe from this mail list, you must leave the OASIS TC that generates this mail. Follow this link to all your TCs in OASIS at: https://www.oasis-open.org/apps/org/workgroup/portal/my_workgroups.php
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]