0

I have three questions on TeXlive 2013 in cygwin.

  1. Is pdflatex a symbol link to pdftex? I was surprised to see this in C:/cygwin/bin. As we all know, pdflatex and pdftex are very different commands. I don't know why. Does anyone know how it works?

  2. I want to config Texstudio to use tex commands from cygwin. But system file "pdflatex" cannot be executed, and "pdftex.exe" do not recognize the grammar of latex. How can I config pdflatex command in Texstudio?

  3. Chinese article compiles clean with Chinese fonts simhei.ttf, simsun.ttc under the directory of the article. I have tried to install fonts, but it seems I have failed. Could anyone help out? I have followed the instructions in How to install correctly simhei.ttf and simsun.ttc for pdflatex on TEX Live 2013

closed as too broad by Reinstate Monica - M. Schröder, user31729, Gonzalo Medina, user13907, yo' Feb 20 '15 at 1:00

Please edit the question to limit it to a specific problem with enough detail to identify an adequate answer. Avoid asking multiple distinct questions at once. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.

  • 3
    Welcome to TeX.SX! You seem to be asking several unrelated questions. On TeX.SX, we try to keep unrelated questions on separate pages. If you have multiple questions that are unrelated to one another, you should ask each in a separate TeX.SX "question". You'll stand a better chance of getting a satisfactory answer to each of your questions. – Paul Gessler Sep 12 '14 at 3:32
  • 1
    For number 2, where is texstudio installed, inside or outside cygwin? Can you actually use cygwin commands from outside cygwin. And if you need it outside cygwin, shy not just install latex on your base system. That might also fix 3. As for 1,it is likely that it is just a symlink and the system looks at the callers name to determine what happens – daleif Sep 12 '14 at 5:48
  • 1
    yes cygwin works like unix tex and all the formats using the same base engine are symlinks, the engine uses the program name (argv[0]) to determine which format to load. You can make a pdflatex.bat in your windows path that does pdftex &latex %1 so windows apps are happier – David Carlisle Sep 12 '14 at 9:11
  • 2
    texlive 2013 is frozen, texlive 2014 has been out for quite a while, so you may want to update to TL2014 first – David Carlisle Sep 12 '14 at 9:12
  • @PaulGessler Sorry, I will separate my questions next time, is that ok? – peace Sep 22 '14 at 8:31
1

TexStudio works with Cygwin TeX Live using the following:

Menu -> Options -> Configure -> Commands -> PdfLaTeX:   
"C:\cygwin64\bin\bash" -l  "/cygdrive/c/users/porterb/pdflx.sh"

Contents of pdflx.sh:

pdflatex -synctex=1 -interaction=nonstopmode -output-directory=/cygdrive/c/users/porterb/data/home/tex -output-format=pdf /cygdrive/c/users/porterb/data/home/tex/main.tex
  • 2
    Welcome to TeX.SX! You can have a look at our starter guide to familiarize yourself further with our format. – yo' Feb 20 '15 at 0:59

Not the answer you're looking for? Browse other questions tagged or ask your own question.