diff options
author | Akira Kakuto <kakuto@fuk.kindai.ac.jp> | 2021-01-26 00:57:35 +0000 |
---|---|---|
committer | Akira Kakuto <kakuto@fuk.kindai.ac.jp> | 2021-01-26 00:57:35 +0000 |
commit | 7242b8e75555225e663a414505f1c5a0e83ac35b (patch) | |
tree | e3c47f886e151bcdd7236dd1f61543d02d06c062 /Build | |
parent | cb150e570dd0bf2473185dadf9c5e5d3faa61ecf (diff) |
No kpathsea error message in quiet mode (S. Hirata)
git-svn-id: svn://tug.org/texlive/trunk@57526 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build')
-rw-r--r-- | Build/source/texk/dvipdfm-x/ChangeLog | 7 | ||||
-rw-r--r-- | Build/source/texk/dvipdfm-x/dvipdfmx.c | 7 | ||||
-rw-r--r-- | Build/source/texk/dvipdfm-x/xbb.c | 4 |
3 files changed, 15 insertions, 3 deletions
diff --git a/Build/source/texk/dvipdfm-x/ChangeLog b/Build/source/texk/dvipdfm-x/ChangeLog index fce47e9781d..792be1cef44 100644 --- a/Build/source/texk/dvipdfm-x/ChangeLog +++ b/Build/source/texk/dvipdfm-x/ChangeLog @@ -1,3 +1,10 @@ +2021-01-26 Shunsaku Hirata <shunsaku.hirata74@gmail.com> + + * dvipdfmx.c: Set the runtime flag suppressing error messages + for kpathsea library when "-q" option is used. + * dvipdfmx.c, xbb.c: Update copyright year. + https://tug.org/pipermail/dvipdfmx/2021-January/000216.html + 2021-01-24 Shunsaku Hirata <shunsaku.hirata74@gmail.com> * spc_misc.c: Add a compatibility special pdffontattr. diff --git a/Build/source/texk/dvipdfm-x/dvipdfmx.c b/Build/source/texk/dvipdfm-x/dvipdfmx.c index 552fadce36e..f56c1d44ed3 100644 --- a/Build/source/texk/dvipdfm-x/dvipdfmx.c +++ b/Build/source/texk/dvipdfm-x/dvipdfmx.c @@ -1148,6 +1148,11 @@ main (int argc, char *argv[]) MESG("%s -> %s\n", dvi_filename ? dvi_filename : "stdin", pdf_filename ? pdf_filename : "stdout"); + /* Kpathsea messages: + * really_quiet > 1 is actually for suppressing error messages in dvipdfmx. + */ + kpse_make_tex_discard_errors = really_quiet; + /* Setup Options */ settings.ver_major = pdf_version_major; settings.ver_minor = pdf_version_minor; @@ -1155,7 +1160,7 @@ main (int argc, char *argv[]) /* PDF trailer ID. */ if (!has_id) { #define PRODUCER \ -"%s-%s, Copyright 2002-2020 by Jin-Hwan Cho, Matthias Franz, and Shunsaku Hirata" +"%s-%s, Copyright 2002-2021 by Jin-Hwan Cho, Matthias Franz, and Shunsaku Hirata" char producer[256]; sprintf(producer, PRODUCER, my_name, VERSION); diff --git a/Build/source/texk/dvipdfm-x/xbb.c b/Build/source/texk/dvipdfm-x/xbb.c index 36e7e895349..00b30501680 100644 --- a/Build/source/texk/dvipdfm-x/xbb.c +++ b/Build/source/texk/dvipdfm-x/xbb.c @@ -1,5 +1,5 @@ /* This is extractbb, a bounding box extraction program. - Copyright (C) 2008-2020 by Jin-Hwan Cho and Matthias Franz + Copyright (C) 2008-2021 by Jin-Hwan Cho and Matthias Franz and the dvipdfmx project team. This program is free software; you can redistribute it and/or modify @@ -52,7 +52,7 @@ static int Include_Page = 1; static void show_version(void) { fprintf (stdout, "\nThis is %s Version " VERSION "\n", my_name); - fprintf (stdout, "\nCopyright (C) 2008-2020 by Jin-Hwan Cho and Matthias Franz\n"); + fprintf (stdout, "\nCopyright (C) 2008-2021 by Jin-Hwan Cho and Matthias Franz\n"); fprintf (stdout, "\nThis is free software; you can redistribute it and/or modify\n"); fprintf (stdout, "it under the terms of the GNU General Public License as published by\n"); fprintf (stdout, "the Free Software Foundation; either version 2 of the License, or\n"); |