From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/32670 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Oliver Baumann Newsgroups: gmane.text.pandoc Subject: How to overwrite values from default file in the document Date: Sun, 21 May 2023 01:05:57 -0700 (PDT) Message-ID: Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_Part_8_1153568711.1684656357216" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="18759"; mail-complaints-to="usenet@ciao.gmane.io" To: pandoc-discuss Original-X-From: pandoc-discuss+bncBCEMPL7DTEMRBZVBU6RQMGQEDVVC2GA-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Sun May 21 10:06:02 2023 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane-mx.org Original-Received: from mail-oi1-f187.google.com ([209.85.167.187]) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1q0e4n-0004co-O7 for gtp-pandoc-discuss@m.gmane-mx.org; Sun, 21 May 2023 10:06:01 +0200 Original-Received: by mail-oi1-f187.google.com with SMTP id 5614622812f47-39809c383desf17805b6e.0 for ; Sun, 21 May 2023 01:06:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20221208; t=1684656360; x=1687248360; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:reply-to:x-original-sender :mime-version:subject:message-id:to:from:date:sender:from:to:cc :subject:date:message-id:reply-to; bh=Q13YN0/c+wzfyspNJ15xsD9cSIdReb+m6kFRsHzl5DM=; b=ncLrZWqWTsZntfqu9cWrL0DGb87ysuWVPh9Ao7Rltah3KHDXrgzZGXJ/xyAe724Pa8 4PlnyzZvctPKhOkiZ+KEJBiP0E6RLDI3DFxDys1k3OHWPHYkjpPiphkwrC7uqk3LGJnh jh/oe1/Lf88STbGGjldrZnjHKrmpxO52w/ZALmiNEl8zMrmZ7GStUad6Ytow/sR+1z2I 6Sy68lq5NEQiKFqFhadHycKyWyvLH2wbLGhqkmp86AhoRqJCXIaI0cj6TBpIaRUWXUV0 sNeBsgLrdQ0SkXwLPOH3qf81+mKQ2N8j24kxB+yjPWY/yqNUfLkOY5xhq3ysPeoI3wZ2 jXMw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1684656360; x=1687248360; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :x-spam-checked-in-group:list-id:mailing-list:precedence:reply-to :x-original-sender:mime-version:subject:message-id:to:from:date :x-beenthere:x-gm-message-state:sender:from:to:cc:subject:date :message-id:reply-to; bh=Q13YN0/c+wzfyspNJ15xsD9cSIdReb+m6kFRsHzl5DM=; b=Z3FCWXSeSSP5SN9TnENz3zxvuv1GwmtSJIn1aO/dcTxYFraz3xaU4UG5o9rmQ/Q8gp fH+jDiV6GxoktqTm2uKY8DKjdgoSA2Q8JvtH6c6YtH8GwZwtsFH+sgOBAQeZOzAx6TB9 LYGHyawryQvEVmutDlaALx++lqjOA/OPQaTO3fgwD8poAS6wjdxUSN2vSHzk/JiSPyj8 ItRxRCEdZK4phstQVBV1/QoVaRsRL0hvdecUxRAbY+IVghRsEOygPzr7+gq1LMMau9Vt uB71CswQBMr8kaoD9PcMI2fNuDkfi9YEol4SkhsZH1iMozetNnvQ6WMNj9zSJYCXB+z4 Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: AC+VfDwhjMDKYQuSo5TlOC4NwztQNQog1TNzZqTQL5dC3D9TDCs5AJfc vzNCzz9tDliCSXRj5JIxKx4= X-Google-Smtp-Source: ACHHUZ6EWkrvMmwcw9yO/wd7y9rwjX4wLl1gi/NLsJt7nRjyhJkO32Hm3Iw0Zow+6sZ08pwJHNQVAw== X-Received: by 2002:a05:6870:fd8a:b0:19a:245b:ea70 with SMTP id ma10-20020a056870fd8a00b0019a245bea70mr2740691oab.11.1684656360593; Sun, 21 May 2023 01:06:00 -0700 (PDT) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 2002:a4a:d043:0:b0:54f:f848:3950 with SMTP id x3-20020a4ad043000000b0054ff8483950ls785oor.0.-pod-prod-03-us; Sun, 21 May 2023 01:05:57 -0700 (PDT) X-Received: by 2002:a05:6820:509:b0:54f:9f36:f14b with SMTP id m9-20020a056820050900b0054f9f36f14bmr3190182ooj.0.1684656357809; Sun, 21 May 2023 01:05:57 -0700 (PDT) X-Original-Sender: news-WPTjrydoUPgeaOpM6FAJmQkbCANdLtlA@public.gmane.org Precedence: list Mailing-list: list pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org; contact pandoc-discuss+owners-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org List-ID: X-Google-Group-Id: 1007024079513 List-Post: , List-Help: , List-Archive: , List-Unsubscribe: , Xref: news.gmane.io gmane.text.pandoc:32670 Archived-At: ------=_Part_8_1153568711.1684656357216 Content-Type: multipart/alternative; boundary="----=_Part_9_92799035.1684656357216" ------=_Part_9_92799035.1684656357216 Content-Type: text/plain; charset="UTF-8" Hi there, I am using Defaults files to give my documents a standard look. This works absolutely fantastic. However sometimes I want to overwrite settings from the Defaults file in the document YAML block, but this doesn't always work. Here an example when I cannot overwrite the Defaults settings: *The Defaults file:* from: markdown to: pdf standalone: true variables: documentclass: scrartcl geometry: - a4paper *The YAML block in the Markdown document:* --- geometry: - a5paper - textheight=18cm ... Any idea how I can overwrite the geometry info in the document? -- You received this message because you are subscribed to the Google Groups "pandoc-discuss" group. To unsubscribe from this group and stop receiving emails from it, send an email to pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/e8781103-e0b6-4194-975b-960965ac0e91n%40googlegroups.com. ------=_Part_9_92799035.1684656357216 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi there, I am using Defaults files to give my documents a standard lo= ok. This works absolutely fantastic.
However sometimes I want to = overwrite settings from the Defaults file in the document YAML block, but t= his doesn't always work. Here an example when I cannot overwrite the Defaul= ts settings:

The Defaults file:

from: markdown<= br />to: pdf
standalone: true
variables:
=C2=A0 documentclas= s: scrartcl
=C2= =A0 =C2=A0 geometry:
=C2=A0 =C2=A0 - a4paper

The YAML block in the Markdown document:

---
geometry:
= - a5paper
- textheight=3D18cm
...


Any idea how I can overwrite the geometry info in the document?

--
You received this message because you are subscribed to the Google Groups &= quot;pandoc-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an e= mail to pand= oc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
To view this discussion on the web visit https://groups.google.com/d= /msgid/pandoc-discuss/e8781103-e0b6-4194-975b-960965ac0e91n%40googlegroups.= com.
------=_Part_9_92799035.1684656357216-- ------=_Part_8_1153568711.1684656357216--