From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/4951 Path: news.gmane.org!not-for-mail From: Larry Cai Newsgroups: gmane.text.pandoc Subject: how to enable minted instead of verbatim in generate latex format from markdown Date: Mon, 22 Oct 2012 12:57:58 -0700 (PDT) Message-ID: <9ee3b098-d73c-460e-97c4-7cd1d4c430b3@googlegroups.com> Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_2057_30725198.1350935878123" X-Trace: ger.gmane.org 1350935885 9617 80.91.229.3 (22 Oct 2012 19:58:05 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 22 Oct 2012 19:58:05 +0000 (UTC) To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-X-From: pandoc-discuss+bncBCZ6BVHSZIFRBRWKS2CAKGQECEZFH3Y-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mon Oct 22 21:58:09 2012 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane.org Original-Received: from mail-qa0-f58.google.com ([209.85.216.58]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1TQO8U-0003A5-J6 for gtp-pandoc-discuss@m.gmane.org; Mon, 22 Oct 2012 21:58:06 +0200 Original-Received: by mail-qa0-f58.google.com with SMTP id y1sf2666378qad.3 for ; Mon, 22 Oct 2012 12:57:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20120806; h=x-beenthere:date:from:to:message-id:subject:mime-version :x-original-sender:reply-to:precedence:mailing-list:list-id :x-google-group-id:list-post:list-help:list-archive:sender :list-subscribe:list-unsubscribe:content-type; bh=QDi0jFyKkkKmFvxpv4OqIgvlsbl+qwijx547XQxYaDk=; b=i5jDqPa8Qw3Cg+vHZ/c5subb+hQdpzEuMxdsIl0q++2HK2PA2pzeKeduXg/+Rk4OVZ f2Y2CnT3OTLVz1G9aLtxxiAUPr6oRp3bkQ7SHIIpdAOlY+Qp9RFIx0lhVn66Jl0LtaRk ClGfu8y+MrDvbryZnXOAmyb2brGaTKQfCj5hR+nheZcGMqWv+cr7R7DKU8I7x9Yy87KS Kraof9udwLT1be8pEOfLBeyLugxphGqlR9Pl3SxyADBt+CA4xbOI1mF6FbYeqisgr+ma 0WXMG8ziIv+UMFTuShHdObuFh4L0GgwNkWEmbtKH3ud+ROwqGN1vRwldHJJpD7qXVehS FfgQ== Original-Received: by 10.52.175.5 with SMTP id bw5mr1642482vdc.16.1350935879017; Mon, 22 Oct 2012 12:57:59 -0700 (PDT) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 10.52.30.49 with SMTP id p17ls5168869vdh.4.gmail; Mon, 22 Oct 2012 12:57:58 -0700 (PDT) Original-Received: by 10.52.28.45 with SMTP id y13mr1649920vdg.10.1350935878608; Mon, 22 Oct 2012 12:57:58 -0700 (PDT) X-Original-Sender: larry.caiyu-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: Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org List-Subscribe: , List-Unsubscribe: , Xref: news.gmane.org gmane.text.pandoc:4951 Archived-At: ------=_Part_2057_30725198.1350935878123 Content-Type: text/plain; charset=ISO-8859-1 >From pandoc release, it is mentioned that "minted" latex package is supported besides verbatim since 1.9.1.2 Currently if I set normal code segment like $ pandoc -v It will use "\begin{verbatim}" ~~~ {.bash} $ pandoc -v ~~~ It will generate \begin{Shaded} \begin{Highlighting}[] \NormalTok{$ pandoc -v } \end{Highlighting} \end{Shaded} How can I generate minted based latex instead ? BTW: minted seems is better for code syntax highlight rgs/larry -- You received this message because you are subscribed to the Google Groups "pandoc-discuss" group. To post to this group, send email to pandoc-discuss-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To view this discussion on the web visit https://groups.google.com/d/msg/pandoc-discuss/-/YyPePFbZm3EJ. For more options, visit https://groups.google.com/groups/opt_out. ------=_Part_2057_30725198.1350935878123 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable >From pandoc release, it is mentioned that "minted" latex package is support= ed besides verbatim since 1.9.1.2

Currently if I set nor= mal code segment like

    $ pandoc -v

It will use "\begin{verbatim}"

<= div>~~~ {.bash}
$ pandoc -v
~~~

It will generate 

\begin{Shaded}
=
\begin{Highlighting}[]
\NormalTok{$ pandoc -v }
\end{Highlighting}
\end{Shaded}

= How can I generate minted based latex instead ?

BT= W: minted seems is better for code syntax highlight

rgs/larry

--
You received this message because you are subscribed to the Google Groups &= quot;pandoc-discuss" group.
To post to this group, send email to pandoc-discuss-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To unsubscribe from this group, send email to pandoc-discuss+unsubscribe@go= oglegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msg/pan= doc-discuss/-/YyPePFbZm3EJ.
For more options, visit https://groups.google.com/groups/opt_out.
 
 
------=_Part_2057_30725198.1350935878123--