I need help getting enumitem's resume option to work with newenvironment. Here's an example where the first two enumeration's resume option is not working but the last two is working:
Could you use \newlist and \setlist instead? Below is close to what you want, but uses a slightly different syntax. (E.g., if you want to change "d" to something else, you'd need to use \setpvnl.)
I want the number of the label to have a different counter for every unique letter. With your solution the counter is not reset when I change from label prefix 'd' to 'e'.
Ideally I want a solution that is not depending on if I know ahead of time what labels I need. Thanks for your suggestion though. That is the best I've got yet.
You could also use my first suggestion with [start=1] after \begin{pvn} when you begin a new series. But I know that's not pretty. It does seem like there should be a solution to this. I'll think about whether I can come up with something else.
Thanks. I'm afraid controlling the counter by hand as in \begin{pvn}[start=1] is not an option since I want the series to be able to overlap with a result such as the following (with or without running text between the list items):
d1 bla
d2 bla
e1 bla
d3 bla
e2 bla
I'm using the labels to list important propositions by different authors so I can make cross-references to them easily. The letters, 'd' and 'e' in the example, are to denote the first letter in the authors surname.
I may have figured out a way around the resume option not working within the newenvironment. I'm trying to make a survey, and created a new environment to quickly create survey questions and answers. I at first was running into similar problems with resume option and \newenvironment.
First I tried just using enumerate within the newenvironment instead of defining the new list, but after reading this thread I figured I'd try defining the newlist and setting the resume option before the newenvironment, but that also did not work.
I was about to just post the above code and give up for awhile, but instead I tried defining my own counter to use within the newenvironment and got a resume-like ability. I'm not sure if it would solve the OP's problem (its over a year old anyways), but maybe it will help others trying to use resume in newenvironment.