From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/24899 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: John MacFarlane Newsgroups: gmane.text.pandoc Subject: Re: Support for Julia language in fenced code block attributes? Date: Sun, 19 Apr 2020 17:34:24 -0700 Message-ID: References: <336e638c-1c44-44cd-952b-771fa7187792@googlegroups.com> Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="123655"; mail-complaints-to="usenet@ciao.gmane.io" To: Dominique , pandoc-discuss Original-X-From: pandoc-discuss+bncBCJZJHG45QDBBHO46P2AKGQEWTZDGPQ-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mon Apr 20 02:34:40 2020 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane-mx.org Original-Received: from mail-qt1-f191.google.com ([209.85.160.191]) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1jQKOW-000W32-6n for gtp-pandoc-discuss@m.gmane-mx.org; Mon, 20 Apr 2020 02:34:40 +0200 Original-Received: by mail-qt1-f191.google.com with SMTP id x7sf9272246qtv.23 for ; Sun, 19 Apr 2020 17:34:40 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1587342879; cv=pass; d=google.com; s=arc-20160816; b=qm1/kSUFaEdQK7O+4Td/0S3jHfgoA0PLqbTicLiLX6oi4CtAczWipfWKwmC7rvBiHO YwZocA/bMU8pLyjx9KYKIMnZAjX+iEYpQOnia+ufhKBLqwxLyzQfKPoT238KSzuHFzJS o1XAGEJYf11jKA5A8Pw5zTTqS7EbTOcvV3EM1w3rnOC9s+i6cxuW+GEz5bVAeWb2YSuv 9Y0szaxWiYaqGbACHPexHX9HosK4fJ1f3EDQAOPu6c16cT110DtnU0KsbgOzZsUwK28a IQ6vK9jWqmdKtQE6BVxObIrdJI7+Yqp10mmxy5ODf6k2bIhfW+habTkRrp5PuzR2IdpR kyMQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:reply-to:mime-version:message-id :date:references:in-reply-to:subject:to:from:sender:dkim-signature; bh=KE169PvhCYYACEQ8S2qZ3GZ1rpMbNhHQ6AGy0zzbcWk=; b=ZLssoxdzcuACRZV9gtW2rSOkqN9zXTWgHizaBQe8Oev1fFMRucZMq1TmCCC5HaAkHp 5EN694bpE4B/THIHQavUhjmliQn2MaFtWgjIxV5Z56eKzDRF/CMpDlH2u5tipo3U4XKA 3GnfqMNvePsVTdpPsAlLT9zldPa3oFULmC1sMlgq2Vz94+e+MLsqBya8FDO73yXBIVQg /zNwI6/h+Pz5TLUMSutKhVErJD6u+cPPJpbCxg+BK2+IbojkjcXo5IfVWOh+sXrj0qvc kbu5j7HZMr2dFs9zRccPxiIFkcfGhQdDcrwkC9UPFdDYT3EfJU2EAbvpZDZcmOg9Z8XM T7eA== ARC-Authentication-Results: i=2; gmr-mx.google.com; dkim=pass header.i=@berkeley-edu.20150623.gappssmtp.com header.s=20150623 header.b=Arh2k7vF; spf=pass (google.com: domain of jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org designates 2607:f8b0:4864:20::631 as permitted sender) smtp.mailfrom=jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20161025; h=sender:from:to:subject:in-reply-to:references:date:message-id :mime-version:x-original-sender:x-original-authentication-results :reply-to:precedence:mailing-list:list-id:list-post:list-help :list-archive:list-subscribe:list-unsubscribe; bh=KE169PvhCYYACEQ8S2qZ3GZ1rpMbNhHQ6AGy0zzbcWk=; b=IQqDzlxfFw9F8tuadrdhtXL4zqifVXWNsYv0vz8dWt76dGgO7QgG62xsAx2N1Gk7hJ IJvU+VeQRejEyHXFezNjxwHDyCGIAqUbSw/aq6mpwv0hyY59rVIoNrdtLe5cwwRQ6phv rem3E5sjo4eJgB6E/+kOh/ikYiOiaY+pwAhRHu4t0HnIrogWVyQ9vnT1l3ghpqKRJ3rN aHc3x8+mf8Uok4m2zOiLifkmCiKJS4KopLkFpRdxYND39p0bvcNL+Oia614M3mJ1R8+r +To/IrJrfKjOEi3/u9OlZSpcLOIotmx1VAMY6TsEkPgXtWZwlYtCHtJ8+ZTtwsJa6JoQ fAFQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=sender:x-gm-message-state:from:to:subject:in-reply-to:references :date:message-id:mime-version:x-original-sender :x-original-authentication-results:reply-to:precedence:mailing-list :list-id:x-spam-checked-in-group:list-post:list-help:list-archive :list-subscribe:list-unsubscribe; bh=KE169PvhCYYACEQ8S2qZ3GZ1rpMbNhHQ6AGy0zzbcWk=; b=sQWpDkDrlRUGbzuHtBiq/Es60qGfEWQUwSeHujLFygDK+EK8A2UuQoDUsNNkC32hWn eXFZFL/+y1GRKwXiaBQwYVwSxaiA51Nwn3/FoSHDXw/Mm5ZJUs9zprb6PKTdzFarh+RH h1kRe3IRWMpNfUWebGL7uWptn/DkCRyr9LQndJWtSVwccnqISr4uf2h8F1MA1j6kMhK+ 7xa6+PlbCQP33SE9gCtd88fpVd2Y6jawkAVwymTmL0hz06SP25gmEGrcf6oaJUs+Uris Rta0M+0DCuTYlL+3Io6lp1bIJc/iPnsovBwTMSdVpmPw7oxa0J6vdD6UJu/0k88W+9qs Dxag== Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: AGi0PubjSO3mB8USCzFE1G428Eqp6YuJI3hCNdC0YkgyFqaWrf1jYfmG vUKthMwx0TKNDhvghYtS56M= X-Google-Smtp-Source: APiQypKcbtPGk80bENgETM+8M8mGQT0qV+nud+3fzsMm66543zm1/w4sWHxa4UHPR1IhH3C3QzkVeg== X-Received: by 2002:a0c:d786:: with SMTP id z6mr12960745qvi.50.1587342879293; Sun, 19 Apr 2020 17:34:39 -0700 (PDT) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 2002:ac8:6908:: with SMTP id e8ls4775291qtr.4.gmail; Sun, 19 Apr 2020 17:34:36 -0700 (PDT) X-Received: by 2002:ac8:44d6:: with SMTP id b22mr13931417qto.366.1587342876886; Sun, 19 Apr 2020 17:34:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1587342876; cv=none; d=google.com; s=arc-20160816; b=w6zUZpsI8zPME1hfstUIvZjw4a+lWLosgCoSIxGT4Hi10o/FnsZ86zdjUkQDcnaUgs JM1j4yrANMPyphKmaLkNUYLBSS9ZI6J7Z+ARXbCyAuu9S7WqINSbB788SulzXfPgFT7C MziupzVIG5QeBFJZALardOS/3x/APwz36ZDZDyiDA/mUNPJ2neOxXJ2co9L/OMTPZk6E mjj9cJhLcniH6SCvIKyvuBcKSl8abg3PcaJ5Pny6NnLSvAfHqbvt/rW7vOUz57RMtvaU ljqMWdsCFtsMq8MV5CF6NRmZALa7pRA2dr+SmP/VGnGeJFEM4O0Y7o1yF89UE/ZxQgHf XdyQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=mime-version:message-id:date:references:in-reply-to:subject:to:from :dkim-signature; bh=ybYhiadCV6tqYF1UpKONp86ploUtrglDQSeBsT1VkIA=; b=Tfb/LhdnZfka/Q6ZM3frx6fyyEG8qOFiayWHBjQMyCNz9zkPvoATVum0XB6lkmVEaj ct0ISLhHzSi6osgGYjMW8i+9UjpIsGMOHEZNObtG1+YWEdutgwX9Yu4db8jQZmko9ppy E1kC9JMIIwT6LqF8fBIregGnvS4Iq0D8E79HRA5Lp8796RMrLwuhEIfNPaR+7TDUwX7o f0YwkPickOlbaUbhlL1ETv9x/SYXez21NpCtETAvFSBmKpNSpYONgPHGs6aTEHH6iXQX gd5264y2y4JXXjtdMxIrT67D8SIdvbDzoIiGK/dU/N63Sn7xptcd8y+SeB2mcxPKNrO8 BDCA== ARC-Authentication-Results: i=1; gmr-mx.google.com; dkim=pass header.i=@berkeley-edu.20150623.gappssmtp.com header.s=20150623 header.b=Arh2k7vF; spf=pass (google.com: domain of jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org designates 2607:f8b0:4864:20::631 as permitted sender) smtp.mailfrom=jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org Original-Received: from mail-pl1-x631.google.com (mail-pl1-x631.google.com. [2607:f8b0:4864:20::631]) by gmr-mx.google.com with ESMTPS id g25si594787qto.2.2020.04.19.17.34.36 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sun, 19 Apr 2020 17:34:36 -0700 (PDT) Received-SPF: pass (google.com: domain of jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org designates 2607:f8b0:4864:20::631 as permitted sender) client-ip=2607:f8b0:4864:20::631; Original-Received: by mail-pl1-x631.google.com with SMTP id v2so3294367plp.9 for ; Sun, 19 Apr 2020 17:34:36 -0700 (PDT) X-Received: by 2002:a17:902:aa08:: with SMTP id be8mr13315472plb.299.1587342876290; Sun, 19 Apr 2020 17:34:36 -0700 (PDT) Original-Received: from johnmacfarlane.net (li55-134.members.linode.com. [74.82.3.134]) by smtp.gmail.com with ESMTPSA id cm14sm3529497pjb.31.2020.04.19.17.34.35 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 19 Apr 2020 17:34:35 -0700 (PDT) Original-Received: by johnmacfarlane.net (Postfix, from userid 1000) id AE8ABA256; Sun, 19 Apr 2020 20:34:24 -0400 (EDT) In-Reply-To: <336e638c-1c44-44cd-952b-771fa7187792-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org> X-Original-Sender: jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org X-Original-Authentication-Results: gmr-mx.google.com; dkim=pass header.i=@berkeley-edu.20150623.gappssmtp.com header.s=20150623 header.b=Arh2k7vF; spf=pass (google.com: domain of jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org designates 2607:f8b0:4864:20::631 as permitted sender) smtp.mailfrom=jgm-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:24899 Archived-At: Is Julia supported by the LaTeX listings package? If it is, we can add support. You can also try without `--listings`. Pandoc has built-in highlighting for julia. Dominique writes: > I'm converting markdown to PDF using the > > --listings > > option. I have fenced code blocks marked as Julia language: > > ~~~~{.julia} >>> using Pkg >>> pkg"activate ." >>> ~~~~~~~~~~~~~ >> >> > (those are generated by a package called Weave.jl). The LaTeX generated > file looks as follows > > \begin{lstlisting} > using Pkg > pkg"activate ." > \end{lstlisting} > > As an experiment, if I change > {.julia} > > in the original code block to > {.haskell} > > the LaTeX file says > > \begin{lstlisting}[language=Haskell] > > Is Julia not currently supported? What does it take to support it? > > Many 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 view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/336e638c-1c44-44cd-952b-771fa7187792%40googlegroups.com.