Skip to content

Commit

Permalink
presentation renderers
Browse files Browse the repository at this point in the history
  • Loading branch information
daviddoret committed Dec 5, 2024
1 parent 72c83b8 commit 2c6da98
Show file tree
Hide file tree
Showing 13 changed files with 784 additions and 370 deletions.
625 changes: 317 additions & 308 deletions .idea/workspace.xml

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions src/punctilious/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,12 @@
packages = foundations.get_packages()

greek_alphabet_lowercase_serif_italic = _greek_alphabet_lowercase_serif_italic.GreekAlphabetLowercaseSerifItalic()
print(greek_alphabet_lowercase_serif_italic.alpha.rep(prefs=prefs))
# print(greek_alphabet_lowercase_serif_italic.alpha.rep(prefs=prefs))
# print(greek_alphabet_lowercase_serif_italic.phi.configurations[1])
# print(greek_alphabet_lowercase_serif_italic.psi.configurations[2])

# greek_alphabet_uppercase_serif_italic = _greek_alphabet_uppercase_serif_italic.GreekAlphabetUppercaseSerifItalic()
# print(greek_alphabet_uppercase_serif_italic.alpha.configurations[0])
greek_alphabet_uppercase_serif_italic = _greek_alphabet_uppercase_serif_italic.GreekAlphabetUppercaseSerifItalic()
# print(greek_alphabet_uppercase_serif_italic.psi.rep())
# print(greek_alphabet_uppercase_serif_italic.phi.configurations[1])
# print(greek_alphabet_uppercase_serif_italic.psi.configurations[2])

Expand Down
Binary file modified src/punctilious/__pycache__/__init__.cpython-312.pyc
Binary file not shown.
Binary file modified src/punctilious/__pycache__/presentation.cpython-312.pyc
Binary file not shown.
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ representations:
string_constant: '𝛼'
tags: { connector_representation: symbol, technical_language: unicode_extended }
- implementation: string_constant
string_constant: '\\alpha'
string_constant: '\alpha'
tags: { connector_representation: symbol, technical_language: latex_math }

- slug: beta
Expand All @@ -28,7 +28,7 @@ representations:
string_constant: '𝛽'
tags: { connector_representation: symbol, technical_language: unicode_extended }
- implementation: string_constant
string_constant: '\\beta'
string_constant: '\beta'
tags: { connector_representation: symbol, technical_language: latex_math }

- slug: gamma
Expand All @@ -41,7 +41,7 @@ representations:
string_constant: '𝛾'
tags: { connector_representation: symbol, technical_language: unicode_extended }
- implementation: string_constant
string_constant: '\\gamma'
string_constant: '\gamma'
tags: { connector_representation: symbol, technical_language: latex_math }

- slug: delta
Expand All @@ -54,7 +54,7 @@ representations:
string_constant: '𝛿'
tags: { connector_representation: symbol, technical_language: unicode_extended }
- implementation: string_constant
string_constant: '\\delta'
string_constant: '\delta'
tags: { connector_representation: symbol, technical_language: latex_math }

- slug: epsilon
Expand All @@ -67,7 +67,7 @@ representations:
string_constant: '𝜖'
tags: { connector_representation: symbol, technical_language: unicode_extended }
- implementation: string_constant
string_constant: '\\epsilon'
string_constant: '\epsilon'
tags: { connector_representation: symbol, technical_language: latex_math }

- slug: zeta
Expand All @@ -80,7 +80,7 @@ representations:
string_constant: '𝜁'
tags: { connector_representation: symbol, technical_language: unicode_extended }
- implementation: string_constant
string_constant: '\\zeta'
string_constant: '\zeta'
tags: { connector_representation: symbol, technical_language: latex_math }

- slug: eta
Expand All @@ -93,7 +93,7 @@ representations:
string_constant: '𝜂'
tags: { connector_representation: symbol, technical_language: unicode_extended }
- implementation: string_constant
string_constant: '\\eta'
string_constant: '\eta'
tags: { connector_representation: symbol, technical_language: latex_math }

- slug: theta
Expand All @@ -106,7 +106,7 @@ representations:
string_constant: '𝜃'
tags: { connector_representation: symbol, technical_language: unicode_extended }
- implementation: string_constant
string_constant: '\\theta'
string_constant: '\theta'
tags: { connector_representation: symbol, technical_language: latex_math }

- slug: iota
Expand All @@ -119,7 +119,7 @@ representations:
string_constant: '𝜄'
tags: { connector_representation: symbol, technical_language: unicode_extended }
- implementation: string_constant
string_constant: '\\iota'
string_constant: '\iota'
tags: { connector_representation: symbol, technical_language: latex_math }

- slug: kappa
Expand All @@ -132,7 +132,7 @@ representations:
string_constant: '𝜅'
tags: { connector_representation: symbol, technical_language: unicode_extended }
- implementation: string_constant
string_constant: '\\kappa'
string_constant: '\kappa'
tags: { connector_representation: symbol, technical_language: latex_math }


Expand All @@ -146,7 +146,7 @@ representations:
string_constant: '𝜆'
tags: { connector_representation: symbol, technical_language: unicode_extended }
- implementation: string_constant
string_constant: '\\lambda'
string_constant: '\lambda'
tags: { connector_representation: symbol, technical_language: latex_math }

