Changelog
lese 0.4.0.9000 (In develpment)
R package
- Add Biblatex utility functions for
references.bib
processing to render per-chapter/lecture lierature lists
LaTeX (service/style
)
- The
\image
macro now can take a url (starting withhttp[s]
) to create clickable source link without having to create entry inreferences.bib
. - Slide check workflows now exit 1 if at least one slide does not compile correctly
-
framei
andframe2
now override global itemize/enuemrate font size control when using a custom font size, anditemizeM
etc. now correctly inherit their surrounding font sizes when not specificied. - Add new ref-buttons
furtherreading{}
andsourceref{}
, the later superseding\citelink{}
.\image
and friends internally use\sourceref
now.
GitHub Action workflows (service/.github/workflows
)
- In both worklows using tinytex, we experimentally pin the used version to 2023.10 for safety. This is likely to change in the future but currently this is the only version generally compatible with everything as far as we know. Ideally, we keep bumping this to a recent version, also on Overleaf.
lese 0.4.0
R package
- Add experimental
latexmk_docker()
to runlatexmk
wrapped in a docker image with a fixed TeXLive version -
compile_slide()
gainsmethod
argument, defaulting to"system"
to use localltexmk
. Can be"docker"
to use the newlatexmk_docker()
instead. - Remove
compile_slide_tinytex()
and convert it to the somewhat simplerlatexmk_tinytex()
for use withcompile_slide()
-
clean_slide()
gainskeep_pdf
option, defaulting toFALSE
for previous behavior. -
clean_slide()
genscheck_status
option, analogous to that incompile_slide()
. The same argument incompile_slide()
is passed toclean_slide()
. -
compare_slide()
gains additional optioneps_signif
([0.5]
) to manually filter output fromdiff-pdf-visually
to decrease number of false-positives. - Add
check_docker()
to check whetherdocker
is available and running.
lecheck
cli:
- Gains
--docker
argument, passed tocompile_slide()
to uselatexmk_docker()
.- Currently uses a TeX Live 2023 image as default
- Allows fully encapsulate compilation of slides with a static environment
- Gains
--postclean
argument to runlatexmk -c
after compilation, removing all detritus but keeping the.pdf
file.
LaTeX (service/style
)
- Discourageing the use of automatic and explicit
\framebreak
s, which cause rendering issues after some TeXLive version post 2023 cutoff:- The
vbframe
environment is considered deprecated and should be replace with “regular” beamerframe
s. - Removed framenumber continuation counter from
lmu-lecture.sty
for simplification
- The
- Related: The
vframe
environment (rarely used) is now removed. - Add cheatsheet preamble content from I2ML. Might need further refactor and adaptation if other lectures also use these.
Breaking changes for recently introduced macros (see the wiki):
-
splitV
now maps tosplitVCC
, notsplitVTT
. -
itemizefill
is renamed toitemizeF
New macros (see the wiki for usage instructions)
- Extended
itemizeS
,itemizeM
etc. to take argument for font size control, e.g.\begin{itemizeM}[small]
.- Built upon modular
kitemize
environment.
- Built upon modular
- Added
framei
environment which automatically wraps content in flexibleitemize
environments with font size and spacing controls. - Added
frame2
, likeframe
but also has font size control likeitemizeM
etc. and behaves like a regularframe
otherwise.
lese 0.3.0
- Rename
check_all_slides
tocheck_slides_many()
, which in turn is a wrapper aroundcheck_slides_single()
- Make documentation more consistent, e.g. by inheriting the
slide_file
parameter doc fromfind_slide_tex()
. -
slide_status_pr.Rmd
andslide_status.Rmd
: Only show slide comparison column in output if comparison has been conducted (no longer the case by default) - Remove
make_slides()
as it was effectively superseded by either- Running
compile_slide()
on a file of itnerest directly, or - Using the
lecheck
cli for more control and better error messages, or - Running
make
in selected topic directories in a shell as needed
- Running
- Add battery of new layout macros:
-
\image
and\imageC
for\includegraphics
-
\splitVXY
family for predefined positioning within columns (see the wiki)
-
lese 0.2.2
- Ignore
chapter-order-slides-all.tex
slide name incollect_lectures()
lese 0.2.1
- Added
check_slides()
argumentcompare_slides
defaulting toFALSE
, making the no longer pressingly needed slide comparisons againstslides-pdf
reference slides an optional step rather than default behavior.
lese 0.2.0
- Add new layout helpers
\splitV
,\twobytwo
and others, see https://github.com/slds-lmu/teaching_devops_issues/issues/18
lese 0.1.1
- Add heuristic to handle duplicate slide matches.
- If topics move between lectures, the current heuristic prefers the most recently edited one.
- Example:
slides-gp-bayes-lm.tex
is included inlecture_sl
andlecture_advml
, but the former is more recent.
- Extend LaTeX dependencies install via
make install-tex
based on requirements of exercises inlecture_sl
- Explicitly document that TeX Live 2024 is assumed for the entire setup.
lese 0.1.0
-
lecheck
: Addclean
subcommand to runlatexmk -C
and nothing else. -
lecheck
: Add--pdf-copy
flag to copy compiled slides toslides-pdf/<slide-name>.tex
. -
lecheck
: Add--no-comparison-pdf
flag to avoid creating diff PDFs viacompare_slides()
. -
lecheck
: Add--no-margin
flag that compiles slides without speaker margin. - Add
margin
flag tocompile_slides(
andcompile_slides_tinytex(
to facilitate with/without margin compilation - Add
lese::set_margin_token_file
utility to manage the token file for the above. - Improve robustness of lecture directory listing in
collect_lectures()
. - Add
file_counts.qmd
(still needs some cleanup and ideally a subdirectory, but paths…) - Start taking versioning somewhat seriously.