A minor glitch. I see XEE tries to implement the quotation feature of
CSS. Nice, but a quotation within a quotation should use a different
quotation mark (according the CSS Recommendation as well). Like in
American English <quote>foo <quote>foo</quote> foo</quote> should be
rendered similarly to "foo 'foo' foo" (but of course with
typographically correct quotation marks if possible), not like "foo
"foo" foo". (Here is a collection of quotation marks used by numerous
nations:
http://acjs.net/weblog/2005/06/10/language_specific_styling_quotation_marks/index.php)

<note>
If someone cares, here is a quick dirty fix that you can use in your
own DocBook addon. It also uses nice typographical quotation marks --
be sure the gliphs are available on the client the machines.

    @import url(xxe-config:docbook/css/docbook.css);

    ...

    /*
    
-------------------------------------------------------------------------------
    Quotations, assuming American English (XXE bug workaround)
    
-------------------------------------------------------------------------------
    */

    quote:before {
        content: "\201C";
        color: #000000;
    }

    quote:after {
        content: "\201D";
        color: #000000;
    }

    quote quote:before {
        content: "\2018";
    }

    quote quote:after {
        content: "\2019";
    }

    ...
</note>

-- 
Best regards,
 Daniel Dekany


Reply via email to