From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/31067 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Richard Huntsinger Newsgroups: gmane.text.pandoc Subject: Re: LaTex include \usepackage[table]{xcolor} Date: Fri, 22 Jul 2022 13:47:16 -0700 (PDT) Message-ID: <5a1bff39-a03f-4940-9c3a-431da38181c9n@googlegroups.com> References: <5a39f7c1-8473-444b-a88d-39929635481en@googlegroups.com> Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_Part_3168_1744043958.1658522836849" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="5117"; mail-complaints-to="usenet@ciao.gmane.io" To: pandoc-discuss Original-X-From: pandoc-discuss+bncBCFYNC6M64FBBVUZ5SLAMGQEYIJJTGI-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Fri Jul 22 22:47:22 2022 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane-mx.org Original-Received: from mail-yw1-f188.google.com ([209.85.128.188]) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1oEzYP-00018y-BP for gtp-pandoc-discuss@m.gmane-mx.org; Fri, 22 Jul 2022 22:47:21 +0200 Original-Received: by mail-yw1-f188.google.com with SMTP id 00721157ae682-31e6a8e2674sf47036797b3.4 for ; Fri, 22 Jul 2022 13:47:21 -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=tYCaMvFnwL6+UddOs8y8eNy/14yv5kz+uJWTzBJFlkc=; b=QUCCTmAQg4lbUXxu+YuoRjKQ5ZoWrdm/5v45MzTG80Va9xGJ+HDsbK6xZkaJP4J3u2 DW19aJ2JHF/8enssCvhKYDJsGETulzVGo4p66M9AoMMwgo0gGd1hIrfZ+1N+AQcih8CD vxlha5QhZc4zJpsa+gAj3xS8xFcLVc7/bgwww/Onpzcy5uRnJPzS/hAjQDqMEzR6LTSh IBd4WoNtt7kEgWes4TE1v6c7yU81cUjXpJkoSwkFfL0NC5ivxY9/zrqSuMN5LuqNVdcZ 38Y2d140lwdBFT2J8jgxHQCdeZBbc6eOhrtpIZdjIL6ygPljyL8uHchB600ocGxBtxYt 6tfg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=berkeley.edu; s=google; 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=tYCaMvFnwL6+UddOs8y8eNy/14yv5kz+uJWTzBJFlkc=; b=Jn1f5wA3QBafXBhilk7YbiTzflqE/+/iw3TXExDu86TQA+7vFaOozdC7oMR8m4gMoM rlDxFYB77lOzLOEK2z2ejf7Zitz1bEuS8r9bC2daF61Ya2nr90fzIgdXoDpdw5x71X33 DLhnvEOkWqBNFRtc6/3Ge8RJ4EoO2AC+KO+MCULpyqDukdLPN5uwk3qXfcDhhE1jJz/D Go+CN+sqCiIbbDDbyg2YtMzyDHFD6/6QhKonlbYEA9oYTy07xOIIX7GhSVZO9gdaZygT H/r7odOwVuKS6bvbBG6/ZLD0kCfgVtRhehpfNfVilA1vL9zCtATSTaKKYHTA542aJybu lMDg== 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=tYCaMvFnwL6+UddOs8y8eNy/14yv5kz+uJWTzBJFlkc=; b=TP7KYxHoTrMsSSjVm9EJNvh0OEpa/X3ZBXCaG+WNYgLNaOJxJ4Ui7Z+kRwSX1MKqzU 5Fq+qQGVO0g5zAAcQM1rLAZt3fhrOWRUUJJmr7gTh7Q7GTJiu9xe+RlXOwTGqi5W7lO6 +C8Nd4R35Pke/dlFLx0i0q+8F2jDPDYO/ammtL9S8RQTggl5Q0ONYavGgeQqldZoeh0P yBMVoULgiHLcSPkSw2OXU+p3y+v+s5vfX7SJHDkmJ8u/nNBa1xHqPvtVyjea9jxQWmDj bufzFL3qyVyLYqFgqA0pyAVoWGiofTLd8FoLXqLDgkKzCJ+uxmO2U2Si4ryLqak8JlTF NxGw== Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: AJIora/MhfVbRlGEITZL6tKkYx5tjnsQ+boqcE31cr/OlS7bhoG1AZ1z ePrtI2bW9m3sLQBH0mzRiXA= X-Google-Smtp-Source: AGRyM1uyNkkOQylRJQnauU5ssCp5y6ApIGK3uN+aR+xozDblHCPTV61pNaKRVvWLTd/THzGK7zF0tA== X-Received: by 2002:a81:88c5:0:b0:31e:f1e:dc23 with SMTP id y188-20020a8188c5000000b0031e0f1edc23mr1507840ywf.139.1658522840384; Fri, 22 Jul 2022 13:47:20 -0700 (PDT) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 2002:a25:aa26:0:b0:670:98c6:b898 with SMTP id s35-20020a25aa26000000b0067098c6b898ls3578845ybi.4.-pod-prod-gmail; Fri, 22 Jul 2022 13:47:17 -0700 (PDT) X-Received: by 2002:a25:7310:0:b0:66f:fd08:287e with SMTP id o16-20020a257310000000b0066ffd08287emr1587683ybc.219.1658522837359; Fri, 22 Jul 2022 13:47:17 -0700 (PDT) In-Reply-To: <5a39f7c1-8473-444b-a88d-39929635481en-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org> X-Original-Sender: rhuntsinger-TVLZxgkOlNX2fBVCVOL8/A@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:31067 Archived-At: ------=_Part_3168_1744043958.1658522836849 Content-Type: multipart/alternative; boundary="----=_Part_3169_1691136561.1658522836849" ------=_Part_3169_1691136561.1658522836849 Content-Type: text/plain; charset="UTF-8" Seems like the best solution is to just edit the default template and call it with the pandoc --template option. As described at https://superuser.com/questions/356032/markdown-to-latex-conversion-with-a-custom-preamble-using-pandoc . On Thursday, July 21, 2022 at 1:45:27 PM UTC-7 Richard Huntsinger wrote: > When converting from Jupyter to LaTex, the Latex output includes > \usepackage{xcolor}. How to have it include \usepackage[table]{xcolor}? > (The [table] option is required for use with Jupyter/R's knitr > functionality.) -- 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/5a1bff39-a03f-4940-9c3a-431da38181c9n%40googlegroups.com. ------=_Part_3169_1691136561.1658522836849 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Seems like the best solution is to just edit the default template and call = it with the pandoc --template option.  As described at https://su= peruser.com/questions/356032/markdown-to-latex-conversion-with-a-custom-pre= amble-using-pandoc .

On Thursday, July 21, 2022 at 1:45:27 PM UTC-7 Richard H= untsinger wrote:
When converting from Jupyter to LaTex, the Latex output includes \usepa= ckage{xcolor}.=C2=A0 How to have it include \usepackage[table]{xcolor}?=C2= =A0 (The [table] option is required for use with Jupyter/R's knitr func= tionality.)=C2=A0

--
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/5a1bff39-a03f-4940-9c3a-431da38181c9n%40googlegroups.= com.
------=_Part_3169_1691136561.1658522836849-- ------=_Part_3168_1744043958.1658522836849--