Right, I forgot about the -V option. Sorry. I haven't used it in a very long time since I usually convert from or via Markdown. I find that inspecting and tweaking an intermediate Markdown version is often a good idea also when going between two other formats.

P.S. @John, when I hit "reply all" I got your address in the To field and the list address in the Cc field. You may want to look into that.


Den ons 23 okt. 2019 00:04John MacFarlane <jgm@berkeley.edu> skrev:

Even with old versions of pandoc you should be able to do

    -Vgeometry=landscape

BPJ <melroch-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> 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 <ivana.zgaljic@gmail.com> 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@googlegroups.com.
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/pandoc-discuss/db92c6d3-266b-4ef7-a279-d94ac9bd17ff%40googlegroups.com
>> <https://groups.google.com/d/msgid/pandoc-discuss/db92c6d3-266b-4ef7-a279-d94ac9bd17ff%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>>
>
> --
> 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@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/CADAJKhAVr8HJ6mLMg3wrjbMvOjHcWJKYxw%3DjVwH5gq7H7m9_%2Bg%40mail.gmail.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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/CADAJKhDvUkp2GExt0Cq7G4eJOyN0aO-Fthb4Vkugx3q_6Jr3pw%40mail.gmail.com.