Beamer: avoid empty error list when using only inside itemize
up vote
0
down vote
favorite
I'm using a list with itemize as follows:
begin{itemize}
item SuperTopic 1
begin{itemize}
only<2->{item SubTopic 1}
only<3->{item SubTopic 2}
end{itemize}
item SuperTopic 2
end{itemize}
This produces an error saying that I do have an empty list (the 2nd level itemize), although visually works fine.
I'm not using item<2-> because I don't want to occupy that space in the first slide.
Is there a way to prevent the error?
beamer itemize only
New contributor
Migdress is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
add a comment |
up vote
0
down vote
favorite
I'm using a list with itemize as follows:
begin{itemize}
item SuperTopic 1
begin{itemize}
only<2->{item SubTopic 1}
only<3->{item SubTopic 2}
end{itemize}
item SuperTopic 2
end{itemize}
This produces an error saying that I do have an empty list (the 2nd level itemize), although visually works fine.
I'm not using item<2-> because I don't want to occupy that space in the first slide.
Is there a way to prevent the error?
beamer itemize only
New contributor
Migdress is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
1
Welcome to TeX.SX! How aboutitem<2-> Subtopic 1instead ofonly<2->{item SubTopic 1}?
– gusbrs
2 hours ago
Thanks! Because I don't want to visually put a blank line if there is not item yet, the item<2-> puts a blank line in the first slide and fills it in the second. The only command do what I want.
– Migdress
2 hours ago
Well, but that will result in an empty itemize in the first slide, as the error message says.
– gusbrs
2 hours ago
Yes, that's the question. So do you think there is not a way to accomplish what I want?
– Migdress
2 hours ago
add a comment |
up vote
0
down vote
favorite
up vote
0
down vote
favorite
I'm using a list with itemize as follows:
begin{itemize}
item SuperTopic 1
begin{itemize}
only<2->{item SubTopic 1}
only<3->{item SubTopic 2}
end{itemize}
item SuperTopic 2
end{itemize}
This produces an error saying that I do have an empty list (the 2nd level itemize), although visually works fine.
I'm not using item<2-> because I don't want to occupy that space in the first slide.
Is there a way to prevent the error?
beamer itemize only
New contributor
Migdress is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
I'm using a list with itemize as follows:
begin{itemize}
item SuperTopic 1
begin{itemize}
only<2->{item SubTopic 1}
only<3->{item SubTopic 2}
end{itemize}
item SuperTopic 2
end{itemize}
This produces an error saying that I do have an empty list (the 2nd level itemize), although visually works fine.
I'm not using item<2-> because I don't want to occupy that space in the first slide.
Is there a way to prevent the error?
beamer itemize only
beamer itemize only
New contributor
Migdress is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
New contributor
Migdress is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
edited 2 hours ago
Kurt
34.1k846157
34.1k846157
New contributor
Migdress is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
asked 2 hours ago
Migdress
32
32
New contributor
Migdress is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
New contributor
Migdress is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
Migdress is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
1
Welcome to TeX.SX! How aboutitem<2-> Subtopic 1instead ofonly<2->{item SubTopic 1}?
– gusbrs
2 hours ago
Thanks! Because I don't want to visually put a blank line if there is not item yet, the item<2-> puts a blank line in the first slide and fills it in the second. The only command do what I want.
– Migdress
2 hours ago
Well, but that will result in an empty itemize in the first slide, as the error message says.
– gusbrs
2 hours ago
Yes, that's the question. So do you think there is not a way to accomplish what I want?
– Migdress
2 hours ago
add a comment |
1
Welcome to TeX.SX! How aboutitem<2-> Subtopic 1instead ofonly<2->{item SubTopic 1}?
– gusbrs
2 hours ago
Thanks! Because I don't want to visually put a blank line if there is not item yet, the item<2-> puts a blank line in the first slide and fills it in the second. The only command do what I want.
– Migdress
2 hours ago
Well, but that will result in an empty itemize in the first slide, as the error message says.
– gusbrs
2 hours ago
Yes, that's the question. So do you think there is not a way to accomplish what I want?
– Migdress
2 hours ago
1
1
Welcome to TeX.SX! How about
item<2-> Subtopic 1 instead of only<2->{item SubTopic 1}?– gusbrs
2 hours ago
Welcome to TeX.SX! How about
item<2-> Subtopic 1 instead of only<2->{item SubTopic 1}?– gusbrs
2 hours ago
Thanks! Because I don't want to visually put a blank line if there is not item yet, the item<2-> puts a blank line in the first slide and fills it in the second. The only command do what I want.
– Migdress
2 hours ago
Thanks! Because I don't want to visually put a blank line if there is not item yet, the item<2-> puts a blank line in the first slide and fills it in the second. The only command do what I want.
– Migdress
2 hours ago
Well, but that will result in an empty itemize in the first slide, as the error message says.
– gusbrs
2 hours ago
Well, but that will result in an empty itemize in the first slide, as the error message says.
– gusbrs
2 hours ago
Yes, that's the question. So do you think there is not a way to accomplish what I want?
– Migdress
2 hours ago
Yes, that's the question. So do you think there is not a way to accomplish what I want?
– Migdress
2 hours ago
add a comment |
1 Answer
1
active
oldest
votes
up vote
1
down vote
accepted
Well, given you'd like to not have the whole sublevel of itemize as the overlays unfold, you could use overlays also on the environment call.
documentclass{beamer}
begin{document}
begin{frame}
frametitle{Title}
begin{itemize}
item SuperTopic 1
only<2->{begin{itemize}}
only<2->{item SubTopic 1}
only<3->{item SubTopic 2}
only<2->{end{itemize}}
item SuperTopic 2
end{itemize}
end{frame}
end{document}
But this is a somewhat fragile construction, you can easily end up with an inconsistent structure, if you get your overlays wrong.

