Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

some tests for upTeX #1000

Closed
1 task done
ostaith opened this issue Dec 14, 2021 · 2 comments
Closed
1 task done

some tests for upTeX #1000

ostaith opened this issue Dec 14, 2021 · 2 comments
Labels

Comments

@ostaith
Copy link

ostaith commented Dec 14, 2021

Dear Christian Schenk, thanks for you add upTeX in MiKTeX. I do some tests with a MWE and font configure, find some missings:

  1. missing ckx.map, I don't know whether need to add other *.map files

    I found it in dvipdfm-w32.tar.xz of W32TeX, but dvipdfm-w32.tar.xz include other .map files such as cid-x.map, I don't know how to merge it with MikTeX's cid-x.map file

  2. missing some ptex/pltex/uptex/upltex... basic packages (ptex-fontmaps) when I build MWE , it can't download automatically. I suggest you can add them in setup file, or can download automatically

    dvipdfmx:warning: Could not locate a virtual/physical font for TFM "upgbm-v".
    dvipdfmx:warning: >> There are no valid font mapping entry for this font.
    dvipdfmx:warning: >> Font file name "upgbm-v" was assumed but failed to locate that font.
    dvipdfmx:fatal: Cannot proceed without .vf or "physical" font for PDF output...
    
  3. missing some binary file for Japanese font configure, such as:

    kanji-config-updmap.exe
    kanji-config-updmap-sys.exe
    kanji-config-updmap-user.exe
    kanji-fontmap-creator.exe
    

    I don't know whether missing other binary files.

    And I don't know whether missing such "kanji-config-updmap*.exe" files, so these commands can't run successfully:

    kanji-config-updmap-sys.sh status
    
    kanji-config-updmap-sys.sh --sc adobe
    kanji-config-updmap-sys.sh --tc adobe
    

    but I can run successfully in TeX Live 2021

  4. when I build another project, it shows many errors like this:

    LaTeX Error: Invalid UTF-8 byte "8A
    

    I need add \UseRawInputEncoding at the start of the file. But all my *.tex files are UTF-8. When I use TeX Live 2021 to build it, no such errors. I don't know whether missing some other files for upTeX.

  5. I don't know why ptex/uplatex... format display to exclude in MiKTeX Console (Admin) -> Settings -> Formats, what are they used for?

  6. can you add upLaTeX in TeXWorks typesetting also?

  7. btw, the chinese translation missing translate Documentation in MiKTeX Console interface, and some buttons, e.g. finish, cancel

edocevoli added a commit that referenced this issue Dec 19, 2021
@edocevoli edocevoli added this to the 22.1 milestone Dec 27, 2021
@ostaith
Copy link
Author

ostaith commented Jan 6, 2022

another issue:
upLaTeX can't expand $WINDIR to C:\Windows,

MWE.tex (must build in Windows 10):

% !TeX encoding = UTF-8
% !TeX program = uplatex+dvipdfmx
\documentclass[fontset=windows]{ctexart}

\begin{document}

正文:“\textit{意大利}\textbf{粗体}”

\textsf{无衬线\textbf{粗体}}

\texttt{打字机}

{\songti 宋体:“\textbf{粗体}”}

{\heiti 黑体\textbf{粗体}}

{\kaishu 楷书\textbf{粗体}}

{\fangsong 仿宋\textbf{粗体}}

{\yahei 雅黑体\textbf{粗体}}

{\lishu 隶书} 

{\youyuan 幼圆}

\end{document}

when build dvipdfmx mwe.dvi, it complains no msyh.ttf in Windows 10. The reason is upLaTex can't recognize $WINDIR in ctex-fontset-windows.def:
image

but the MWE can build successfully in TeX Live.

@edocevoli edocevoli removed this from the 22.1 milestone Feb 1, 2022
@stale
Copy link

stale bot commented Apr 3, 2022

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the wontfix label Apr 3, 2022
@stale stale bot closed this as completed Apr 13, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants