Commit 5c194ef
committed
Fix detection of LuaTeX-ja missing file errors
LuaTeX-ja errors use "File" with capital F in error messages like:
"! LuaTeX-ja error: File 'jfm-zh_CN.lua' not found."
Updated regex pattern to match both "file" and "File" by using [fF]ile
character class. Added test case to verify detection.
Fixes rstudio/tinytex-releases#491 parent 938afa1 commit 5c194ef
File tree
3 files changed
+6
-1
lines changed- news
- src/command/render/latexmk
- tests/unit/latexmk
3 files changed
+6
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
34 | 34 | | |
35 | 35 | | |
36 | 36 | | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
37 | 41 | | |
38 | 42 | | |
39 | 43 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
269 | 269 | | |
270 | 270 | | |
271 | 271 | | |
272 | | - | |
| 272 | + | |
273 | 273 | | |
274 | 274 | | |
275 | 275 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
48 | 48 | | |
49 | 49 | | |
50 | 50 | | |
| 51 | + | |
51 | 52 | | |
52 | 53 | | |
53 | 54 | | |
0 commit comments