Graphics, Figures & TablesFigures from Scientific Workplace to TeXnicCenter

Information and discussion about graphics, figures & tables in LaTeX documents.
Post Reply
fernandogb
Posts: 2
Joined: Thu Dec 01, 2011 12:24 am

Figures from Scientific Workplace to TeXnicCenter

Post by fernandogb »

Hello,

I am having troubles in compiling a document in TeXnicCenter (TXC) using a file that was used in Scientific Workplace (SWP). The document has some figures, and when it is saved in SWP and re-opened in TXC the whole file path appears for all the figures.
e.g.

Code: Select all

C:/Program Files (x86)/Ghostgum/gsview/Thesis/Second Chapter/graphics/ap3__15.pdf
and TXC doesn't work with this path, but it does with "/graphics/ap3__15.pdf".

I would like to know whether there exists any way to create a rule/command/etc in the preamble to replace texts/symbols and with this just to keep the part of the file path that I need.

Thank you in advance.
Fg
Last edited by fernandogb on Thu Dec 01, 2011 8:23 pm, edited 1 time in total.

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

Learn LaTeX easily with newest books:

The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis

The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more

LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis

User avatar
localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

Figures from Scientific Workplace to TeXnicCenter

Post by localghost »

In general you should avoid special characters like blank space or underscores in the path and the name of the file. But you can use the grffile package from the oberdiek bundle to evade this restriction.


Best regards and welcome to the board
Thorsten
fernandogb
Posts: 2
Joined: Thu Dec 01, 2011 12:24 am

Re: Figures from Scientific Workplace to TeXnicCenter

Post by fernandogb »

Thank you Thorsten,

My adviser is using SWP and when I get the files back the path files are changed (the graphs are generated from SWP).
I tried this package and it is working perfectly now.
Best,

Fernando
Post Reply