Skip to Content.
Sympa Menu

texmacs-users - Re: [TeXmacs] inputing block of python code

Subject: mailing-list for TeXmacs Users

List archive

Re: [TeXmacs] inputing block of python code


Chronological Thread 
  • From: François Poulain <address@hidden>
  • To: address@hidden
  • Cc: "chowdhary, kenny" <address@hidden>
  • Subject: Re: [TeXmacs] inputing block of python code
  • Date: Tue, 10 Jun 2014 10:50:55 +0200

Le Mon, 9 Jun 2014 23:38:40 -0700,
"chowdhary, kenny" <address@hidden> a écrit :

> Is there anyway of inputing a block of python code using the listing
> package in latex. For example, in latex I would type
>
> \lstinputlisting[language=Python]{source_filename.py}
>
> Can we do this in TeXmacs?

Yes: insert -> link -> include...

By the way, there is no syntax highlighting for python. It should be a
good idea to work on this. If you are interested in, you can see
src/System/Language/xxxxx_language.cpp for an example.

François

--
François Poulain <address@hidden>



Archive powered by MHonArc 2.6.19.

Top of Page