https://wiki.contextgarden.net/index.php?title=Command/continueifinputfile&feed=atom&action=history
Command/continueifinputfile - Revision history
2024-03-28T10:51:39Z
Revision history for this page on the wiki
MediaWiki 1.34.1
https://wiki.contextgarden.net/index.php?title=Command/continueifinputfile&diff=25002&oldid=prev
Usonianhorizon at 16:20, 11 November 2019
2019-11-11T16:20:39Z
<p></p>
<table class="diff diff-contentalign-left" data-mw="interface">
<col class="diff-marker" />
<col class="diff-content" />
<col class="diff-marker" />
<col class="diff-content" />
<tr class="diff-title" lang="en">
<td colspan="2" style="background-color: #fff; color: #222; text-align: center;">← Older revision</td>
<td colspan="2" style="background-color: #fff; color: #222; text-align: center;">Revision as of 16:20, 11 November 2019</td>
</tr><tr><td colspan="2" class="diff-lineno" id="mw-diff-left-l3" >Line 3:</td>
<td colspan="2" class="diff-lineno">Line 3:</td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>|attributes=</div></td><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>|attributes=</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>}}</div></td><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>}}</div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;"></ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;">== [[Help:Reference|Syntax]] (autogenerated) ==</ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;"><syntax>continueifinputfile</syntax></ins></div></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"></td><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>== [[Help:Reference|Syntax]] ==</div></td><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>== [[Help:Reference|Syntax]] ==</div></td></tr>
</table>
Usonianhorizon
https://wiki.contextgarden.net/index.php?title=Command/continueifinputfile&diff=19434&oldid=prev
Esteis: Create page, with all everything in it.
2012-05-23T08:32:57Z
<p>Create page, with all everything in it.</p>
<p><b>New page</b></p><div>{{Reference<br />
|name=continueifinputfile<br />
|attributes=<br />
}}<br />
<br />
== [[Help:Reference|Syntax]] ==<br />
<table cellspacing="4" cellpadding="2" class="cmd"><br />
<tr><br />
<td colspan="2" class="cmd">\continueifinputfile<span class="first">{...}</span></td><br />
</tr><br />
<tr valign="top" class="first"><br />
<td class="cmd">{...}</td><br />
<td>filename</td><br />
</tr><br />
</table><br />
<br />
== Description ==<br />
<br />
* If this file is being processed because it was included in another file, stop. <br />
* If ConTeXt was invoked on this file specifically, continue.<br />
* Commonly used to place a test/example section at the end of a module file.<br />
<br />
== Example ==<br />
<texcode><br />
% We write a module, and put it in mymodule.mkiv<br />
<br />
%D This module provides the wonderfully useful \mycommand<br />
<br />
\define\mycommand#1%<br />
{\tex{mycommand} turns your \quote{#1} into something useful.}<br />
<br />
% Everything above was part of the module definitions. <br />
% Everything below is part of the documentation PDF, <br />
% which we only produce if the user runs ConTeXt on this <br />
% file specifically.<br />
<br />
\continueifinputfile{mymodule.mkiv}<br />
<br />
\starttext<br />
\section{Examples of using \tex{mycommand}}<br />
% ....<br />
\section{On the implementation of \tex{mycommand}}<br />
% ....<br />
\section{Credits}<br />
\stoptext<br />
</texcode><br />
<br />
== See Also ==<br />
* {{cmd|jobname}} simply expands to the name (sans extension) of the file ConTeXt was invoked on.<br />
<br />
[[Category:Command/Internals|continueifinputfile]]</div>
Esteis