You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Totally it needs platex or uplatex or something else, to generate the .dvi file at first.
I've heard about that so I change the command latex.exe -src -interaction=nonstopmode %.tex to platex.exe -src -interaction=nonstopmode %.tex
At first, it was just throwing out errors without any useful explaination in C:\Users\MYNAME\AppData\Local\MiKTeX\miktex\log\platex.log :
2024-03-18 00:42:17,582+0900 INFO platex - this process (8652) started by texstudio in directory D:\github\latex\article\123 with command line: platex.exe -src -interaction=nonstopmode document.tex
2024-03-18 00:42:17,582+0900 INFO platex - running on Windows 10.0.19045
2024-03-18 00:42:17,584+0900 INFO platex - this is MiKTeX-EPTEX 1.8.0 (230214) (MiKTeX 24.3)
2024-03-18 00:42:17,589+0900 INFO platex - allowing known shell commands
2024-03-18 00:42:17,765+0900 FATAL platex.core - internal error
2024-03-18 00:42:17,765+0900 FATAL platex.core - Data:
2024-03-18 00:42:17,765+0900 FATAL platex.core - Source: Libraries\MiKTeX\TeXAndFriends\include\miktex/TeXAndFriends/StringHandlerImpl.h:36
2024-03-18 00:42:17,765+0900 FATAL platex - internal error
2024-03-18 00:42:17,765+0900 FATAL platex - Info:
2024-03-18 00:42:17,765+0900 FATAL platex - Source: Libraries\MiKTeX\TeXAndFriends\include\miktex/TeXAndFriends/StringHandlerImpl.h
2024-03-18 00:42:17,765+0900 FATAL platex - Line: 36
2024-03-18 00:42:17,768+0900 INFO platex - this process (8652) finishes with exit code 1
2024-03-18 00:42:17,771+0900 WARN platex.core - still open: document.log
2024-03-18 00:42:17,772+0900 WARN platex.core - still open: document.aux
When generating the .dvi file, texstudio says:
(guessed encoding #3: UTF-8 = utf8)
(guessed encoding #5: ASCII = utf8)
(guessed encoding #6: ASCII = utf8)
(guessed encoding #5: ASCII = utf8)
(guessed encoding #5: ASCII = utf8)
Sorry, but platex.exe did not succeed. The log file hopefully contains the information to get MiKTeX going again: C:\Users\MYNAME\AppData\Local\MiKTeX\miktex\log\platex.log
and dvipdfmx always exits with
dvipdfmx:fatal: Could not open specified DVI (or XDV) file: document.dvi No output PDF file written.
without any .pdf
Then I just felt "that -src looks so strange bro, I gonna kil it" then I compile it without -src and it really works, I got the .dvi now.
But, when I ran dvipdfmx.exe "document".dvi, it returns like this, without .pdf file:
document.dvi -> document.pdf
[1
Sorry, but miktex-makemf did not succeed. The log file hopefully contains the information to get MiKTeX going again: C:\Users\MYNAME\AppData\Local\MiKTeX\miktex\log\miktex-makemf.log
Sorry, but miktex-makepk did not succeed. The log file hopefully contains the information to get MiKTeX going again: C:\Users\MYNAME\AppData\Local\MiKTeX\miktex\log\miktex-makepk.log
dvipdfmx:warning: Could not locate a virtual/physical font for TFM "rml". dvipdfmx:warning: >> There are no valid font mapping entry for this font. dvipdfmx:warning: >> Font file name "rml" was assumed but failed to locate that font.
dvipdfmx:fatal: Cannot proceed without .vf or "physical" font for PDF output... No output PDF file written.
And C:\Users\MYNAME\AppData\Local\MiKTeX\miktex\log\miktex-makemf.log is like:
2024-03-18 00:57:09,826+0900 INFO miktex-makepk - this process (19192) started by dvipdfmx in directory D:\github\latex\article\123 with command line: miktex-makepk --enable-installer --verbose rml 555 600 0+555/600
2024-03-18 00:57:09,827+0900 INFO miktex-makepk - running on Windows 10.0.19045
2024-03-18 00:57:09,831+0900 INFO makepk - Trying to make PK font rml at 555 DPI...
2024-03-18 00:57:09,841+0900 INFO makepk - The METFAONT mode is: ljfour
2024-03-18 00:57:09,847+0900 INFO makepk - Running miktex-makemf.exe...
2024-03-18 00:57:09,847+0900 INFO makepk - running: miktex-makemf.exe --miktex-enable-installer --miktex-disable-maintenance --miktex-disable-diagnose --verbose rml
2024-03-18 00:57:09,847+0900 INFO miktex-makepk.core - start process: miktex-makemf.exe --miktex-enable-installer --miktex-disable-maintenance --miktex-disable-diagnose --verbose rml
2024-03-18 00:57:10,507+0900 INFO makepk - Running miktex-ttf2pk.exe...
2024-03-18 00:57:10,507+0900 INFO makepk - running: miktex-ttf2pk.exe --miktex-enable-installer --miktex-disable-maintenance --miktex-disable-diagnose -q -t rml
2024-03-18 00:57:10,507+0900 INFO miktex-makepk.core - start process: miktex-ttf2pk.exe --miktex-enable-installer --miktex-disable-maintenance --miktex-disable-diagnose -q -t rml
2024-03-18 00:57:11,145+0900 FATAL miktex-makepk - PK font rml could not be created.
2024-03-18 00:57:11,145+0900 FATAL miktex-makepk - PK font rml could not be created.
2024-03-18 00:57:11,145+0900 FATAL miktex-makepk - Info:
2024-03-18 00:57:11,145+0900 FATAL miktex-makepk - Source:
2024-03-18 00:57:11,145+0900 FATAL miktex-makepk - Line: 0
2024-03-18 00:57:11,158+0900 INFO miktex-makepk - this process (19192) finishes with exit code 1
I just looked up lots of Japanese websites then I ran
%%% DO NOT EDIT THIS FILE! It will be replaced when MiKTeX is updated.
%%% Run the following command to edit a local version of this file:
%%% initexmf --edit-config-file updmap
and the website says that it should contain
rml H Ryumin-Light
gbm H GothicBBB-Medium
rmlv V Ryumin-Light
gbmv V GothicBBB-Medium
or
rml H ipaexm.ttf
gbm H ipaexg.ttf
rmlv V ipaexm.ttf
gbmv V ipaexg.ttf
No matter what, it should point at some Japanese fonts. The results prove that they are correct.
I overwrite kanjix.map as what they said,
IT REALLY WORKS!
After all of these, I just wanna ask that:
I've tried uplatex and all modes of ptex2pdf(offered by TexWorks), but all end in errors without explainations. I know little about computer or something else, so I just wanna know is there someone else solved similar problem?
What should I do if I really need that -synctex=1 ?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Totally it needs platex or uplatex or something else, to generate the
.dvi
file at first.I've heard about that so I change the command
latex.exe -src -interaction=nonstopmode %.tex
toplatex.exe -src -interaction=nonstopmode %.tex
At first, it was just throwing out errors without any useful explaination in
C:\Users\MYNAME\AppData\Local\MiKTeX\miktex\log\platex.log
:When generating the
.dvi
file,texstudio
says:and
dvipdfmx
always exits withwithout any
.pdf
Then I just felt "that
-src
looks so strange bro, I gonna kil it" then I compile it without-src
and it really works, I got the.dvi
now.But, when I ran
dvipdfmx.exe "document".dvi
, it returns like this, without.pdf
file:And
C:\Users\MYNAME\AppData\Local\MiKTeX\miktex\log\miktex-makemf.log
is like:I just looked up lots of Japanese websites then I ran
as https://okumuralab.org/tex/mod/forum/discuss.php?d=1766 told.
The 1st command returns nothing, but the 2nd one returns
kanjix.map
was likeand the website says that it should contain
or
No matter what, it should point at some Japanese fonts. The results prove that they are correct.
I overwrite
kanjix.map
as what they said,IT REALLY WORKS!
After all of these, I just wanna ask that:
I've tried
uplatex
and all modes ofptex2pdf
(offered by TexWorks), but all end in errors without explainations. I know little about computer or something else, so I just wanna know is there someone else solved similar problem?What should I do if I really need that
-synctex=1
?WHO MADE
kanjix.map
?Beta Was this translation helpful? Give feedback.
All reactions