[Pkg-lyx-devel] Bug#344677: Acknowledgement (lyx: URL export for
latex/html is broken)
Anton Ivanov
arivanov at sigsegv.cx
Sun Dec 25 11:26:52 UTC 2005
-----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-----
More information about the Pkg-lyx-devel
mailing list