diff options
| author | Jesse Rosenthal <jrosenthal@jhu.edu> | 2014-09-09 10:56:37 -0400 |
|---|---|---|
| committer | Jesse Rosenthal <jrosenthal@jhu.edu> | 2014-09-09 10:56:37 -0400 |
| commit | 1326a417808c5696614908a51729b381a69fd111 (patch) | |
| tree | 77cce8b1a24dc91450848fba0c60240373d74c40 /src/Text/Pandoc/Options.hs | |
| parent | 132814aeb68fc7f50c2ab8370339e0c5ffb7793d (diff) | |
| download | pandoc-1326a417808c5696614908a51729b381a69fd111.tar.gz | |
LaTeX writer: Protect graphics in headers.
Graphics in `\section`/`\subsection` etc titles need to be `\protect`ed.
This adds a state value and manually turns it on before every invocation
of `sectionHeader` and manually turns it off after. Using a writer value
and applying `local` would probably be cleaner, but this fits with the
current style.
Diffstat (limited to 'src/Text/Pandoc/Options.hs')
0 files changed, 0 insertions, 0 deletions
