Difference between revisions of "Command/contextversion"

From Wiki
Jump to navigation Jump to search
m (moved Reference/en/contextversion to Command/contextversion: Text replace - "Reference/en/" to "Command/")
m (Clearer example, better See Also)
Line 14: Line 14:
 
== Description ==  
 
== Description ==  
  
The command <code>\contextversion</code> provides the version number of context
+
The command <code>\contextversion</code> provides the version number of the ConTeXt installation.
  
 
== Example ==
 
== Example ==
<!-- Please fill in an example if you can -->
 
  
 
<context source="yes" text="produces">
 
<context source="yes" text="produces">
\starttext
+
\setuppapersize[A5]
  
\subject{\Context\ Version}
+
This Wikipage was rendered with\ \Context\ version\ \contextversion.\crlf
This Wikipage was rendered with\ \Context\ version\ \contextversion
 
 
 
\subject{Engine}
 
 
It uses \texenginename\ version \texengineversion\ as engine.
 
It uses \texenginename\ version \texengineversion\ as engine.
  
\stoptext
 
 
</context>
 
</context>
  
 
== See also ==
 
== See also ==
* <code>\texenginename</code> to get the name of the engine (e.g. LuaTeX)                                                                                                                  
+
* {{cmd|texenginename}} to get the name of the engine (e.g. LuaTeX, or XeTeX).
* <code>\texengineversion</code> to get the version number of the engine (e.g. 0.64)                                                                                                      
+
* {{cmd|texengineversion}} to get the version number of the engine (e.g. 0.64).
* <code>\contextversion</code> to get the version number of context (e.g. 2010.12.09 12:11)
+
 
 +
[[Category:Commands/Internals|contextversion]]

Revision as of 12:55, 21 May 2012

\contextversion

Syntax

\contextversion

Description

The command \contextversion provides the version number of the ConTeXt installation.

Example

\setuppapersize[A5]

This Wikipage was rendered with\ \Context\ version\ \contextversion.\crlf
It uses \texenginename\ version \texengineversion\ as engine.

produces

See also