emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] Tangling and Exporting an Unsupported Language.


From: Ista Zahn
Subject: Re: [O] Tangling and Exporting an Unsupported Language.
Date: Wed, 1 Oct 2014 10:22:40 -0400

On Wed, Oct 1, 2014 at 3:10 AM, Malcolm Purvis <address@hidden> wrote:
>>>>>> "Ista" == Ista Zahn <address@hidden> writes:
>
> Ista> Exporting and tangling don't require any language support.
>
> Ista> #+begin_src foobarbas :tangle foo.bar
> Ista> +end_src
>
> Ista> is perfectly fine and will export and tangle just fine. Or did I
> Ista> misunderstand your question?
>
> Thanks, I wasn't aware that you could put an arbitrary string as the
> language.
>
> I also found that I had org-latex-listings set to t, which was making
> LaTeX error because it didn't know about the languages I was trying.
>
> I've now switched the using the minted LaTeX package, which supports
> 'text' as a language, and have started using that.

Yes, I find minted much nicer that listings, the only drawback being
that it has external dependencies. I guess you've already discovered
that you can do

(add-to-list 'org-export-latex-minted-langs '(foo "bar"))

where foo is the name of the language and bar is the pygments lexer
that should be used to typeset it.

Best,
Ista

>
> Thanks for your help.
>
> Malcolm
>
> --
>                Malcolm Purvis <address@hidden>
>



reply via email to

[Prev in Thread] Current Thread [Next in Thread]