From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/30533 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: qql 78 Newsgroups: gmane.text.pandoc Subject: Re: alternating numbering Date: Sun, 8 May 2022 06:21:43 -0700 (PDT) Message-ID: <27fe0be1-1032-4e8f-b51d-2320f3747f0bn@googlegroups.com> References: <562ec38a-203c-4294-b40b-77d536181de5n@googlegroups.com> <7d649510-4264-4f9e-8dd8-00641b4c7ebbn@googlegroups.com> Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_Part_4670_1370574329.1652016103558" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="15329"; mail-complaints-to="usenet@ciao.gmane.io" To: pandoc-discuss Original-X-From: pandoc-discuss+bncBCI6LMXFT4JRB2EH36JQMGQE3FIC5LI-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Sun May 08 15:21:48 2022 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane-mx.org Original-Received: from mail-ot1-f62.google.com ([209.85.210.62]) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1nngr5-0003np-GN for gtp-pandoc-discuss@m.gmane-mx.org; Sun, 08 May 2022 15:21:47 +0200 Original-Received: by mail-ot1-f62.google.com with SMTP id l15-20020a056830238f00b00605faa57ceesf5216378ots.5 for ; Sun, 08 May 2022 06:21:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20210112; h=sender:date:from:to:message-id:in-reply-to:references:subject :mime-version:x-original-sender:reply-to:precedence:mailing-list :list-id:list-post:list-help:list-archive:list-subscribe :list-unsubscribe; bh=ObtzJQAKIQF/GC/oBWV8bRZatl8BoqC5SqPOGPsaqmY=; b=Yt+9AM1WGlbhQdqxqPJuUm/jCPQ4/xlc1TeMD2kFIglTSV86Ss94hy2o7PVyKcsNBO iDprbisFh23jgiFgU7dOpoxGYWzquMB5aA0bm5VpZr7QVjsGOOlquAuP1XUubZ7V93KW 8BfarFAEIwA3+q01hP2H3aQ8ghbgPALJIhkftWoyBKoMbFnBTP1dQVH9KjqI35DsOEv8 Y5jDoswjCsJFiQ5X+nN1XCUPTTqDrGWDn/vEXK2/gJx1Zeve1gzRwcKkev5Ov5MZg3Oj /+fW94sad0K1oazp9slSXYc2n0y7FsxAxIVYCF3d6qxBQqq5RgSP+6fHFLxECE4q6AsZ Pgnw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=date:from:to:message-id:in-reply-to:references:subject:mime-version :x-original-sender:reply-to:precedence:mailing-list:list-id :list-post:list-help:list-archive:list-subscribe:list-unsubscribe; bh=ObtzJQAKIQF/GC/oBWV8bRZatl8BoqC5SqPOGPsaqmY=; b=WFJbbge80DDGDoDv8V8GQcgk8NZIRfg/qYFgs4nldixvMV+jKrksl5iaeaG9Vr/vWm 4DzEfKn+Md8sxmKrMN7rn0T0hYE6oYCJ77UAu+yA3OH24jKV4k43TmChIoIXXcT+UXfZ EnjsxwmENs5GIUAHoIr0EcL6V7rvMwt1s49VVa/af9FGDdLvknIj2qXRGG8jvMtGnY99 9x2CfDoNqj8ndipOTeJqAGzFupE+kcJ+zh/E2aeRAL5B5k/XoDJWDOWEFCy7WgGb+aYp rsAT+w//Fw2vgLnsqWfkqqpZTcioAoNLzUV/MDyUbUh+YbaQ3u743XtzznTWQYCA8yVz Fnkg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=sender:x-gm-message-state:date:from:to:message-id:in-reply-to :references:subject:mime-version:x-original-sender:reply-to :precedence:mailing-list:list-id:x-spam-checked-in-group:list-post :list-help:list-archive:list-subscribe:list-unsubscribe; bh=ObtzJQAKIQF/GC/oBWV8bRZatl8BoqC5SqPOGPsaqmY=; b=I9WfbQy6WrIBCWpn3fKXlsIwDAjL5vqN6onFhJIN/IXcOvGR6KuhAisyt9cUvbjDuk Wj2nbF9IfdLL0HLp2ybFHi+VPY4v8vx8mEGpISm0Aiszm6aUUCfw9Pw5Gz7UCSLVMm1u vevgP+j6+yzsE2iBrkLkPZZfB4Jl8ZNrLWpgy+o7JZKHrjCfSzv+HJtVRy3s4bKsINTr Vq9H4LIDdMEmUlUGXN+J40GdCSjgDR7xXZu+iqqKrgEEeqZu7yWNu2mNf9T0ukd/Ia1s lZL+U6YPxI8aJRuC8QbH4echeT48QhTBvuxVGoiPlTsWCyUdBSQ2K76oFu3DKond28ux sSMg== Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: AOAM532GooFinbd24wBfDu7WZSaYP8r+ecmgq75wpJPb6WvMQbvbQd0U MKHk3AZMME2yEJoR4ISjUss= X-Google-Smtp-Source: ABdhPJws7QXuMm7gYYEPcvolWOeYMOR6/bTSSAULxD1PiEGzr1tDjDvzGTt7eusDMGTZ/UgJmYqwhg== X-Received: by 2002:a05:6808:16ac:b0:2f9:52e5:da90 with SMTP id bb44-20020a05680816ac00b002f952e5da90mr8970731oib.5.1652016106336; Sun, 08 May 2022 06:21:46 -0700 (PDT) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 2002:a05:6870:2405:b0:d7:627b:b530 with SMTP id n5-20020a056870240500b000d7627bb530ls4576718oap.9.gmail; Sun, 08 May 2022 06:21:44 -0700 (PDT) X-Received: by 2002:a05:6870:5625:b0:ec:4635:691f with SMTP id m37-20020a056870562500b000ec4635691fmr4987945oao.289.1652016104271; Sun, 08 May 2022 06:21:44 -0700 (PDT) In-Reply-To: <7d649510-4264-4f9e-8dd8-00641b4c7ebbn-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org> X-Original-Sender: karolk1778-Re5JQEeQqe8AvxtiuMwx3w@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.io gmane.text.pandoc:30533 Archived-At: ------=_Part_4670_1370574329.1652016103558 Content-Type: multipart/alternative; boundary="----=_Part_4671_1564316601.1652016103558" ------=_Part_4671_1564316601.1652016103558 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Thanks a lot,=20 I must have messed something up when converting, now everything works=20 perfectly.=20 Really appreciate your help.=20 niedziela, 8 maja 2022 o 15:05:34 UTC+2 qql 78 napisa=C5=82(a): > Now I have numbers on odd pages (right side).=20 > > niedziela, 8 maja 2022 o 14:16:55 UTC+2 Bastien Dumont napisa=C5=82(a): > >> Ok, so forget about twoside. What happens if you add the following to=20 >> "header-includes" in the metadata?=20 >> >> \usepackage{titleps}=20 >> \renewpagestyle{plain}{=20 >> \sethead{}{}{}=20 >> \setfoot[][][]{}{}{\thepage\ifodd\thepage\else\hfill\fi}=20 >> }=20 >> \pagestyle{plain}=20 >> >> (Adapted from=20 >> https://tex.stackexchange.com/questions/443344/page-numbering-left-and-r= ight)=20 >> >> >> Le Sunday 08 May 2022 =C3=A0 04:08:30AM, qql 78 a =C3=A9crit :=20 >> > Thanks for your response,=20 >> >=20 >> > 'twoside' option adjust the text to left and right (not what I'm=20 >> looking for=20 >> > though). I just need to have the page numbers alternating from left to= =20 >> right.=20 >> >=20 >> > niedziela, 8 maja 2022 o 12:24:16 UTC+2 Bastien Dumont napisa=C5=82(a)= :=20 >> >=20 >> > If you don't specify --pdf-engine, you are exporting to PDF via LaTeX,= =20 >> so=20 >> > you can set "classoption" to "twoside" in the metadata.=20 >> >=20 >> > Le Sunday 08 May 2022 =C3=A0 02:45:21AM, qql 78 a =C3=A9crit :=20 >> > > pdf=20 >> > >=20 >> > > sobota, 7 maja 2022 o 22:38:54 UTC+2 Julien Dutant napisa=C5=82(a):= =20 >> > >=20 >> > > Which output format?=20 >> > >=20 >> > > On Saturday, May 7, 2022 at 6:22:52 PM UTC+1 karol...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org=20 >> wrote:=20 >> > >=20 >> > > hello,=20 >> > >=20 >> > > I don't seem to find a solution to get alternating page numbers=20 >> > > (alternating form left and right side). =20 >> > > I hope I'm clear enough. =20 >> > >=20 >> > > Thanks a lot. =20 >> > >=20 >> > >=20 >> > > for example:=20 >> > > number "2" on page 2 is on left side of the page=20 >> > > number "3" on page 3 is on the right side of the page =20 >> > > and so on =20 >> > >=20 >> > > --=20 >> > > You received this message because you are subscribed to the Google= =20 >> Groups=20 >> > > "pandoc-discuss" group.=20 >> > > To unsubscribe from this group and stop receiving emails from it,=20 >> send an=20 >> > email=20 >> > > to [1]pandoc-discus...-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org=20 >> > > To view this discussion on the web visit [2][1] >> https://groups.google.com/=20 >> > d/msgid/=20 >> > > pandoc-discuss/d5176bdb-8abb-4a9e-942a-e5949045abd6n%[2]=20 >> > 40googlegroups.com.=20 >> > >=20 >> > > References:=20 >> > >=20 >> > > [1] mailto:pandoc-discus...-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org=20 >> > > [2] [3]https://groups.google.com/d/msgid/pandoc-discuss/=20 >> > d5176bdb-8abb-4a9e-942a-e5949045abd6n% >> 40googlegroups.com?utm_medium=3Demail&=20 >> > utm_source=3Dfooter=20 >> >=20 >> >=20 >> > --=20 >> > You received this message because you are subscribed to the Google=20 >> Groups=20 >> > "pandoc-discuss" group.=20 >> > To unsubscribe from this group and stop receiving emails from it, send= =20 >> an email=20 >> > to [4]pandoc-discus...-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org=20 >> > To view this discussion on the web visit [5] >> https://groups.google.com/d/msgid/=20 >> > pandoc-discuss/562ec38a-203c-4294-b40b-77d536181de5n%40googlegroups.co= m.=20 >> >> >=20 >> > References:=20 >> >=20 >> > [1] https://groups.google.com/d/msgid/=20 >> > [2] http://40googlegroups.com/=20 >> > [3]=20 >> https://groups.google.com/d/msgid/pandoc-discuss/d5176bdb-8abb-4a9e-942a= -e5949045abd6n%40googlegroups.com?utm_medium=3Demail&utm_source=3Dfooter=20 >> > [4] mailto:pandoc-discus...-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org=20 >> > [5]=20 >> https://groups.google.com/d/msgid/pandoc-discuss/562ec38a-203c-4294-b40b= -77d536181de5n%40googlegroups.com?utm_medium=3Demail&utm_source=3Dfooter=20 >> >> --=20 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 e= mail 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/27fe0be1-1032-4e8f-b51d-2320f3747f0bn%40googlegroups.com. ------=_Part_4671_1564316601.1652016103558 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Thanks a lot, 

