[OS X TeX] ConTeXt and TeXLive ? (solved)
Steffen Wolfrum
osxtex_2 at st.estfiles.de
Wed Nov 15 13:24:26 CET 2006
OK, the following works:
#!/bin/tcsh
set path= ($path /usr/local/TeXLive/bin/i386-apple-darwin-current /
usr/local/bin)
texmfstart texexec "$1"
Everything is fine now. Thank you.
(I assumed bash is my shell – iMac, intel, 10.4.8 – where can I
get the information which shell is used actually?)
Steffen
Am 15.11.2006 um 13:03 schrieb Steffen Wolfrum:
> HOME=/Users/steffen
> PATH=/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/TeXLive/bin/i386-
> apple-darwin-current/:/usr/local/bin
> PWD=/Users/steffen/Desktop/test_1
> SECURITYSESSIONID=50c8a0
> SHELL=/bin/bash
> SHLVL=1
> TEXEDIT=open -a '/Applications/TeXShop.app' '%s' && osascript -e
> 'tell application "TeXShop"' -e 'goto document 1 line %d' -
> e 'activate' -e 'end tell'
> USER=steffen
> _=/usr/bin/env
> __CF_USER_TEXT_ENCODING=0x1F5:0:3
>
> ... this is the result.
> Can this help me in any way?
>
> Steffen
>
>
>
>
>
> Am 14.11.2006 um 23:48 schrieb Peter Dyballa:
>>
>> Am 14.11.2006 um 23:09 schrieb Steffen Wolfrum:
>>
>>> As I said, triggering ConTeXT from the terminal works fine, but
>>> what is TexShop missing?
>>
>> You could try to run any of these "engines" from TeXShop:
>>
>>
>> #!/bin/bash
>> #
>> # @(#) env-bash.engine
>> #
>> # Time-stamp: <2006-11-14 23:24:25 pete>
>> #
>> # Just an "indicator" of the environment in which a TeXShop's
>> engine runs jobs.
>> #
>> env | sort
>>
>> ---------------------------------------------------------------------
>> -------------------
>>
>> #!/bin/csh
>> #
>> # @(#) env-csh.engine
>> #
>> # Time-stamp: <2006-11-14 23:24:25 pete>
>> #
>> # Just an "indicator" of the environment in which a TeXShop's
>> engine runs jobs.
>> #
>> env | sort
>> echo
>> "####################################################################
>> ####"
>> set | sort
>>
>>
>> The first "engine" is meant for those that have bash as login
>> shell, the second one is meant for those that use tcsh as login
>> shell. Those, who have different login shell, surely are clever
>> enough to understand the principle and adjust the scripts in case
>> they need to use one.
>>
>> How to install:
>>
>> - open a Terminal;
>> - start to type (you can copy&paste): cat > ~/Library/TeXShop/
>> Engines/env-bash.engine
>> - then press RETurn;
>> - now copy and paste the contents of such an "engine" into Terminal;
>> - terminate the input process with ^D, i.e. press ctrl and D (no
>> shift key) simultaneously;
>> - finish installation by invoking on Terminal's command line:
>> chmod o+x /Library/TeXShop/Engines/env-bash.engine
>>
>> In case you prefer another login shell, then just change "bash"
>> with whatever you prefer.
>>
>> How to use:
>>
>> - open afterwards TeXShop;
>> - set in Preferences that the Console window is *always* open, not
>> only in case of an error;
>> - open *any* *TeX file;
>> - select your new env-*.engine;
>> - press the run button.
>>
>> Now you have in TeXShop's Console window your environment listed
>> and sorted. I *think* it will show what TeXShop also sees ...
>>
>> --
>> Mit friedvollen Grüßen
>>
>> Pete
>>
>> »¿ʇı̣ əsnqɐ ʇ,uɐɔ noʎ ɟı̣
>> ɓuı̣ɥʇʎuɐ sı̣ pooɓ ʇɐɥʍ«
>>
>>
>> ------------------------- 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 macostex-archives
mailing list