From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/23659 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: John MacFarlane Newsgroups: gmane.text.pandoc Subject: Re: pandoc html to pdf Date: Tue, 22 Oct 2019 15:04:30 -0700 Message-ID: References: <75ad3ed6-e3a7-480e-813e-26e9795041bb@googlegroups.com> Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="57322"; mail-complaints-to="usenet@blaine.gmane.org" To: BPJ , pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-X-From: pandoc-discuss+bncBCJZJHG45QDBB6XZXXWQKGQEIEFOI7Y-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Wed Oct 23 00:04:45 2019 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane.org Original-Received: from mail-pl1-f191.google.com ([209.85.214.191]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.89) (envelope-from ) id 1iN2Gj-000EmB-LE for gtp-pandoc-discuss@m.gmane.org; Wed, 23 Oct 2019 00:04:45 +0200 Original-Received: by mail-pl1-f191.google.com with SMTP id g7sf11352250plo.5 for ; Tue, 22 Oct 2019 15:04:45 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1571781883; cv=pass; d=google.com; s=arc-20160816; b=vo8/xg+/a7KKKgRqHjhzH7Uwdo9CbN3wn9XitgNvzUCqptsUQd+ejfq+dYBBWt38wp Bl+4xkFs99VKyg3e984fW0rQLsi30XlaA7uJB1aPvHhzvpDQKxhVgEO6OAMWRSNbFI6o bm5b4j50RJ3R+uNyl6WJq/ge7egoojO73+pRROOFuOsvxgjYHFZ4fmQcAmoN2Cggc0mo mVN9Aw6neZot84USQj1I2hhv3J7h4JJDW2Lc0H3YIVL7MIgpwcT3X7YKKun3F044yVes HOfylZpoBPDMgqKXJDlN96EFo4uQoRGfW6UvL8+dkalSr4AD4bWono01HFtY/qFo4tIl gu7w== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:reply-to:mime-version:message-id :date:references:in-reply-to:subject:to:from:sender:dkim-signature; bh=rBASLNSDnaVorc1taS7gVQhXJKlI/e//xCyB5JotG3Q=; b=v4dNkG3F6Wfu9yz/1v+scfN515L8Eny6TscK/VJBg/8qjPCDoKRitkmzSws+H8aYP2 WyaLYKKdkCm7mpdmt4uGh+FnonHkmN8SFXeq+QFKlvBnrQ5Sj433q7NfUIMj+7+1g6DL oO/W7pBakZRzG6L+DPIpaFacmMcik//pjZCKQKgpjRAmDEnl3RP+vo6w/3GvRrdcSKO+ JM/iERIQCji3GiTE/oCxcRkpOB74zURsswJEmHac8MOLW6AnvS40cENXC5KU7dvEEK3r XOqCq8A/dEx6u8y56TxfkI6EGSV3kpB+YqOHMlDdC9bwluxfl4uw5LZ+0IxOOWsnrP8K +Qqg== ARC-Authentication-Results: i=2; gmr-mx.google.com; dkim=pass header.i=@berkeley-edu.20150623.gappssmtp.com header.s=20150623 header.b=0B2wScu1; spf=pass (google.com: domain of jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org designates 2607:f8b0:4864:20::636 as permitted sender) smtp.mailfrom=jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20161025; h=sender:from:to:subject:in-reply-to:references:date:message-id :mime-version:x-original-sender:x-original-authentication-results :reply-to:precedence:mailing-list:list-id:list-post:list-help :list-archive:list-subscribe:list-unsubscribe; bh=rBASLNSDnaVorc1taS7gVQhXJKlI/e//xCyB5JotG3Q=; b=Yi5U3mQoUYAG3RW28HfGKgLfV7xV2JrI6rcde+Nel3rkI6q+clxS2JeClTX2TCumz1 M8CANDd6aAh3FlcXbpRXPQa2/u24sA8imybfqRvrCEI51gL2aqv56dTMisxGppGwzmcx 7jBBdbqkb7bSv1PTXjyb5tXpGxIuqCLuVODxtFV5o5PmSdgdj4EEhpGu20dZ/aFfkCmZ Uz7lwDE+K+8bFP2XblvIG53OR4wmg3t9oYzP28d7YVb+dlP8xnoRc5c7c38Ev507nCmt tDOK9W4HAWW32krvZB++e9Tw4WkhO1Xgpel0HkZ/VG3nFkrYKqfwV5ilTO2q8KS7Tw4x lB0A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=sender:x-gm-message-state:from:to:subject:in-reply-to:references :date:message-id:mime-version:x-original-sender :x-original-authentication-results:reply-to:precedence:mailing-list :list-id:x-spam-checked-in-group:list-post:list-help:list-archive :list-subscribe:list-unsubscribe; bh=rBASLNSDnaVorc1taS7gVQhXJKlI/e//xCyB5JotG3Q=; b=et86ELDq1gs3yvhn68oQbgLKn55fDGlx2PMDjX/3BeGT7JinfOszXCfE04x8w/O6od p8YlQZGVHpiJLtqrtIPVArq39fln2h7z5eYqXFVlPxtmp1UINosrOXMyVCUAgHyCCYTS 38feEXLXuhCNKctb+AHC+sGdjTNobdvVYh/oRS+tuJNNas3DZeNQ88jGQ0oePGisSyzH JXUUC/Fd6UcU8CPlUWKhqBfCJmHffufzZlvZ+ffA73JnE1IfB6crgyIFk4NiiEYLiIF2 M1rbkRnQz8pTMx0yboBY49o2hELFcDSCFCM6PSQ0Mj0Z0FzOyd4lq4fozJ2E/99mzoML ALaw== Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: APjAAAXJFkd321u6zl5Z4EFjeZuQuvq+HO1JVCxxQtcF2rGrtJv57Iej l+AVMEkdFlW1z/IU3R8Bbh8= X-Google-Smtp-Source: APXvYqxbNCpfnQyxk5FtbS++2bctF+bKUvzG/9EehGMfs2NtiZxxs949pP5DgdoK50n/IWVk9DTuPw== X-Received: by 2002:a63:f743:: with SMTP id f3mr6280222pgk.410.1571781883702; Tue, 22 Oct 2019 15:04:43 -0700 (PDT) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 2002:a62:e517:: with SMTP id n23ls61389pff.5.gmail; Tue, 22 Oct 2019 15:04:42 -0700 (PDT) X-Received: by 2002:a65:4c8b:: with SMTP id m11mr866442pgt.25.1571781882154; Tue, 22 Oct 2019 15:04:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1571781882; cv=none; d=google.com; s=arc-20160816; b=CmRZLKiXJn+IpCATC9oI/c0xHWpKOs4UVzftYrZqjNc+AauqAOkxZc87tXthz85O5t rNNkunp1Ub/3QMaR4hTMMLpfLpPbtTSD6uWLdbNmQJUBkTtynZ1Rbe/wghiFP9CJvSIA 2THrsnNdSjgaeBgVkHYZ/7+cNYq63bqpsu2TI+SH5uy9aA0kiJBMDE+oWXbLSiZG3qRu vIfIlq/566MRTjQgM8C+gvshaU8IOKUAmcj4NWv01sE7dcV8ksLKFpDN3fISPkKQarOW RgWq2WecpiKj5nneJV0cwCa1PUtOiGaxx4sZKR0yEmyVX/LIErM11hsxE2ZgVepQzWko fppg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=mime-version:message-id:date:references:in-reply-to:subject:to:from :dkim-signature; bh=+aCtgzMb8IsqMbx2L/xzVW5KddnKvd7PPBZ5FpJ43Go=; b=GGPTRRm7YjgNT17omwbgi0tKAvQdYIeIwSngn4rVj6PvvSRVgDsoVyn1WHR8OPzld1 xW/a1NLTzSO0wdBMex+/awDQhIwHjqMe75JkSUnD587z7tEVTIMKG7+cOPiVg2srTzWu 70GT1lmzsB8oA5cxQX5Nr4n7apEA+MjbET96wAXbapVc6NZz8F/ayhgNThk6kjJcIJvu IX5KBCgMmo6HsoxsDvrcixI7wHLLj+n77sCOD4U5GCAzu3AX7mMYu7bbpIhBy7oWcdAW qyT+HtBH67lay3VqLqn4W+YOzJSMcxKR+9WtTRpp0yr26GyC9NQkqtyvKnUVdWyKxF+s DTRg== ARC-Authentication-Results: i=1; gmr-mx.google.com; dkim=pass header.i=@berkeley-edu.20150623.gappssmtp.com header.s=20150623 header.b=0B2wScu1; spf=pass (google.com: domain of jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org designates 2607:f8b0:4864:20::636 as permitted sender) smtp.mailfrom=jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org Original-Received: from mail-pl1-x636.google.com (mail-pl1-x636.google.com. [2607:f8b0:4864:20::636]) by gmr-mx.google.com with ESMTPS id e6si775726pjp.2.2019.10.22.15.04.42 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 22 Oct 2019 15:04:42 -0700 (PDT) Received-SPF: pass (google.com: domain of jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org designates 2607:f8b0:4864:20::636 as permitted sender) client-ip=2607:f8b0:4864:20::636; Original-Received: by mail-pl1-x636.google.com with SMTP id v5so4268878ply.10 for ; Tue, 22 Oct 2019 15:04:42 -0700 (PDT) X-Received: by 2002:a17:902:24c:: with SMTP id 70mr6110686plc.45.1571781881875; Tue, 22 Oct 2019 15:04:41 -0700 (PDT) Original-Received: from johnmacfarlane.net (li55-134.members.linode.com. [74.82.3.134]) by smtp.gmail.com with ESMTPSA id s90sm5708127pjc.2.2019.10.22.15.04.40 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 22 Oct 2019 15:04:41 -0700 (PDT) Original-Received: by johnmacfarlane.net (Postfix, from userid 1000) id 3B9FCA17F; Tue, 22 Oct 2019 18:04:30 -0400 (EDT) In-Reply-To: X-Original-Sender: jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org X-Original-Authentication-Results: gmr-mx.google.com; dkim=pass header.i=@berkeley-edu.20150623.gappssmtp.com header.s=20150623 header.b=0B2wScu1; spf=pass (google.com: domain of jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org designates 2607:f8b0:4864:20::636 as permitted sender) smtp.mailfrom=jgm-TVLZxgkOlNX2fBVCVOL8/A@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.org gmane.text.pandoc:23659 Archived-At: Even with old versions of pandoc you should be able to do -Vgeometry=landscape BPJ writes: > Make a file called "landscape.yaml" which contains this: > > --- > geometry: > - landscape > --- > > then add this to your command line: > > --metadata-file=landscape.yaml > > Make sure you have the latest version of pandoc, since the --metadata-file > option was added very recently. > > You probably need to adjust the margins too. You can add more geometry > options to the metadata file: > > --- > geometry: > - landscape > - top=15mm > - left=15mm > - right=15mm > - bottom=20mm > --- > > (Those are quite possibly not good values; it's just an example!) > > If you want all the margins to be the same width you can use > > - margin=20mm > > You can use in, cm or pt instead of mm if you prefer those units. > > https://tex.stackexchange.com/a/147507/93534 > > http://texdoc.net/pkg/geometry > > https://github.com/jgm/pandoc/releases/tag/latest > > > Den tis 22 okt. 2019 19:05Ivana Zgaljic skrev: > >> Just a clarification. I meant to say "My output pdf still prints in >> portrait." >> >> On Tuesday, October 22, 2019 at 12:12:41 PM UTC-4, Ivana Zgaljic wrote: >>> >>> Hi, I am converting a file from html to pdf using the following command: >>> >>> pandoc iz_test.html -s -o iz_final.pdf >>> >>> >>> I noticed the default setting is that the pdf prints to portrait but I'd >>> like my pdf output to print as landscape. >>> >>> Reviewed the options setting and I've saved a new default.tex file >>> in C:\Users\myusername\AppData\Roaming\pandoc >>> >>> Any suggestions on how I should modify my default.tex so my output prints >>> in landscape? My output pdf still prints in pdf. >>> >>> Thank you. >>> >> -- >> 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/db92c6d3-266b-4ef7-a279-d94ac9bd17ff%40googlegroups.com >> >> . >> > > -- > 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/CADAJKhAVr8HJ6mLMg3wrjbMvOjHcWJKYxw%3DjVwH5gq7H7m9_%2Bg%40mail.gmail.com.