equation-figure@expanse="page" has no observed effect in pdf5-ml and other pdf transformations

27 views
Skip to first unread message

Andy Hall

unread,
Aug 27, 2019, 7:31:04 AM8/27/19
to DITA-OT Users

 

Hi all,

 

I expect this is a query that Makita-san can likely address but this may be more broadly applicable.

 

I am testing the use of a large (wide) MathML equation with the pdf5-ml transformation.

 

I have a trial license of AH Formatter 6.6.

I am using DITA OT 3.3.3.

 

 

When I set the equation-figure attribute expanse to "page", I observe no effect. As a result, the wide equation from exceeding the margins and right edge of the page (Letter size page).

 

I am also using the scale attribute and that has some effect but 50 is the lower limit of the scale attribute value and I cannot scale the equation down too much for legibility reasons.

 

I realize that my test equation does not *need* to be as wide as it as and could be broken up for the sake of display. That break-up work may be necessary. But if we can address this shortcoming in the pdf5-ml transformation, it would be a great help and the behavior would then correspond with the specification.

 

 

Reference: https://docs.oasis-open.org/dita/dita/v1.3/os/part1-base/langRef/attributes/displayAttributes.html

expanse="page"

Places the element on the left page margin for left-to-right presentation, or right page margin for right-to-left presentation.

 

Based on what I observe currently, the equation-figure@expanse="page" has no effect for the pdf5-ml transformation. In defense of pdf5-ml, equation-figure@expanse="page" appears to have no impact on the FOP PDF transform nor the transform "DITA Map PDF - based on HTML5 & CSS".

 

I am happy to share the equation-figure and MathML.

 

Should I create an issue?

Does anyone else have suggestions?


Thanks in advance,


Andy Hall

Toshihiko Makita

unread,
Aug 28, 2019, 8:33:07 AM8/28/19
to DITA-OT Users
Hi Andy,

> I am testing the use of a large (wide) MathML equation with the pdf5-ml transformation.

If you have GitHub account, please submit the issue about this problem with your test data.


I will look at it as soon as possible.

Regards,

-- 
/*--------------------------------------------------
 Toshihiko Makita
 Development Group. Antenna House, Inc. Ina Branch
 Web site:
 http://www.antenna.co.jp/
 http://www.antennahouse.com/
 --------------------------------------------------*/ 


2019年8月27日火曜日 20時31分04秒 UTC+9 Andy Hall:

Toshihiko Makita

unread,
Sep 6, 2019, 9:56:35 PM9/6/19
to DITA-OT Users
Hi Andy,

If you have not the account of GitHub, please send your sample data to Antenna House support.


I am planning next release of PDF5-ML plug-in within September and I want to include your request in this release.

Regards,

Toshihiko Makita

2019年8月28日水曜日 21時33分07秒 UTC+9 Toshihiko Makita:
Reply all
Reply to author
Forward
0 new messages