Difference between revisions of "Command/readfile"

From Wiki
Jump to navigation Jump to search
(Created page with "Documentation for \readfile")
 
Line 12: Line 12:
 
     <cd:keywords delimiters="braces" ordinal="2">
 
     <cd:keywords delimiters="braces" ordinal="2">
 
     <cd:keywordsdoc></cd:keywordsdoc>
 
     <cd:keywordsdoc></cd:keywordsdoc>
     <cd:constant type="cd:true"></cd:constant>
+
     <cd:constant type="cd:true">ConTeXt code that is included before the inclusion, when the file is found</cd:constant>
 
     </cd:keywords>
 
     </cd:keywords>
 
     <cd:keywords delimiters="braces" ordinal="3">
 
     <cd:keywords delimiters="braces" ordinal="3">
 
     <cd:keywordsdoc></cd:keywordsdoc>
 
     <cd:keywordsdoc></cd:keywordsdoc>
     <cd:constant type="cd:false"></cd:constant>
+
     <cd:constant type="cd:false">ConTeXt code that is executed when the file is not found</cd:constant>
 
     </cd:keywords>
 
     </cd:keywords>
 
   </cd:arguments>
 
   </cd:arguments>

Revision as of 08:30, 1 November 2021


\readfile

Summary

The command \readfile is used for including an external file

Settings

\readfile{...}{...}{...}
{...}file
{...}true
{...}false

OptionExplanation
true ConTeXt code that is included before the inclusion, when the file is found
false ConTeXt code that is executed when the file is not found

Description

Examples

Notes

See also

Help from ConTeXt-Mailinglist/Forum

All issues with: