Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions build.lua
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ specialformats["latex"] = specialformats["latex"] or
checkengines = {"pdftex", "latexdvips", "latexdvisvgm", "luatex", "xetex"}

-- Use multiple sets of tests
checkconfigs = { "build", "config-gd" }
checkconfigs = { "build", "config-gd", "config-manual" }

-- For release
ctanzip = "pgf.ctan.flatdir"
Expand Down Expand Up @@ -79,4 +79,3 @@ function tag_hook(tagname, tagdate)
file:close()
return 0
end

8 changes: 8 additions & 0 deletions config-manual.lua
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
-- Tests for pgfmanual macros

stdengine = "luatex"
checkengines = {"luatex"}
testfiledir = "testfiles-manual"

-- this copies all doc sources "pgfmanual-en-xxx.tex", which are unneeded
testsuppdir = "./doc/generic/pgf"
6 changes: 6 additions & 0 deletions doc/generic/pgf/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,12 @@ All notable changes to this project will be documented in this file.

The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).

## Unreleased

### Fixed

- Fix formatting of `default XXX, initially XXX` in key docs #1278

## [3.1.11] - 2025-08-14 Henri Menke

### BREAKING CHANGES
Expand Down
37 changes: 37 additions & 0 deletions testfiles-manual/key-env.lvt
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
% based on pgfmanual-test.tex
\input{regression-test}
\documentclass[a4paper,doc2]{ltxdoc}

\input{pgfmanual.cfg} % default engine is LuaTeX
\input{pgfmanual-en-main-preamble.tex}

\showoutput

\begin{document}

\START

\begin{key}{/path/x=value}
\end{key}

\begin{key}{/path/x=value (default XXX)}
\end{key}

\begin{key}{/path/x=value (initially XXX)}
\end{key}

% see #1278
\begin{key}{/path/x=value (default XXX, initially XXX)}
\end{key}

% values containing "=", see #1325
\begin{key}{/path/x=value (default {K=V})}
\end{key}

\begin{key}{/path/x=value (initially {K=V})}
\end{key}

\begin{key}{/path/x=value (default {K=V}, initially {K=V})}
\end{key}

\end{document}
Loading
Loading