Beamer writer: avoid duplicated fragile
property in some cases.
Closes #5208.
This commit is contained in:
parent
253f342a80
commit
7e481d73cf
1 changed files with 3 additions and 1 deletions
|
@ -471,7 +471,9 @@ elementToBeamer slideLevel (Sec lvl _num (ident,classes,kvs) tit elts)
|
|||
"b", "c", "t", "environment",
|
||||
"label", "plain", "shrink", "standout",
|
||||
"noframenumbering"]
|
||||
let optionslist = ["fragile" | fragile && isNothing (lookup "fragile" kvs)] ++
|
||||
let optionslist = ["fragile" | fragile
|
||||
, isNothing (lookup "fragile" kvs)
|
||||
, "fragile" `notElem` classes] ++
|
||||
[k | k <- classes, k `elem` frameoptions] ++
|
||||
[k ++ "=" ++ v | (k,v) <- kvs, k `elem` frameoptions]
|
||||
let options = if null optionslist
|
||||
|
|
Loading…
Add table
Reference in a new issue