@marmot Yes, that is usually in the key "If you really want this, you can have it, but I wouldn't do this myself..." :)
– gusbrs
2 hours ago
@marmot By the way, I'm trying to convert this to an animated gif as you taught me earlier, but no success. The document must be prepared for it, or a convert on any pdf should work?
– gusbrs
2 hours ago
1
The trick isconvert -density 300 -delay 96 -loop 0 -alpha remove multipage.pdf animated.giffrom tex.stackexchange.com/a/136919/121799
– marmot
2 hours ago
@marmot Yeah, that's what I was trying, to getconvert-im6.q16: not authorized multipage.pdf' @ error/constitute.c/ReadImage/412. But never mind, I'll sort this out eventually.
– gusbrs
2 hours ago
@marmot Oh, thank you!
– gusbrs
2 hours ago
add a comment |
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
1
down vote
accepted
Well, given you'd like to not have the whole sublevel of itemize as the overlays unfold, you could use overlays also on the environment call.
documentclass{beamer}
begin{document}
begin{frame}
frametitle{Title}
begin{itemize}
item SuperTopic 1
only<2->{begin{itemize}}
only<2->{item SubTopic 1}
only<3->{item SubTopic 2}
only<2->{end{itemize}}
item SuperTopic 2
end{itemize}
end{frame}
end{document}
But this is a somewhat fragile construction, you can easily end up with an inconsistent structure, if you get your overlays wrong.

@marmot Yes, that is usually in the key "If you really want this, you can have it, but I wouldn't do this myself..." :)
– gusbrs
2 hours ago
@marmot By the way, I'm trying to convert this to an animated gif as you taught me earlier, but no success. The document must be prepared for it, or a convert on any pdf should work?
– gusbrs
2 hours ago
1
The trick isconvert -density 300 -delay 96 -loop 0 -alpha remove multipage.pdf animated.giffrom tex.stackexchange.com/a/136919/121799
– marmot
2 hours ago
@marmot Yeah, that's what I was trying, to getconvert-im6.q16: not authorized multipage.pdf' @ error/constitute.c/ReadImage/412. But never mind, I'll sort this out eventually.
– gusbrs
2 hours ago
@marmot Oh, thank you!
– gusbrs
2 hours ago
add a comment |
up vote
1
down vote
accepted
Well, given you'd like to not have the whole sublevel of itemize as the overlays unfold, you could use overlays also on the environment call.
documentclass{beamer}
begin{document}
begin{frame}
frametitle{Title}
begin{itemize}
item SuperTopic 1
only<2->{begin{itemize}}
only<2->{item SubTopic 1}
only<3->{item SubTopic 2}
only<2->{end{itemize}}
item SuperTopic 2
end{itemize}
end{frame}
end{document}
But this is a somewhat fragile construction, you can easily end up with an inconsistent structure, if you get your overlays wrong.

@marmot Yes, that is usually in the key "If you really want this, you can have it, but I wouldn't do this myself..." :)
– gusbrs
2 hours ago
@marmot By the way, I'm trying to convert this to an animated gif as you taught me earlier, but no success. The document must be prepared for it, or a convert on any pdf should work?
– gusbrs
2 hours ago
1
The trick isconvert -density 300 -delay 96 -loop 0 -alpha remove multipage.pdf animated.giffrom tex.stackexchange.com/a/136919/121799
– marmot
2 hours ago
@marmot Yeah, that's what I was trying, to getconvert-im6.q16: not authorized multipage.pdf' @ error/constitute.c/ReadImage/412. But never mind, I'll sort this out eventually.
– gusbrs
2 hours ago
@marmot Oh, thank you!
– gusbrs
2 hours ago
add a comment |
up vote
1
down vote
accepted
up vote
1
down vote
accepted
Well, given you'd like to not have the whole sublevel of itemize as the overlays unfold, you could use overlays also on the environment call.
documentclass{beamer}
begin{document}
begin{frame}
frametitle{Title}
begin{itemize}
item SuperTopic 1
only<2->{begin{itemize}}
only<2->{item SubTopic 1}
only<3->{item SubTopic 2}
only<2->{end{itemize}}
item SuperTopic 2
end{itemize}
end{frame}
end{document}
But this is a somewhat fragile construction, you can easily end up with an inconsistent structure, if you get your overlays wrong.

