mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-09 18:31:04 +00:00
Limit the nopassthurchars case in beamer to URL
and also generally extend to classes that provide hyperref
This commit is contained in:
parent
2d86b88124
commit
6ef18c3583
@ -554,7 +554,6 @@ Style Frame
|
|||||||
Example,Examples,Fact,Lemma,Proof,Theorem,LyX-Code
|
Example,Examples,Fact,Lemma,Proof,Theorem,LyX-Code
|
||||||
EndAutoNests
|
EndAutoNests
|
||||||
NeedCProtect -1
|
NeedCProtect -1
|
||||||
NoPassThruChars "%#"
|
|
||||||
End
|
End
|
||||||
|
|
||||||
Style PlainFrame
|
Style PlainFrame
|
||||||
@ -578,7 +577,6 @@ Style FragileFrame
|
|||||||
PresetArg "fragile"
|
PresetArg "fragile"
|
||||||
EndArgument
|
EndArgument
|
||||||
NeedCProtect 0
|
NeedCProtect 0
|
||||||
NoPassThruChars ""
|
|
||||||
End
|
End
|
||||||
|
|
||||||
Style AgainFrame
|
Style AgainFrame
|
||||||
|
@ -1882,7 +1882,8 @@ Buffer::ExportStatus Buffer::writeLaTeXSource(otexstream & os,
|
|||||||
// This is only set once per document (in master)
|
// This is only set once per document (in master)
|
||||||
if (!runparams.is_child) {
|
if (!runparams.is_child) {
|
||||||
runparams.use_polyglossia = features.usePolyglossia();
|
runparams.use_polyglossia = features.usePolyglossia();
|
||||||
runparams.use_hyperref = features.isRequired("hyperref");
|
runparams.use_hyperref = features.isRequired("hyperref")
|
||||||
|
|| features.isProvided("hyperref");
|
||||||
runparams.use_CJK = features.mustProvide("CJK");
|
runparams.use_CJK = features.mustProvide("CJK");
|
||||||
}
|
}
|
||||||
LYXERR(Debug::OUTFILE, " Buffer validation done.");
|
LYXERR(Debug::OUTFILE, " Buffer validation done.");
|
||||||
@ -4208,7 +4209,8 @@ unique_ptr<TexRow> Buffer::getSourceCode(odocstream & os, string const & format,
|
|||||||
validate(features);
|
validate(features);
|
||||||
runparams.use_polyglossia = features.usePolyglossia();
|
runparams.use_polyglossia = features.usePolyglossia();
|
||||||
runparams.use_babel = features.useBabel();
|
runparams.use_babel = features.useBabel();
|
||||||
runparams.use_hyperref = features.isRequired("hyperref");
|
runparams.use_hyperref = features.isRequired("hyperref")
|
||||||
|
|| features.isProvided("hyperref");
|
||||||
// latex or literate
|
// latex or literate
|
||||||
otexstream ots(os);
|
otexstream ots(os);
|
||||||
// output above
|
// output above
|
||||||
|
Loading…
Reference in New Issue
Block a user