Path: blob/main/src/resources/schema/document-includes.yml
12925 views
- name: header-includes1disabled: [$office-all, $jats-all, ipynb]2hidden: true3schema:4maybeArrayOf: string5description: Content to include at the end of the document header.67- name: include-before8disabled: [$office-all, $jats-all, ipynb]9hidden: true10schema:11maybeArrayOf: string12description: Content to include at the beginning of the document body (e.g. after the `<body>` tag in HTML, or the `\begin{document}` command in LaTeX).1314- name: include-after15disabled: [$office-all, $jats-all, ipynb]16hidden: true17schema:18maybeArrayOf: string19description: Content to include at the end of the document body (before the `</body>` tag in HTML, or the `\end{document}` command in LaTeX).2021- name: include-before-body22disabled: [$office-all, $jats-all, ipynb]23schema:24maybeArrayOf:25anyOf:26- path27- ref: smart-include28description: |29Include contents at the beginning of the document body30(e.g. after the `<body>` tag in HTML, or the `\begin{document}` command31in LaTeX).3233A string value or an object with key "file" indicates a filename whose contents are to be included3435An object with key "text" indicates textual content to be included3637- name: include-after-body38disabled: [$office-all, $jats-all, ipynb]39schema:40maybeArrayOf:41anyOf:42- path43- ref: smart-include44description: |45Include content at the end of the document body immediately after the markdown content. While it will be included before the closing `</body>` tag in HTML and the `\end{document}` command in LaTeX, this option refers to the end of the markdown content.4647A string value or an object with key "file" indicates a filename whose contents are to be included4849An object with key "text" indicates textual content to be included5051- name: include-in-header52disabled: [$office-all, $jats-all, ipynb]53schema:54maybeArrayOf:55anyOf:56- path57- ref: smart-include58description: |59Include contents at the end of the header. This can60be used, for example, to include special CSS or JavaScript in HTML61documents.6263A string value or an object with key "file" indicates a filename whose contents are to be included6465An object with key "text" indicates textual content to be included6667- name: resources68schema:69maybeArrayOf: string70tags:71formats: [$html-all]72description: Path (or glob) to files to publish with this document.7374- name: headertext75schema:76maybeArrayOf: string77tags:78formats: [context]79description:80short: Text to be in a running header.81long: |82Text to be in a running header.8384Provide a single option or up to four options for different placements85(odd page inner, odd page outer, even page innner, even page outer).8687- name: footertext88schema:89maybeArrayOf: string90tags:91formats: [context]92description:93short: Text to be in a running footer.94long: |95Text to be in a running footer.9697Provide a single option or up to four options for different placements98(odd page inner, odd page outer, even page innner, even page outer).99100See [ConTeXt Headers and Footers](https://wiki.contextgarden.net/Headers_and_Footers) for more information.101102- name: includesource103schema: boolean104tags:105formats: [context]106default: false107description: Whether to include all source documents as file attachments in the PDF file.108109- name: footer110schema: string111tags:112formats: [man]113description: The footer for man pages.114115- name: header116schema: string117tags:118formats: [man]119description: The header for man pages.120121- name: metadata-file122schema: path123hidden: true124description:125short: "Include file with YAML metadata"126long: |127Read metadata from the supplied YAML (or JSON) file. This128option can be used with every input format, but string scalars129in the YAML file will always be parsed as Markdown. Generally,130the input will be handled the same as in YAML metadata blocks.131Metadata values specified inside the document, or by using `-M`,132overwrite values specified with this option.133134- name: metadata-files135schema:136arrayOf: path137description:138short: "Include files with YAML metadata"139long: |140Read metadata from the supplied YAML (or JSON) files. This141option can be used with every input format, but string scalars142in the YAML file will always be parsed as Markdown. Generally,143the input will be handled the same as in YAML metadata blocks.144Values in files specified later in the list will be preferred145over those specified earlier. Metadata values specified inside146the document, or by using `-M`, overwrite values specified with147this option.148149150