From: John MacFarlane <jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org>
To: Dominique
<dominique.orban-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>,
pandoc-discuss
<pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
Subject: Re: Support for Julia language in fenced code block attributes?
Date: Sun, 19 Apr 2020 17:34:24 -0700 [thread overview]
Message-ID: <m2tv1ff10v.fsf@johnmacfarlane.net> (raw)
In-Reply-To: <336e638c-1c44-44cd-952b-771fa7187792-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
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 <dominique.orban-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> 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.
next prev parent reply other threads:[~2020-04-20 0:34 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-04-19 22:24 Dominique
[not found] ` <336e638c-1c44-44cd-952b-771fa7187792-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2020-04-20 0:34 ` John MacFarlane [this message]
[not found] ` <m2tv1ff10v.fsf-pgq/RBwaQ+zq8tPRBa0AtqxOck334EZe@public.gmane.org>
2020-04-20 1:02 ` Dominique Orban
[not found] ` <8CA79C9B-70B2-4176-84FB-3BD72051A708-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2020-04-20 16:33 ` John MacFarlane
[not found] ` <m2imhup159.fsf-pgq/RBwaQ+zq8tPRBa0AtqxOck334EZe@public.gmane.org>
2020-04-20 18:10 ` BPJ
[not found] ` <CADAJKhDMx9ED9GyvUgkznok8avQJdpyPfd=HL-4mq-P=UuPfBA-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2020-04-20 18:11 ` BPJ
2020-04-20 18:38 ` Dominique Orban
[not found] ` <7C69ACD4-E47C-4EF8-89C2-990148A26981-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2020-04-20 19:02 ` John MacFarlane
[not found] ` <m24kteoua2.fsf-pgq/RBwaQ+zq8tPRBa0AtqxOck334EZe@public.gmane.org>
2020-04-20 21:58 ` Dominique Orban
[not found] ` <58ACB64D-A695-401F-965C-B4D872852A52-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2020-04-20 22:34 ` John MacFarlane
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=m2tv1ff10v.fsf@johnmacfarlane.net \
--to=jgm-tvlzxgkolnx2fbvcvol8/a@public.gmane.org \
--cc=dominique.orban-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org \
--cc=pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).