Comments (4)
The reason seems to be numbering trimming. If you change it to SI
, it does print "Figure I". This means the numbering pattern is used, but the "S" is trimmed from it. The idea of trimming is that numbering: "1."
should still yield a reference Section 1
rather than Section 1.
. Apparently, it also trims at the start but that wasn't intentional.
from typst.
typst/crates/typst/src/model/numbering.rs
Lines 185 to 187 in 4e5afa6
It seems prefixes are trimmed?
I can see how this makes sense in cases like Section (I)
, but not for the case of S1
.
from typst.
I can see how this makes sense in cases like Section (I), but not for the case of S1.
For sure. Maybe we could just trim punctuation. I'm not sure how to deal with it.
from typst.
Perhaps another parameter to the respective functions (figure, etc), that disables numbering trimming?
Not the most elegant solution, but could work.
from typst.
Related Issues (20)
- colon.double is rendered as colon.double.eq
- Support bibliography names containing slashes HOT 4
- Specifying pdf opener does not work on macOS HOT 6
- Missing names in reference list when a conflict occurs
- #quote function should be smarter than smartquotes
- sym.aleph should correspond to "Alef Symbol" U+2135 (ℵ) in math, and not "Hebrew Letter Alef" U+05D0 (א) HOT 2
- Rectangles or gradients with negative widths not rendered in PDFs HOT 4
- Use of labels in headings, plus an outline, breaks. HOT 9
- Names on the symbol list should only be breakable at periods
- Number formatting HOT 19
- `typst update` failing on 0.10.0 due to failed DNS lookup HOT 6
- Figure not setting supplement by type HOT 1
- Incorrect baseline for symbols in math environments HOT 4
- Destructuring in a for loop header has misleading error message when the value being looped is not iterable HOT 1
- Footnote entry depends on whether there is page content coming from outer scope HOT 1
- Missing kerning in some maths element-functions HOT 1
- Unicode superscript subscript not to be treated as identifiers in maths HOT 5
- Autocomplete in CLI doesn't work when using alias of command
- Smart quotes breaking due to preceding slash HOT 1
- Math equation overlap with `rect` or `table` when text size is increased HOT 2
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 typst.