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
|
||||
EndAutoNests
|
||||
NeedCProtect -1
|
||||
NoPassThruChars "%#"
|
||||
End
|
||||
|
||||
Style PlainFrame
|
||||
@ -578,7 +577,6 @@ Style FragileFrame
|
||||
PresetArg "fragile"
|
||||
EndArgument
|
||||
NeedCProtect 0
|
||||
NoPassThruChars ""
|
||||
End
|
||||
|
||||
Style AgainFrame
|
||||
|
@ -1882,7 +1882,8 @@ Buffer::ExportStatus Buffer::writeLaTeXSource(otexstream & os,
|
||||
// This is only set once per document (in master)
|
||||
if (!runparams.is_child) {
|
||||
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");
|
||||
}
|
||||
LYXERR(Debug::OUTFILE, " Buffer validation done.");
|
||||
@ -4208,7 +4209,8 @@ unique_ptr<TexRow> Buffer::getSourceCode(odocstream & os, string const & format,
|
||||
validate(features);
|
||||
runparams.use_polyglossia = features.usePolyglossia();
|
||||
runparams.use_babel = features.useBabel();
|
||||
runparams.use_hyperref = features.isRequired("hyperref");
|
||||
runparams.use_hyperref = features.isRequired("hyperref")
|
||||
|| features.isProvided("hyperref");
|
||||
// latex or literate
|
||||
otexstream ots(os);
|
||||
// output above
|
||||
|
Loading…
Reference in New Issue
Block a user