Skip to content

Commit

Permalink
refactor: promote warning "Plot data file `...' not found" to error
Browse files Browse the repository at this point in the history
Signed-off-by: Yukai Chou <[email protected]>
  • Loading branch information
muzimuzhi committed Jan 2, 2024
1 parent 6760935 commit 4da661c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions doc/generic/pgf/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
- 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 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

0 comments on commit 4da661c

Please sign in to comment.