Now, do NOT try to convert this to PostScript with dvips, it will work in some way, but the resulting PostScript file cannot be displayed. On Windows the output will be very similar, only that in the very first line you will not have c, but sjis written in the parenthesis after the version number.Īs you see, what is generated is a DVI file. Output written on hello-ptex.dvi (1 page, 384 bytes). (/home/norbert/tl/2014/texmf-dist/tex/latex/base/article.clsĭocument Class: article 9 v1.4h Standard LaTeX document class PLaTeX2e (based on LaTeX2e patch level 0)īabel and hyphenation patterns for 79 languages loaded. You should see an output similar to this, when running on a system with utf-8 locale: Save this a hello-ptex.tex, and make sure that the correct encoding (see above) is used. In the simplest case, just throw in a documentclass statement and you are settled: You can save everything as UTF-8 on Windows, too, but then you have to tell ptex with the command line switch -kanji utf8 that you are using it. The reason is that pTeX expects as default ShiftJIS on Windows, and UTF-8 on all other systems.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |