CTAN Comprehensive TeX Archive Network

New on CTAN: Python

Date: April 29, 2013 2:12:30 PM CEST
the dae­mon re­ports: > Name of con­tri­bu­tion: PythonTeX > Author's name: Ge­of­frey Poore > Pack­age ver­sion: 0.11 > Lo­ca­tion on CTAN: / > Sum­mary de­scrip­tion: Al­lows Python code en­tered within a LaTeX > doc­u­ment to be ex­e­cuted, and the out­put to be in­cluded in > the orig­i­nal doc­u­ment. > Li­cense type: lppl > > An­nounce­ment text given by the pack­age's con­trib­u­tor: > ---------------------------------------------------------------------- > The PythonTeX pack­age al­lows you to en­ter Python code within a LaTeX > doc­u­ment, ex­e­cute the code, and ac­cess its out­put in the orig­i­nal > doc­u­ment. > > PythonTeX pro­vides fast, user-friendly ac­cess to Python from within > LaTeX. 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 LaTeX 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. PythonTeX also pro­vides syn­tax high­light­ing for code in > LaTeX doc­u­ments via the Pyg­ments syn­tax high­lighter. > > PythonTeX in­cludes a "de­python­tex" util­ity that cre­ates a copy of a > doc­u­ment in which all Python code has been re­placed by its out­put. > This can be con­ve­nient for jour­nal sub­mis­sions, shar­ing doc­u­ments, and > con­vert­ing to other for­mats. > ---------------------------------------------------------------------- > > An­nounce­ment re­quired: Yes (we al­ways an­nounce new pack­age's.) > Users may view the pack­age cat­a­logue en­try at > http://www.ctan.org/pkg/PythonTeX > or they may browse the pack­age di­rec­tory at > http://mir­ror.ctan.org// thanks for the up­load; i in­stalled the new ver­sion, and up­dated the cat­a­logue repos­i­tory. i apol­o­gise for con­tin­u­ing de­lays in mak­ing an­nounce­ments. my health re­mains un­re­li­able, and slows me down a lot. Robin Fair­bairns For the CTAN team

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