Tuesday, September 28, 2010

Texnic Center:- Latex -> Ps -> Pdf

To get TeXnicCenter to create pdf documents via ps files (required for psfrag, pstricks, eps graphics), you need to edit the profiles. From the main toolbar select "Build->Define Output Profiles...". Now select the profile "LaTex => PS", and press "copy", at the dialog change the name to "LaTex => PS => PDF".

Select the newly created profile, and click the tab "PostProcessor". Press the "new" button (a dashed square) to create a new postprocessor and call it ps2pdf. For the executable option, press the search box to the right and find the executable named ps2pdf on your system. You should find it in the directory
"C:\Program Files\MiKTeX 2.8\miktex\bin\ps2pdf"
or somewhere like that (depending on where program files are stored).

For the arguments box, enter
"%bm.ps"
including the quotes (very important).

Now select the "Viewer" tab. Under "Path of Executable" you can enter the path to adobe acrobat reader, if it is installed on your system and you can find it. On mine it is
"C:\Program Files\Adobe\Reader 9.0\Reader\AcroRd32"

For the arguments box, enter
"%bm.pdf"
including the quotes (very important).


Now select the profile from the main toolbar, build from "Build->Current File->build", and view the file from "Build->View Output"


14 comments:

  1. thank you, a lot!

    Just a note, abou one of the steps that wasn't really clear for me: the second time you add something in the 'arguments box', it is the same box as the first time you add it, i.e., you have to return to the tab "PostProcessor" to fill that box.

    But wonderful, you saved my life:)

    ReplyDelete
  2. Thanks very much. This really helped a lot! A wee note that things have changed for Acrobat Reader 10, so the viewer commands have to be changed. There's more on what to do at the following website:

    http://www.agmonim.com/2010/12/texniccenter-and-adobe-reader-10-x/

    ReplyDelete
  3. Thanks so much! The instructions were very easy to follow!

    ReplyDelete
  4. Thanks a lot, for such useful information. I think "%bm.pdf" is to be added in Command box on the viewer tab.

    ReplyDelete
  5. Where is the argument box in the viewer tab???

    ReplyDelete
  6. This comment has been removed by the author.

    ReplyDelete
  7. I followed the tutorial, but when I generate the preview the adobe reader 11 opens with the following error message "Theres was an error opening this document. This file can not be found".

    Any suggestions to solve this?

    ReplyDelete
  8. As "Akanksha" said, try changing the command line argument in the viewer tab from "%bm.ps" to "%bm.pdf"

    ReplyDelete
  9. Hello! I´m from Brazil

    thank you!!!!!!!!1

    ReplyDelete
  10. There are big data database vendors that require different technology to access. but this is not as tough as it seems.

    ReplyDelete
  11. Big data companies refers to the ability to store and process large amounts of data in a cost-effective manner. Big data deals with extremely large data sets that can be analyzed to reveal patterns, trends and associations, especially relating to human behavior and interactions. When you hear the term "big data," you may be wondering what constitutes big data. That'sa good question. In fact, when the term first started being used, people had no idea how much data was considered "big data" until they started working with it. However, now that the term has gained popularity, people have started defining what big data is.

    ReplyDelete