DITA to PDF via CSS image float support

Tygopit
Posts: 12
Joined: Fri Nov 27, 2020 12:08 pm

DITA to PDF via CSS image float support

Post by Tygopit » Wed Dec 23, 2020 1:34 pm

Hi,

Is it true that image floats are not supported in this kind of transformation?
Images with an outputclass attribute :float-.... are rendered as a background images. :(
Regards,
Piotr

Dan
Posts: 484
Joined: Mon Feb 03, 2003 10:56 am

Re: DITA to PDF via CSS image float support

Post by Dan » Mon Dec 28, 2020 11:10 am

Indeed, the float is experimental, so I would not recommend using it yet. I will increase the priority of this feature.

Many regards,
Dan

Tygopit
Posts: 12
Joined: Fri Nov 27, 2020 12:08 pm

Re: DITA to PDF via CSS image float support

Post by Tygopit » Mon Dec 28, 2020 12:49 pm

Hi Dan,

Could you possibly estimate a time frame?
I'd love to save the trees indeed ;-)
Regards,
Piotr

Dan
Posts: 484
Joined: Mon Feb 03, 2003 10:56 am

Re: DITA to PDF via CSS image float support

Post by Dan » Tue Dec 29, 2020 11:08 am

It will not be done on short term. If you are in a hurry, please consider using Antenna House or Prince XML as CSS processors, they are great layout engines. You can use the css.processor.type and css.processor.path.* parameters to specify the path to the processor to use. https://www.oxygenxml.com/doc/versions/ ... eters.html
Note that these processors will not offer support for specific Oxygen PDF Chemistry CSS extensions, like the one for extracting information from the document using oxy_xpath (and others listed here https://www.oxygenxml.com/doc/versions/ ... tions.html), and they do not support :before(n) :after(n) static pseudo elements.

Many regards,
Dan

Tygopit
Posts: 12
Joined: Fri Nov 27, 2020 12:08 pm

Re: DITA to PDF via CSS image float support

Post by Tygopit » Tue Dec 29, 2020 12:23 pm

Hi Dan,

I did tests with Antenna House, so I know that it supports that feature.
But due to the missing features you've mentioned, I prefer the Chemistry processor.

What do you mean saying "not to be done on short term"? Could you elaborate this a little?
Are we talking about weeks, months or years of development?
I'm OK without these floats but really would like to see the horizon. ;-)
Regards,
Piotr

Dan
Posts: 484
Joined: Mon Feb 03, 2003 10:56 am

Re: DITA to PDF via CSS image float support

Post by Dan » Thu Dec 31, 2020 10:52 am

Floats are a complex task. We are trying to implement it in the next major version, for the next autumn...
Many regards,
Dan

Post Reply