Changelog¶
All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Effort-based Versioning. (Changes to features documented as “experimental” will not increment macro and meso version numbers.)
Unreleased¶
(no changes yet)
4.3.0a0 - 2026-11-25¶
Added¶
The following features of StepUp RepRep 4.2 moved to StepUp Report. Apart from the changes listed below, their behavior is unchanged, only their names and some arguments differ:
- The PDF tools
add_notes_pdf(),cat_pdf(),nup_pdf()andraster_pdf(). - The compile steps
compile_latex(),compile_tectonic()andcompile_typst(), and the LaTeX toolsflatten_latex()anddiff_latex(). - The BibTeX cleanup
sanitize_bibtex(). - The conversions
convert_inkscape(),convert_markdown()andconvert_weasyprint(). - The hyperlink check
check_hrefs()andunplot().
They are renamed as follows:
- The functions are imported from
stepup.report.apiinstead ofstepup.reprep.api. - The commands start with
sr-instead ofsrr-, e.g.sr-compile-latex. - The environment variables start with
STEPUP_REPORT_instead ofREPREP_, e.g.STEPUP_REPORT_LATEXandSTEPUP_REPORT_NUP_NROW. - The
%REPREP inp,out,volandignoremarkers in LaTeX sources keep their names.
The STEPUP_REPORT_* variables are registered with StepUp Core,
so stepup config lists them and reports values that cannot be parsed.
New features compared to StepUp RepRep 4.2:
raster_pdf()renders the pages of a PDF into PNG files whendestends with.png. The page placeholders{p},{0p}and{t}in the name of the output have the same meaning as incompile_typst(). This replacesconvert_mutool_png()of 4.2.convert_inkscape()andconvert_weasyprint()take a keyword argumentstep_info, like the compile steps. The step info file lists the images and style sheets used by the SVG or HTML file.
Changed¶
Compared to StepUp RepRep 4.2:
- The argument
step_info=ofcompile_latex(),compile_tectonic()andcompile_typst()replacesinventory=, and the option--step-infoof their commands replaces--inventory. The step writes its dependencies to a step info file in the format of StepUp Core, instead of an inventory file of its own, and only when the step succeeds. The step info file lists the files of the inventory of 4.2, divided over inputs and outputs. The step info ofcompile_latex()also lists the files that LaTeX reports in the.flsfile, such as local class and style files, but not the.flsfile itself. Archiving the Files of a Compiled Document explains how to make an inventory or a ZIP file from it with StepUp Data. - All functions take the input paths and the output destination
destas positional arguments, and all other arguments as keyword-only arguments. The following arguments changed:add_notes_pdf(path_pdf, path_notes, dest),nup_pdf(path_pdf, dest)andraster_pdf(path_pdf, dest): the input ispath_pdf, anddestmay also be a directory.cat_pdf(paths_pdf, dest): the inputs arepaths_pdf.check_hrefs(path_src, *, path_config):path_config,resourcesanddurationare keyword-only.diff_latex(path_old, path_new, dest):destmay also be a directory.flatten_latex(path_tex, dest=None): the default output is{stem}-flat.tex.sanitize_bibtex(path_bib, dest=None, *, path_aux, path_config):destreplacespath_out,path_configreplacespath_cfg, andoverwriteis removed, becausedest=Nonealready overwrites the BibTeX file.
convert_inkscape(path_svg, dest=None)replacesconvert_inkscape(path_svg, path_out),convert_inkscape_pdf()andconvert_inkscape_png(). The output is a PDF by default, and a PNG whendestends with.png.- WeasyPrint is no longer installed with StepUp Report.
Install it yourself to use
convert_weasyprint(), as explained in the installation instructions.
Removed¶
Compared to StepUp RepRep 4.2:
- The variables
REPREP_LATEX_INVENTORY,REPREP_TECTONIC_INVENTORYandREPREP_TYPST_INVENTORYhave no successor. Passstep_info=to each compile step that needs one. convert_inkscape_pdf()andconvert_inkscape_png(), whichconvert_inkscape()replaces.
Fixed¶
Compared to StepUp RepRep 4.2:
diff_latex()readsSTEPUP_REPORT_LATEXDIFF_ARGSwhenlatexdiff_argsis not given. In 4.2,REPREP_LATEXDIFF_ARGSonly had an effect withlatexdiff_args=None.- The help of
sr-convert-inkscapenamesSTEPUP_REPORT_INKSCAPE_PNG_ARGSfor PNG output, instead of the variable for PDF output. convert_markdown()accepts apathlib.Pathaspaths_css, which raised aTypeErrorin 4.2, and more than one CSS file, which madesr-convert-markdownfail in 4.2.