From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/31336 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Daniel Wilcox Newsgroups: gmane.text.pandoc Subject: Pandoc filter for booklet printing. Date: Thu, 8 Sep 2022 11:43:18 -0700 (PDT) Message-ID: Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_Part_13500_2134762418.1662662598438" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="5949"; mail-complaints-to="usenet@ciao.gmane.io" To: pandoc-discuss Original-X-From: pandoc-discuss+bncBDI7L2O55IPRBR7P5CMAMGQEGD5LSEQ-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Thu Sep 08 20:43:23 2022 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane-mx.org Original-Received: from mail-qv1-f56.google.com ([209.85.219.56]) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1oWMUk-0001Q4-Bt for gtp-pandoc-discuss@m.gmane-mx.org; Thu, 08 Sep 2022 20:43:22 +0200 Original-Received: by mail-qv1-f56.google.com with SMTP id y7-20020ad45307000000b004ac7fd46495sf1494185qvr.23 for ; Thu, 08 Sep 2022 11:43:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20210112; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:reply-to:x-original-sender :mime-version:subject:message-id:to:from:date:sender:from:to:cc :subject:date; bh=WtpmuWYXqhoOnRDFXdY1HJz6M2Jzhz6Nm8fD2Hd1guo=; b=oPT5VUyIV9Quwj81gmR9u89zlL/iMpHWw1lJIpaep6QUbaYsDOk9yNLVPbBaynMaiR sjlb0ndgQ9S104NGZ0f78U9d+b7mgS+dl5RkJLXXEsPpam6AIknuZg4X5sbH6q+2mtOw IpyUISYTiIJTxmJm4gzffZ8uqV1ddhp+vuga8xRG3fNA+oeDJm0Dw6I9Qo0GpaFRiMje AoikTM1dSPiI4GG00WlvzfphbfyxGlytfg5DwZuuBykYa549RdG2lyeVVWkEoDp9IJMN a/TT4X+hS+IFYzqyIoLxQuk8yk7LiUa6Hzh7wlm1hR+xxBJ8rRi18RNU3uAopffNhM/z 2kyA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:reply-to:x-original-sender :mime-version:subject:message-id:to:from:date:from:to:cc:subject :date; bh=WtpmuWYXqhoOnRDFXdY1HJz6M2Jzhz6Nm8fD2Hd1guo=; b=JxO9KdLZ3UTIeZaFwnfdxMa2JbmuurIemrLC0jmRFAAfDGLGDE9emvPT4XTozoqB7W 2Rv3UAD7jF3CgQ5RspRP2jTXyWPjTg08+u8pk5tJr4/IYmgySuCyVmJIwlNbNl3xBvjC apaugwC1MOcjYsyLnEkKGS8bIVt1k6IroP6NsOV0VDXqh830Treb4s4w0ysuosN3xU7U I3YjDaREySyNI5ewrGH1mfpOs7h6OXRxc1GiysectLmHgFv33SfYp8ka+yQNB7Lm/pAd LPsxZzATbEA9xsDOB6raiqeDwIJHP6Ig5KemDb9hXDADX29d/J33emRlfOajwpq32vIn h/5A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :x-spam-checked-in-group:list-id:mailing-list:precedence:reply-to :x-original-sender:mime-version:subject:message-id:to:from:date :x-gm-message-state:sender:from:to:cc:subject:date; bh=WtpmuWYXqhoOnRDFXdY1HJz6M2Jzhz6Nm8fD2Hd1guo=; b=f+dXZPdsx17DQFhCx32Qhj//2ldqWH3+yosatJ17xRWzC2vAsOIvQJ0HSbl1aczzUC MK7a1uLEhYAuS7vbdax8pUDkpb6WSDgf5CGxbzCQUsasNPeyD2yqabje0Q1kQWx7wuU5 59mM3mT8YT9S8A+ZYM9yzXlURWJeAPUV4gPsVbTsOxnl4eSnoTzNOLS9xHH/8w+q+wi0 RLyHmbUTIEwjqErhcMc39DlXhMFXrkQjtqQb2HEMhGEoiLOzDS9BfFyeRgT+ysyAsZEn xeb3LmO/WNDE5Xg04bxOJ7NiwCXLlhs0chpjssGbVQppcEvvLffi0ZsmiS1qKiBvQUPW oC0w== Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: ACgBeo1sc3S9HuO8YISUTKoGfSDVlkFunafrg2pASpWGOavqHsvjVffX P2etHtSZDH0Yfo31YW/Vy+I= X-Google-Smtp-Source: AA6agR61sqA1HeOG56W5ZJbvVOZNI/T71xeidyNzde2NYjDnk1dKy0iolBNHMXAlJ0tPBlayRPUOzQ== X-Received: by 2002:a05:6214:f2c:b0:499:27a:4e0f with SMTP id iw12-20020a0562140f2c00b00499027a4e0fmr8847551qvb.50.1662662601307; Thu, 08 Sep 2022 11:43:21 -0700 (PDT) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 2002:ac8:1e0f:0:b0:31f:2a3b:9713 with SMTP id n15-20020ac81e0f000000b0031f2a3b9713ls1785859qtl.9.-pod-prod-gmail; Thu, 08 Sep 2022 11:43:19 -0700 (PDT) X-Received: by 2002:a05:622a:20c:b0:343:f3:b191 with SMTP id b12-20020a05622a020c00b0034300f3b191mr9364175qtx.389.1662662598988; Thu, 08 Sep 2022 11:43:18 -0700 (PDT) X-Original-Sender: danielwilcoxjr-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:31336 Archived-At: ------=_Part_13500_2134762418.1662662598438 Content-Type: multipart/alternative; boundary="----=_Part_13501_630268000.1662662598438" ------=_Part_13501_630268000.1662662598438 Content-Type: text/plain; charset="UTF-8" I'm new to pandoc and LaTeX in general so correct me if I'm headed in the wrong direction. I'm using pandoc to produce booklets. It's two sided 2up style printing that ends up having 4 "pages" per physical page. Generally in print these are called "signatures" You fold them and end up with neat little booklets. Anyhow, It's imperative when arranging these pages for print that the *total* number of pages be a multiple of 4 so the imposition software (pdfjam) can arrange the pages for easy folding and stapling. Anyhow I've come to ask if anyone has some direction for me.I'm pretty sure I need to write a pandoc lua filter so the filter can add pages in a specific location (near the end) if the total number of pages isn't a multiple of 4, but at any rate has anyone done this before? I haven't been able to find any information regarding this. -- 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/bf814715-26b0-40b3-8e45-1344064837den%40googlegroups.com. ------=_Part_13501_630268000.1662662598438 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
I'm new to pandoc and LaTeX in general so correct me if I'm headed in = the wrong direction.
I'm using pandoc to produce booklets.  = It's two sided 2up style printing that ends up having 4 "pages" per physica= l page. Generally  in  print these are called "signatures"  = You fold them and end up with neat little booklets. Anyhow, It's imperative= when arranging these pages for print that the total number of pages= be a multiple of 4 so the imposition software (pdfjam) can arrange the pag= es for easy  folding and  stapling.   Anyhow I've come = to ask if anyone has some direction for me.I'm pretty sure I need to write = a  pandoc lua filter so the filter can add pages in a specific locatio= n (near the end) if the total number of pages isn't a multiple of 4, but at= any rate has anyone done  this before?  I haven't been able to&n= bsp; find any information  regarding this.

--
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/bf814715-26b0-40b3-8e45-1344064837den%40googlegroups.= com.
------=_Part_13501_630268000.1662662598438-- ------=_Part_13500_2134762418.1662662598438--