Changes

Jump to navigation Jump to search
m
Fixed erroneous mention of core-con.tex. Should be core-con.lua
< [[Structurals]] | [[Enumerations]] >
Sometimes, you might want to enumerate things using a number conversion (that is, the letter or symbol or whatever that "numbers" the item) which isn't one existing ConTeXt enumerations. (For a list of existing conversion, see {{cmd|convertnumber}}. For example, [[User:Mojca Miklavec|Mojca Miklavec]] recently (2005/07/26) pointed out on the mailing list that, in Slovenian, it is traditional to letter things using the Slovenian alphabet, which doesn't quite match the English one. [[User:Hagen|Hans]] provided this example of how to create a new enumeration in ConTeXt, which defines a "Mojcanian" numbering system, and a conversion based on those numbers:
<texcode>
</context>
There are a number of additional examples of conversion definitions in <tt>core-con.texlua</tt>, which is where ConTeXt's default conversions are defined.
== Another Example Examples ==* Another example of conversion posted by Hans on the mailing list
<texcode>
\startitemize[ordinal,2*broad]
\item test
\item test
\item test
\item test
\item test
\stopitemize
</context>
 
* An example from [[source:meta-txt.tex]]
 
<texcode>
\useMPlibrary[txt]
\startitemize[fuzzy,2*broad]
\item test
\item test
\item test
\item test
\item test
\stopitemize
</texcode>
 
<context>
\useMPlibrary[txt]
\startitemize[fuzzy,2*broad]
\item test
\item test
1

edit

Navigation menu