CTAN Comprehensive TeX Archive Network

CTAN Up­date: python­tex

Date: July 15, 2014 8:33:34 PM CEST
Ge­of­frey M. Poore sub­mit­ted an up­date to the python­tex pack­age. Ver­sion num­ber: 0.13 Li­cense type: lppl Sum­mary de­scrip­tion: Run Python from within a doc­u­ment, type­set­ting the re­sults An­nounce­ment text:
Added sup­port for in­ter­ac­tive de­bug­ging. Now in­cludes syncpdb, which al­lows in­ter­ac­tive Python de­bug­ging and shows both code line num­bers and cor­re­spond­ing doc­u­ment line num­bers. Added sup­port for GNU Oc­tave. TeX in­for­ma­tion such as page di­men­sions can au­to­mat­i­cally be passed to Python via the new \set­python­tex­con­text com­mand.
This pack­age is lo­cated at http://mir­ror.ctan.org/macros/la­tex/con­trib/python­tex/ More in­for­ma­tion is at http://www.ctan.org/pkg/python­tex We are sup­ported by the TeX Users Group http://www.tug.org . Please join a users group; see http://www.tug.org/user­groups.html .
Thanks for the up­load. For the CTAN Team Pe­tra RĂ¼be-Pugliese

python­tex – Run Python from within a doc­u­ment, type­set­ting the re­sults

The pack­age al­lows you to en­ter Python code within a doc­u­ment, ex­e­cute the code, and ac­cess its out­put in the orig­i­nal doc­u­ment.

Python code is only ex­e­cuted when it has been mod­i­fied, or when it meets user-spec­i­fied cri­te­ria. Code may be di­vided into user-de­fined ses­sions, which au­to­mat­i­cally run in par­al­lel.

Er­rors and warn­ings are syn­chro­nized with the doc­u­ment, so that they re­fer to the doc­u­ment's line num­bers. Ex­ter­nal de­pen­den­cies can be tracked, so that code is re-ex­e­cuted when the data it de­pends on is mod­i­fied. Python also pro­vides syn­tax high­light­ing for code in doc­u­ments via the Pyg­ments syn­tax high­lighter.

The pack­age pro­vides a de­python­tex util­ity, that cre­ates a copy of the doc­u­ment in which all Python code has been re­placed by its out­put. This is use­ful for jour­nal sub­mis­sions, shar­ing doc­u­ments, and con­ver­sion to other for­mats.

Pack­agepython­tex
Ver­sion0.16 2017-07-20
Copy­right2012–2017 Ge­of­frey M. Poore
Main­tainerGe­of­frey Poore

An­nounce­ments

more

Guest Book Sitemap Contact Contact Author