Changes

Jump to navigation Jump to search
m
no edit summary
< '''Prev:''' [[System Macros/Definitions and Assignments|Definitions & Assignments]] | '''Top:''' [[System Macros]] | '''Next:''' [[System Macros/Loops_and_Recursion|Loops and Recursion]] >
 
=== Introduction ===
 
This page describes the conditional expressions available in ConTeXt.
 
See also: {{cmd|doif...}}
=== \doifnextcharelse ===
 
When Pragma ADE started using TeX in the late eighties, their first experiences with programming concerned a simple shell around LaTeX. The commands probably used most at Pragma ADE are the itemizing ones. One of those initial shell commands took care of an optional argument, that enabled the specification of the item symbol to be used. Without understanding anything they were able to locate a LaTeX macro that could be used to inspect the next character.
</texcode>
=== \doifsamestringselsedoifsamestringelse,\doifsamestring,\doifnotsamestring ===
The next comparison macro converts the arguments into
< '''Prev:''' [[System Macros/Definitions and Assignments|Definitions & Assignments]] | '''Top:''' [[System Macros]] | '''Next:''' [[System Macros/Loops and Recursion|Loops & Recursion]] >
[[Category:System MacrosProgramming and Databases]][[Category:ConTeXt programmingTools]]

Navigation menu