diff options
author | Raymond Ehlers <raymond.ehlers@gmail.com> | 2018-06-12 13:39:20 -0400 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2018-06-12 10:39:20 -0700 |
commit | 2c1a309c9f117f55acc4e8be32b037b273fd7732 (patch) | |
tree | 7e49e476a09b7e8d4515e20a002928fa92040d9e /src/Text | |
parent | 07bce91f4f1614967dd6f3698238d51f5290aae7 (diff) | |
download | pandoc-2c1a309c9f117f55acc4e8be32b037b273fd7732.tar.gz |
Beamer: Allow "noframenumbering" option (#4696)
As noted [here](https://tex.stackexchange.com/a/49805) ([beamer
commit here](https://github.com/josephwright/beamer/commit/ff70090f36b631667b472cfe675fc3514fe46f7e)),
`noframenumbering` is an undocumented, but long existing option
to disable frame numbering for a particular slide. This is useful
to avoid numbering backup slides.
Diffstat (limited to 'src/Text')
-rw-r--r-- | src/Text/Pandoc/Writers/LaTeX.hs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/Text/Pandoc/Writers/LaTeX.hs b/src/Text/Pandoc/Writers/LaTeX.hs index dde4fe86d..a3be5ecb7 100644 --- a/src/Text/Pandoc/Writers/LaTeX.hs +++ b/src/Text/Pandoc/Writers/LaTeX.hs @@ -402,7 +402,8 @@ elementToBeamer slideLevel (Sec lvl _num (ident,classes,kvs) tit elts) not (null $ query hasCodeBlock elts ++ query hasCode elts) let frameoptions = ["allowdisplaybreaks", "allowframebreaks", "fragile", "b", "c", "t", "environment", - "label", "plain", "shrink", "standout"] + "label", "plain", "shrink", "standout", + "noframenumbering"] let optionslist = ["fragile" | fragile && isNothing (lookup "fragile" kvs)] ++ [k | k <- classes, k `elem` frameoptions] ++ [k ++ "=" ++ v | (k,v) <- kvs, k `elem` frameoptions] |