* Define Classoption landscape in YAML Header @ 2022-10-02 15:01 'Marek Stepanek' via pandoc-discuss [not found] ` <0AF82EB2-E41A-48AB-A502-065A1BA5D069-gM/Ye1E23mwN+BqQ9rBEUg@public.gmane.org> 0 siblings, 1 reply; 12+ messages in thread From: 'Marek Stepanek' via pandoc-discuss @ 2022-10-02 15:01 UTC (permalink / raw) To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw 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 ^ permalink raw reply [flat|nested] 12+ messages in thread
[parent not found: <0AF82EB2-E41A-48AB-A502-065A1BA5D069-gM/Ye1E23mwN+BqQ9rBEUg@public.gmane.org>]
* Re: Define Classoption landscape in YAML Header [not found] ` <0AF82EB2-E41A-48AB-A502-065A1BA5D069-gM/Ye1E23mwN+BqQ9rBEUg@public.gmane.org> @ 2022-10-02 19:29 ` John MacFarlane [not found] ` <C28A5F4B-6190-41D9-B137-5426B800E499-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> 0 siblings, 1 reply; 12+ messages in thread From: John MacFarlane @ 2022-10-02 19:29 UTC (permalink / raw) To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw Try classoptions? > On Oct 2, 2022, at 8:01 AM, 'Marek Stepanek' via pandoc-discuss <pandoc-discuss-/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-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/0AF82EB2-E41A-48AB-A502-065A1BA5D069%40googlemail.com. ^ permalink raw reply [flat|nested] 12+ messages in thread
[parent not found: <C28A5F4B-6190-41D9-B137-5426B800E499-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>]
* Re: Define Classoption landscape in YAML Header [not found] ` <C28A5F4B-6190-41D9-B137-5426B800E499-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> @ 2022-10-02 19:30 ` John MacFarlane [not found] ` <833DC8A0-1188-416D-8227-2B95EE2ABB3C-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> 0 siblings, 1 reply; 12+ messages in thread From: John MacFarlane @ 2022-10-02 19:30 UTC (permalink / raw) To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw Sorry, should be classoption: - landscape > On Oct 2, 2022, at 12:29 PM, John MacFarlane <fiddlosopher-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > > Try classoptions? > >> On Oct 2, 2022, at 8:01 AM, 'Marek Stepanek' via pandoc-discuss <pandoc-discuss-/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-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org >> To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/0AF82EB2-E41A-48AB-A502-065A1BA5D069%40googlemail.com. > ^ permalink raw reply [flat|nested] 12+ messages in thread
[parent not found: <833DC8A0-1188-416D-8227-2B95EE2ABB3C-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>]
* Re: Define Classoption landscape in YAML Header [not found] ` <833DC8A0-1188-416D-8227-2B95EE2ABB3C-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> @ 2022-10-02 19:35 ` 'Marek Stepanek' via pandoc-discuss [not found] ` <030d0b12-280e-4c76-ad01-ae63c7f0de18n-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org> 0 siblings, 1 reply; 12+ messages in thread From: 'Marek Stepanek' via pandoc-discuss @ 2022-10-02 19:35 UTC (permalink / raw) To: pandoc-discuss [-- Attachment #1.1: Type: text/plain, Size: 1808 bytes --] 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 <fiddlo...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> > 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 > 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-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/030d0b12-280e-4c76-ad01-ae63c7f0de18n%40googlegroups.com. [-- Attachment #1.2: Type: text/html, Size: 3121 bytes --] ^ permalink raw reply [flat|nested] 12+ messages in thread
[parent not found: <030d0b12-280e-4c76-ad01-ae63c7f0de18n-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>]
* Re: Define Classoption landscape in YAML Header [not found] ` <030d0b12-280e-4c76-ad01-ae63c7f0de18n-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org> @ 2022-10-02 20:46 ` John MacFarlane [not found] ` <329B8145-4825-47FD-AB9F-11D0D60D934C-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> 0 siblings, 1 reply; 12+ messages in thread From: John MacFarlane @ 2022-10-02 20:46 UTC (permalink / raw) To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw 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-discuss-/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 <fiddlo...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> 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 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-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/030d0b12-280e-4c76-ad01-ae63c7f0de18n%40googlegroups.com. ^ permalink raw reply [flat|nested] 12+ messages in thread
[parent not found: <329B8145-4825-47FD-AB9F-11D0D60D934C-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>]
* Re: Define Classoption landscape in YAML Header [not found] ` <329B8145-4825-47FD-AB9F-11D0D60D934C-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> @ 2022-10-03 8:09 ` 'Marek Stepanek' via pandoc-discuss [not found] ` <b095b73c-de48-4806-aa5b-22bc126219aen-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org> 0 siblings, 1 reply; 12+ messages in thread From: 'Marek Stepanek' via pandoc-discuss @ 2022-10-03 8:09 UTC (permalink / raw) To: pandoc-discuss [-- Attachment #1.1: Type: text/plain, Size: 2790 bytes --] 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 <fiddlo...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> > 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 > 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 > 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 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/b095b73c-de48-4806-aa5b-22bc126219aen%40googlegroups.com. [-- Attachment #1.2: Type: text/html, Size: 4748 bytes --] [-- Attachment #2: mwd.md --] [-- Type: text/markdown, Size: 1365 bytes --] --- 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 ``` ^ permalink raw reply [flat|nested] 12+ messages in thread
[parent not found: <b095b73c-de48-4806-aa5b-22bc126219aen-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>]
* Re: Define Classoption landscape in YAML Header [not found] ` <b095b73c-de48-4806-aa5b-22bc126219aen-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org> @ 2022-10-03 12:22 ` Bastien DUMONT 2022-10-03 12:45 ` Bastien DUMONT 1 sibling, 0 replies; 12+ messages in thread From: Bastien DUMONT @ 2022-10-03 12:22 UTC (permalink / raw) To: 'Marek Stepanek' via pandoc-discuss "landscape" changes the orientation of the paper, not the page layout. I guess that the solution should be in one of the sections dealing with scrlayer-scrpage in the manual of KOMA. 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 <fiddlo...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> > 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-discuss+unsubscribe-/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-discuss+unsubscribe-/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/YzrUCmEfFjtdjWNd%40localhost. ^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: Define Classoption landscape in YAML Header [not found] ` <b095b73c-de48-4806-aa5b-22bc126219aen-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org> 2022-10-03 12:22 ` Bastien DUMONT @ 2022-10-03 12:45 ` Bastien DUMONT 2022-10-03 16:17 ` 'Marek Stepanek' via pandoc-discuss 1 sibling, 1 reply; 12+ messages in thread From: Bastien DUMONT @ 2022-10-03 12:45 UTC (permalink / raw) To: 'Marek Stepanek' via pandoc-discuss 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 <fiddlo...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> > 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-discuss+unsubscribe-/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-discuss+unsubscribe-/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/YzrZelW//VMhKhVw%40localhost. ^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: Define Classoption landscape in YAML Header 2022-10-03 12:45 ` Bastien DUMONT @ 2022-10-03 16:17 ` 'Marek Stepanek' via pandoc-discuss [not found] ` <8b56978a-73a7-4c52-9d23-058aac94dbd4n-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org> 0 siblings, 1 reply; 12+ messages in thread From: 'Marek Stepanek' via pandoc-discuss @ 2022-10-03 16:17 UTC (permalink / raw) To: pandoc-discuss [-- Attachment #1.1: Type: text/plain, Size: 6532 bytes --] 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 <fiddlo...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> > > 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. [-- Attachment #1.2: Type: text/html, Size: 11817 bytes --] ^ permalink raw reply [flat|nested] 12+ messages in thread
[parent not found: <8b56978a-73a7-4c52-9d23-058aac94dbd4n-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>]
* Re: Define Classoption landscape in YAML Header [not found] ` <8b56978a-73a7-4c52-9d23-058aac94dbd4n-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org> @ 2022-10-03 16:24 ` 'Marek Stepanek' via pandoc-discuss [not found] ` <030fddee-45f2-496f-9571-4bb051d4dff9n-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org> 0 siblings, 1 reply; 12+ messages in thread From: 'Marek Stepanek' via pandoc-discuss @ 2022-10-03 16:24 UTC (permalink / raw) To: pandoc-discuss [-- Attachment #1.1: Type: text/plain, Size: 7338 bytes --] Ah! Now it is working in my original Markdown file, like follows: ``` documentclass: scrartcl fontsize: 12pt pagesize: a4paper lang: en-GB KOMAoption: landscape ``` I tried this one before, but could not compile it ... Hope this solution will work over the long ... Once again thx to all who replied! On Monday, October 3, 2022 at 6:17:00 PM UTC+2 Marek Stepanek wrote: > 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 <fiddlo...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> >> > 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/030fddee-45f2-496f-9571-4bb051d4dff9n%40googlegroups.com. [-- Attachment #1.2: Type: text/html, Size: 12413 bytes --] ^ permalink raw reply [flat|nested] 12+ messages in thread
[parent not found: <030fddee-45f2-496f-9571-4bb051d4dff9n-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>]
* Re: Define Classoption landscape in YAML Header [not found] ` <030fddee-45f2-496f-9571-4bb051d4dff9n-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org> @ 2022-10-03 17:09 ` 'Marek Stepanek' via pandoc-discuss [not found] ` <36c9598d-33de-48fb-b44f-0b7a1958100en-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org> 0 siblings, 1 reply; 12+ messages in thread From: 'Marek Stepanek' via pandoc-discuss @ 2022-10-03 17:09 UTC (permalink / raw) To: pandoc-discuss [-- Attachment #1.1: Type: text/plain, Size: 8066 bytes --] Sorry for the noise! Finally it is not working like that. I helped me out with geometry: ``` --- documentclass: scrartcl classoption: landscape fontsize: 12pt pagesize: a4paper lang: en-GB header-includes: - \usepackage[width=14cm, left=3cm, right=3cm]{geometry} ``` What is good use in this forum: cut out all the thread afterwards or keep it? marek On Monday, October 3, 2022 at 6:24:36 PM UTC+2 Marek Stepanek wrote: > Ah! Now it is working in my original Markdown file, like follows: > > ``` > documentclass: scrartcl > fontsize: 12pt > pagesize: a4paper > lang: en-GB > KOMAoption: landscape > ``` > > I tried this one before, but could not compile it ... Hope this solution > will work over the long ... > > Once again thx to all who replied! > > On Monday, October 3, 2022 at 6:17:00 PM UTC+2 Marek Stepanek wrote: > >> 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 <fiddlo...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> >>> >>> > 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/36c9598d-33de-48fb-b44f-0b7a1958100en%40googlegroups.com. [-- Attachment #1.2: Type: text/html, Size: 13173 bytes --] ^ permalink raw reply [flat|nested] 12+ messages in thread
[parent not found: <36c9598d-33de-48fb-b44f-0b7a1958100en-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>]
* Re: Define Classoption landscape in YAML Header [not found] ` <36c9598d-33de-48fb-b44f-0b7a1958100en-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org> @ 2022-10-03 17:47 ` Bastien DUMONT 0 siblings, 0 replies; 12+ messages in thread From: Bastien DUMONT @ 2022-10-03 17:47 UTC (permalink / raw) To: 'Marek Stepanek' via pandoc-discuss Happy to know that it works! Pandoc has a variable "geometry". As it passes its value to the package, it is strictly equivalent to calling it via header-includes, but it helps maintaining a cleaner header: ``` --- documentclass: scrartcl fontsize: 12pt pagesize: a4paper lang: en-GB classoption: - landscape geometry: - left=3cm - right=3cm --- ``` (Setting "width" is unnecessary if you set "left" and "right".) Le Monday 03 October 2022 à 10:09:34AM, 'Marek Stepanek' via pandoc-discuss a écrit : > Sorry for the noise! Finally it is not working like that. I helped me out with > geometry: > > ``` > --- > documentclass: scrartcl > classoption: landscape > fontsize: 12pt > pagesize: a4paper > lang: en-GB > header-includes: > - \usepackage[width=14cm, left=3cm, right=3cm]{geometry} > ``` > > What is good use in this forum: cut out all the thread afterwards or keep it? > > marek > > On Monday, October 3, 2022 at 6:24:36 PM UTC+2 Marek Stepanek wrote: > > Ah! Now it is working in my original Markdown file, like follows: > > ``` > documentclass: scrartcl > fontsize: 12pt > pagesize: a4paper > lang: en-GB > KOMAoption: landscape > ``` > > I tried this one before, but could not compile it ... Hope this solution > will work over the long ... > > Once again thx to all who replied! > > On Monday, October 3, 2022 at 6:17:00 PM UTC+2 Marek Stepanek wrote: > > 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 < > fiddlo...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> > > 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][1]https:// > groups.google.com/ > > d/msgid/pandoc-discuss/ > > 0AF82EB2-E41A-48AB-A502-065A1BA5D069%[2]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][3]https:// > groups.google.com/d/ > > msgid/pandoc-discuss/ > > 030d0b12-280e-4c76-ad01-ae63c7f0de18n%[4]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][5]https:// > groups.google.com/d/msgid/ > > pandoc-discuss/b095b73c-de48-4806-aa5b-22bc126219aen%[6] > 40googlegroups.com. > > > > References: > > > > [1] [7]https://groups.google.com/d/msgid/pandoc-discuss/ > 0AF82EB2-E41A-48AB-A502-065A1BA5D069%40googlemail.com > > [2] [8]https://groups.google.com/d/msgid/pandoc-discuss/ > 030d0b12-280e-4c76-ad01-ae63c7f0de18n%40googlegroups.com > > [3] mailto:pandoc-discus...-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org > > [4] [9]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 [10]pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > To view this discussion on the web visit [11]https://groups.google.com/d/msgid/ > pandoc-discuss/36c9598d-33de-48fb-b44f-0b7a1958100en%40googlegroups.com. > > References: > > [1] https://groups.google.com/ > [2] http://40googlemail.com/ > [3] https://groups.google.com/d/ > [4] http://40googlegroups.com/ > [5] https://groups.google.com/d/msgid/ > [6] http://40googlegroups.com/ > [7] https://groups.google.com/d/msgid/pandoc-discuss/0AF82EB2-E41A-48AB-A502-065A1BA5D069%40googlemail.com > [8] https://groups.google.com/d/msgid/pandoc-discuss/030d0b12-280e-4c76-ad01-ae63c7f0de18n%40googlegroups.com > [9] https://groups.google.com/d/msgid/pandoc-discuss/b095b73c-de48-4806-aa5b-22bc126219aen%40googlegroups.com?utm_medium=email&utm_source=footer > [10] mailto:pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org > [11] https://groups.google.com/d/msgid/pandoc-discuss/36c9598d-33de-48fb-b44f-0b7a1958100en%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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/Yzsft%2BUJI44imipT%40localhost. ^ permalink raw reply [flat|nested] 12+ messages in thread
end of thread, other threads:[~2022-10-03 17:47 UTC | newest] Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2022-10-02 15:01 Define Classoption landscape in YAML Header 'Marek Stepanek' via pandoc-discuss [not found] ` <0AF82EB2-E41A-48AB-A502-065A1BA5D069-gM/Ye1E23mwN+BqQ9rBEUg@public.gmane.org> 2022-10-02 19:29 ` John MacFarlane [not found] ` <C28A5F4B-6190-41D9-B137-5426B800E499-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> 2022-10-02 19:30 ` John MacFarlane [not found] ` <833DC8A0-1188-416D-8227-2B95EE2ABB3C-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> 2022-10-02 19:35 ` 'Marek Stepanek' via pandoc-discuss [not found] ` <030d0b12-280e-4c76-ad01-ae63c7f0de18n-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org> 2022-10-02 20:46 ` John MacFarlane [not found] ` <329B8145-4825-47FD-AB9F-11D0D60D934C-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> 2022-10-03 8:09 ` 'Marek Stepanek' via pandoc-discuss [not found] ` <b095b73c-de48-4806-aa5b-22bc126219aen-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org> 2022-10-03 12:22 ` Bastien DUMONT 2022-10-03 12:45 ` Bastien DUMONT 2022-10-03 16:17 ` 'Marek Stepanek' via pandoc-discuss [not found] ` <8b56978a-73a7-4c52-9d23-058aac94dbd4n-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org> 2022-10-03 16:24 ` 'Marek Stepanek' via pandoc-discuss [not found] ` <030fddee-45f2-496f-9571-4bb051d4dff9n-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org> 2022-10-03 17:09 ` 'Marek Stepanek' via pandoc-discuss [not found] ` <36c9598d-33de-48fb-b44f-0b7a1958100en-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org> 2022-10-03 17:47 ` Bastien DUMONT
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for NNTP newsgroup(s).