James-Yu / LaTeX-Workshop

Boost LaTeX typesetting efficiency with preview, compile, autocomplete, colorize, and more.
MIT License
10.57k stars 526 forks source link

LaTeX Font Warning was not displayed in the problem pane #1342

Closed HelloRicky123 closed 5 years ago

HelloRicky123 commented 5 years ago

Describe the bug

I use mactex and xelatex. The mac OS has no Font shape TU/SimSun(0)/bx/n and the log give out a LaTeX Font Warning, but it didn't appear in the problem pane. I check the xelatex tools and it has args of "-synctex=1", "-interaction=nonstopmode", "-file-line-error", "-max_print_line=2048", "%DOC%".

To Reproduce

A test.tex is : ```` % !Mode:: "TeX:UTF-8" \documentclass[openany,twoside,fontset=none,UTF8]{ctexbook} \usepackage{xeCJK} \usepackage{fontspec} % 字体设置宏包 \defaultfontfeatures{Mapping=tex-text} \setmainfont{Times New Roman} \setsansfont{Arial} \setCJKmainfont{SimSun} \setCJKsansfont{SimHei} \setCJKfamilyfont{hei}{SimHei} \newcommand{\hei}{\CJKfamily{hei}} \begin{document} \newcommand{\sanhao}{\fontsize{16pt}{16pt}\selectfont} % 三号, 1.0倍行距 \newcommand{\xiaosan}{\fontsize{15pt}{15pt}\selectfont} % 小三, 1.0倍行距 \newcommand{\sihao}{\fontsize{14pt}{14pt}\selectfont} % 四号, 1.0倍行距 \newcommand{\xiaosi}{\fontsize{12pt}{12pt}\selectfont} % 小四, 1.0倍行距 \newcommand{\wuhao}{\fontsize{10.5pt}{10.5pt}\selectfont} % 五号, 1.0倍行距 \newcommand{\xiaowu}{\fontsize{9pt}{9pt}\selectfont} % 小五, 1.0倍行距 \fontsize{11.5pt}{11.5pt}\selectfont\bfseries 关\hspace{0.5em}键\hspace{0.5em}词 \end{document} ````

Steps to reproduce the behavior: Just use the xelatex to build the test.tex.

Expected behavior

The LaTeX Font Warning is displayed in problem panes.

Logs

