Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

I am trying to use the resume template by David Grant.

I have put both the .tex file and the shading.sty file together in one folder.

When I use BakomaTeX (v 9.83) to convert the .tex file to PDF I get the shading regions perfectly fine

fine

but when I use TeXworks of MiKTeX on the same .tex file along with the shading.sty in the same folder, the output is

bad

Further, when I removed the shading.sty file from the folder, MiKTeX compilation failed indicating that the shading.sty file was being used. I need to get the shading even when I use MiKTeX to convert LaTeX to PDF.

share|improve this question
3  
Welcome to TeX.sx! I think we could do with a minimal working example (MWE) for testing. In particular, it would be useful to see what file versions are in use: add \listfiles to the input and edit the results from the two compilations into your answer. –  Joseph Wright Dec 23 '12 at 10:15
    
I get the desired output if I compile with the DVI > PS > PDF chain on the .tex file in your link. But I would second @JosephWright's suggestion for you to provide an MWE. –  hpesoj626 Dec 23 '12 at 10:20
    
@hpesoj626 That was my other suspicion: difference in drivers due to a different route (not all code works with direct PDF output). –  Joseph Wright Dec 23 '12 at 10:25
1  
Same crystal ball says that your BakomaTeX is configured to run through a DVI > PS > PDF routine. :) –  hpesoj626 Dec 23 '12 at 23:29
1  
AFAIK BaKoMa does not include pdfTeX (I would be quite surprised if it did, since pdfTeX is GPL and BaKoMa is closed source). –  Martin Schröder Dec 24 '12 at 12:44

1 Answer 1

I wrote this answer for the sake of closure. I don't use BaKoMa TeX but with MiKTeX installed, you can compile your document through the latex > dvips > ps2pdf sequence in your terminal. To do this, open your terminal/command line and go to your working directory. Then run the following commands. Change myfile to the name of your file.

latex myfile
dvips myfile
ps2pdf myfile.ps

As mentioned by Joseph Wright in comment, some differences in output are caused by running different drivers. In the case of shadings.sty, the following comment can be seen at the end of the file:

% Here are some simple PostScript routines.
%
% The TeX command \PScommands must be called before any of the
% shading routines can be used.

If you don't want to use the terminal for compiling your document, you can set up TeXWorks to compile your document through the latex > dvips > ps2pdf sequence. I don't use TeXWorks but most text editors can be set up to execute this compiling sequence.

I suspect that BaKoMa TeX follows a similar procedure albeit using proprietary drivers.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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