Re: [XXE] How to show a "hanging indent paragraph" via XXE's CSS
On 08/06/2013 06:14 PM, Andy Black wrote: We have had a request to add a "hanging indent paragraph" element to our DTD for linguistic documents. I am having a difficult time figuring out how to render this paragraph in XXE via CSS. Trying the following does not work because the negative value for text-indent is ignored. hangingIndent { display:block; /* negative text-indent does not work */ text-indent:-.25in; padding-left: .25in; margin: 1.33ex 0; } If I use a positive value, then text-indent is applied but that is the incorrect rendering. Is there a way to get the CSS to show a hanging indent paragraph? (We're using version 5.3.0 of XXE.) There is a bug which causes CSS property text-indent to be ignored when its value was negative. I mean, as if a negative value was not allowed by the CSS standard. This bug is now fixed in the development version of XXE. The bug fix will be available in the next release of XXE. -- XMLmind XML Editor Support List xmleditor-support@xmlmind.com http://www.xmlmind.com/mailman/listinfo/xmleditor-support
Re: [XXE] How to show a "hanging indent paragraph" via XXE's CSS
El 07/08/2013 9:10, Hussein Shafie escribió: On 08/06/2013 06:14 PM, Andy Black wrote: We have had a request to add a "hanging indent paragraph" element to our DTD for linguistic documents. I am having a difficult time figuring out how to render this paragraph in XXE via CSS. Trying the following does not work because the negative value for text-indent is ignored. hangingIndent { display:block; /* negative text-indent does not work */ text-indent:-.25in; padding-left: .25in; margin: 1.33ex 0; } If I use a positive value, then text-indent is applied but that is the incorrect rendering. Is there a way to get the CSS to show a hanging indent paragraph? (We're using version 5.3.0 of XXE.) There is a bug which causes CSS property text-indent to be ignored when its value was negative. I mean, as if a negative value was not allowed by the CSS standard. I always thought that this limitation was not a bug, but intentional. In order to properly select elements with a mouse click is seems necessary that the rendered contents of an element do not extend beyond its bounding box. Anyway a safe negative indent or padding would be possible to some extent if they meet some conditions: margin + padding >= 0 margin + padding + indent >= 0 This bug is now fixed in the development version of XXE. The bug fix will be available in the next release of XXE. Glad to ear this. -- Manuel Collado - http://lml.ls.fi.upm.es/~mcollado -- XMLmind XML Editor Support List xmleditor-support@xmlmind.com http://www.xmlmind.com/mailman/listinfo/xmleditor-support
[XXE] Microsoft vs the world – a tip to help the world fight back
Delivered another DITA document-map as Web Help earlier this week, which pleased the developer involved. The problem we noticed was that none of the SVG graphics displayed correctly; colleague checked and found an answer. Try adding a meta tag to the top of your HTML page to force IE9 mode: I thought I'd mention it here in case it helps anyone else out. En passant, I'm still recommending XML Mind (and DITA for the impatient) to each new colleague I impress with DITA; and enjoying working with the program. Powerful without being intrusive! -- XMLmind XML Editor Support List xmleditor-support@xmlmind.com http://www.xmlmind.com/mailman/listinfo/xmleditor-support
Re: [XXE] Microsoft vs the world – a tip to help the world fight back
On 08/07/2013 02:26 PM, Niels Grundtvig Nielsen wrote: Delivered another DITA document-map as Web Help earlier this week, which pleased the developer involved. The problem we noticed was that none of the SVG graphics displayed correctly; colleague checked and found an answer. Try adding a meta tag to the top of your HTML page to force IE9 mode: I thought I'd mention it here in case it helps anyone else out. Thanks for this information. En passant, I'm still recommending XML Mind (and DITA for the impatient) to each new colleague I impress with DITA; and enjoying working with the program. Powerful without being intrusive! -- XMLmind XML Editor Support List xmleditor-support@xmlmind.com http://www.xmlmind.com/mailman/listinfo/xmleditor-support