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.