[OS X TeX] A Wintel mate to TeXShop

Alain Schremmer Schremmer.Alain at verizon.net
Fri Sep 23 12:18:59 EDT 2005



Joseph C. Slater wrote:

>
> On Sep 23, 2005, at 10:43 AM, Aditya Dushyant Trivedi wrote:
>
>>> From: Alain Schremmer <Schremmer.Alain at verizon.net>
>>>
>>
>> <snip>
>> 3) Your preamble contains \usepackage{pdfsync}. This for obvious  
>> reasons not for Windows. You have two options:
>>     i) Comment it out when working on windows.
>>    ii) Create an empty package called pdfsync on windows so that  
>> LaTeX does not complain and you dont forget uncommenting it when  
>> copying it over on Mac.
>>
> <snip>
>
> or the best option, in the preamble:
>
> \newif\ifpdf
> \ifx\pdfoutput\undefined
> \pdffalse % we are not running PDFLaTeX
> \else
> \pdfoutput=1 % we are running PDFLaTeX
> \pdftrue
> \fi
>
> \ifpdf
> \usepackage{pdfsync}
> \else
> \usepackage{srcltx}
> \fi
>
> And you get synchronization in both.

REALLY?
Now you wouldn't have a piece of code to solve my include what I think 
is going my "include pdf graphics" problem?
Thanks A LOT anyhow.
Regards
--schremmer
------------------------- Info --------------------------
Mac-TeX Website: http://www.esm.psu.edu/mac-tex/
          & FAQ: http://latex.yauh.de/faq/
TeX FAQ: http://www.tex.ac.uk/faq
List Archive: http://tug.org/pipermail/macostex-archives/




More information about the MacOSX-TeX mailing list