I must have messed something up when converting,= now everything works perfectly. 

Really appreciate your help.&= nbsp;
nied= ziela, 8 maja 2022 o=C2=A015:05:34 UTC+2 qql 78 napisa=C5=82(a):
=
Now I have numbers on o= dd pages (right side).=C2=A0

niedziela, 8 maja 2022 o=C2=A014:16:55 UTC+2 Bas= tien Dumont napisa=C5=82(a):
Ok, so forget about twoside. What happens if you add the following t= o "header-includes" in the metadata?

\usepackage{titleps}
\renewpagestyle{plain}{
\sethead{}{}{}
\setfoot[][][]{}{}{\thepage\ifodd\thepage\else\hfill\fi}
}
\pagestyle{plain}

(Adapted from htt= ps://tex.stackexchange.com/questions/443344/page-numbering-left-and-right)

Le Sunday 08 May 2022 =C3=A0 04:08:30AM, qql 78 a =C3=A9crit :
> Thanks for your response,=20
>=20
> 'twoside' option adjust the text to left and right (not wh= at I'm looking for
> though). I just need to have the page numbers alternating from lef= t to right.=20
>=20
> niedziela, 8 maja 2022 o=C2=A012:24:16 UTC+2 Bastien Dumont napisa= =C5=82(a):
>=20
> If you don't specify --pdf-engine, you are exporting to PD= F via LaTeX, so
> you can set "classoption" to "twoside" in = the metadata.
>=20
> Le Sunday 08 May 2022 =C3=A0 02:45:21AM, qql 78 a =C3=A9crit :
> > pdf
> >
> > sobota, 7 maja 2022 o=C2=A022:38:54 UTC+2 Julien Dutant n= apisa=C5=82(a):
> >
> > Which output format?
> >
> > On Saturday, May 7, 2022 at 6:22:52 PM UTC+1
karol...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org wrote:
> >
> > hello,
> >
> > I don't seem to find a solution to get alternating pa= ge numbers
> > (alternating form left and right side).=C2=A0
> > I hope I'm clear enough.=C2=A0
> >
> > Thanks a lot.=C2=A0
> >
> >
> > for example:
> > number "2" on page 2 is on left side of the pag= e
> > number "3" on page 3 is on the right side of th= e page=C2=A0
> > and so on=C2=A0
> >
> > --
> > You received this message because you are subscribed to t= he Google Groups
> > "pandoc-discuss" group.
> > To unsubscribe from this group and stop receiving emails = from it, send an
> email
> > to [1]pandoc-discus...@googlegroups.c= om.
> > To view this discussion on the web visit [2][1]https://groups.google.com/
> d/msgid/
> > pandoc-discuss/d5176bdb-8abb-4a9e-942a-e5949045abd6n%[2]
> 40googlegroups.com.
> >
> > References:
> >
> > [1] mailto:pandoc-discus...@googlegro= ups.com
> > [2] [3]https://groups.google.com/d/msgid/pandoc-discuss/<= /a>
> d5176bdb-8abb-4a9e-942a-e5949045abd6n%
40googlegroups.com?utm_med= ium=3Demail&
> utm_source=3Dfooter
>=20
>=20
> --
> 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 [4]pandoc-discus...-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
> To view this discussion on the web visit [5]https://groups.google.com/d/msgid/
> pandoc-discuss/562ec38a-203c-4294-b40b-77d536181de5n%40googlegroups.com.
>=20
> References:
>=20
> [1] https://groups.= google.com/d/msgid/
> [2] http://40googlegroups.com/
> [3] https://groups= .google.com/d/msgid/pandoc-discuss/d5176bdb-8abb-4a9e-942a-e5949045abd6n%40= googlegroups.com?utm_medium=3Demail&utm_source=3Dfooter
> [4] mailto:pandoc-discus...-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
> [5]
https://groups= .google.com/d/msgid/pandoc-discuss/562ec38a-203c-4294-b40b-77d536181de5n%40= googlegroups.com?utm_medium=3Demail&utm_source=3Dfooter

--
You received this message because you are subscribed to the Google Groups &= quot;pandoc-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an e= mail to pand= oc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
To view this discussion on the web visit https://groups.google.com/d= /msgid/pandoc-discuss/27fe0be1-1032-4e8f-b51d-2320f3747f0bn%40googlegroups.= com.
------=_Part_4671_1564316601.1652016103558-- ------=_Part_4670_1370574329.1652016103558--