- slug: mu
Expand All @@ -159,7 +159,7 @@ representations:
string_constant: '𝜇'
tags: { connector_representation: symbol, technical_language: unicode_extended }
- implementation: string_constant
string_constant: '\\mu'
string_constant: '\mu'
tags: { connector_representation: symbol, technical_language: latex_math }

- slug: nu
Expand All @@ -172,7 +172,7 @@ representations:
string_constant: '𝜈'
tags: { connector_representation: symbol, technical_language: unicode_extended }
- implementation: string_constant
string_constant: '\\nu'
string_constant: '\nu'
tags: { connector_representation: symbol, technical_language: latex_math }

- slug: xi
Expand All @@ -185,7 +185,7 @@ representations:
string_constant: '𝜉'
tags: { connector_representation: symbol, technical_language: unicode_extended }
- implementation: string_constant
string_constant: '\\xi'
string_constant: '\xi'
tags: { connector_representation: symbol, technical_language: latex_math }

- slug: omicron
Expand All @@ -198,7 +198,7 @@ representations:
string_constant: '𝜊'
tags: { connector_representation: symbol, technical_language: unicode_extended }
- implementation: string_constant
string_constant: '\\omicron'
string_constant: '\omicron'
tags: { connector_representation: symbol, technical_language: latex_math }

- slug: pi
Expand All @@ -211,7 +211,7 @@ representations:
string_constant: '𝜋'
tags: { connector_representation: symbol, technical_language: unicode_extended }
- implementation: string_constant
string_constant: '\\pi'
string_constant: '\pi'
tags: { connector_representation: symbol, technical_language: latex_math }

- slug: rho
Expand All @@ -224,7 +224,7 @@ representations:
string_constant: '𝜌'
tags: { connector_representation: symbol, technical_language: unicode_extended }
- implementation: string_constant
string_constant: '\\rho'
string_constant: '\rho'
tags: { connector_representation: symbol, technical_language: latex_math }

- slug: sigma
Expand All @@ -237,7 +237,7 @@ representations:
string_constant: '𝜎'
tags: { connector_representation: symbol, technical_language: unicode_extended }
- implementation: string_constant
string_constant: '\\sigma'
string_constant: '\sigma'
tags: { connector_representation: symbol, technical_language: latex_math }

- slug: tau
Expand All @@ -250,5 +250,6 @@ representations:
string_constant: '𝜏'
tags: { connector_representation: symbol, technical_language: unicode_extended }
- implementation: string_constant
string_constant: '\\tau'
string_constant: '\tau'
tags: { connector_representation: symbol, technical_language: latex_math }

Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,94 @@ def __new__(cls, *args, **kwargs):
def alpha(self) -> _presentation.Representation:
return self.representations.get_from_slug('alpha')

@property
def beta(self) -> _presentation.Representation:
return self.representations.get_from_slug('beta')

@property
def gamma(self) -> _presentation.Representation:
return self.representations.get_from_slug('gamma')

@property
def delta(self) -> _presentation.Representation:
return self.representations.get_from_slug('delta')

@property
def epsilon(self) -> _presentation.Representation:
return self.representations.get_from_slug('epsilon')

@property
def zeta(self) -> _presentation.Representation:
return self.representations.get_from_slug('zeta')

@property
def eta(self) -> _presentation.Representation:
return self.representations.get_from_slug('eta')

@property
def theta(self) -> _presentation.Representation:
return self.representations.get_from_slug('theta')

@property
def iota(self) -> _presentation.Representation:
return self.representations.get_from_slug('iota')

@property
def kappa(self) -> _presentation.Representation:
return self.representations.get_from_slug('kappa')

@property
def lambda2(self) -> _presentation.Representation:
return self.representations.get_from_slug('lambda')

@property
def mu(self) -> _presentation.Representation:
return self.representations.get_from_slug('mu')

@property
def nu(self) -> _presentation.Representation:
return self.representations.get_from_slug('nu')

@property
def xi(self) -> _presentation.Representation:
return self.representations.get_from_slug('xi')

@property
def omicron(self) -> _presentation.Representation:
return self.representations.get_from_slug('omicron')

@property
def pi(self) -> _presentation.Representation:
return self.representations.get_from_slug('pi')

@property
def rho(self) -> _presentation.Representation:
return self.representations.get_from_slug('rho')

@property
def sigma(self) -> _presentation.Representation:
return self.representations.get_from_slug('sigma')

@property
def tau(self) -> _presentation.Representation:
return self.representations.get_from_slug('tau')

@property
def upsilon(self) -> _presentation.Representation:
return self.representations.get_from_slug('upsilon')

@property
def phi(self) -> _presentation.Representation:
return self.representations.get_from_slug('phi')

@property
def chi(self) -> _presentation.Representation:
return self.representations.get_from_slug('chi')

@property
def psi(self) -> _presentation.Representation:
return self.representations.get_from_slug('psi')

@property
def omega(self) -> _presentation.Representation:
return self.representations.get_from_slug('omega')
Loading

0 comments on commit 2c6da98

Please sign in to comment.