Open jabranham opened 8 years ago
Hello everyone
I felt that this implementation of Standout didn't work properly, I think it belongs to metropolis?
For example, if I translate the following code from Markdown to beamer (. tex)
## Standout frame {.standout}
Standout (works as expected)
## Should be a normal one
but still a standout Frame.
Then I get the following text output.
\begin{frame}[fragile,standout]{%
\protect\hypertarget{standout-frame}{%
Standout frame}}
Standout (works as expected)
\end{frame}
\begin{frame}[fragile]{%
\protect\hypertarget{should-be-a-normal-one}{%
Should be a normal one}}
but still a standout Frame.
\end{frame}
In the end it look like this in PDF.
Did I do something wrong?
Thanks in Advance.
I have the same problem, using pandoc 2.1.3 and the most recent version of metropolis. Herculosh, did you solve this?
I have the same problem as @herculosh . Is there a manual work around for this? Does a new issue need to be created?
scottmartincampbell notifications@github.com writes:
I have the same problem, using pandoc 2.1.3 and the most recent version of metropolis. Herculosh, did you solve this?
pandoc 2.5 is the latest release. Why don't you try that?
scottmartincampbell notifications@github.com writes: I have the same problem, using pandoc 2.1.3 and the most recent version of metropolis. Herculosh, did you solve this? pandoc 2.5 is the latest release. Why don't you try that?
FYI I am using Pandoc 2.5 and just came across this problem yesterday. (BTW thanks for this amazing piece of software!)
Reopening! Can someone look at the latex source pandoc produces for this input and say how it should be changed to get it to work?
Removing ignorenonframetext beamer option in the template fix the problem.
I work around this issue like this:
---
title: ...
subtitle: ...
author: ...
institute: ...
date: \today
header-includes:
- '\usetheme{metropolis}'
- '\makeatletter'
- '\beamer@ignorenonframefalse'
- '\makeatother'
---
## Standout frame {.standout}
Standout (works as expected)
## Normal frame
Normal (works as expected)
Interesting that \beamer@ignorenonframefalse
fixes the problem...but why?
In general, we use ignorenonframetext; is there an explanation of why this breaks standout?
Also, does standout break in this way just on this one theme, or in general?
Related: #4786
Still having the same problem
Standout frames seem to work fine with matze/mtheme@2fa6084 and pandoc 2.13 with this test document.
Note that, at the time of writing, you still have to use the metropolis theme from the master branch of its repository because the current latest release predates the theme fix.
I believe this issue can be closed.
I'm sorry, this is apparently what happened:
I did make sty
in master and copied the resulting .sty
files to beamertheme/
in my pandoc project.\
I added theme: metropolis
in my default.yaml
.\
Then I got the described behavior.
When I copied the files to my project root, the problem was gone.
I deleted theme: metropolis
in my default.yaml
and added to my settings.tex
:
\usepackage{beamertheme/beamercolorthememetropolis}
\usepackage{beamertheme/beamerfontthememetropolis}
\usepackage{beamertheme/beamerinnerthememetropolis}
\usepackage{beamertheme/beamerouterthememetropolis}
\usepackage{beamertheme/beamerthememetropolis}
had to omit beamertheme/beamercolorthememetropolis-highcontrast.sty
(contrast too high)
and beamertheme/pgfplotsthemetol.sty
(error when running pandoc
)
Currently we can pass frame attributes to beamer like so:
To get a plain frame. However, pandoc does not pass through just any property - in particular, it is not currently possible to use the
standout
option from the metropolis theme. Is it possible to pass through other frame attributes?Related issue on the metropolis theme repo: https://github.com/matze/mtheme/issues/205