.ie \n(.g .ds Aq \(aq .el .ds Aq ' .TH typst-query 1 "typst-query " .SH NAME typst\-query \- Processes an input file to extract provided metadata (deprecated, use `eval` instead) .SH SYNOPSIS \fBtypst\-query\fR [\fB\-\-field\fR] [\fB\-\-one\fR] [\fB\-\-format\fR] [\fB\-\-pretty\fR] [\fB\-\-target\fR] [\fB\-\-root\fR] [\fB\-\-input\fR] [\fB\-\-font\-path\fR] [\fB\-\-ignore\-system\-fonts\fR] [\fB\-\-ignore\-embedded\-fonts\fR] [\fB\-\-package\-path\fR] [\fB\-\-package\-cache\-path\fR] [\fB\-\-creation\-timestamp\fR] [\fB\-j\fR|\fB\-\-jobs\fR] [\fB\-\-features\fR] [\fB\-\-diagnostic\-format\fR] [\fB\-h\fR|\fB\-\-help\fR] <\fIINPUT\fR> <\fISELECTOR\fR> .SH DESCRIPTION Processes an input file to extract provided metadata (deprecated, use `eval` instead) .SH OPTIONS .TP \fB\-\-field\fR \fI\fR Extracts just one field from all retrieved elements .TP \fB\-\-one\fR Expects and retrieves exactly one element .TP \fB\-\-format\fR \fI\fR [default: json] The format to serialize in .br .br \fIPossible values:\fR .RS 14 .IP \(bu 2 json .IP \(bu 2 yaml .RE .TP \fB\-\-pretty\fR Whether to pretty\-print the serialized output. Only applies to JSON format. .TP \fB\-\-target\fR \fI\fR [default: paged] The target to compile for .br .br \fIPossible values:\fR .RS 14 .IP \(bu 2 paged: PDF and image formats .IP \(bu 2 html: HTML .IP \(bu 2 bundle: Bundle .RE .TP \fB\-\-root\fR \fI\fR Configures the project root (for absolute paths) .RS May also be specified with the \fBTYPST_ROOT\fR environment variable. .RE .TP \fB\-\-input\fR \fI\fR Add a string key\-value pair visible through `sys.inputs` .TP \fB\-\-font\-path\fR \fI\fR Adds additional directories that are recursively searched for fonts. If multiple paths are specified, they are separated by the system\*(Aqs path separator (`:` on Unix\-like systems and `;` on Windows). .RS May also be specified with the \fBTYPST_FONT_PATHS\fR environment variable. .RE .TP \fB\-\-ignore\-system\-fonts\fR Ensures system fonts won\*(Aqt be searched, unless explicitly included via `\-\-font\-path` .RS May also be specified with the \fBTYPST_IGNORE_SYSTEM_FONTS\fR environment variable. .RE .TP \fB\-\-ignore\-embedded\-fonts\fR Ensures fonts embedded into Typst won\*(Aqt be considered .RS May also be specified with the \fBTYPST_IGNORE_EMBEDDED_FONTS\fR environment variable. .RE .TP \fB\-\-package\-path\fR \fI\fR Custom path to local packages, defaults to system\-dependent location .RS May also be specified with the \fBTYPST_PACKAGE_PATH\fR environment variable. .RE .TP \fB\-\-package\-cache\-path\fR \fI\fR Custom path to package cache, defaults to system\-dependent location .RS May also be specified with the \fBTYPST_PACKAGE_CACHE_PATH\fR environment variable. .RE .TP \fB\-\-creation\-timestamp\fR \fI\fR The document\*(Aqs creation date formatted as a UNIX timestamp. For more information, see . .RS May also be specified with the \fBSOURCE_DATE_EPOCH\fR environment variable. .RE .TP \fB\-j\fR, \fB\-\-jobs\fR \fI\fR Number of parallel jobs spawned during compilation. Defaults to number of CPUs. Setting it to 1 disables parallelism .TP \fB\-\-features\fR \fI\fR Enables in\-development features that may be changed or removed at any time .br .br \fIPossible values:\fR .RS 14 .IP \(bu 2 html .IP \(bu 2 bundle .IP \(bu 2 a11y\-extras .RE .RS May also be specified with the \fBTYPST_FEATURES\fR environment variable. .RE .TP \fB\-\-diagnostic\-format\fR \fI\fR [default: human] The format to emit diagnostics in .br .br \fIPossible values:\fR .RS 14 .IP \(bu 2 human .IP \(bu 2 short .RE .TP \fB\-h\fR, \fB\-\-help\fR Print help (see a summary with \*(Aq\-h\*(Aq) .TP <\fIINPUT\fR> Path to input Typst file. Use `\-` to read input from stdin .TP <\fISELECTOR\fR> Defines which elements to retrieve