Add ability to restart numbering#210
Conversation
|
Hi @yurac. I'm sorry to bother you. I'm trying to get ordered list resetting working, but attempting to do so while using the main python-docx distribution in my environment for now (waiting until such time as your patch, or a similar one, is incorporated). Anyway, I just copy/pasted what you've got going on here: #25, and I'm trying to simply use it directly in my script. However, my elements aren't renumbering between separated ordered lists, and I'm a bit stumped. Can I beg three minutes of your time? Here's my clumsy attempt to use your method in-line in my script: No errors, just nothing's happening (I'd rather have errors). My two lists simply continue numbering, 1 2 3 4 5 6, rather than 1 2 3 1 2 3. Thanks in advance! I'll be forever in your debt. |
|
Hi, I am not sure I understand your code. You can take my pull request as is Hi @yurac https://github.com/yurac. I'm sorry to bother you. I'm trying Anyway, I just copy/pasted what you've got going on here: #25 However, my elements aren't renumbering between separated ordered lists, Here's my clumsy attempt to use your method in-line in my script: No errors, just nothing's happening (I'd rather have errors). My two lists Thanks in advance! I'll be forever in your debt. — |
|
Ok, I figured it out.
Ugly, but it works, so for the time being I'm satisfied. (Tangentially, I used a similar manual XML manipulation technique to edit Thank you for taking the time to respond. On Sat, Jan 30, 2016 at 9:46 AM, yurac notifications@github.com wrote:
|
|
Good to hear that you got it working. I also had to spend some time to make
|
|
Hi, first of all thanks for all your work. What is the state of this pull request? Is something missing or not working correctly? I would be very interested in having this feature on master :-) Best, Andi |
|
Hi, It works for me but requires some changes in the user docx template. Best, On Mon, Jun 6, 2016 at 12:43 PM, Andreas Kobler notifications@github.com
|
|
Any update on merge? |
|
Any update on this, is there a fork to check, there are no commits in the Master branch for 2 years. |
|
It's an old PR, but it would be really nice if |
|
hello i want to achieve this: |
hello i want to achieve this: |
No description provided.