Paulina,
The build profile is really a collection of DOS commands that are executed
whenever the compile and/or view commands in TXC are chosen.
There is a program called ps2pdf14.bat that, in the TeXLive2005
distribution, resides in the folder C:\texlive2005\xemtex\gslib. This
program converts a ps file into a pdf file. It is not in my path, so I
have created a small batch file that I have placed in the folder
C:\texlive2005\bin\win32, which is in my path; actually it is quite easy
to change the registry setting to include that folder in the path, but
this method illustrates the versatility of the TXC build profile.
The batch file is called ps2pdfmake.bat and goes like this:
@rem Add GhostScript paths to your Path variable:
@set Path=%Path%;C:\texlive2005\xemtex\gslib
@set GS_OPTIONS=-sPAPERSIZE=a4
@if "%1"=="" goto end
@echo + + + + + + + + + + + + + + + + + + + + + +
@echo Convert %1.ps to %1.pdf
@echo + + + + + + + + + + + + + + + + + + + + + +
ps2pdf14.bat %1.ps
:end
Now to create the build profile, go to the build profiles by typing
ALT+F7, then create a new profile by copying your existing build profile
for creating a ps file. Now go to the post-processor tab for this new
profile, and add another line after the DVIps line; type in any old tag in
the main white box, and for the executable type
`C:\TeXLive2005\bin\win32\ps2pdfmake.bat' and `%bm' for the argument.
The viewer will be gsview which will show pdf files. If you want Adobe
Reader then you will have to copy the commands from the pdflatex build
profile.
I attach my build profile that can be imported into your system. (You may
have different paths for these executables, and you will have to modify
them accordingly.)
I hope that this helps.
John
------------------------ Yahoo! Groups Sponsor --------------------~-->
Yahoo! Groups gets a make over. See the new email design.
http://us.click.yahoo.com/hOt0.A/lOaOAA/yQLSAA/dkFolB/TM
--------------------------------------------------------------------~->
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/TeXnicCenter-Users/
<*> Your email settings:
Individual Email | Traditional
<*> To change settings online go to:
http://groups.yahoo.com/group/TeXnicCenter-Users/join
(Yahoo! ID required)
<*> To change settings via email:
mailto:TeXnicCenter-Users-digest-***@public.gmane.org
mailto:TeXnicCenter-Users-fullfeatured-***@public.gmane.org
<*> To unsubscribe from this group, send an email to:
TeXnicCenter-Users-unsubscribe-***@public.gmane.org
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/