Well, given you'd like to not have the whole sublevel of itemize as the overlays unfold, you could use overlays also on the environment call.
documentclass{beamer}
begin{document}
begin{frame}
frametitle{Title}
begin{itemize}
item SuperTopic 1
only<2->{begin{itemize}}
only<2->{item SubTopic 1}
only<3->{item SubTopic 2}
only<2->{end{itemize}}
item SuperTopic 2
end{itemize}
end{frame}
end{document}
But this is a somewhat fragile construction, you can easily end up with an inconsistent structure, if you get your overlays wrong.

edited 2 hours ago
marmot
80.1k491171
80.1k491171
answered 2 hours ago
gusbrs
6,2992838
6,2992838
@marmot Yes, that is usually in the key "If you really want this, you can have it, but I wouldn't do this myself..." :)
– gusbrs
2 hours ago
@marmot By the way, I'm trying to convert this to an animated gif as you taught me earlier, but no success. The document must be prepared for it, or a convert on any pdf should work?
– gusbrs
2 hours ago
1
The trick isconvert -density 300 -delay 96 -loop 0 -alpha remove multipage.pdf animated.giffrom tex.stackexchange.com/a/136919/121799
– marmot
2 hours ago
@marmot Yeah, that's what I was trying, to getconvert-im6.q16: not authorized multipage.pdf' @ error/constitute.c/ReadImage/412. But never mind, I'll sort this out eventually.
– gusbrs
2 hours ago
@marmot Oh, thank you!
– gusbrs
2 hours ago
add a comment |
@marmot Yes, that is usually in the key "If you really want this, you can have it, but I wouldn't do this myself..." :)
– gusbrs
2 hours ago
@marmot By the way, I'm trying to convert this to an animated gif as you taught me earlier, but no success. The document must be prepared for it, or a convert on any pdf should work?
– gusbrs
2 hours ago
1
The trick isconvert -density 300 -delay 96 -loop 0 -alpha remove multipage.pdf animated.giffrom tex.stackexchange.com/a/136919/121799
– marmot
2 hours ago
@marmot Yeah, that's what I was trying, to getconvert-im6.q16: not authorized multipage.pdf' @ error/constitute.c/ReadImage/412. But never mind, I'll sort this out eventually.
– gusbrs
2 hours ago
@marmot Oh, thank you!
– gusbrs
2 hours ago
@marmot Yes, that is usually in the key "If you really want this, you can have it, but I wouldn't do this myself..." :)
– gusbrs
2 hours ago
@marmot Yes, that is usually in the key "If you really want this, you can have it, but I wouldn't do this myself..." :)
– gusbrs
2 hours ago
@marmot By the way, I'm trying to convert this to an animated gif as you taught me earlier, but no success. The document must be prepared for it, or a convert on any pdf should work?
– gusbrs
2 hours ago
@marmot By the way, I'm trying to convert this to an animated gif as you taught me earlier, but no success. The document must be prepared for it, or a convert on any pdf should work?
– gusbrs
2 hours ago
1
1
The trick is
convert -density 300 -delay 96 -loop 0 -alpha remove multipage.pdf animated.gif from tex.stackexchange.com/a/136919/121799– marmot
2 hours ago
The trick is
convert -density 300 -delay 96 -loop 0 -alpha remove multipage.pdf animated.gif from tex.stackexchange.com/a/136919/121799– marmot
2 hours ago
@marmot Yeah, that's what I was trying, to get
convert-im6.q16: not authorized multipage.pdf' @ error/constitute.c/ReadImage/412. But never mind, I'll sort this out eventually.– gusbrs
2 hours ago
@marmot Yeah, that's what I was trying, to get
convert-im6.q16: not authorized multipage.pdf' @ error/constitute.c/ReadImage/412. But never mind, I'll sort this out eventually.– gusbrs
2 hours ago
@marmot Oh, thank you!
– gusbrs
2 hours ago
@marmot Oh, thank you!
– gusbrs
2 hours ago
add a comment |
Migdress is a new contributor. Be nice, and check out our Code of Conduct.
Migdress is a new contributor. Be nice, and check out our Code of Conduct.
Migdress is a new contributor. Be nice, and check out our Code of Conduct.
Migdress is a new contributor. Be nice, and check out our Code of Conduct.
Thanks for contributing an answer to TeX - LaTeX Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Some of your past answers have not been well-received, and you're in danger of being blocked from answering.
Please pay close attention to the following guidance:
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f462878%2fbeamer-avoid-empty-error-list-when-using-only-inside-itemize%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
1
Welcome to TeX.SX! How about
item<2-> Subtopic 1instead ofonly<2->{item SubTopic 1}?– gusbrs
2 hours ago
Thanks! Because I don't want to visually put a blank line if there is not item yet, the item<2-> puts a blank line in the first slide and fills it in the second. The only command do what I want.
– Migdress
2 hours ago
Well, but that will result in an empty itemize in the first slide, as the error message says.
– gusbrs
2 hours ago
Yes, that's the question. So do you think there is not a way to accomplish what I want?
– Migdress
2 hours ago