From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/30532 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:05:34 -0700 (PDT) Message-ID: <7d649510-4264-4f9e-8dd8-00641b4c7ebbn@googlegroups.com> References: <562ec38a-203c-4294-b40b-77d536181de5n@googlegroups.com> Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_Part_18_1811396897.1652015134777" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="18039"; mail-complaints-to="usenet@ciao.gmane.io" To: pandoc-discuss Original-X-From: pandoc-discuss+bncBCI6LMXFT4JRBH4A36JQMGQEDU6OVBQ-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Sun May 08 15:05:40 2022 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane-mx.org Original-Received: from mail-oo1-f61.google.com ([209.85.161.61]) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1nngbT-0004Uf-Oy for gtp-pandoc-discuss@m.gmane-mx.org; Sun, 08 May 2022 15:05:39 +0200 Original-Received: by mail-oo1-f61.google.com with SMTP id x205-20020a4a41d6000000b0035f6217e3c4sf2132495ooa.15 for ; Sun, 08 May 2022 06:05:39 -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=0TIapC1MPCM9ISECRnonyHPWbeaH0bkEtsU150qu1SI=; b=eCQOQ2rwBiuhUfDAwHQePqV/nipbuTkUY3w5+8Hi3MBXLfEv+2PapDnaxqBTh6/ni4 WS7qntB4My5G07d6/4MZyPjXXiaaoxNMSX+KnyIWhpSogQ7QWnH9lTdIRcW+69Y5DrR/ jAUCCPs5s6ktKqkW6++XIQvutgKOSU2BBzB0BS0Ih5qqYmSaEoOzwCoepLYHGYfkdlxR Dp1WavuhAb9DC7cl4gJ0rV/o7J+kfAqdy2ITnciN+SH+ijfT1XrCogAI5iS1onY3j+1I nkfMbTxup5fKXTn83Y4cvQQrcu7OjFu/kI7ktehAm4J5wnGpo+BJAD0vr7zQT0a64vq+ acfg== 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=0TIapC1MPCM9ISECRnonyHPWbeaH0bkEtsU150qu1SI=; b=bMthu5midee5pEqWW2csG+DYj8fAVbcsQp8EmI60YjGYNGyXXs9YSsNOwC4HB2NO0g 7j3h1RXxdGdnsZ8EkBqhRiQS2VXJNCaLAoqJkbslJYIO16oy6v55rf4e43YuE0CIq8od jGKb2qUYJCqYeJyRq7YA2gnjEGFCOdTBgC6ouBBaOG9qArbRshrN1Od02IT3GrKG0RBT ULgISYntzaJo+PJ4HRDuPbvs2phz7jVBYX4O59an7tCQG05h2XLVwr1IKS6YGusNppDX 19WCMoMsIqKOPKVJB2KVMPh01L3kAX65D1b+NXN+7nK8kEi5pxFay6fuZNsqXeHrasKj VNRQ== 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=0TIapC1MPCM9ISECRnonyHPWbeaH0bkEtsU150qu1SI=; b=CihoFTuZBePTHwpmkdUmFcWANI2FXn/AxgPro4LJYPLZbsgCKofaFdRObzmwHLRVhN hSeXOsH24wSraSW7onqnWJwkeWT/kvGZ11f3RqCzvPrHP6aVJA22VcmVdWOdiKy5ZgQ6 HnDf9lAKEUOWluhPWGTpGydbGBeREcKQpWJ/FoDiBA725lS157jhAEXuhgJO8zvf4+pD 6PTXpSMtw91FjJ9ZFOMs3tBX7+rJC1WJ/+/MqE3NXpd7n1/WEUzkBv4xH3vDuKfzdTCY 1R8iMKcdhUhnPJnQ6BnAia2T1PcP+kiEQ8u61Le85iC2e7eQUiev362s72RNZZIPqBwC ogfw== Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: AOAM5313sQpjI2b6jn23K+6B/VqF4FvG4xNowwd/5rEE0l3JizDfJdFP Ltsbz4dEoje+cVg4066yt0I= X-Google-Smtp-Source: ABdhPJxWoRYmuMY+3uemBdFzUGBG2nUcKunVe9vZVX8Hwd9DpsepMkOUgpEbIOC7/+yI6jfkKdCUuA== X-Received: by 2002:a05:6808:1201:b0:325:75e1:25a8 with SMTP id a1-20020a056808120100b0032575e125a8mr8935832oil.18.1652015138125; Sun, 08 May 2022 06:05:38 -0700 (PDT) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 2002:a05:6808:1885:b0:326:a83a:293c with SMTP id bi5-20020a056808188500b00326a83a293cls1238539oib.3.gmail; Sun, 08 May 2022 06:05:35 -0700 (PDT) X-Received: by 2002:a05:6808:2203:b0:326:98a5:9333 with SMTP id bd3-20020a056808220300b0032698a59333mr5026689oib.272.1652015135561; Sun, 08 May 2022 06:05:35 -0700 (PDT) In-Reply-To: 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:30532 Archived-At: ------=_Part_18_1811396897.1652015134777 Content-Type: multipart/alternative; boundary="----=_Part_19_572655219.1652015134777" ------=_Part_19_572655219.1652015134777 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable 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? > > \usepackage{titleps} > \renewpagestyle{plain}{ > \sethead{}{}{} > \setfoot[][][]{}{}{\thepage\ifodd\thepage\else\hfill\fi} > } > \pagestyle{plain} > > (Adapted from=20 > https://tex.stackexchange.com/questions/443344/page-numbering-left-and-ri= ght > ) > > 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 what I'm lookin= g=20 > for > > 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 > > If you don't specify --pdf-engine, you are exporting to PDF 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 22:38:54 UTC+2 Julien Dutant napisa=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 page numbers > > > (alternating form left and right side).=20 > > > I hope I'm clear enough.=20 > > > > > > Thanks a lot.=20 > > > > > > > > > for example: > > > number "2" on page 2 is on left side of the page > > > number "3" on page 3 is on the right side of the page=20 > > > and so on=20 > > > > > > -- > > > You received this message because you are subscribed to the Google=20 > Groups > > > "pandoc-discuss" group. > > > To unsubscribe from this group and stop receiving emails from it, sen= d=20 > an > > email > > > to [1]pandoc-discus...-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > > > 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...-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org > > > [2] [3]https://groups.google.com/d/msgid/pandoc-discuss/ > > d5176bdb-8abb-4a9e-942a-e5949045abd6n% > 40googlegroups.com?utm_medium=3Demail& > > utm_source=3Dfooter > >=20 > >=20 > > -- > > You received this message because you are subscribed to the Google Grou= ps > > "pandoc-discuss" group. > > To unsubscribe from this group and stop receiving emails from it, send= =20 > an email > > to [4]pandoc-discus...-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@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]=20 > https://groups.google.com/d/msgid/pandoc-discuss/d5176bdb-8abb-4a9e-942a-= e5949045abd6n%40googlegroups.com?utm_medium=3Demail&utm_source=3Dfooter > > [4] mailto:pandoc-discus...-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org > > [5]=20 > https://groups.google.com/d/msgid/pandoc-discuss/562ec38a-203c-4294-b40b-= 77d536181de5n%40googlegroups.com?utm_medium=3Demail&utm_source=3Dfooter > > --=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/7d649510-4264-4f9e-8dd8-00641b4c7ebbn%40googlegroups.com. ------=_Part_19_572655219.1652015134777 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Now I have numbers on odd pages (right side). 

niedziela, 8 maja 2022 o= =C2=A014:16:55 UTC+2 Bastien Dumont napisa=C5=82(a):
Ok, so forget about twoside. What h= appens if you add the following to "header-includes" in the metad= ata?

\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-d= iscus...-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
> > 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:pan= doc-discus...-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
> > [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...@= googlegroups.com.
> 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-discu= s...-/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/7d649510-4264-4f9e-8dd8-00641b4c7ebbn%40googlegroups.= com.
------=_Part_19_572655219.1652015134777-- ------=_Part_18_1811396897.1652015134777--