1

When you use TexStudio (iOS), you can drag and drop a figure from finder to the code of TexStudio, then a window of "Insert Graphics" prop out and let you put in the figure with convenience.

However, this function will not include the suffix of my file. e.g. if I add "123.eps", it becomes "123" in LaTex. How can I keep the ".eps"? rather than adding them one by one manually.

It becomes a problem as eps files will fail to be compiled if ".eps" is ignored, and we don't have this problem for pdf etc.

Best regards,

  • Hi David, for my case it seems my class included something that will convert eps file into pdf, but it requires a suffix of ".eps" to work properly. So would you please recommend any method to include eps directly into LaTex output? Best, Zhonglu – zlin Jan 31 '17 at 15:42
  • sorry can't help with that: that's purely a question about how the drag and drop is configured and I don't have texstudio or ios:-) – David Carlisle Jan 31 '17 at 17:05
1

Keeping the extension is not possible. This is hard-coded.

You'll have to manually add the extension back in if needed.

0

Simply add this in preamble, and then there is no need to add Suffix

 \DeclareGraphicsExtensions{.pdf,.png,.jpg,.eps}

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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