From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/33478 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Cerdo Newsgroups: gmane.text.pandoc Subject: How to set margin for Typst? Date: Thu, 7 Dec 2023 07:33:03 -0800 (PST) Message-ID: Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_Part_10848_163354697.1701963183639" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="26321"; mail-complaints-to="usenet@ciao.gmane.io" To: pandoc-discuss Original-X-From: pandoc-discuss+bncBDI4L4OHRMMRBMGLY6VQMGQE6AN6Y5A-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Thu Dec 07 16:33:08 2023 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane-mx.org Original-Received: from mail-oo1-f64.google.com ([209.85.161.64]) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1rBGNA-0006cN-Q6 for gtp-pandoc-discuss@m.gmane-mx.org; Thu, 07 Dec 2023 16:33:08 +0100 Original-Received: by mail-oo1-f64.google.com with SMTP id 006d021491bc7-58db6bfe269sf969787eaf.3 for ; Thu, 07 Dec 2023 07:33:08 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20230601; t=1701963187; x=1702567987; darn=m.gmane-mx.org; 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=HnsgyPvB5CE92tDRWHWCOnbKRnuxo5yGxfHMFbzfAYk=; b=a4IBle+OJXbkVbfngyrMWBE6xzUjt++DShLI3plNj0t9bqIeGdgaq4F8fZSoFyPsGv GpUVLsG/BxMPtRr1hJvlC4XhP779hWbaQHvL4rpRwv8PXmUzu4iTlmx06PGJkU+sSGnQ Zq8KAHhofxg9M0obiUXpVXXJEtmfScv4ZEE7RvAdxBrA52Al3r/6TXMkUoxGja0/pJmD dvebpgvxtr9ItXZJ0nq1eb+FgWWrCf5G9FweJf7w/GVUQbluH3jXvb/4dFV0fP3blHFY 1KdFce9oSgb5PYvXhvwQgrCnOGaarrrDPQ0+jy389qnhLcHYAe7k3pYJbz+w7kxvM9J4 WReQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1701963187; x=1702567987; darn=m.gmane-mx.org; 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:from:to:cc:subject :date:message-id:reply-to; bh=HnsgyPvB5CE92tDRWHWCOnbKRnuxo5yGxfHMFbzfAYk=; b=GSKYdvA/wX2QbX4u3Fc3YHknQCN7U51/mkgW4t6Mk4YnNRnyQNJwH/N4zzqcN6+V5E CgYTK/SQGJpbn1cyTFoiMZO6X94ZOzhA2t4D9Zij8M9MWtamMN6K6/EnrjeVh1qIKU1n t/D+gI2TYwyuBNXCBBtlUfa8hlh93/eU46FDU63w7JhMyTcvNBxtVu8h6HJYjJ3Fhm1s PD0o+wVcFVAiDQ+pwsifTCXoNTD1KjAdvEp12pkZRbCcS554njEQESTv6or9IdYlpJ7R SWI71VIV7FAv6iEvcsil2OqZKJbdFjJQjOr305Zfsalez+hFXpU2BVtqQqH01r34ZxhN Y/yw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1701963187; x=1702567987; 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=HnsgyPvB5CE92tDRWHWCOnbKRnuxo5yGxfHMFbzfAYk=; b=VEFhTbEJEEwR/Jq97P5hOU4qx1KCFJMSmCwC3b5oZAO7b+LSDOhMGLitWgBn/xfuaV HxTnAxDdGg/4gH+Ze2/h9c7LM4Prbs+Lf51uUKJNMxjNgpWVWT6TAlQ2BOuFbCgY0Chl aGEU3hdLdp8a5VTTP1SlQ67EJzDj9rcB1WOCSyX+R9khsyTMfAjyO46C0jyUeOXnBNu1 fw2XtZaSZwRhUpLCdlM193F7BW/GKWcRY8iy8OpjUUVMy0iMN9xIDg1Es5Up/ihgZINu QhG7UIieOqp74Ozr6j5/3sGxD9VLLC7GDed6bgfbcS3tCSVcpe326qKk/1NqdVO/1aCT Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: AOJu0YwrVfGVeVul9bFh0A1q+fgn4NIxw56Xk/ncAbrQxy7fzMUB/9qJ aQEyF6eSCKsF2Dypyut5+F8= X-Google-Smtp-Source: AGHT+IEPYeb1bXJti7jwQhlydScs71/SWTWe7oZY15VkmwaU+k5Frv/BQqddyPaeEmp+drYXfYHiQQ== X-Received: by 2002:a4a:8515:0:b0:590:5a08:1af6 with SMTP id k21-20020a4a8515000000b005905a081af6mr2055480ooh.11.1701963187544; Thu, 07 Dec 2023 07:33:07 -0800 (PST) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 2002:a05:6820:602:b0:58d:c8ea:facd with SMTP id e2-20020a056820060200b0058dc8eafacdls669175oow.0.-pod-prod-01-us; Thu, 07 Dec 2023 07:33:04 -0800 (PST) X-Received: by 2002:a9d:6011:0:b0:6d9:e343:ee07 with SMTP id h17-20020a9d6011000000b006d9e343ee07mr152797otj.1.1701963184131; Thu, 07 Dec 2023 07:33:04 -0800 (PST) X-Original-Sender: ralf.uhlig.87-Re5JQEeQqe8AvxtiuMwx3w@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:33478 Archived-At: ------=_Part_10848_163354697.1701963183639 Content-Type: multipart/alternative; boundary="----=_Part_10849_1001627147.1701963183639" ------=_Part_10849_1001627147.1701963183639 Content-Type: text/plain; charset="UTF-8" Hi, I am trying to set the margins when converting a Markdown file to a PDF with Typst. According to the documentation , this should be possible by setting the variable *margin *as *dictionary with the fields defined in the Typst documentation: x, y, top, bottom, left, right.* How do I define the dictionary? As far, I have tried: - -V margin=top:1mm - - -V margin="top:1mm" - -V margin="(top:1mm)" - -V margin="{\"top\":"1mm"}" - and many other combinations What is the correct way to provide this "dictionary"? Best, Cerdo -- 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/e815ceb0-4056-43bb-afef-51faff7ddf67n%40googlegroups.com. ------=_Part_10849_1001627147.1701963183639 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hi,

I am trying to set the margins when converting a M= arkdown file to a PDF with Typst.
According to the documentation, this sh= ould be possible by setting the variable margin as=C2=A0
dic= tionary with the fields defined in the Typst documentation: x, y, top, bott= om, left, right.

How do I define the = dictionary?
As far, I have tried:
  • -V margin=3Dtop:1mm
  • -V margin=3D"top:1mm"
  • -= V margin=3D"(top:1mm)"
  • -V margin= =3D"{\"top\":"1mm"}"
  • and many other combinations
Wh= at is the correct way to provide this "dictionary"?

<= div>Best,
Cerdo

--
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/e815ceb0-4056-43bb-afef-51faff7ddf67n%40googlegroups.= com.
------=_Part_10849_1001627147.1701963183639-- ------=_Part_10848_163354697.1701963183639--