Difference between revisions of "Command/contextversion"

From Wiki
Jump to navigation Jump to search
(thanks to Wolfgang)
 
 
(10 intermediate revisions by 4 users not shown)
Line 3: Line 3:
 
|attributes=
 
|attributes=
 
}}
 
}}
 +
 +
== [[Help:Reference|Syntax]] (autogenerated) ==
 +
<syntax>contextversion</syntax>
  
 
== [[Help:Reference|Syntax]] ==
 
== [[Help:Reference|Syntax]] ==
Line 14: Line 17:
 
== Description ==  
 
== Description ==  
  
The command <code>\contextversion</code> provides the version number of context (e.g. 2010.12.09 12:11)
+
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 mode=mkii>
\starttext
+
% mode=mkii
 +
\setuppapersize[A5]
  
\subject{\Context\ Version}
+
This Wikipage was rendered with\ \Context\ version\ \contextversion.\crlf
This Wikipage was rendered with\ \Context\ version\ \contextversion
+
It uses \texenginename\ version \texengineversion\ as engine.
 +
</context>
 +
<context source=yes mode=mkiv>
 +
% mode=mkiv
 +
\setuppapersize[A5]
  
\subject{Engine}
+
This Wikipage was rendered with\ \Context\ version\ \contextversion.\crlf
 
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}} gives 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}} gives 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)
+
* {{cmd|contextversion}} gives the timestamp of the ConTeXt version in use
 +
* {{cmd|contextmark}} gives MKII or MKIV, the ConTeXt major release marker
 +
* {{cmd|contextversionnumber}} gives the ConTeXt version followed by the mark.
 +
 
 +
== Help from ConTeXt-Mailinglist/Forum ==
 +
All issues with:
 +
{{Forum|{{SUBPAGENAME}}}}
 +
 
 +
[[Category:Command/Internals|contextversion]]
 +
[[Category:Command/Debugging|contextversion]]

Latest revision as of 16:22, 11 November 2019

\contextversion

Syntax (autogenerated)


Syntax

\contextversion

Description

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

Example

% mode=mkii
\setuppapersize[A5]

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

internal error: copy error 1Kp6ns/cropped.pdf

% mode=mkiv
\setuppapersize[A5]

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

See also

Help from ConTeXt-Mailinglist/Forum

All issues with: