-
-
Notifications
You must be signed in to change notification settings - Fork 3.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Problem in beamer with certain formatting in section titles #2935
Comments
Can you provide a markdown file for us to use in input in testing, that allows the problem to be reproduced with the command line you provided? |
@jgm Not one that's for public consumption. I will try to email you instead. |
@jgm This tends to break when headers have embedded newlines for visual effect. For example:
will cause the error. However, simply removing the backslash seems to resolve the issue, but prevents one from putting in sensible line breaks in long slide titles. |
This has nothing to do with themes. You can reproduce it with
Although section headers containing line breaks seem to work in LaTeX, they don't work in Beamer. I don't know why, but I don't see anything pandoc can do about this. Note: although this method of getting a line break in a header works in pandoc, it's not at all portable, and may not work in the future. I would avoid this. |
OK, it's slightly more complex than I thought!
we get the error. But with
we do not. The difference in the latex source produced can be illustrated thus:
|
Relevant thread here: http://tex.findincity.net/view/63539927362983362659384/using-textit-in-section-with-beamer-class Note that we get similar problems if instead of a line break we use, say, an emphasized word:
I've tried inserting |
Really this has to do with |
Same problem here. |
This seems to have been fixed, I can no longer reproduce the issue. Both of the following compile fine with pandoc 2.13:
|
Problem
The following results in an error:
The error is:
However, removing the theme declaration allows the PDF to build, but (obviously) with the theme. This appears to be true regardless of what theme is selected. I also tried it with Frankfurt to be sure it wasn't just the one theme.
Environment
The text was updated successfully, but these errors were encountered: