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

9
  • 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. Commented Sep 12, 2014 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
    Commented Sep 12, 2014 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 Commented Sep 12, 2014 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 Commented Sep 12, 2014 at 9:12
  • @PaulGessler Sorry, I will separate my questions next time, is that ok?
    – peace
    Commented Sep 22, 2014 at 8:31

1 Answer 1

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
1
  • 2
    Welcome to TeX.SX! You can have a look at our starter guide to familiarize yourself further with our format.
    – yo'
    Commented Feb 20, 2015 at 0:59

Not the answer you're looking for? Browse other questions tagged .