[OS X TeX] Asymptote and Latex for Tiger

Tim Brophy timbrophy at mac.com
Mon Oct 9 17:00:18 EDT 2006


Can I use Asymptote with Texshop? Or does it have to be from the  
command line? If so, what do I do? Sorry for my ignorance.

Tim Brophy

On 9 Oct 2006, at 20:03, Gerben Wierda wrote:

> On Oct 8, 2006, at 14:52 , Gerben Wierda wrote:
>
>> I think I can do this quickly. Just wait a short while for an  
>> experimental i-Package.
>
> It was a bit more problematic than it looked initially.
>
> I have prepared an i-Package for Asymptote. This required a bit of  
> fiddling as
> - Asymptote does require a readline that is newer than what Apple  
> ships up to 10.4.8
> - Asymptote does require a libc with getopt_long_only() which is  
> unavailable on Mac OS X 10.3.9 hence I cannot compile it on my  
> standard and only PPC-system as part of my standard `universal  
> binary' builds (ppc on 10.3.9, intel on 10.4.8 and then combine the  
> results)
> - Asymptote can be compiled universal on 10.4.8, but it `requires'  
> Hans Boehm's Garbage Collector which cannot be compiled universal  
> in one go
>
> Asymptote also `requires' FFTW, the Fast Fourier Transform Library.
>
> However, I was able to solve the real problems of readline/getopt  
> and getting it compiled by
> - Downloading Hans Boehm's GC library, compiling this on intel  
> 10.4.8 and ppc 10.3.9 and creating an i-Package for it and  
> installing this.
> - Adapting the Makefile and config.h of asymptote to use a system- 
> wide GC and to not use readline (so no readline editing of the  
> command line arguments)
> - Building asy directly on Mac OS X 10.4.8 for i386 ad ppc
>
> And of course I had to install FFTW for which I also made an i- 
> Package.
>
> Hence, there now is
> 	- An i-Package for FFTW
> 	- An i-Package for Hans Boehm's Garbage Collection Library
> 	- An i-Package for Asymptote
>
> G
>
>
>>
>> G
>>
>> On Oct 8, 2006, at 12:35 , Gerben Wierda wrote:
>>
>>> On Oct 8, 2006, at 11:28 , Alain Matthes wrote:
>>>
>>>> Hello :) sorry for my bad english
>>>>
>>>> I know that's is off topic but Asymptote is a very good soft and  
>>>> on Ubuntu
>>>> it' a pleasure to work with him and latex.
>>>>
>>>> I've some difficulties to compile the source on a G5 mono.
>>>> Perhaps someone succeeded in doing it and can explain me how to  
>>>> proceed
>>>
>>> I had a quick look. It seems that the readline that ships with  
>>> Mac OS X ( eve the most recent one) is old. asymptote assumes a  
>>> different readline and compilation fails on the differences.
>>>
>>> There are two ways forward:
>>> - patch asymptote until it matches Apple's readline from 2004 or  
>>> better until it can handle older readlines properly when compiling.
>>> - install readline from 2005 (this is risky if not performed with  
>>> care)
>>>
>>> A bit more inspection of asymptote (ChangeLog) suggests you can  
>>> compile een when readline is not present. You will get a asy that  
>>> has no command line editing, but that does work. So, after  
>>> configure, I dited Makefile and config.h to remove readline (no - 
>>> lreadline in Makefile and the READLINE define commented out in  
>>> config.h).
>>>
>>> After that I got a complete compile. If I was not so busy, I  
>>> could probably create an i-Package for it in an hour or so.
>>>
>>> It may be best to ask the asymptote maintainers to add a -- 
>>> without-readline option to ./configure
>>>
>>> Yours,
>>>
>>> G
>>> ------------------------- 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/
>>>
>>>
>>
>> ------------------------- 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/
>>
>>
>
> ------------------------- 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/
>

------------------------- 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