[latex3-commits] [latex3/latex3] main: Docu `\g_file_curr_ext_str` is empty for top level file (b5c486cb8)
github at latex-project.org
github at latex-project.org
Mon Oct 30 08:52:17 CET 2023
Repository : https://github.com/latex3/latex3
On branch : main
Link : https://github.com/latex3/latex3/commit/b5c486cb8d781879856e114c66805066620493e3
>---------------------------------------------------------------
commit b5c486cb8d781879856e114c66805066620493e3
Author: Yukai Chou <muzimuzhi at gmail.com>
Date: Fri Oct 27 07:33:42 2023 +0800
Docu `\g_file_curr_ext_str` is empty for top level file
>---------------------------------------------------------------
b5c486cb8d781879856e114c66805066620493e3
l3kernel/l3file.dtx | 8 +++++---
1 file changed, 5 insertions(+), 3 deletions(-)
diff --git a/l3kernel/l3file.dtx b/l3kernel/l3file.dtx
index af83fe4e0..2069d3721 100644
--- a/l3kernel/l3file.dtx
+++ b/l3kernel/l3file.dtx
@@ -687,9 +687,11 @@
% \emph{not} end in |/| other than the case that it is exactly equal
% to the root directory. The \meta{name} and \meta{ext} parts together
% make up the file name, thus the \meta{name} part may be thought of
-% as the \enquote{job name} for the current file. Note that \TeX{} does
-% not provide information on the \meta{ext} part for the main (top
-% level) file and that this file always has an empty \meta{dir} component.
+% as the \enquote{job name} for the current file.
+%
+% Note that \TeX{} does not provide information on the \meta{dir} and
+% \meta{ext} part for the main (top level) file and that this file
+% always has empty \meta{dir} and \meta{ext} components.
% Also, the \meta{name} here will be equal to \cs{c_sys_jobname_str},
% which may be different from the real file name (if set using
% |--jobname|, for example).
More information about the latex3-commits
mailing list.