Merci Bastien, I found a "buggy" solution: ``` documentclass: scrartcl fontsize: 12pt pagesize: a4paper lang: en-GB header-includes: - \usepackage{lipsum} KOMAoption: - landscape ``` Buggy because putting package lipsum after KOMAoption ``` header-includes: KOMAoption: - landscape - \usepackage{lipsum} ``` I get an error: ``` Error producing PDF. ! Undefined control sequence. l.132 \lipsum ``` Probably not the right way to do it. And if I add some other packages I need, it will become probably even more buggy ... Greetings to all marek On Monday, October 3, 2022 at 2:45:52 PM UTC+2 Bastien Dumont wrote: > Mmh, scrlayer-scrpage seems more specialized than that. But, even if you > use a KOMA class, you can still set "geometry" in the YAML header. > > Le Monday 03 October 2022 à 01:09:38AM, 'Marek Stepanek' via > pandoc-discuss a écrit : > > Thx again. Perhaps somebody else could help me out, with the page > layout. I > > made a Minimal (Non) working example: > > > > > > > > On Sunday, October 2, 2022 at 10:46:52 PM UTC+2 fiddlosopher wrote: > > > > I can't diagnose Koma layout issues. Maybe someone who is familiar with > > Koma can give more advice. > > > > > On Oct 2, 2022, at 12:35 PM, 'Marek Stepanek' via pandoc-discuss < > > pandoc-...-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org> wrote: > > > > > > Thx fiddlosopher :-) Working. BUT the page layout is wrong: the body is > > very narrow, as if it is still portrait ... You need a minimal working > > example? > > > > > > On Sunday, October 2, 2022 at 9:30:05 PM UTC+2 fiddlosopher wrote: > > > Sorry, should be > > > > > > classoption: > > > - landscape > > > > > > > On Oct 2, 2022, at 12:29 PM, John MacFarlane > > wrote: > > > > > > > > Try classoptions? > > > > > > > >> On Oct 2, 2022, at 8:01 AM, 'Marek Stepanek' via pandoc-discuss < > > pandoc-...-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org> wrote: > > > >> > > > >> > > > >> Hello all, > > > >> > > > >> little question: how to define landscape in KOMAoptions for the > entire > > document? I tried with: > > > >> > > > >> ``` > > > >> --- > > > >> documentclass: scrartcl > > > >> fontsize: 12pt > > > >> pagesize: a4paper > > > >> lang: en-GB > > > >> # fontfamily: libertinus > > > >> KOMAoptions: > > > >> - landscape > > > >> ``` > > > >> > > > >> Not working. Thank you for your help > > > >> > > > >> > > > >> marek > > > >> > > > >> > > > >> -- > > > >> 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-discus...-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > > > >> To view this discussion on the web visit [1] > https://groups.google.com/ > > d/msgid/pandoc-discuss/ > > 0AF82EB2-E41A-48AB-A502-065A1BA5D069%40googlemail.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-discus...-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > > > To view this discussion on the web visit [2] > https://groups.google.com/d/ > > msgid/pandoc-discuss/ > > 030d0b12-280e-4c76-ad01-ae63c7f0de18n%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 [3]pandoc-discus...-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > > To view this discussion on the web visit [4] > https://groups.google.com/d/msgid/ > > pandoc-discuss/b095b73c-de48-4806-aa5b-22bc126219aen%40googlegroups.com. > > > > References: > > > > [1] > https://groups.google.com/d/msgid/pandoc-discuss/0AF82EB2-E41A-48AB-A502-065A1BA5D069%40googlemail.com > > [2] > https://groups.google.com/d/msgid/pandoc-discuss/030d0b12-280e-4c76-ad01-ae63c7f0de18n%40googlegroups.com > > [3] mailto:pandoc-discus...-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org > > [4] > https://groups.google.com/d/msgid/pandoc-discuss/b095b73c-de48-4806-aa5b-22bc126219aen%40googlegroups.com?utm_medium=email&utm_source=footer > > > --- > > documentclass: scrartcl > > fontsize: 12pt > > pagesize: a4paper > > lang: en-GB > > classoption: > > - landscape > > header-includes: > > - \usepackage{lipsum} > > include-before: > > - | > > ```{=latex} > > \begin{center} > > \hfill \break% > > \Huge{Minimal Non-Working Example of Landscape}\\[0.5em] > > \Large{ With Pandoc from Markdown to PDF }\\[1.2em] > > \Large{ Marek Stepanek }\\[1.2em] > > \large{Last Edit: Munich \today}\\[1.5em] > > \end{center} > > ``` > > - \tableofcontents > > - \bigskip > > --- > > > > # Foreword > > > > This is a Minimal Non-Working example of wrong page-layout with > `documentclass: scrartcl` in a YAML-Header. I need this layout for large > and long tables. Probably this is not a Pandoc-Forum question, more a > \LaTeX{} one? Sorry about it ... As you may see here: the page-layout is > wrong. Is this really `pagesize: a4paper`? > > > > At the end I inserted my `Makefile`. Thank you for your help. Also, if > it is off-topic here. > > > > # New Chapter > > > > ```{=latex} > > \lipsum[1] > > ``` > > > > # Second Chapter > > > > ```{=latex} > > \lipsum[2] > > ``` > > > > # Third Chapter > > > > ```{=latex} > > \lipsum[3] > > ``` > > > > \newpage > > > > # Annex > > > > I am compiling this page with following `Makefile`: > > > > ```{.yaml} > > > > all: save typeset open > > > > .PHONY: all > > save: > > w > > > > typeset: > > pandoc \ > > --from markdown \ > > --to latex \ > > --pdf-engine pdflatex \ > > --out mwd.pdf \ > > mwd.md > > > > open: > > open mwd.pdf > > ``` > > > > > > > > -- 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/8b56978a-73a7-4c52-9d23-058aac94dbd4n%40googlegroups.com.