> > I can preview newfile9 but not newfile10. Does anyone know what is wrong
> > here?
>
> \usepackage{pifont}
> (for \ding{118}) is missing in the preamble.
ah!

> XForms' dialog inserts it.

no it doesn't. these bullets are usually not saved as strings. at the moment 
qt saves them as strings. if we want do so we need to make sure that the 
necessary packages are added/removed to/from the preamble.

packages are handled in buffer.C:

// the bullet shapes are buffer level not paragraph level
// so they are tested here
for (int i = 0; i < 4; ++i) {
        if (params.user_defined_bullets[i] != ITEMIZE_DEFAULTS[i]) {
             int const font = params.user_defined_bullets[i].getFont();
                if (font == 0) {
                        int const c = params
                                    .user_defined_bullets[i]
                                    .getCharacter();
                        if (c == 16
                                   || c == 17
                                   || c == 25
                                   || c == 26
                                   || c == 31) { 
                                           features.require("latexsym"); }
                        } else if (font == 1) {
                                features.require("amssymb");
                } else if ((font >= 2 && font <= 5)) {
                        features.require("pifont");
                }
        }
}


<sigh>

thanks, Ed.

Reply via email to