[plt-scheme] Re: SLaTeX
If the $PLTHOME/bin is in your path, then so is pdf-slatex and slatex.
Run those on your tex files. However, as the documentation [1] says:
"NOTE: in order to run slatex, your TEXINPUTS environment variable
must contain a reference to the directory in which the most recent
version of "slatex.sty" lives. That file resides by default in the
"slatex" collection of the main installation."
This roughly means putting:
export TEXINPUTS=$PLTHOME/collects/slatex:$TEXINPUTS
in your .profile or .bashrc or whatever.
Jay
1. http://docs.plt-scheme.org/slatex-wrap/index.html
On Fri, May 21, 2010 at 8:22 AM, Todd O'Bryan <toddobryan at gmail.com> wrote:
> How do I use the version included in PLT?
>
> On Fri, May 21, 2010 at 9:40 AM, Jay McCarthy <jay.mccarthy at gmail.com> wrote:
>> Slatex is include in the main distribution in collects/slatex
>>
>> Is there a new version with some feature the one in the dist doesn't have?
>>
>> Jay
>>
>> On Thu, May 20, 2010 at 3:34 PM, Todd O'Bryan <toddobryan at gmail.com> wrote:
>>> Just checking to see if this gets through. Either the server is down,
>>> or this has been a VERY slow mail day in PLT-land.
>>>
>>> Todd
>>>
>>> On Thu, May 20, 2010 at 9:24 AM, Todd O'Bryan <toddobryan at gmail.com> wrote:
>>>> I'm trying to install (what I think is) the latest version of SLaTeX
>>>> and am having a problem doing so. Here's what I get when I try to
>>>> configure it with scmxlate:
>>>>
>>>>
>>>> tobryan1 at 200-8143-202-01:~/Desktop/slatex$ mzscheme
>>>> Welcome to MzScheme v4.2.5 [3m], Copyright (c) 2004-2010 PLT Scheme Inc.
>>>>> (load "/home/tobryan1/Desktop/scmxlate/scmxlate.scm")
>>>> This is scmxlate, v 20090411
>>>> What is your Scheme dialect?
>>>> (bigloo chez gambit guile mitscheme
>>>> mzscheme petite plt scsh sxm
>>>> umbscheme other)
>>>> mzscheme
>>>>
>>>> Porting slatex-src.scm ...
>>>> dialects/make-echo-script.scm:26:4: if: bad syntax (must have an
>>>> "else" expression) in: (if (eqv? *dialect* (quote scsh)) (begin
>>>> (newline o) (display "(exit)" o)))
>>>>
>>>> === context ===
>>>> /opt/plt-4.2.5/lib/plt/collects/scheme/private/map.ss:45:11: for-each
>>>> /opt/plt-4.2.5/lib/plt/collects/scheme/private/map.ss:45:11: for-each
>>>> /opt/plt-4.2.5/lib/plt/collects/scheme/private/misc.ss:74:7
>>>>
>>>> It looks like there are if's without else's.
>>>>
>>>> Is there a later version of either SLaTeX or scmxlate that I should be using?
>>>>
>>>> Thanks,
>>>> Todd
>>>>
>>> _________________________________________________
>>> For list-related administrative tasks:
>>> http://list.cs.brown.edu/mailman/listinfo/plt-scheme
>>>
>>
>>
>>
>> --
>> Jay McCarthy <jay at cs.byu.edu>
>> Assistant Professor / Brigham Young University
>> http://teammccarthy.org/jay
>>
>> "The glory of God is Intelligence" - D&C 93
>>
>
--
Jay McCarthy <jay at cs.byu.edu>
Assistant Professor / Brigham Young University
http://teammccarthy.org/jay
"The glory of God is Intelligence" - D&C 93