Comments (5)
hi, could you share a simplified example template? 🙇
from stencil.
from stencil.
Thanks for the detailed report and the example! It seems like the problem is that numbered paragraphs are reusing the same numId so the numbering just continues.
In some cases this is desirable, for example for the following template, we want the numbering to be continuous:
{%for name in names%}
1. {%=name%}
{%end%}
So we would need a way to determine the intention with the numbering for these cases. I will mark the bug as high priority for the next release, but it is not trivial, so it may take some time to resolve.
from stencil.
from stencil.
Hi, Have you been able to make any progress with this?
from stencil.
Related Issues (20)
- Can't subtract from result of coalesce expression HOT 2
- Newline character support HOT 4
- Calculating a range between dates HOT 3
- add functions to service on-the-fly HOT 2
- Scaling stencil: support fetching templates from an object storage
- Define local variables in the Tempalte HOT 2
- `map` function doesn't work HOT 2
- Dividing by dynamic value doesn't work HOT 2
- Page breaks HOT 8
- function to insert page break
- Loop over collection with an index HOT 1
- Formatting for integer division breaks in some cases HOT 2
- Sum/Map with conditions HOT 1
- Add support for replaceAll HOT 2
- Is there a chance for more meaningful errors in Stencil being implemented? HOT 10
- Getting stackoverflow exception during parsing of template regarding whitespace parsing HOT 5
- Allow to set working directory to overwrite usage of system property java.io.tmpdir HOT 4
- Possible change to have dynamic fragments instead of only fixed aliases in include expression HOT 6
- Rendered pptx file is considered corrupted by MS PowerPoint HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from stencil.