From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/28205 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Leo Ferres Newsgroups: gmane.text.pandoc Subject: omitting cells in pandoc --from ipynb --to pdf Date: Wed, 21 Apr 2021 08:51:04 -0700 (PDT) Message-ID: <65ec5344-b6d0-4ea8-8fa2-5bbebc8a1dcdn@googlegroups.com> Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_Part_2730_46419196.1619020264051" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="12503"; mail-complaints-to="usenet@ciao.gmane.io" To: pandoc-discuss Original-X-From: pandoc-discuss+bncBCVOR2EWVEEBB2MTQGCAMGQES22DVGI-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Wed Apr 21 17:51:07 2021 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane-mx.org Original-Received: from mail-oo1-f64.google.com ([209.85.161.64]) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1lZF87-00037X-6Y for gtp-pandoc-discuss@m.gmane-mx.org; Wed, 21 Apr 2021 17:51:07 +0200 Original-Received: by mail-oo1-f64.google.com with SMTP id h4-20020a4abb840000b02901e59b65fba8sf8877361oop.5 for ; Wed, 21 Apr 2021 08:51:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20161025; h=sender:date:from:to:message-id:subject:mime-version :x-original-sender:reply-to:precedence:mailing-list:list-id :list-post:list-help:list-archive:list-subscribe:list-unsubscribe; bh=UP8eA/5rOLPh74MEZnL6JyAmU3LEbQ/uGW03fTQb2mU=; b=ibpcmT2BgiV2A1nJs5p888pdFnkj7CkdYqJZW3WP2AYxKxZk/ntTUlGHmfjFbPL1BF c3YPoo8yS1uh3Do5Uoot28w88CYmVIaVhhyHERVt32AMKUvLNP2V5axJ7CzJNj+uscdA P2z77abRa+SFokQCicbGAW5xRricO9yneqhq4ZJOvXAMdl7NTb96yX+47rM7+H9El1mn RpQAIM42K8HqgRvtVdBtxsMMOhhaouwFz6t9aJl8yqx18OF++X4HnJay6KF6E4lw69fi jN40E9hWHzMi0oLUgT3oxNwoT1yT+3vRt9+8uyfLWvJPqYmzqIkt+KdyhncLo0lcTTMu QeFQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:message-id:subject:mime-version:x-original-sender :reply-to:precedence:mailing-list:list-id:list-post:list-help :list-archive:list-subscribe:list-unsubscribe; bh=UP8eA/5rOLPh74MEZnL6JyAmU3LEbQ/uGW03fTQb2mU=; b=YDNo5WC6GYi5lCwzqqjuvBMAlo6Qg8Y2EBS58Q/v30i1gre1NMmkvPXPzagY3pojLC IKm/+55pJOTdVy294xlpYxjQb78kBhn2G6E8fcSwzWgxRH52FdRAtWLQD+RgnZliWsgt LdxQFMviSZMPvcGopnqTOcl63w+CRL9d1NJUa+fkG184EoGMOcgqyjdyvDcEku1dfFgB AEHNdMISwmB2PlkPpgiJRJcTKY0ni0FNalhA/UOgU77gXjHWKnZyJi0+en2wqk/cX0MN uP+4jZZ9qdXoiE38QShA5RkZB/jMQ7EhXzP8W3jwReMHraTijdfq2Z3dXEerG10JpNUy 245w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=sender:x-gm-message-state:date:from:to:message-id: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=UP8eA/5rOLPh74MEZnL6JyAmU3LEbQ/uGW03fTQb2mU=; b=LDabARl3txXs5HETH0/GjyN0Fw/5hvricA13sA4bAZF12lQD0x9E5jFWnnoMWWygHG qWQRjaE+ywbrueOcs/ouiKVDR2ykMTrpgJo041Qgc5rAOoAaVKbm4l4BhQazY/q+YQOc fOApWUm3/v0/qZEH2bczjcziMii9NKGFVC/k7FCOWdztbPuMAMUXxWR/+nJ8+6KgjJoU xf42aimbqbw5SrF+uvuBA7g907iG/j0fsh4XqHR90lLWEWK3MrEAbM4+R9/EXOqrFmyV xRiEQomvVCn9Nra/CR1o2hBc35Eviga4kwcT97gLSW2f+Euu5CSUnkLX8lVPdO5yvnTZ mrQw== Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: AOAM532YHiJom9g1maFEkm8P5VR8lTlwdhcB+s9HKezNYialTMIbxn57 LX0D34rsrgOn/WAfR0mZGHE= X-Google-Smtp-Source: ABdhPJx7opzrC/SPuEJz4HVs0jrfs8ojM+9tchDy3Bpksar3Kfei4pjOYwCSARyu6HLzbOo0agEIkA== X-Received: by 2002:a05:6808:8f6:: with SMTP id d22mr7211394oic.52.1619020266275; Wed, 21 Apr 2021 08:51:06 -0700 (PDT) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 2002:a9d:61d9:: with SMTP id h25ls657812otk.6.gmail; Wed, 21 Apr 2021 08:51:04 -0700 (PDT) X-Received: by 2002:a9d:7ad9:: with SMTP id m25mr23631170otn.356.1619020264513; Wed, 21 Apr 2021 08:51:04 -0700 (PDT) X-Original-Sender: leoferres-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:28205 Archived-At: ------=_Part_2730_46419196.1619020264051 Content-Type: multipart/alternative; boundary="----=_Part_2731_1749299948.1619020264051" ------=_Part_2731_1749299948.1619020264051 Content-Type: text/plain; charset="UTF-8" Hello. I have the following pandoc command that I use to generate my pdf from notebooks. pandoc -V geometry:margin=1.5in --table-of-contents --toc-depth=5 \ --preserve-tabs --standalone --pdf-engine=xelatex a.ipynb \ --highlight-style=pygments --metadata-file=meta.yaml \ -o a.pdf It works fine. However, I'd like to omit some cells from the notebook. jupyter nbconvert has the option --TagRemovePreprocessor.remove_cell_tags={"omit"}. Is there a way to add that to pandoc? Thanks, Leo -- 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/65ec5344-b6d0-4ea8-8fa2-5bbebc8a1dcdn%40googlegroups.com. ------=_Part_2731_1749299948.1619020264051 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

Hello.

I have the following pandoc command that I use to= generate my pdf from notebooks.

pandoc -V geometry:margin=3D1= .5in --table-of-contents --toc-depth=3D5 \ --preserve-tabs --standalone --pdf-engine=3Dxelatex a.ipynb \ --highlight-style=3Dpygments --metadata-file=3Dmeta.yaml \ -o a.pdf

It works fine. However, I'd like to omit some cells from the notebook.&n= bsp;jupyter nbconvert has the option --TagRemovePreprocessor.remo= ve_cell_tags=3D{"omit"}. Is there a way to add that to pandoc?

Thanks= ,

Leo

--
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/65ec5344-b6d0-4ea8-8fa2-5bbebc8a1dcdn%40googlegroups.= com.
------=_Part_2731_1749299948.1619020264051-- ------=_Part_2730_46419196.1619020264051--