From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/22059 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Sam Reckoner Newsgroups: gmane.text.pandoc Subject: RST to LaTeX with highlight directive? Date: Fri, 8 Feb 2019 14:32:01 -0800 (PST) Message-ID: Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_Part_565_970610207.1549665121574" Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="190994"; mail-complaints-to="usenet@blaine.gmane.org" To: pandoc-discuss Original-X-From: pandoc-discuss+bncBCT65U5V7MJBBYUG7DRAKGQEIWOA7RI-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Fri Feb 08 23:32:08 2019 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane.org Original-Received: from mail-ot1-f59.google.com ([209.85.210.59]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.89) (envelope-from ) id 1gsEgm-000nSs-NT for gtp-pandoc-discuss@m.gmane.org; Fri, 08 Feb 2019 23:32:05 +0100 Original-Received: by mail-ot1-f59.google.com with SMTP id z6sf4524385otm.10 for ; Fri, 08 Feb 2019 14:32:04 -0800 (PST) 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=3K5gQhqi1JudSocjU6fiMDh0T1I1hBZN/y1AhqwPP4o=; b=cgj+rLPpfin7xOn2uO+9JbXwmxDVfYBRyYpOWUCdSj307dwc0/4AUmmA/+esb84oSx lzXmdrl6WE2khd6/6046JsLwi4cuyyvh+QtwT3VBbGSVPF8F0ieSdcY261GeOYZiZKdb Dsr4nMYxbn/BnFcD47qJppeNbr8Q9PoIV80eZttl9W0SLIgQAwm/g14cLRRvhUwN7gpg z6F7invu3HOfyPmNFCtd3b4hfPxsxIwHrltAhbMq1CUBpeh3rFlAvD20oxbta99zDwHn cK8/0UIFEk7CVj5sSo4BS5uIHWpMGRSCFxqxJNxxmA7WmQ9TN08DOVofDXuvLaROE/nE fTDw== 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=3K5gQhqi1JudSocjU6fiMDh0T1I1hBZN/y1AhqwPP4o=; b=YfhNwCuc06lJbEe/Tqp/7nlq1GwIw42rGQu5zTyhG98wh90LpGjLwCVq+NnnWBrxc+ L8SLzhVCWEwGLllQ3vD76gWMUptt027eMIdC4vKzXL8sZqkFDm5mAGaxqTcQLi2omCIX rjNy+UuJ5099abP2WukmfKLdonJzcySBiEKVqNGZONvP2OyUJYelEwJIMAcyL6HRY2iV npEn1P8P0KErUXJItH5JRvC0iIShAfzvezhQyOpfi3+nTQqlKDkC2Ii/ArFel8EaU5xa prViTYFjjSPNq2a3vcjnshF7+CgitXzl6g4JbEp7Wn67w3mUs/5+iBRGHmvgzXWTssmv pydA== 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=3K5gQhqi1JudSocjU6fiMDh0T1I1hBZN/y1AhqwPP4o=; b=cIW+Mgp4naIj8WuFaSFImH7J2vsb9boPsspX3r9ydg3+kFwguTRsRJ7aLOaa5XrWcB mhaNpAUnItTha+az7LZpph4z6It2bJkGm7Y81ZnlkFyT8639CmfMQq37j9Q7YiOPSgnK PlpL2Yk98I4AXo33rNadFMncIf9ocPOJ34jAH3c5NYpqg34XHCSIG6soqyK86REKWGBs /xwHurm6OSQjyqHsD/fnvE86va2mQ/EEtuXgHmJ/WW5LtUWN2y5gY4D7qh9NQ9InHGhF Ziq4liYyU4/nXG5y7prEHFGRSz5DjmaCpDxrDtx304KyC1EsfP61ss4kY5jmB+vD2Bmx k4oQ== Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: AHQUAubLOiAbaa4OjCFJIeQJ8VDKiPOVBboY+becZL//R2tKRGcjq/vL AoXFNtRX1N5tl1sqbjM8iaA= X-Google-Smtp-Source: AHgI3IajrhHmwBe86g8yhzwlJ+A3bKdTNHxezrBr8Auhm7dQo6WF9LA5CeE1bJ1s1B3EghN0YBnRrw== X-Received: by 2002:a54:459a:: with SMTP id z26mr2136oib.1.1549665123397; Fri, 08 Feb 2019 14:32:03 -0800 (PST) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 2002:a9d:2c62:: with SMTP id f89ls4375438otb.2.gmail; Fri, 08 Feb 2019 14:32:02 -0800 (PST) X-Received: by 2002:a9d:5e01:: with SMTP id d1mr13452oti.1.1549665122135; Fri, 08 Feb 2019 14:32:02 -0800 (PST) X-Original-Sender: reckoner-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.org gmane.text.pandoc:22059 Archived-At: ------=_Part_565_970610207.1549665121574 Content-Type: multipart/alternative; boundary="----=_Part_566_9227461.1549665121574" ------=_Part_566_9227461.1549665121574 Content-Type: text/plain; charset="UTF-8" Hi, I have a large number of rst documents that I am trying to convert to latex. The rst documents contain the .. highlight:: python directive which causes the literal blocks to be code formatted correctly but when I do the pandoc conversion, the resulting latex does not produce the corresponding highlights. I am doing this on the command line with pandoc 2.2.3.2 on Ubuntu bionic. pandoc -s foo.rst -o foo.tex For other reasons I cannot use the .. code: python directive. Thanks in advance. -- 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 post to this group, send email to pandoc-discuss-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/a4ea56dc-3217-44ef-9b9f-5e733b417458%40googlegroups.com. For more options, visit https://groups.google.com/d/optout. ------=_Part_566_9227461.1549665121574 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi,

I have a large number of= rst documents that I am trying to convert to latex. The rst documents cont= ain the .. highlight= :: python=C2=A0 directive which causes the literal blocks to be code= =C2=A0 formatted correctly but when I do the pandoc conversion, the=C2=A0 r= esulting latex does not produce the corresponding highlights. I am doing th= is on the command line=C2=A0 with pandoc 2.2.3.2 on Ubuntu bionic.

pandoc -s foo.rst -o foo.tex
For other reasons I cannot use the .. code: python=C2=A0 direct= ive.

Thanks in advance.

--
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 post to this group, send email to pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
To view this discussion on the web visit https://groups.google.com/d/= msgid/pandoc-discuss/a4ea56dc-3217-44ef-9b9f-5e733b417458%40googlegroups.co= m.
For more options, visit http= s://groups.google.com/d/optout.
------=_Part_566_9227461.1549665121574-- ------=_Part_565_970610207.1549665121574--