Skip to content

Fix Greek Numbering to Modern Greek - #7632

Merged
laurmaedje merged 1 commit into
typst:mainfrom
purpl3F0x:main
Feb 9, 2026
Merged

laurmaedje merged 1 commit into
typst:mainfrom
purpl3F0x:main

Conversation

@purpl3F0x

Copy link
Copy Markdown
Contributor

Although "ϛ" is technically correct, as numbering, it is not used in modern Greek and instead "στ" is used for the number 6.

This commit addresses this issue. The 6000 unit is left as is.

@laurmaedje laurmaedje added model Related to model category, which is all about structure and semantics. fix A bug fix. waiting-on-review This PR is waiting to be reviewed. i18n About language- or script-specific features. May need attention from native speakers. labels Jan 5, 2026
@laurmaedje

laurmaedje commented Jan 20, 2026 •

Copy link
Copy Markdown
Member

Thanks for the PR! Could you please point to an authoritative source that backs this? Otherwise, it is hard for me to judge.

@laurmaedje laurmaedje added waiting-on-author Pull request waits on author and removed waiting-on-review This PR is waiting to be reviewed. labels Jan 20, 2026
@laurmaedje

Copy link
Copy Markdown
Member

There is also the issue that the test are failing. These would need to be adjusted.

@purpl3F0x

purpl3F0x commented Jan 20, 2026 •

Copy link
Copy Markdown
Contributor Author

Thanks for the PR! Could you please point to an authoritative source that backs this? Otherwise, it is hard for me to judge.
Here some sources:

Ministry of Education Elementary book (online version): https://ebooks.edu.gr/ebooks/v/html/8547/2334/Grammatiki-Neas-Ellinikis-Glossas_A-B-G-Gymnasiou_html-apli/index_C_04.html#:~:text=6-,%CF%83%CF%84%CE%84(%CF%82)%CE%84,-%CE%AD%CE%BE%CE%B9

6th grade denoted as ΣΤ formally
https://www.public.gr/product/books/sholika-biblia/st-dimotikoy/geografia-st-dimotikou-10-0236/1617807

also:

https://en.wikipedia.org/wiki/Greek_numerals

also: pic from the first book I found on my desk

{9F2D90AB-6608-4E3E-A9D5-9C9D0F758815}

There is also the issue that the test are failing. These would need to be adjusted.

I saw that I was waiting for general feedback on the PR before fixing.

@laurmaedje

Copy link
Copy Markdown
Member

Thanks! Looking at these links and doing some further research, I think this change makes sense.

One interesting thing I found though is that CSS list-style: lower-greek seems to just skip the six?!

<ol style="list-style-type: lower-greek">
  <li>1</li>
  <li>2</li>
  <li>3</li>
  <li>4</li>
  <li>5</li>
  <li>6</li>
  <li>7</li>
  <li>8</li>
</ol>

greek.html

@purpl3F0x

purpl3F0x commented Jan 20, 2026 •

Copy link
Copy Markdown
Contributor Author

Thanks! Looking at these links and doing some further research, I think this change makes sense.

One interesting thing I found though is that CSS list-style: lower-greek seems to just skip the six?!

<ol style="list-style-type: lower-greek">
  <li>1</li>
  <li>2</li>
  <li>3</li>
  <li>4</li>
  <li>5</li>
  <li>6</li>
  <li>7</li>
  <li>8</li>
</ol>

greek.html

Seems to also be an issue in word, and you need to define a custom numbering
https://learn.microsoft.com/en-us/answers/questions/4868606/custom-list-number-style

I also found this on the latex babel-greek package
https://mirrors.mit.edu/CTAN/macros/latex/contrib/babel-contrib/greek/babel-greek-doc.html#:~:text=Standing%20for%206,used%20as%20replacement.

I have to also note that (as a greek) I have never seen the symbol "ϛ" anywhere being used.

Signed-off-by: Stavros Avramidis <[email protected]>
@laurmaedje laurmaedje added waiting-on-review This PR is waiting to be reviewed. and removed waiting-on-author Pull request waits on author labels Jan 21, 2026
@laurmaedje

Copy link
Copy Markdown
Member

I found some another relevant discussions here: jgm/pandoc#1243. And apparently, the W3C has chosen your variant as greek-lower-modern.

For practical use, I'm convinced that this is a good change and I'll go ahead. In the future, when we have named numberings in addition to just the shorthands I could see having an option for both.

Thanks!

@laurmaedje
laurmaedje added this pull request to the merge queue Feb 9, 2026
@laurmaedje laurmaedje removed the waiting-on-review This PR is waiting to be reviewed. label Feb 9, 2026
Merged via the queue into typst:main with commit ed5288e Feb 9, 2026
8 checks passed
jassielof pushed a commit to jassielof/typst that referenced this pull request Apr 7, 2026
Dikluwe pushed a commit to Dikluwe/typst-crystalline that referenced this pull request Sep 12, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

fix A bug fix. i18n About language- or script-specific features. May need attention from native speakers. model Related to model category, which is all about structure and semantics.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants