-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ISO: Do diff with ISO Word CSS #20
Comments
Visual diff. Oh dear. Pls find attached CSS for the Word documents for ISO. They are cleaned up, and the corresponding Metanorma tags are given in comments after each style command. |
For now I think the solution is this. We can have XSL-FO extract common values from CSS (e.g. some representation of CSS, YAML, XML, whatever). https://stackoverflow.com/questions/17495152/using-external-css-in-xsl-fo/17548638 |
@ronaldtse
When I've wrote xslt, sure, I've used the properties from CSS to maximal matching.
In case of 'inline' style (as made) we only make change in local place of code. |
@Intelligent2013 are there any parameters that the CSS and XSL-FO stylesheets can share? The synchronization of both for a single type of document can be difficult without that. |
Yes - for example. font-family, font-size, font-style, font-weight, margin-*, text-align, text-decoration. They have identical behaviour. |
But it's not prevent for such case, when paragraph uses CSS class zzContents and redefine property 'margin-top':
p.zzContents, li.zzContents, div.zzContents { |
(This ticket is not ready to be acted on)
@opoudjis will be providing instructions to retrieve ISO Word CSS so that the PDF output can be 100% matching.
We will also need to do a visual diff between the two types of output.
The text was updated successfully, but these errors were encountered: