PDF Chemestry -- Figuring it out
Posted: Mon Oct 09, 2017 7:26 pm
Hi... I'm trying to see if I can make this work for me as the PDF engine. I'll chunk my DITA
maps to generate a single XHTML file, and then take it from there. I'm very excited about this product, but I've encountered a few problems already:
My XHTML generates a table with an empty thead. I think that's because I use a simpletable in DITA, and I don't have a heading row in there. I just begin with simpletable, then strow. As far as I can tell, that's legal. Also, I don't want a heading row in the table. But the XHTML has an empty tablehead, and that breaks the Chemestry processor... It quits with a fatal error. For a mal-formed table row, could you just post a warning and skip it?
In the docs for Headers and Footers:
https://www.oxygenxml.com/doc/versions/ ... nd-footers
There seems to be an error for extracted text. You have this example:
@page :left {
@top-left: string(publication_title) " / " string(chapter_title);
}
But it fails to parse without a content: statement. I use the following :
@page :left {
@top-left {
content: string(chapter_title);
}
...
}
Finally, I can't get H2 or H1 to resize, and I can't figure out why. Any front-size specification I make is ignored. I'm totally flummoxed at this point...
I'll try to update as I learn things. Thanks!
maps to generate a single XHTML file, and then take it from there. I'm very excited about this product, but I've encountered a few problems already:
My XHTML generates a table with an empty thead. I think that's because I use a simpletable in DITA, and I don't have a heading row in there. I just begin with simpletable, then strow. As far as I can tell, that's legal. Also, I don't want a heading row in the table. But the XHTML has an empty tablehead, and that breaks the Chemestry processor... It quits with a fatal error. For a mal-formed table row, could you just post a warning and skip it?
In the docs for Headers and Footers:
https://www.oxygenxml.com/doc/versions/ ... nd-footers
There seems to be an error for extracted text. You have this example:
@page :left {
@top-left: string(publication_title) " / " string(chapter_title);
}
But it fails to parse without a content: statement. I use the following :
@page :left {
@top-left {
content: string(chapter_title);
}
...
}
Finally, I can't get H2 or H1 to resize, and I can't figure out why. Any front-size specification I make is ignored. I'm totally flummoxed at this point...
I'll try to update as I learn things. Thanks!