Content deleted Content added
Line 111:
:: What is obscure, what it does or its code? What it does is well explained by the documentation of M4's <code>[https://www.gnu.org/software/m4/manual/html_node/Translit.html translit]</code> (this is just a clone). As for what can be done ''with it'', I believe template {{[[:la:Formula:Ufrac|la:Ufrac]]}} has no languages. --[[User:Grufo|Grufo]] ([[User talk:Grufo|talk]]) 01:28, 22 September 2023 (UTC)
::: Yes, and why should we care? Why is the Unicode system for fractions superior to the one currently in use? Why should we invent more ways to do the same thing? [[User:Pppery|* Pppery *]] [[User talk:Pppery|<sub style="color:#800000">it has begun...</sub>]] 01:33, 22 September 2023 (UTC)
:::: I believe this discussion started with the wrong foot. This is a generic function proposal, it is not a proposal about the {{[[:la:Formula:Ufrac|la:Ufrac]]}} template. In fact, the other template that uses this proposal ({{[[:la:Formula:Sine notis diacriticis|la:Sine notis diacriticis]]}}) does something completely different (i.e. removing accents from vowels).
::::* <syntaxhighlight lang="wikitext" inline>100 {{Abbr|carats|A carat is ¹⁄₁₇₂₈ of a pound.}}</syntaxhighlight>
::::*: ↳ 100 {{Abbr|carats|A carat is ¹⁄₁₇₂₈ of a pound.}}
:::: but you cannot use the CSS/HTML solution used by {{Tl|Fraction}} inside {{Tl|Abbr}}. But again, since it is a generic function proposal, frankly I think it will find most of its applications in the transliteration of alphabets rather than in fractions (that was indeed only one example). It is such a basic functionality that it has been part of Unix since the old days. For instance, if you look at the code of {{[[:la:Formula:Ufrac/par|la:Ufrac/par]]}} you will find
:::: <syntaxhighlight lang="wikitext">{{#invoke:translitteratio|abecedaria|0123456789|⁰¹²³⁴⁵⁶⁷⁸⁹|{{{1}}}}}</syntaxhighlight>
:::: All that does is mapping each digit to its superscript unicode character. If we wanted to do the same using {{ml|string|replace}} we would need ten module invocations. --[[User:Grufo|Grufo]] ([[User talk:Grufo|talk]]) 01:55, 22 September 2023 (UTC)
|