Logs ```` This is XeTeX, Version 3.14159265-2.6-0.99999 (TeX Live 2018) (preloaded format=xelatex 2019.4.15) 28 APR 2019 16:23 entering extended mode restricted \write18 enabled. %&-line parsing enabled. **test.tex (./test.tex LaTeX2e <2018-04-01> patch level 2 Babel <3.18> and hyphenation patterns for 84 language(s) loaded. (/usr/local/texlive/2018/texmf-dist/tex/latex/ctex/ctexbook.cls (/usr/local/texlive/2018/texmf-dist/tex/latex/l3kernel/expl3.sty Package: expl3 2018/03/05 L3 programming layer (loader) (/usr/local/texlive/2018/texmf-dist/tex/latex/l3kernel/expl3-code.tex Package: expl3 2018/03/05 L3 programming layer (code) \c_max_int=\count80 \l_tmpa_int=\count81 \l_tmpb_int=\count82 \g_tmpa_int=\count83 \g_tmpb_int=\count84 \g__intarray_font_int=\count85 \g__prg_map_int=\count86 \c_log_iow=\count87 \l_iow_line_count_int=\count88 \l__iow_line_target_int=\count89 \l__iow_one_indent_int=\count90 \l__iow_indent_int=\count91 \c_zero_dim=\dimen102 \c_max_dim=\dimen103 \l_tmpa_dim=\dimen104 \l_tmpb_dim=\dimen105 \g_tmpa_dim=\dimen106 \g_tmpb_dim=\dimen107 \c_zero_skip=\skip41 \c_max_skip=\skip42 \l_tmpa_skip=\skip43 \l_tmpb_skip=\skip44 \g_tmpa_skip=\skip45 \g_tmpb_skip=\skip46 \c_zero_muskip=\muskip10 \c_max_muskip=\muskip11 \l_tmpa_muskip=\muskip12 \l_tmpb_muskip=\muskip13 \g_tmpa_muskip=\muskip14 \g_tmpb_muskip=\muskip15 \l_keys_choice_int=\count92 \c__fp_leading_shift_int=\count93 \c__fp_middle_shift_int=\count94 \c__fp_trailing_shift_int=\count95 \c__fp_big_leading_shift_int=\count96 \c__fp_big_middle_shift_int=\count97 \c__fp_big_trailing_shift_int=\count98 \c__fp_Bigg_leading_shift_int=\count99 \c__fp_Bigg_middle_shift_int=\count100 \c__fp_Bigg_trailing_shift_int=\count101 \l__sort_length_int=\count102 \l__sort_min_int=\count103 \l__sort_top_int=\count104 \l__sort_max_int=\count105 \l__sort_true_max_int=\count106 \l__sort_block_int=\count107 \l__sort_begin_int=\count108 \l__sort_end_int=\count109 \l__sort_A_int=\count110 \l__sort_B_int=\count111 \l__sort_C_int=\count112 \l__tl_build_start_index_int=\count113 \l__tl_build_index_int=\count114 \l__tl_analysis_normal_int=\count115 \l__tl_analysis_index_int=\count116 \l__tl_analysis_nesting_int=\count117 \l__tl_analysis_type_int=\count118 \l__regex_internal_a_int=\count119 \l__regex_internal_b_int=\count120 \l__regex_internal_c_int=\count121 \l__regex_balance_int=\count122 \l__regex_group_level_int=\count123 \l__regex_mode_int=\count124 \c__regex_cs_in_class_mode_int=\count125 \c__regex_cs_mode_int=\count126 \l__regex_catcodes_int=\count127 \l__regex_default_catcodes_int=\count128 \c__regex_catcode_L_int=\count129 \c__regex_catcode_O_int=\count130 \c__regex_catcode_A_int=\count131 \c__regex_all_catcodes_int=\count132 \l__regex_show_lines_int=\count133 \l__regex_min_state_int=\count134 \l__regex_max_state_int=\count135 \l__regex_left_state_int=\count136 \l__regex_right_state_int=\count137 \l__regex_capturing_group_int=\count138 \l__regex_min_pos_int=\count139 \l__regex_max_pos_int=\count140 \l__regex_curr_pos_int=\count141 \l__regex_start_pos_int=\count142 \l__regex_success_pos_int=\count143 \l__regex_curr_char_int=\count144 \l__regex_curr_catcode_int=\count145 \l__regex_last_char_int=\count146 \l__regex_case_changed_char_int=\count147 \l__regex_curr_state_int=\count148 \l__regex_step_int=\count149 \l__regex_min_active_int=\count150 \l__regex_max_active_int=\count151 \l__regex_replacement_csnames_int=\count152 \l__regex_match_count_int=\count153 \l__regex_min_submatch_int=\count154 \l__regex_submatch_int=\count155 \l__regex_zeroth_submatch_int=\count156 \g__regex_trace_regex_int=\count157 \c_empty_box=\box26 \l_tmpa_box=\box27 \l_tmpb_box=\box28 \g_tmpa_box=\box29 \g_tmpb_box=\box30 \l__box_top_dim=\dimen108 \l__box_bottom_dim=\dimen109 \l__box_left_dim=\dimen110 \l__box_right_dim=\dimen111 \l__box_top_new_dim=\dimen112 \l__box_bottom_new_dim=\dimen113 \l__box_left_new_dim=\dimen114 \l__box_right_new_dim=\dimen115 \l__box_internal_box=\box31 \l__coffin_internal_box=\box32 \l__coffin_internal_dim=\dimen116 \l__coffin_offset_x_dim=\dimen117 \l__coffin_offset_y_dim=\dimen118 \l__coffin_x_dim=\dimen119 \l__coffin_y_dim=\dimen120 \l__coffin_x_prime_dim=\dimen121 \l__coffin_y_prime_dim=\dimen122 \c_empty_coffin=\box33 \l__coffin_aligned_coffin=\box34 \l__coffin_aligned_internal_coffin=\box35 \l_tmpa_coffin=\box36 \l_tmpb_coffin=\box37 \l__coffin_display_coffin=\box38 \l__coffin_display_coord_coffin=\box39 \l__coffin_display_pole_coffin=\box40 \l__coffin_display_offset_dim=\dimen123 \l__coffin_display_x_dim=\dimen124 \l__coffin_display_y_dim=\dimen125 \l__coffin_bounding_shift_dim=\dimen126 \l__coffin_left_corner_dim=\dimen127 \l__coffin_right_corner_dim=\dimen128 \l__coffin_bottom_corner_dim=\dimen129 \l__coffin_top_corner_dim=\dimen130 \l__coffin_scaled_total_height_dim=\dimen131 \l__coffin_scaled_width_dim=\dimen132 ) (/usr/local/texlive/2018/texmf-dist/tex/latex/l3kernel/l3xdvipdfmx.def File: l3xdvidpfmx.def 2017/03/18 v L3 Experimental driver: xdvipdfmx \g__driver_image_int=\count158 )) Document Class: ctexbook 2018/01/28 v2.4.12 Chinese adapter for class book (CTEX) (/usr/local/texlive/2018/texmf-dist/tex/latex/l3packages/xparse/xparse.sty Package: xparse 2018/02/21 L3 Experimental document command parser \l__xparse_current_arg_int=\count159 \g__xparse_grabber_int=\count160 \l__xparse_m_args_int=\count161 \l__xparse_mandatory_args_int=\count162 \l__xparse_v_nesting_int=\count163 ) (/usr/local/texlive/2018/texmf-dist/tex/latex/l3packages/l3keys2e/l3keys2e.sty Package: l3keys2e 2018/02/21 LaTeX2e option processing using LaTeX3 keys ) \g__file_internal_ior=\read1 (/usr/local/texlive/2018/texmf-dist/tex/latex/ctex/ctexhook.sty Package: ctexhook 2018/01/28 v2.4.12 Document and package hooks (CTEX) ) (/usr/local/texlive/2018/texmf-dist/tex/latex/ctex/ctexpatch.sty Package: ctexpatch 2018/01/28 v2.4.12 Patching commands (CTEX) ) (/usr/local/texlive/2018/texmf-dist/tex/latex/base/fix-cm.sty Package: fix-cm 2015/01/14 v1.1t fixes to LaTeX (/usr/local/texlive/2018/texmf-dist/tex/latex/base/ts1enc.def File: ts1enc.def 2001/06/05 v3.0e (jk/car/fm) Standard LaTeX file )) (/usr/local/texlive/2018/texmf-dist/tex/latex/ms/everysel.sty Package: everysel 2011/10/28 v1.2 EverySelectfont Package (MS) ) \l__ctex_tmp_int=\count164 \l__ctex_tmp_box=\box41 \l__ctex_tmp_dim=\dimen133 \g__ctex_font_size_flag=\count165 (/usr/local/texlive/2018/texmf-dist/tex/latex/ctex/config/ctexopts.cfg File: ctexopts.cfg 2018/01/28 v2.4.12 Option configuration file (CTEX) ) (/usr/local/texlive/2018/texmf-dist/tex/latex/base/book.cls Document Class: book 2014/09/29 v1.4h Standard LaTeX document class (/usr/local/texlive/2018/texmf-dist/tex/latex/base/bk10.clo File: bk10.clo 2014/09/29 v1.4h Standard LaTeX file (size option) ) \c@part=\count166 \c@chapter=\count167 \c@section=\count168 \c@subsection=\count169 \c@subsubsection=\count170 \c@paragraph=\count171 \c@subparagraph=\count172 \c@figure=\count173 \c@table=\count174 \abovecaptionskip=\skip47 \belowcaptionskip=\skip48 \bibindent=\dimen134 ) (/usr/local/texlive/2018/texmf-dist/tex/latex/ctex/engine/ctex-engine-xetex.def File: ctex-engine-xetex.def 2018/01/28 v2.4.12 XeLaTeX adapter (CTEX) (/usr/local/texlive/2018/texmf-dist/tex/xelatex/xecjk/xeCJK.sty Package: xeCJK 2018/04/07 v3.7.0 Typesetting CJK scripts with XeLaTeX (/usr/local/texlive/2018/texmf-dist/tex/latex/l3packages/xtemplate/xtemplate.sty Package: xtemplate 2018/02/21 L3 Experimental prototype document functions \l__xtemplate_tmp_dim=\dimen135 \l__xtemplate_tmp_int=\count175 \l__xtemplate_tmp_muskip=\muskip16 \l__xtemplate_tmp_skip=\skip49 ) \l__xeCJK_tmp_int=\count176 \l__xeCJK_tmp_box=\box42 \l__xeCJK_tmp_dim=\dimen136 \l__xeCJK_tmp_skip=\skip50 ................................................. . LaTeX info: "xparse/define-command" . . Defining command \xeCJKShipoutHook with sig. '' on line 150. ................................................. \g__xeCJK_space_factor_int=\count177 \l__xeCJK_begin_int=\count178 \l__xeCJK_end_int=\count179 ................................................. . LaTeX info: "xparse/define-command" . . Defining command \makexeCJKactive with sig. '' on line 396. ................................................. ................................................. . LaTeX info: "xparse/define-command" . . Defining command \makexeCJKinactive with sig. '' on line 398. ................................................. \c__xeCJK_CJK_class_int=\XeTeXcharclass1 \c__xeCJK_FullLeft_class_int=\XeTeXcharclass2 \c__xeCJK_FullRight_class_int=\XeTeXcharclass3 \c__xeCJK_HalfLeft_class_int=\XeTeXcharclass4 \c__xeCJK_HalfRight_class_int=\XeTeXcharclass5 \c__xeCJK_NormalSpace_class_int=\XeTeXcharclass6 \c__xeCJK_CM_class_int=\XeTeXcharclass7 \c__xeCJK_HangulJamo_class_int=\XeTeXcharclass8 ................................................. . LaTeX info: "xparse/define-command" . . Defining command \xeCJKDeclareCharClass with sig. 's>{\TrimSpaces }mm' on . line 580. ................................................. ................................................. . LaTeX info: "xparse/define-command" . . Defining command \__xeCJK_set_char_class_aux:Nnw with sig. . 'm>{\SplitArgument {1}{->}}m' on line 601. ................................................. ................................................. . LaTeX info: "xparse/define-command" . . Defining command \normalspacedchars with sig. 'm' on line 647. ................................................. ................................................. . LaTeX info: "xparse/define-command" . . Defining command \xeCJKResetPunctClass with sig. '' on line 658. ................................................. ................................................. . LaTeX info: "xparse/define-command" . . Defining command \xeCJKResetCharClass with sig. '' on line 670. ................................................. \l__xeCJK_last_skip=\skip51 \g__xeCJK_node_int=\count180 \c__xeCJK_CJK_node_dim=\dimen137 \c__xeCJK_CJK-space_node_dim=\dimen138 \c__xeCJK_default_node_dim=\dimen139 \c__xeCJK_default-space_node_dim=\dimen140 \c__xeCJK_CJK-widow_node_dim=\dimen141 \c__xeCJK_normalspace_node_dim=\dimen142 \l__xeCJK_ccglue_skip=\skip52 \l__xeCJK_ecglue_skip=\skip53 \l__xeCJK_punct_kern_skip=\skip54 \l__xeCJK_last_penalty_int=\count181 \l__xeCJK_last_bound_dim=\dimen143 \l__xeCJK_last_kern_dim=\dimen144 ................................................. . LaTeX info: "xparse/define-command" . . Defining command \xeCJKnobreak with sig. '' on line 1889. ................................................. \l__xeCJK_widow_penalty_int=\count182 ................................................. . LaTeX info: "xparse/define-command" . . Defining command \xeCJKDeclareSubCJKBlock with sig. 's>{\TrimSpaces }mm' on . line 2084. ................................................. ................................................. . LaTeX info: "xparse/define-command" . . Defining command \xeCJKCancelSubCJKBlock with sig. 'sm' on line 2095. ................................................. ................................................. . LaTeX info: "xparse/define-command" . . Defining command \xeCJKRestoreSubCJKBlock with sig. 'sm' on line 2104. ................................................. ................................................. . LaTeX info: "xparse/define-command" . . Defining command \xeCJKsetwidth with sig. 'smm' on line 2202. ................................................. ................................................. . LaTeX info: "xparse/define-command" . . Defining command \xeCJKsetkern with sig. 'mmm' on line 2206. ................................................. ................................................. . xtemplate info: "declare-object-type" . . Declaring object type 'xeCJK/punctuation' taking 0 argument(s) on line 2362. ................................................. \l__xeCJK_fixed_punct_width_dim=\dimen145 \l__xeCJK_mixed_punct_width_dim=\dimen146 \l__xeCJK_middle_punct_width_dim=\dimen147 \l__xeCJK_fixed_margin_width_dim=\dimen148 \l__xeCJK_mixed_margin_width_dim=\dimen149 \l__xeCJK_middle_margin_width_dim=\dimen150 \l__xeCJK_bound_punct_width_dim=\dimen151 \l__xeCJK_bound_margin_width_dim=\dimen152 \l__xeCJK_margin_minimum_dim=\dimen153 \l__xeCJK_kerning_total_width_dim=\dimen154 \l__xeCJK_same_align_margin_dim=\dimen155 \l__xeCJK_different_align_margin_dim=\dimen156 \l__xeCJK_kerning_margin_width_dim=\dimen157 \l__xeCJK_kerning_margin_minimum_dim=\dimen158 \l__xeCJK_bound_dim=\dimen159 \l__xeCJK_reverse_bound_dim=\dimen160 \l__xeCJK_minimum_bound_dim=\dimen161 \l__xeCJK_kerning_margin_dim=\dimen162 \l__xeCJK_original_margin_dim=\dimen163 ................................................. . LaTeX info: "xparse/define-command" . . Defining command \xeCJKDeclarePunctStyle with sig. '>{\TrimSpaces }mm' on . line 2942. ................................................. ................................................. . LaTeX info: "xparse/define-command" . . Defining command \xeCJKEditPunctStyle with sig. '>{\TrimSpaces }mm' on line . 2955. ................................................. ................................................. . LaTeX info: "xparse/define-command" . . Defining command \setCJKfallbackfamilyfont with sig. 'mom' on line 3059. ................................................. \g__xeCJK_family_int=\count183 ................................................. . LaTeX info: "xparse/define-command" . . Defining command \CJKfamily with sig. 't+t-m' on line 3493. ................................................. ................................................. . LaTeX info: "xparse/define-command" . . Defining command \__xeCJK_gobble_CJKfamily:wn with sig. 't+t-m' on line . 3558. ................................................. ................................................. . LaTeX info: "xparse/define-command" . . Defining command \__xeCJK_post_arg:w with sig. 'mmmO{}' on line 3618. ................................................. ................................................. . LaTeX info: "xparse/define-command" . . Defining command \setCJKmainfont with sig. 'om' on line 3624. ................................................. ................................................. . LaTeX info: "xparse/define-command" . . Defining command \setCJKsansfont with sig. 'om' on line 3631. ................................................. ................................................. . LaTeX info: "xparse/define-command" . . Defining command \setCJKmonofont with sig. 'om' on line 3637. ................................................. ................................................. . LaTeX info: "xparse/define-command" . . Defining command \setCJKfamilyfont with sig. 'mom' on line 3648. ................................................. ................................................. . LaTeX info: "xparse/define-command" . . Defining command \newCJKfontfamily with sig. 'omom' on line 3658. ................................................. ................................................. . LaTeX info: "xparse/define-command" . . Defining command \CJKfontspec with sig. 'om' on line 3664. ................................................. ................................................. . LaTeX info: "xparse/define-command" . . Defining command \defaultCJKfontfeatures with sig. 'm' on line 3687. ................................................. ................................................. . LaTeX info: "xparse/define-command" . . Defining command \addCJKfontfeatures with sig. 'sO{}m' on line 3693. ................................................. ................................................. . LaTeX info: "xparse/define-command" . . Defining command \setCJKmathfont with sig. 'om' on line 3870. ................................................. \l__xeCJK_fam_int=\count184 \g__xeCJK_fam_allocation_int=\count185 \l__xeCJK_verb_case_int=\count186 ................................................. . LaTeX info: "xparse/define-command" . . Defining command \xeCJKVerbAddon with sig. '' on line 4117. ................................................. ................................................. . LaTeX info: "xparse/define-command" . . Defining command \xeCJKOffVerbAddon with sig. '' on line 4121. ................................................. \l__xeCJK_verb_exspace_skip=\skip55 (/usr/local/texlive/2018/texmf-dist/tex/latex/fontspec/fontspec.sty Package: fontspec 2017/11/09 v2.6g Font selection for XeLaTeX and LuaLaTeX (/usr/local/texlive/2018/texmf-dist/tex/latex/fontspec/fontspec-xetex.sty Package: fontspec-xetex 2017/11/09 v2.6g Font selection for XeLaTeX and LuaLaTeX \l__fontspec_script_int=\count187 \l__fontspec_language_int=\count188 \l__fontspec_strnum_int=\count189 \l__fontspec_tmp_int=\count190 \l__fontspec_em_int=\count191 \l__fontspec_emdef_int=\count192 \l__fontspec_strong_int=\count193 \l__fontspec_strongdef_int=\count194 \l__fontspec_tmpa_dim=\dimen164 \l__fontspec_tmpb_dim=\dimen165 \l__fontspec_tmpc_dim=\dimen166 (/usr/local/texlive/2018/texmf-dist/tex/latex/base/fontenc.sty Package: fontenc 2017/04/05 v2.0i Standard LaTeX package (/usr/local/texlive/2018/texmf-dist/tex/latex/base/tuenc.def File: tuenc.def 2017/04/05 v2.0i Standard LaTeX file LaTeX Font Info: Redeclaring font encoding TU on input line 82. )) ................................................. . LaTeX info: "xparse/define-command" . . Defining command \fontspec with sig. 'O{}mO{}' on line 542. ................................................. ................................................. . LaTeX info: "xparse/define-command" . . Defining command \setmainfont with sig. 'O{}mO{}' on line 546. ................................................. ................................................. . LaTeX info: "xparse/define-command" . . Defining command \setsansfont with sig. 'O{}mO{}' on line 550. ................................................. ................................................. . LaTeX info: "xparse/define-command" . . Defining command \setmonofont with sig. 'O{}mO{}' on line 554. ................................................. ................................................. . LaTeX info: "xparse/define-command" . . Defining command \setmathrm with sig. 'O{}mO{}' on line 558. ................................................. ................................................. . LaTeX info: "xparse/define-command" . . Defining command \setboldmathrm with sig. 'O{}mO{}' on line 562. ................................................. ................................................. . LaTeX info: "xparse/define-command" . . Defining command \setmathsf with sig. 'O{}mO{}' on line 566. ................................................. ................................................. . LaTeX info: "xparse/define-command" . . Defining command \setmathtt with sig. 'O{}mO{}' on line 570. ................................................. ................................................. . LaTeX info: "xparse/define-command" . . Defining command \setromanfont with sig. 'O{}mO{}' on line 574. ................................................. ................................................. . LaTeX info: "xparse/define-command" . . Defining command \newfontfamily with sig. 'mO{}mO{}' on line 578. ................................................. ................................................. . LaTeX info: "xparse/define-command" . . Defining command \newfontface with sig. 'mO{}mO{}' on line 582. ................................................. ................................................. . LaTeX info: "xparse/define-command" . . Defining command \defaultfontfeatures with sig. 't+om' on line 586. ................................................. ................................................. . LaTeX info: "xparse/define-command" . . Defining command \addfontfeatures with sig. 'm' on line 590. ................................................. ................................................. . LaTeX info: "xparse/define-command" . . Defining command \addfontfeature with sig. 'm' on line 594. ................................................. ................................................. . LaTeX info: "xparse/define-command" . . Defining command \newfontfeature with sig. 'mm' on line 598. ................................................. ................................................. . LaTeX info: "xparse/define-command" . . Defining command \newAATfeature with sig. 'mmmm' on line 602. ................................................. ................................................. . LaTeX info: "xparse/define-command" . . Defining command \newopentypefeature with sig. 'mmm' on line 606. ................................................. ................................................. . LaTeX info: "xparse/define-command" . . Defining command \newICUfeature with sig. 'mmm' on line 610. ................................................. ................................................. . LaTeX info: "xparse/define-command" . . Defining command \aliasfontfeature with sig. 'mm' on line 614. ................................................. ................................................. . LaTeX info: "xparse/define-command" . . Defining command \aliasfontfeatureoption with sig. 'mmm' on line 618. ................................................. ................................................. . LaTeX info: "xparse/define-command" . . Defining command \newfontscript with sig. 'mm' on line 622. ................................................. ................................................. . LaTeX info: "xparse/define-command" . . Defining command \newfontlanguage with sig. 'mm' on line 626. ................................................. ................................................. . LaTeX info: "xparse/define-command" . . Defining command \DeclareFontsExtensions with sig. 'm' on line 630. ................................................. ................................................. . LaTeX info: "xparse/define-command" . . Defining command \IfFontFeatureActiveTF with sig. 'mmm' on line 634. ................................................. ................................................. . LaTeX info: "xparse/define-command" . . Defining command \EncodingCommand with sig. 'mO{}m' on line 3632. ................................................. ................................................. . LaTeX info: "xparse/define-command" . . Defining command \EncodingAccent with sig. 'mm' on line 3638. ................................................. ................................................. . LaTeX info: "xparse/define-command" . . Defining command \EncodingSymbol with sig. 'mm' on line 3644. ................................................. ................................................. . LaTeX info: "xparse/define-command" . . Defining command \EncodingComposite with sig. 'mmm' on line 3650. ................................................. ................................................. . LaTeX info: "xparse/define-command" . . Defining command \EncodingCompositeCommand with sig. 'mmm' on line 3656. ................................................. ................................................. . LaTeX info: "xparse/define-command" . . Defining command \DeclareUnicodeEncoding with sig. 'mm' on line 3681. ................................................. ................................................. . LaTeX info: "xparse/define-command" . . Defining command \UndeclareSymbol with sig. 'm' on line 3687. ................................................. ................................................. . LaTeX info: "xparse/define-command" . . Defining command \UndeclareAccent with sig. 'm' on line 3693. ................................................. ................................................. . LaTeX info: "xparse/define-command" . . Defining command \UndeclareCommand with sig. 'm' on line 3699. ................................................. ................................................. . LaTeX info: "xparse/define-command" . . Defining command \UndeclareComposite with sig. 'mm' on line 3706. ................................................. (/usr/local/texlive/2018/texmf-dist/tex/latex/fontspec/fontspec.cfg) LaTeX Info: Redefining \itshape on input line 3891. LaTeX Info: Redefining \slshape on input line 3896. LaTeX Info: Redefining \scshape on input line 3901. LaTeX Info: Redefining \upshape on input line 3906. LaTeX Info: Redefining \em on input line 3936. LaTeX Info: Redefining \emph on input line 3961. LaTeX Info: Redefining \- on input line 4015. ................................................. . LaTeX info: "xparse/redefine-command" . . Redefining command \oldstylenums with sig. 'm' on line 4110. ................................................. ................................................. . LaTeX info: "xparse/define-command" . . Defining command \liningnums with sig. 'm' on line 4114. ................................................. )) ................................................. . LaTeX info: "xparse/define-command" . . Defining command \xeCJKsetup with sig. '+m' on line 4422. ................................................. ................................................. . LaTeX info: "xparse/define-command" . . Defining command \xeCJKsetemboldenfactor with sig. 'm' on line 4424. ................................................. ................................................. . LaTeX info: "xparse/define-command" . . Defining command \xeCJKsetslantfactor with sig. 'm' on line 4426. ................................................. ................................................. . LaTeX info: "xparse/define-command" . . Defining command \punctstyle with sig. 'm' on line 4427. ................................................. ................................................. . LaTeX info: "xparse/define-command" . . Defining command \xeCJKplainchr with sig. '' on line 4428. ................................................. ................................................. . LaTeX info: "xparse/define-command" . . Defining command \CJKsetecglue with sig. 'm' on line 4429. ................................................. ................................................. . LaTeX info: "xparse/define-command" . . Defining command \CJKspace with sig. '' on line 4431. ................................................. ................................................. . LaTeX info: "xparse/define-command" . . Defining command \CJKnospace with sig. '' on line 4432. ................................................. ................................................. . LaTeX info: "xparse/define-command" . . Defining command \xeCJKallowbreakbetweenpuncts with sig. '' on line 4434. ................................................. ................................................. . LaTeX info: "xparse/define-command" . . Defining command \xeCJKnobreakbetweenpuncts with sig. '' on line 4436. ................................................. ................................................. . LaTeX info: "xparse/define-command" . . Defining command \xeCJKenablefallback with sig. '' on line 4438. ................................................. ................................................. . LaTeX info: "xparse/define-command" . . Defining command \xeCJKdisablefallback with sig. '' on line 4440. ................................................. ................................................. . LaTeX info: "xparse/define-command" . . Defining command \xeCJKsetcharclass with sig. 'mmm' on line 4445. ................................................. ................................................. . LaTeX info: "xparse/redefine-command" . . Redefining command \fontfamily with sig. 'm' on line 4628. ................................................. (/usr/local/texlive/2018/texmf-dist/tex/xelatex/xecjk/xeCJK.cfg File: xeCJK.cfg 2018/04/07 v3.7.0 Configuration file for xeCJK package )) (/usr/local/texlive/2018/texmf-dist/tex/xelatex/xecjk/xeCJKfntef.sty Package: xeCJKfntef 2018/04/07 v3.7.0 xeCJK font effect (/usr/local/texlive/2018/texmf-dist/tex/generic/ulem/ulem.sty \UL@box=\box43 \UL@hyphenbox=\box44 \UL@skip=\skip56 \UL@hook=\toks14 \UL@height=\dimen167 \UL@pe=\count195 \UL@pixel=\dimen168 \ULC@box=\box45 Package: ulem 2012/05/18 \ULdepth=\dimen169 ) (/usr/local/texlive/2018/texmf-dist/tex/latex/environ/environ.sty Package: environ 2014/05/04 v0.3 A new way to define environments (/usr/local/texlive/2018/texmf-dist/tex/latex/trimspaces/trimspaces.sty Package: trimspaces 2009/09/17 v1.1 Trim spaces around a token list ) \@envbody=\toks15 ) (/usr/local/texlive/2018/texmf-dist/tex/latex/cjk/texinput/CJKfntef.sty Package: CJKfntef 2015/04/18 4.8.4 \CJK@fntefSkip=\skip57 \CJK@nest=\count196 \CJK@fntefDimen=\dimen170 \CJK@underdotBox=\box46 \CJK@ULbox=\box47 \CJK@underanyskip=\dimen171 ) \l__xeCJK_space_skip=\skip58 \c__xeCJK_ulem-begin_node_dim=\dimen172 \c__xeCJK_null_box=\box48 ................................................. . LaTeX info: "xparse/define-command" . . Defining command \xeCJKfntefon with sig. 'st-so' on line 657. ................................................. ................................................. . LaTeX info: "xparse/redefine-command" . . Redefining command \CJKunderline with sig. 'st-so' on line 673. ................................................. ................................................. . LaTeX info: "xparse/redefine-command" . . Redefining command \varCJKunderline with sig. '' on line 675. ................................................. ................................................. . LaTeX info: "xparse/redefine-command" . . Redefining command \CJKunderwave with sig. 'st-so' on line 685. ................................................. ................................................. . LaTeX info: "xparse/redefine-command" . . Redefining command \CJKunderdblline with sig. 'st-so' on line 709. ................................................. ................................................. . LaTeX info: "xparse/redefine-command" . . Redefining command \CJKsout with sig. 'st-so' on line 728. ................................................. ................................................. . LaTeX info: "xparse/redefine-command" . . Redefining command \CJKxout with sig. 'st-so' on line 745. ................................................. ................................................. . LaTeX info: "xparse/redefine-command" . . Redefining command \CJKunderanyline with sig. 'st-somm' on line 766. ................................................. \l__xeCJK_fntef_box=\box49 ................................................. . LaTeX info: "xparse/redefine-command" . . Redefining command \CJKunderanysymbol with sig. 'ommm' on line 940. ................................................. ................................................. . LaTeX info: "xparse/redefine-command" . . Redefining command \CJKunderdot with sig. 'om' on line 949. ................................................. \l__xeCJK_under_symbol_box=\box50 ................................................. . LaTeX info: "xparse/redefine-environment" . . Redefining environment 'CJKfilltwosides' with sig. 'O{c}m' on line 1053. ................................................. \c__xeCJK_filll_skip=\skip59 ) \ccwd=\dimen173 \l__ctex_ccglue_skip=\skip60 ) ................................................. . LaTeX info: "xparse/define-command" . . Defining command \ctexset with sig. '' on line 388. ................................................. ................................................. . LaTeX info: "xparse/define-command" . . Defining command \CTEXsetup with sig. '+o>{\TrimSpaces }m' on line 394. ................................................. ................................................. . LaTeX info: "xparse/define-command" . . Defining command \CTEXoptions with sig. '+o' on line 400. ................................................. ................................................. . LaTeX info: "xparse/define-command" . . Defining command \CTEXsetfont with sig. '' on line 418. ................................................. ................................................. . LaTeX info: "xparse/define-command" . . Defining command \ziju with sig. 'm' on line 490. ................................................. \l__ctex_ziju_dim=\dimen174 ................................................. . LaTeX info: "xparse/define-command" . . Defining command \CTEXindent with sig. '' on line 531. ................................................. ................................................. . LaTeX info: "xparse/define-command" . . Defining command \CTEXnoindent with sig. '' on line 537. ................................................. (/usr/local/texlive/2018/texmf-dist/tex/latex/zhnumber/zhnumber.sty Package: zhnumber 2018/01/28 v2.6 Typesetting numbers with Chinese glyphs ................................................. . LaTeX info: "xparse/define-command" . . Defining command \zhnumber with sig. '+o+m' on line 50. ................................................. ................................................. . LaTeX info: "xparse/define-command" . . Defining command \zhnumberwithoptions with sig. '+m+m' on line 57. ................................................. ................................................. . LaTeX info: "xparse/define-command" . . Defining command \zhnum with sig. '+o+m' on line 111. ................................................. ................................................. . LaTeX info: "xparse/define-command" . . Defining command \zhnumwithoptions with sig. '+m+m' on line 118. ................................................. ................................................. . LaTeX info: "xparse/define-command" . . Defining command \zhdig with sig. '+o+m' on line 295. ................................................. ................................................. . LaTeX info: "xparse/define-command" . . Defining command \zhdigwithoptions with sig. '+m+m' on line 302. ................................................. ................................................. . LaTeX info: "xparse/define-command" . . Defining command \zhdigits with sig. '+s+o+m' on line 316. ................................................. ................................................. . LaTeX info: "xparse/define-command" . . Defining command \zhdigitswithoptions with sig. '+m+m+m' on line 323. ................................................. ................................................. . LaTeX info: "xparse/define-command" . . Defining command \zhdate with sig. '+s+m' on line 382. ................................................. \l__zhnum_scale_int=\count197 ................................................. . LaTeX info: "xparse/define-command" . . Defining command \zhnumExtendScaleMap with sig. '>{\TrimSpaces }+o+m' on . line 504. ................................................. ................................................. . LaTeX info: "xparse/define-command" . . Defining command \zhnumsetup with sig. '+m' on line 934. ................................................. (/usr/local/texlive/2018/texmf-dist/tex/latex/zhnumber/zhnumber-utf8.cfg File: zhnumber-utf8.cfg 2018/01/28 v2.6 Chinese numerals with UTF8 encoding )) ................................................. . LaTeX info: "xparse/define-command" . . Defining command \CTEXnumber with sig. 'mm' on line 554. ................................................. ................................................. . LaTeX info: "xparse/define-command" . . Defining command \CTEXdigits with sig. 'mm' on line 556. ................................................. ................................................. . LaTeX info: "xparse/define-command" . . Defining command \ctex_assign_heading_name:nn with sig. 'm>{\SplitArgument . {\c_one }{,}}+m' on line 681. ................................................. \l__ctex_heading_skip=\skip61 ................................................. . LaTeX info: "xparse/define-command" . . Defining command \partmark with sig. 'm' on line 728. ................................................. ................................................. . LaTeX info: "xparse/redefine-command" . . Redefining command \refstepcounter with sig. 'm' on line 1323. ................................................. (/usr/local/texlive/2018/texmf-dist/tex/latex/ctex/scheme/ctex-scheme-chinese-book.def File: ctex-scheme-chinese-book.def 2018/01/28 v2.4.12 Chinese scheme for book (CTEX) (/usr/local/texlive/2018/texmf-dist/tex/latex/ctex/config/ctex-name-utf8.cfg File: ctex-name-utf8.cfg 2018/01/28 v2.4.12 Caption with encoding UTF8 (CTEX) )) ................................................. . LaTeX info: "xparse/define-command" . . Defining command \zihao with sig. 'm' on line 1326. ................................................. (/usr/local/texlive/2018/texmf-dist/tex/latex/ctex/ctex-c5size.clo File: ctex-c5size.clo 2018/01/28 v2.4.12 c5size option (CTEX) ) ................................................. . LaTeX info: "xparse/define-command" . . Defining command \CTeX with sig. '' on line 1430. ................................................. ) (/usr/local/texlive/2018/texmf-dist/tex/latex/ctex/config/ctex.cfg File: ctex.cfg 2018/01/28 v2.4.12 Configuration file (CTEX) ) \g__fontspec_family_TimesNewRoman_int=\count198 ................................................. . fontspec info: "defining-font" . . Font family 'TimesNewRoman(0)' created for font 'Times New Roman' with . options [Mapping=tex-text,Ligatures=TeX]. . . This font family consists of the following NFSS series/shapes: . . - 'normal' (m/n) with NFSS spec.: <->"Times New . Roman/OT:script=latn;language=DFLT;mapping=tex-text;" . - 'small caps' (m/sc) with NFSS spec.: . - 'bold' (bx/n) with NFSS spec.: <->"Times New . Roman/B/OT:script=latn;language=DFLT;mapping=tex-text;" . - 'bold small caps' (bx/sc) with NFSS spec.: . - 'italic' (m/it) with NFSS spec.: <->"Times New . Roman/I/OT:script=latn;language=DFLT;mapping=tex-text;" . - 'italic small caps' (m/itsc) with NFSS spec.: . - 'bold italic' (bx/it) with NFSS spec.: <->"Times New . Roman/BI/OT:script=latn;language=DFLT;mapping=tex-text;" . - 'bold italic small caps' (bx/itsc) with NFSS spec.: ................................................. LaTeX Info: Redefining \rmfamily on input line 7. \g__fontspec_family_Arial_int=\count199 ................................................. . fontspec info: "defining-font" . . Font family 'Arial(0)' created for font 'Arial' with options . [Mapping=tex-text,Ligatures=TeX]. . . This font family consists of the following NFSS series/shapes: . . - 'normal' (m/n) with NFSS spec.: . <->"Arial/OT:script=latn;language=DFLT;mapping=tex-text;" . - 'small caps' (m/sc) with NFSS spec.: . - 'bold' (bx/n) with NFSS spec.: . <->"Arial/B/OT:script=latn;language=DFLT;mapping=tex-text;" . - 'bold small caps' (bx/sc) with NFSS spec.: . - 'italic' (m/it) with NFSS spec.: . <->"Arial/I/OT:script=latn;language=DFLT;mapping=tex-text;" . - 'italic small caps' (m/itsc) with NFSS spec.: . - 'bold italic' (bx/it) with NFSS spec.: . <->"Arial/BI/OT:script=latn;language=DFLT;mapping=tex-text;" . - 'bold italic small caps' (bx/itsc) with NFSS spec.: ................................................. LaTeX Info: Redefining \sffamily on input line 8. \g__fontspec_family_SimSun_int=\count266 ................................................. . fontspec info: "no-font-shape" . . Could not resolve font "SimSun/BI" (it probably doesn't exist). ................................................. ................................................. . fontspec info: "no-font-shape" . . Could not resolve font "SimSun/B" (it probably doesn't exist). ................................................. ................................................. . fontspec info: "no-font-shape" . . Could not resolve font "SimSun/I" (it probably doesn't exist). ................................................. ................................................. . fontspec info: "defining-font" . . Font family 'SimSun(0)' created for font 'SimSun' with options . [Mapping=tex-text,Script={CJK}]. . . This font family consists of the following NFSS series/shapes: . . - 'normal' (m/n) with NFSS spec.: . <->"SimSun/OT:script=hani;language=DFLT;mapping=tex-text;" . - 'small caps' (m/sc) with NFSS spec.: ................................................. (./test.aux) \openout1 = `test.aux'. LaTeX Font Info: Checking defaults for OML/cmm/m/it on input line 14. LaTeX Font Info: ... okay on input line 14. LaTeX Font Info: Checking defaults for T1/cmr/m/n on input line 14. LaTeX Font Info: ... okay on input line 14. LaTeX Font Info: Checking defaults for OT1/cmr/m/n on input line 14. LaTeX Font Info: ... okay on input line 14. LaTeX Font Info: Checking defaults for OMS/cmsy/m/n on input line 14. LaTeX Font Info: ... okay on input line 14. LaTeX Font Info: Checking defaults for TU/lmr/m/n on input line 14. LaTeX Font Info: ... okay on input line 14. LaTeX Font Info: Checking defaults for OMX/cmex/m/n on input line 14. LaTeX Font Info: ... okay on input line 14. LaTeX Font Info: Checking defaults for U/cmr/m/n on input line 14. LaTeX Font Info: ... okay on input line 14. LaTeX Font Info: Checking defaults for TS1/cmr/m/n on input line 14. LaTeX Font Info: ... okay on input line 14. ABD: EverySelectfont initializing macros LaTeX Info: Redefining \selectfont on input line 14. ................................................. . fontspec info: "setup-math" . . Adjusting the maths setup (use [no-math] to avoid this). ................................................. \symlegacymaths=\mathgroup4 LaTeX Font Info: Overwriting symbol font `legacymaths' in version `bold' (Font) OT1/cmr/m/n --> OT1/cmr/bx/n on input line 14. LaTeX Font Info: Redeclaring math accent \acute on input line 14. LaTeX Font Info: Redeclaring math accent \grave on input line 14. LaTeX Font Info: Redeclaring math accent \ddot on input line 14. LaTeX Font Info: Redeclaring math accent \tilde on input line 14. LaTeX Font Info: Redeclaring math accent \bar on input line 14. LaTeX Font Info: Redeclaring math accent \breve on input line 14. LaTeX Font Info: Redeclaring math accent \check on input line 14. LaTeX Font Info: Redeclaring math accent \hat on input line 14. LaTeX Font Info: Redeclaring math accent \dot on input line 14. LaTeX Font Info: Redeclaring math accent \mathring on input line 14. LaTeX Font Info: Redeclaring math symbol \colon on input line 14. LaTeX Font Info: Redeclaring math symbol \Gamma on input line 14. LaTeX Font Info: Redeclaring math symbol \Delta on input line 14. LaTeX Font Info: Redeclaring math symbol \Theta on input line 14. LaTeX Font Info: Redeclaring math symbol \Lambda on input line 14. LaTeX Font Info: Redeclaring math symbol \Xi on input line 14. LaTeX Font Info: Redeclaring math symbol \Pi on input line 14. LaTeX Font Info: Redeclaring math symbol \Sigma on input line 14. LaTeX Font Info: Redeclaring math symbol \Upsilon on input line 14. LaTeX Font Info: Redeclaring math symbol \Phi on input line 14. LaTeX Font Info: Redeclaring math symbol \Psi on input line 14. LaTeX Font Info: Redeclaring math symbol \Omega on input line 14. LaTeX Font Info: Redeclaring math symbol \mathdollar on input line 14. LaTeX Font Info: Redeclaring symbol font `operators' on input line 14. LaTeX Font Info: Encoding `OT1' has changed to `TU' for symbol font (Font) `operators' in the math version `normal' on input line 14. LaTeX Font Info: Overwriting symbol font `operators' in version `normal' (Font) OT1/cmr/m/n --> TU/TimesNewRoman(0)/m/n on input line 14. LaTeX Font Info: Encoding `OT1' has changed to `TU' for symbol font (Font) `operators' in the math version `bold' on input line 14. LaTeX Font Info: Overwriting symbol font `operators' in version `bold' (Font) OT1/cmr/bx/n --> TU/TimesNewRoman(0)/m/n on input line 14. LaTeX Font Info: Overwriting symbol font `operators' in version `normal' (Font) TU/TimesNewRoman(0)/m/n --> TU/TimesNewRoman(0)/m/n on input line 14. LaTeX Font Info: Overwriting math alphabet `\mathit' in version `normal' (Font) OT1/cmr/m/it --> TU/TimesNewRoman(0)/m/it on input line 14. LaTeX Font Info: Overwriting math alphabet `\mathbf' in version `normal' (Font) OT1/cmr/bx/n --> TU/TimesNewRoman(0)/bx/n on input line 14. LaTeX Font Info: Overwriting math alphabet `\mathsf' in version `normal' (Font) OT1/cmss/m/n --> TU/Arial(0)/m/n on input line 14. LaTeX Font Info: Overwriting math alphabet `\mathtt' in version `normal' (Font) OT1/cmtt/m/n --> TU/lmtt/m/n on input line 14. LaTeX Font Info: Overwriting symbol font `operators' in version `bold' (Font) TU/TimesNewRoman(0)/m/n --> TU/TimesNewRoman(0)/bx/n on input line 14. LaTeX Font Info: Overwriting math alphabet `\mathit' in version `bold' (Font) OT1/cmr/bx/it --> TU/TimesNewRoman(0)/bx/it on input line 14. LaTeX Font Info: Overwriting math alphabet `\mathsf' in version `bold' (Font) OT1/cmss/bx/n --> TU/Arial(0)/bx/n on input line 14. LaTeX Font Info: Overwriting math alphabet `\mathtt' in version `bold' (Font) OT1/cmtt/m/n --> TU/lmtt/bx/n on input line 14. LaTeX Font Warning: Font shape `TU/SimSun(0)/bx/n' undefined (Font) using `TU/SimSun(0)/m/n' instead on input line 22. LaTeX Font Info: Font shape `TU/TimesNewRoman(0)/m/sl' in size <10.53937> not available (Font) Font shape `TU/TimesNewRoman(0)/m/it' tried instead on input line 23. [1 ] (./test.aux) LaTeX Font Warning: Some font shapes were not available, defaults substituted. ) Here is how much of TeX's memory you used: 14436 strings out of 492970 348911 string characters out of 6133938 439281 words of memory out of 5000000 18368 multiletter control sequences out of 15000+600000 530546 words of font info for 44 fonts, out of 8000000 for 9000 1348 hyphenation exceptions out of 8191 53i,4n,71p,10428b,255s stack positions out of 5000i,500n,10000p,200000b,80000s Output written on test.pdf (1 page). ````

Screenshots image

Desktop (please complete the following information):

Additional context

seragunn commented 5 years ago

MWE (with pdflatex):

\documentclass{article}
\begin{document}
\fontsize{15}{18}\selectfont Hello world.
\end{document}

Outputs

LaTeX Font Warning: Font shape `OT1/cmr/m/n' in size <15> not available
(Font)              size <14.4> substituted on input line 3.
...
LaTeX Font Warning: Size substitutions with differences
(Font)              up to 0.6pt have occurred.