-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi,

The latex export method in inseturl.C under src/insets is obviously
b0rken.

The following snippet yeilds the correct result in LaTeX and hevea
html export.

Brgds,

A


int InsetUrl::latex(Buffer const *, ostream & os,
                    bool fragile, bool /*free_spc*/) const
{
        if (fragile)
                os << "\\protect";
        if (getOptions().empty()) {
            os << "\\url{" << getContents() << '}';
        } else {
            os << "\\url{" << getContents() << "}{" << getOptions() <<
'}';
        }
        return 0;
}



-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFDroH7/NpXLt3l5xURAsR1AJ0T7afqV0LRMQEmeGEx2FFPRuJcRACfZvpW
YIZFj7AlL7HsC7iII2kHP/M=
=TTn5
-----END PGP SIGNATURE-----



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to