mirror of
https://github.com/typst/typst
synced 2025-08-15 15:38:33 +08:00
Minor corrections
This commit is contained in:
parent
42519403d5
commit
3e55525849
@ -245,9 +245,8 @@ pub struct CompileArgs {
|
||||
#[arg(long = "pdf-version")]
|
||||
pub pdf_version: Option<PdfVersion>,
|
||||
|
||||
/// A number of PDF standards that Typst will enforce
|
||||
/// conformance with (currently, only one standard at a time
|
||||
/// is supported).
|
||||
/// One (or multiple comma-separated) PDF standards that Typst will enforce
|
||||
/// conformance with.
|
||||
#[arg(long = "pdf-standard", value_delimiter = ',')]
|
||||
pub pdf_standard: Vec<PdfStandard>,
|
||||
|
||||
@ -492,7 +491,7 @@ display_possible_values!(PdfVersion);
|
||||
#[derive(Debug, Copy, Clone, Eq, PartialEq, ValueEnum)]
|
||||
#[allow(non_camel_case_types)]
|
||||
pub enum PdfStandard {
|
||||
/// PDF/A-2u.
|
||||
/// PDF/A-1b.
|
||||
#[value(name = "a-1b")]
|
||||
A_1b,
|
||||
/// PDF/A-2b.
|
||||
|
@ -55,7 +55,7 @@ pub struct CompileConfig {
|
||||
pub output_format: OutputFormat,
|
||||
/// Which pages to export.
|
||||
pub pages: Option<PageRanges>,
|
||||
/// The document's creation date formatted as a UNIX timestamp.
|
||||
/// The document's creation date formatted as a UNIX timestamp, with UTC suffix.
|
||||
pub creation_timestamp: Option<DateTime<Utc>>,
|
||||
/// The format to emit diagnostics in.
|
||||
pub diagnostic_format: DiagnosticFormat,
|
||||
|
Loading…
x
Reference in New Issue
Block a user