• CTAN update: pyjupyter

    From CTAN Announcements via ctan-ann@erik@ctan.org to ctan-ann on Thu Mar 12 21:50:20 2026
    From Newsgroup: comp.text.tex

    Bara Ouy|?t|- Bright submitted an update to the

    pyjupyter

    package.

    Version number: 1.1.0 2026-03-11
    License type: lppl1.3c

    Summary description: Lightweight environment for typesetting Python code

    Announcement text: ----------------------------------------------------------------------


    We are pleased to announce pyjupyter v1.1.0, the second release of the LaTeX package for displaying Python code in Jupyter-style boxes. This release introduces significant enhancements and customization options based on user feedback. Users can now select from multiple monospaced fonts, including sourcecodepro, beramono, inconsolata, lmtt, courier, and txtt, allowing greater
    typographic flexibility. The package also supports adjustment of the code font size using standard LaTeX sizes such as tiny, scriptsize, footnotesize, small, normalsize, and large. Syntax highlighting has been improved to handle Python operators, keywords, and comments more accurately for better readability. Additionally, all tcolorbox options are now fully supported, including background and frame colors, corner rounding, spacing, and other layout customizations. Line numbering can be easily enabled using the built-in numbered
    option.

    This version maintains the packagerCOs focus on providing a clean, minimal, and
    robust environment for embedding Python code in LaTeX documents, making it ideal
    for scientific reports, teaching materials, and reproducible research.


    ----------------------------------------------------------------------

    This package is located at
    https://mirrors.ctan.org/macros/latex/contrib/pyjupyter

    More information is at
    https://www.ctan.org/pkg/pyjupyter

    ------------------------------------------------------------------------

    Thanks for the upload.

    For the CTAN Team
    Erik Braun

    ------------------------------------------------------------------------

    CTAN is run entirely by volunteers and supported by TeX user groups.
    Please join a user group or donate to one, see https://ctan.org/lugs
    --- Synchronet 3.21d-Linux NewsLink 1.2
  • From CTAN Announcements@manfred@ctan.org to ctan-ann on Wed Mar 18 07:08:30 2026
    From Newsgroup: comp.text.tex

    Bara Ouy|?t|- Bright submitted an update to the

    pyjupyter

    package.

    Version: 1.2.0 2026-03-15
    License: lppl1.3c

    Summary description: Lightweight environment for typesetting Python code

    Announcement text: --------------------------------------------------------------------------------

    I am pleased to announce version 1.2.0 of the pyjupyter package. This new release introduces support for including external Python files directly in LaTeX documents through the `\inputpythonfile` command. This command allows users to embed Python scripts inside Jupyter-style code boxes while preserving syntax highlighting, optional line numbering, and the visual formatting provided by the package. It is also possible to display only selected portions of a file by specifying a range of lines, which is particularly useful when presenting excerpts of longer programs. With this addition, pyjupyter becomes more convenient for teaching materials, programming assignments, and technical documentation where code stored in external files needs to be displayed clearly within a LaTeX document.

    --------------------------------------------------------------------------------

    This package is located at
    https://mirrors.ctan.org/macros/latex/contrib/pyjupyter

    More information is at
    https://ctan.org/pkg/pyjupyter


    --------------------------------------------------------------------------------

    Thanks for the upload.

    For the CTAN Team
    Manfred Lotz


    CTAN is run entirely by volunteers and supported by TeX user groups.
    Please join a user group or donate to one, see https://ctan.org/lugs .
    --- Synchronet 3.21f-Linux NewsLink 1.2