Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Resolve missing gnuplot plots in manual #1239

Merged
merged 3 commits into from
Jan 4, 2024
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
8 changes: 1 addition & 7 deletions build.lua
Original file line number Diff line number Diff line change
Expand Up @@ -12,19 +12,13 @@ docfiledir = "./doc/generic/pgf"
docfiles =
{
"RELEASE_NOTES.md", "description.html", -- Part of the release script
"color.cfg", "pgfmanual.cfg", "images/*.jpg", "*.tex" -- Build the PDF
"color.cfg", "pgfmanual.cfg", "images", "plots", "*.tex" -- Build the manual
}
tdsroot = "generic"
typesetfiles = {"pgfmanual.tex"}
typesetexe = "lualatex"
flatten = false

-- To allow writing
function docinit_hook()
mkdir(typesetdir .. "/plots")
return 0
end

-- Set up to allow testing dvips, etc.
specialformats = specialformats or {}
specialformats["latex"] = specialformats["latex"] or
Expand Down
5 changes: 4 additions & 1 deletion doc/generic/pgf/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,16 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
- Typo in animations `end on` key #1273
- Output bounding box adjustment in pgfsys-dvisvgm.def #1275
- Fix shadings under LuaMetaTeX
- Resolve missing `gnuplot` plots in manual #1238

### Changed

- Typo fixes in the manual
- Simplify short verb `|...|` or add required preamble for it
- Harden parser for math expressions against active chars
- Resolve overfull hboxes >=20pt in the manual
- Adapt `\graphicspath` setting for flattened doc tree #1191
- Promote warning "Plot data file \`...' not found" to error

### Contributors

Expand All @@ -31,7 +34,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
- Matthias Hetzenberger
- Qrrbrbirlbel
- quark67
- Yukai Chou (muzimuzhi)
- Yukai Chou (@muzimuzhi)
- Alexander Grahn

## [3.1.10] - 2023-01-13 Henri Menke
Expand Down
2 changes: 1 addition & 1 deletion doc/generic/pgf/pgfmanual-en-main-preamble.tex
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@
% require texlive 2021 or above
\tracinglostchars=3

\graphicspath{{../../images/}}
\graphicspath{{images/}}
\input{pgfmanual-en-macros}

\usepackage{todonotes}
Expand Down
4 changes: 2 additions & 2 deletions tex/generic/pgf/modules/pgfmoduleplot.code.tex
Original file line number Diff line number Diff line change
Expand Up @@ -332,7 +332,7 @@
\pgfplotstreamstart%
\openin\r@pgf@reada=#1
\ifeof\r@pgf@reada
\pgfwarning{Plot data file `#1' not found.}
\pgferror{Plot data file `#1' not found.}
\else
\catcode`\#=14
\catcode`\^^M=5
Expand Down Expand Up @@ -400,7 +400,7 @@
\pgfplotstreamstart%
\openin\r@pgf@reada=#1
\ifeof\r@pgf@reada
\pgfwarning{Plot data file `#1' not found.}
\pgferror{Plot data file `#1' not found.}
\else
\catcode`\#=14
\catcode`\^^M=5
Expand Down
Loading