ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* TeXshow
@ 2001-02-07 14:11 ` Giuseppe Bilotta
  2001-02-08  8:01   ` TeXshow Taco Hoekwater
  2001-02-08 10:05   ` TeXshow Hans Hagen
  0 siblings, 2 replies; 22+ messages in thread
From: Giuseppe Bilotta @ 2001-02-07 14:11 UTC (permalink / raw)


Well, I find TeXShow a good source of information for quick references;
I'd like to point a couple of facts, though:

1) the tws files seem a little outdated to me; maybe they need to be
regenerated ... and generally speaking, how do you create the tws files
relative to formats not already provided? [esp. the experimental ones]
2) is there a way to call TeXShow from the command line in such a way
that it reuses exisisting windows (if present)?
3) the kind of information displayed by TeXShow is extremely compat---
I would dare to say too compact: in some cases it's difficult to say
which parameter does what---ok, TeXShow is intended for quick-reference,
so the user should already know what does what, but still ... I prefere
browsing the commands using it, rather than the interactive [or printable]
reference manual.

Giuseppe Bilotta

[got rid of my signature because of possible
 misinterpretation of the mailing list]


^ permalink raw reply	[flat|nested] 22+ messages in thread

* Re: TeXshow
  2001-02-07 14:11 ` TeXshow Giuseppe Bilotta
@ 2001-02-08  8:01   ` Taco Hoekwater
  2001-02-08 10:12     ` TeXshow Hans Hagen
  2001-02-08 10:05   ` TeXshow Hans Hagen
  1 sibling, 1 reply; 22+ messages in thread
From: Taco Hoekwater @ 2001-02-08  8:01 UTC (permalink / raw)


Giuseppe Bilotta wrote:
> 
> Well, I find TeXShow a good source of information for quick references;
> I'd like to point a couple of facts, though:
> 
> 1) the tws files seem a little outdated to me; maybe they need to be
> regenerated ... and generally speaking, how do you create the tws files
> relative to formats not already provided? [esp. the experimental ones]

I think Hans has a perl script that creates the tws files from the
same setup files that define the commands in the manual (setupb & 
mult-con/mult-com).

As a side note: I'd be very happy with a version that uses the
internal macro names. ConTeXt internals are a mixture of dutch 
and english. While writing modules, I want the module to work in 
every language, so I quite often need the internal name of the command 
instead of the interface specific one. Example: \blank is internally 
defined as \blanko (dutch), but \setupbodyfont is defined as 
\setupbodyfont (english).

> 2) is there a way to call TeXShow from the command line in such a way
> that it reuses exisisting windows (if present)?

No. I'm not even sure Tk allows that kind of trickery.

> 3) the kind of information displayed by TeXShow is extremely compat---
> I would dare to say too compact: in some cases it's difficult to say
> which parameter does what---ok, TeXShow is intended for quick-reference,
> so the user should already know what does what, but still ... I prefere
> browsing the commands using it, rather than the interactive [or printable]
> reference manual.

Agree. Some sort of comment field within the \startsetup \stopsetup
would be
very helpful.

TeXshow also has a number of speed issues ;)

-- 
groeten,

Taco


^ permalink raw reply	[flat|nested] 22+ messages in thread

* Re: TeXshow
  2001-02-07 14:11 ` TeXshow Giuseppe Bilotta
  2001-02-08  8:01   ` TeXshow Taco Hoekwater
@ 2001-02-08 10:05   ` Hans Hagen
  2001-02-08 12:45     ` TeXshow Giuseppe Bilotta
  1 sibling, 1 reply; 22+ messages in thread
From: Hans Hagen @ 2001-02-08 10:05 UTC (permalink / raw)
  Cc: ConTeXt

At 03:11 PM 2/7/01 +0100, Giuseppe Bilotta wrote:
>Well, I find TeXShow a good source of information for quick references;
>I'd like to point a couple of facts, though:
>
>1) the tws files seem a little outdated to me; maybe they need to be
>regenerated ... and generally speaking, how do you create the tws files
>relative to formats not already provided? [esp. the experimental ones]
>2) is there a way to call TeXShow from the command line in such a way
>that it reuses exisisting windows (if present)?
>3) the kind of information displayed by TeXShow is extremely compat---
>I would dare to say too compact: in some cases it's difficult to say
>which parameter does what---ok, TeXShow is intended for quick-reference,
>so the user should already know what does what, but still ... I prefere
>browsing the commands using it, rather than the interactive [or printable]
>reference manual.

I will pick up the interface documentation thread as soon as i have xml
support stable, which is needed to process the multilingual mixed interface
documentaion. 

Hans  
-------------------------------------------------------------------------
                                  Hans Hagen | PRAGMA ADE | pragma@wxs.nl
                      Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
 tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com
-------------------------------------------------------------------------


^ permalink raw reply	[flat|nested] 22+ messages in thread

* Re: TeXshow
  2001-02-08  8:01   ` TeXshow Taco Hoekwater
@ 2001-02-08 10:12     ` Hans Hagen
  2001-02-08 13:05       ` TeXshow Giuseppe Bilotta
  2001-02-08 14:29       ` TeXshow Ed L Cashin
  0 siblings, 2 replies; 22+ messages in thread
From: Hans Hagen @ 2001-02-08 10:12 UTC (permalink / raw)
  Cc: ntg-context

[-- Attachment #1: Type: text/plain, Size: 1995 bytes --]

At 09:01 AM 2/8/01 +0100, Taco Hoekwater wrote:
>Giuseppe Bilotta wrote:
>> 
>> Well, I find TeXShow a good source of information for quick references;
>> I'd like to point a couple of facts, though:
>> 
>> 1) the tws files seem a little outdated to me; maybe they need to be
>> regenerated ... and generally speaking, how do you create the tws files
>> relative to formats not already provided? [esp. the experimental ones]
>
>I think Hans has a perl script that creates the tws files from the
>same setup files that define the commands in the manual (setupb & 
>mult-con/mult-com).

No. Just the undocumented crap file setup.d.tex (attached). Run it with 

  texexec --interface=.. setupd 

and you will get the file. When i have a 4.5 gig pentium 6 laptop, i will
start generating them automatically. 

>As a side note: I'd be very happy with a version that uses the
>internal macro names. ConTeXt internals are a mixture of dutch 

should be doable; i'll have a look at it when i start patching texshow (i
managed to get perl/tk working again so i will pick up that thread). 

>No. I'm not even sure Tk allows that kind of trickery.

i think that you're right; i also found out that there have been some
changes in font sizes, function key handling and alike, sigh. 

>> 3) the kind of information displayed by TeXShow is extremely compat---
>> I would dare to say too compact: in some cases it's difficult to say
>> which parameter does what---ok, TeXShow is intended for quick-reference,
>> so the user should already know what does what, but still ... I prefere
>> browsing the commands using it, rather than the interactive [or printable]
>> reference manual.
>
>Agree. Some sort of comment field within the \startsetup \stopsetup
>would be
>very helpful.
>
>TeXshow also has a number of speed issues ;)

I know -) and have the list of patches. [maybe i should start using texshow
myself; actually, texshow was written to be part of texwork, which i will
finish some day soon too] 

Hans

[-- Attachment #2: setupd.tex --]
[-- Type: text/plain, Size: 5188 bytes --]

%D \module
%D   [       file=setupa,
%D        version=1998.07.20,
%D          title=\CONTEXT\ Setup Definitions,
%D       subtitle=Help Generation,
%D         author=Hans Hagen,
%D           date=\currentdate,
%D      copyright={PRAGMA / Hans Hagen \& Ton Otten}]
%C
%C This module is part of the \CONTEXT\ macro||package and is
%C therefore copyrighted by \PRAGMA. See mreadme.pdf for 
%C details. 

\let\wait\relax

\input setupa

\unprotect
\f
% keys 

\def\copymessage#1#2#3%
  {\dogetmessage{setup}{#3}\edef#1{#2\currentmessagetext}}

\copymessage \c!command!        *      {command}
\copymessage \c!dimension!      *      {dimension}
\copymessage \c!filename!       *      {file}
\copymessage \c!identifier!     *      {name}
\copymessage \c!character!      *      {character}
\copymessage \c!marker!         *      {mark}
\copymessage \c!number!         *      {number}
\copymessage \c!reference!      *      {reference}
\copymessage \c!plural!         *      {plural}
\copymessage \c!singular!       *      {singular}
\copymessage \c!text!           *      {text}
\copymessage \c!formula!        *      {formula}
\copymessage \c!font!           *      {file}
\copymessage \c!matrix!         *      {matrix}
\copymessage \c!list!           *      {list}
\copymessage \c!section!        *      {section}
\copymessage \c!noargument!     \empty {command}
\copymessage \c!oneargument!    \empty {command}
\copymessage \c!twoarguments!   \empty {command}
\copymessage \c!threearguments! \empty {command}

\edef\c!noargument!    {*\@EA\string\csname\c!noargument!    \endcsname}
\edef\c!oneargument!   {*\@EA\string\csname\c!oneargument!   \endcsname\string#1}
\edef\c!twoarguments!  {*\@EA\string\csname\c!twoarguments!  \endcsname\string#1\string#2}
\edef\c!threearguments!{*\@EA\string\csname\c!threearguments!\endcsname\string#1\string#2\string#3}

\def\subsetup#1{/#1}
\f
\beginTEX 

\def\getinterfaceconstant#1%
  {\ifinterfacetranslation
     \ifx\csname\x!prefix!#1\endcsname\relax
       #1%
     \else
       \csname\x!prefix!#1\endcsname
     \fi
   \else
     #1%
   \fi}

\def\getinterfacevariable#1%
  {\ifinterfacetranslation
     \ifx\csname\y!prefix!#1\endcsname\relax
       #1%
     \else
       \csname\y!prefix!#1\endcsname
     \fi
   \else
     #1%
   \fi}

\endTEX

\beginETEX \ifcsname

\def\getinterfaceconstant#1%
  {\ifinterfacetranslation
     \ifcsname\x!prefix!#1\endcsname
       \csname\x!prefix!#1\endcsname
     \else
       #1%
     \fi
   \else
     #1%
   \fi}

\def\getinterfacevariable#1%
  {\ifinterfacetranslation
     \ifcsname\y!prefix!#1\endcsname
       \csname\y!prefix!#1\endcsname
     \else
       #1%
     \fi
   \else
     #1%
   \fi}

\endETEX
\f
\def\c!repeat! {repeat/} % {n*}
\def\c!arg!    {arg/}    % {{...}:}
\def\c!args!   {args/}   % {{..,...,..}:}
\def\c!dis!    {dis/}    % {$$...$$:}
\def\c!idx!    {idx/}    % {{...}:}
\def\c!idxs!   {idxs/}   % {{..+...+..}:}
\def\c!mat!    {mat/}    % {$...$:}
\def\c!nop!    {nop/}    % {...:}            
\def\c!fil!    {fil/}    % {...:}            
\def\c!pos!    {pos/}    % {(...):}
\def\c!poss!   {poss/}   % {(...,...):}
\def\c!sep!    {sep/}    % {\string\\:}
\def\c!ref!    {ref/}    % {[ref]:}
\def\c!refs!   {refs/}   % {[ref,..]:}
\def\c!val!    {val/}    % {[...]:}
\def\c!vals!   {vals/}   % {[..,...,..]:}
\def\c!var!    {var/}    % {[..=..]:} 
\def\c!vars!   {vars/}   % {[..,..=..,..]:}
\def\c!cmd!    {cmd/}    % {\string\xxx:}
\def\c!dest!   {dest/}   % {[..ref]:}
\def\c!dests!  {dests/}  % {[..,..refs,..]:}
\def\c!trip!   {trip/}   % {[x:y:z=]:}
\def\c!trips!  {trips/}  % {[x:y:z=,..]:}
\def\c!wrd!    {wrd/}    % {{...}:}
\def\c!wrds!   {wrds/}   % {{.. ... ..}:}
\def\c!par!    {par/}    % {\string\par:}
\def\c!stp!    {stp/}    % {stop:}
\def\c!tex!    {tex/}    % {\string\cs:}

\def\c!or!     {}        % tzt or 

\def\c!opt!    {}        %
\def\c!optint! {}        %
\def\c!alwint! {}        %

% wrapper 

\def\startsetupfile
  {\immediate\openout\scratchwrite=cont-\currentlanguage.tws }

\def\stopsetupfile
  {\immediate\closeout\scratchwrite}

\let\documenteduntilhere\relax

\long\def\startsetup#1\stopsetup % the :'s serve as breakpoints
  {\bgroup
   \long\def\command         [##1]%
     {\immediate\write\scratchwrite{com:##1:}}%
   \long\def\type            [##1]%
     {\immediate\write\scratchwrite{typ:##1:}}%
   \long\def\value           [##1]##2[##3]%
     {\immediate\write\scratchwrite{val:##1:##3:}}%
   \long\def\variable        [##1]##2[##3]##4[##5]%
     {\convertsetupdata{##5}\ascii
      \edef\temp{\getinterfaceconstant{##1}}%
      \immediate\write\scratchwrite{var:\temp:##3:\ascii:}}%
   \long\def\inheritvalues   [##1]##2[##3]%
     {\immediate\write\scratchwrite{ivl:##1:##3:}}%
   \long\def\inheritvariables[##1]##2[##3]%
     {\convertsetupdata{##3}\ascii
      \immediate\write\scratchwrite{ivr:##1:\ascii:}}%
   \immediate\write\scratchwrite{startsetup}%
   #1%
   \immediate\write\scratchwrite{stopsetup}%
   \immediate\write\scratchwrite{}%
   \egroup}

\let\stopsetup\relax

\def\convertsetupdata#1#2% only accept #1=\v!whatever
  {\doifsystemconstantelse{#1}{\edef#2{#1}}{\let#2\empty}}

\input setupb 

\protect

\end

[-- Attachment #3: Type: text/plain, Size: 370 bytes --]

-------------------------------------------------------------------------
                                  Hans Hagen | PRAGMA ADE | pragma@wxs.nl
                      Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
 tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com
-------------------------------------------------------------------------

^ permalink raw reply	[flat|nested] 22+ messages in thread

* Re: TeXshow
  2001-02-08 10:05   ` TeXshow Hans Hagen
@ 2001-02-08 12:45     ` Giuseppe Bilotta
  2001-02-09  8:37       ` TeXshow / status context Hans Hagen
  0 siblings, 1 reply; 22+ messages in thread
From: Giuseppe Bilotta @ 2001-02-08 12:45 UTC (permalink / raw)
  Cc: ConTeXt

> I will pick up the interface documentation thread as soon as i have xml
> support stable, which is needed to process the multilingual mixed interface
> documentaion. 

By the way, what about ConTeXt-documentation? Dead? Or simply
no more news on that front, still?

Giuseppe Bilotta

Using Microsoft products is like 
having sex without condoms---but
much less pleasurable


^ permalink raw reply	[flat|nested] 22+ messages in thread

* Re: TeXshow
  2001-02-08 10:12     ` TeXshow Hans Hagen
@ 2001-02-08 13:05       ` Giuseppe Bilotta
  2001-02-08 14:29       ` TeXshow Ed L Cashin
  1 sibling, 0 replies; 22+ messages in thread
From: Giuseppe Bilotta @ 2001-02-08 13:05 UTC (permalink / raw)
  Cc: ConTeXt

> >
> >I think Hans has a perl script that creates the tws files from the
> >same setup files that define the commands in the manual (setupb & 
> >mult-con/mult-com).
> 
> No. Just the undocumented crap file setup.d.tex (attached). Run it with 
> 
>   texexec --interface=.. setupd 
> 

Done. Works.

Well, except that whatever interface I choose I always get
cont-en.tws (even if the contents are the correct ones; I just need
to rename it to cont-[interface].tws).

Btw, playing with TeXShow I found a bug related to commands having
the same names in all languages: the first language with that command
is selected! An example:

\mar is \mar in de, nl, en, it but \okr in cz

If I'm browsing the italian interface and select \mar I get the
correct description; but if I then want to change interface
(e.g. to know how "\mar" is called in english) I end up
in the german interface, which I don't want.

Also, if I run "texshow mar it" I end up in cont-de again
(I assume that the same routine is causing the error)

And one more: I created cont-it.tws, it works fine, but it still says
"command", "dimension" etc instead of the italian forms; which file should
I localize? [and btw, Hans, did you receive my mail with the localizations
bug fixes for italian?]

Giuseppe Bilotta

Using Microsoft products is like 
having sex without condoms---but
much less pleasurable


^ permalink raw reply	[flat|nested] 22+ messages in thread

* Re: TeXshow
  2001-02-08 10:12     ` TeXshow Hans Hagen
  2001-02-08 13:05       ` TeXshow Giuseppe Bilotta
@ 2001-02-08 14:29       ` Ed L Cashin
  2001-02-08 15:24         ` TeXshow Hans Hagen
  1 sibling, 1 reply; 22+ messages in thread
From: Ed L Cashin @ 2001-02-08 14:29 UTC (permalink / raw)
  Cc: ntg-context

Hans Hagen <pragma@wxs.nl> writes:

> At 09:01 AM 2/8/01 +0100, Taco Hoekwater wrote:
> >TeXshow also has a number of speed issues ;)
> 
> I know -) and have the list of patches. [maybe i should start using texshow
> myself; actually, texshow was written to be part of texwork, which i will
> finish some day soon too] 

I'm curious: what do you mean by the list of patches?  

-- 
--Ed Cashin                    integrit file verification system
  ecashin@coe.uga.edu          http://integrit.sourceforge.net/


^ permalink raw reply	[flat|nested] 22+ messages in thread

* Re: TeXshow
  2001-02-08 14:29       ` TeXshow Ed L Cashin
@ 2001-02-08 15:24         ` Hans Hagen
  0 siblings, 0 replies; 22+ messages in thread
From: Hans Hagen @ 2001-02-08 15:24 UTC (permalink / raw)
  Cc: ntg-context

At 09:29 AM 2/8/01 -0500, Ed L Cashin wrote:
>Hans Hagen <pragma@wxs.nl> writes:
>
>> At 09:01 AM 2/8/01 +0100, Taco Hoekwater wrote:
>> >TeXshow also has a number of speed issues ;)
>> 
>> I know -) and have the list of patches. [maybe i should start using texshow
>> myself; actually, texshow was written to be part of texwork, which i will
>> finish some day soon too] 
>
>I'm curious: what do you mean by the list of patches?  

taco an tobias send me some mails about texshow with suggestions (which are
still sitting somewhere in the 300 todo mailbox). 

Hans
-------------------------------------------------------------------------
                                  Hans Hagen | PRAGMA ADE | pragma@wxs.nl
                      Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
 tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com
-------------------------------------------------------------------------


^ permalink raw reply	[flat|nested] 22+ messages in thread

* Re: TeXshow / status context
  2001-02-08 12:45     ` TeXshow Giuseppe Bilotta
@ 2001-02-09  8:37       ` Hans Hagen
  2001-02-11  1:39         ` TeXCalc Taco Hoekwater
  0 siblings, 1 reply; 22+ messages in thread
From: Hans Hagen @ 2001-02-09  8:37 UTC (permalink / raw)
  Cc: ConTeXt

At 01:45 PM 2/8/01 +0100, Giuseppe Bilotta wrote:
>
>> I will pick up the interface documentation thread as soon as i have xml
>> support stable, which is needed to process the multilingual mixed interface
>> documentaion. 
>
>By the way, what about ConTeXt-documentation? Dead? Or simply
>no more news on that front, still?

Not dead. Ton is finishing the update of the beginners manual (after that
it can be translated to other languages). Concerning interface
documentation, we want to do that in xml, so there i need some decent xml
support in the core first. Ths basics are already there, but as a testcase
i implement mathml, which in turn demands manuals and examples (halfway
done). [for those interested: i make the manual in good old tex code while
all math is entered as mathml, so one can mix tex and xml, and so far the
math comes out quite well].  

My rough schedule for the next couple of months is (goes in parallel with
some projects that need it): 

- basic xml support + mathml 
- named glyphs and unicode (needed for central european pdf, chinese and
omega farsi etc) 
- multiple otr support combined with dtp like column/float handling 
- additional font support

also on the todo list: 

- computer language typesetting (for bzyl) 
- more metafun 
- some styles 
- more documentation
- texwork cum suis  

Hans
-------------------------------------------------------------------------
                                  Hans Hagen | PRAGMA ADE | pragma@wxs.nl
                      Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
 tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com
-------------------------------------------------------------------------


^ permalink raw reply	[flat|nested] 22+ messages in thread

* TeXCalc
  2001-02-09  8:37       ` TeXshow / status context Hans Hagen
@ 2001-02-11  1:39         ` Taco Hoekwater
  2001-02-11  9:48           ` TeXCalc Frans Goddijn
  0 siblings, 1 reply; 22+ messages in thread
From: Taco Hoekwater @ 2001-02-11  1:39 UTC (permalink / raw)


[-- Attachment #1: Type: text/plain, Size: 641 bytes --]

Hi all,

For those who want to play with a little new program,
here is TeXCalc, version 0.1.

TeXCalc is a program that can convert and do calculus with TeX units. 

You know the  "how much is (21cm-28pc)/2" problems you have when you
design a new layout? TeXCalc can (or should) solve these problems!

All of TeX's normal units are supported, conversion is quite accurate
(most calculations use scaled points), and input is fairly fast.
The expression can be entered from the keyboard as "21c28p-2/", and
you need only one keystroke to get the result in a different unit
(like alt-t for points)

Let me know what you think.

Greetings, Taco

[-- Attachment #2: texcalc.zip --]
[-- Type: application/x-zip-compressed, Size: 4535 bytes --]

^ permalink raw reply	[flat|nested] 22+ messages in thread

* Re: TeXCalc
  2001-02-11  1:39         ` TeXCalc Taco Hoekwater
@ 2001-02-11  9:48           ` Frans Goddijn
  2001-02-11 12:41             ` TeXCalc Taco Hoekwater
  0 siblings, 1 reply; 22+ messages in thread
From: Frans Goddijn @ 2001-02-11  9:48 UTC (permalink / raw)


Hi Taco,

how should the program be used? It looks like a PERL script so I renamed it
rexcalc.pl and on the command prompt I said "perl texcalc.pl" but then perl
says it misses some "tk" stuff somewheres.

Groet!

Frans

> For those who want to play with a little new program,
> here is TeXCalc, version 0.1.


^ permalink raw reply	[flat|nested] 22+ messages in thread

* Re: TeXCalc
  2001-02-11  9:48           ` TeXCalc Frans Goddijn
@ 2001-02-11 12:41             ` Taco Hoekwater
  2001-02-11 12:58               ` TeXCalc Frans Goddijn
  0 siblings, 1 reply; 22+ messages in thread
From: Taco Hoekwater @ 2001-02-11 12:41 UTC (permalink / raw)


Hi Frans,

The program needs perlTk, a set of Perl extension modules that allows 
one to define windows with buttons, dropdown-lists etc. It's the same
extension set that texshow uses, so I assumed most people on the list
would have it installed. :)

Installation depends on your perl & operating system. 

I'm guessing you are using ActiveState perl, so you probably 
need to execute this command in a shell:

    ppm install Tk

(you have to be online for this to work)

Groetjes, Taco

> how should the program be used? It looks like a PERL script so I renamed it
> rexcalc.pl and on the command prompt I said "perl texcalc.pl" but then perl
> says it misses some "tk" stuff somewheres.


^ permalink raw reply	[flat|nested] 22+ messages in thread

* Re: TeXCalc
  2001-02-11 12:41             ` TeXCalc Taco Hoekwater
@ 2001-02-11 12:58               ` Frans Goddijn
  0 siblings, 0 replies; 22+ messages in thread
From: Frans Goddijn @ 2001-02-11 12:58 UTC (permalink / raw)


I suppose this is something for gurus...

I don't know what "execute in a shell" is but I did it on a command line and
got the response that ppm is not a filename or something like that.. I am
online, so that's not it.

Okay, I'll just wait untill it's all much simpler, so don't worry and forget
it.

> need to execute this command in a shell:
>
>     ppm install Tk


^ permalink raw reply	[flat|nested] 22+ messages in thread

* Re: TeXCalc
  2008-06-12 10:42         ` TeXCalc Mojca Miklavec
@ 2008-06-12 12:53           ` Alan Stone
  0 siblings, 0 replies; 22+ messages in thread
From: Alan Stone @ 2008-06-12 12:53 UTC (permalink / raw)
  To: mailing list for ConTeXt users


[-- Attachment #1.1: Type: text/plain, Size: 1400 bytes --]

Thanks Mojca.

For future reference, on how to proceed:
http://www.computerhope.com/issues/ch000549.htm
http://vlaurie.com/computers2/Articles/environment.htm
or google (with quotes): "windows xp" +path

Alan

On Thu, Jun 12, 2008 at 12:42 PM, Mojca Miklavec <
mojca.miklavec.lists@gmail.com> wrote:

> On Thu, Jun 12, 2008 at 12:24 PM, Alan Stone wrote:
> >> That's the way you would do if you were using a Unix
> >>alike system.
> >
> > Mama mia ! That definitely doesn't motivate me to switch
> > to something Unix-ish. Forgive me, I'm a simple soul. ;O)
>
> On Windows you can create a file
>   texcalc.bat
> with contents
>   perl C:\path-to-texcalc\texcalc.pl
> and put it somewhere into PATH.
>
> Then, you will be able to call texcalc from console. If you want it in
> Start Menu, I guess that you can simply put a link to that bat file
> (or copy that bat file there).
>
> Mojca
>
> ___________________________________________________________________________________
> If your question is of interest to others as well, please add an entry to
> the Wiki!
>
> maillist : ntg-context@ntg.nl /
> http://www.ntg.nl/mailman/listinfo/ntg-context
> webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
> archive  : https://foundry.supelec.fr/projects/contextrev/
> wiki     : http://contextgarden.net
>
> ___________________________________________________________________________________
>

[-- Attachment #1.2: Type: text/html, Size: 2378 bytes --]

[-- Attachment #2: Type: text/plain, Size: 487 bytes --]

___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 22+ messages in thread

* Re: TeXCalc
  2008-06-12 10:24       ` TeXCalc Alan Stone
@ 2008-06-12 10:42         ` Mojca Miklavec
  2008-06-12 12:53           ` TeXCalc Alan Stone
  0 siblings, 1 reply; 22+ messages in thread
From: Mojca Miklavec @ 2008-06-12 10:42 UTC (permalink / raw)
  To: mailing list for ConTeXt users

On Thu, Jun 12, 2008 at 12:24 PM, Alan Stone wrote:
>> That's the way you would do if you were using a Unix
>>alike system.
>
> Mama mia ! That definitely doesn't motivate me to switch
> to something Unix-ish. Forgive me, I'm a simple soul. ;O)

On Windows you can create a file
   texcalc.bat
with contents
   perl C:\path-to-texcalc\texcalc.pl
and put it somewhere into PATH.

Then, you will be able to call texcalc from console. If you want it in
Start Menu, I guess that you can simply put a link to that bat file
(or copy that bat file there).

Mojca
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 22+ messages in thread

* Re: TeXCalc
  2008-06-12  7:54     ` TeXCalc Michael Hallgren
@ 2008-06-12 10:24       ` Alan Stone
  2008-06-12 10:42         ` TeXCalc Mojca Miklavec
  0 siblings, 1 reply; 22+ messages in thread
From: Alan Stone @ 2008-06-12 10:24 UTC (permalink / raw)
  To: mailing list for ConTeXt users


[-- Attachment #1.1: Type: text/plain, Size: 258 bytes --]

> That's the way you would do if you were using a Unix
>alike system.

Mama mia ! That definitely doesn't motivate me to switch
to something Unix-ish. Forgive me, I'm a simple soul. ;O)

Good you've put it here for future reference nevertheless.

Best,
Alan

[-- Attachment #1.2: Type: text/html, Size: 312 bytes --]

[-- Attachment #2: Type: text/plain, Size: 487 bytes --]

___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 22+ messages in thread

* Re: TeXCalc
  2008-06-12  7:27   ` TeXCalc Alan Stone
@ 2008-06-12  7:54     ` Michael Hallgren
  2008-06-12 10:24       ` TeXCalc Alan Stone
  0 siblings, 1 reply; 22+ messages in thread
From: Michael Hallgren @ 2008-06-12  7:54 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Le jeudi 12 juin 2008 à 09:27 +0200, Alan Stone a écrit :
> Thanks for your replies. Hans' suggestion worked.
> 
> As for...
> 
> >mh@home:~/Bureau$ ./texcalc &
> >[1] 16901
> >mh@home:~/Bureau$
> 
> I don't understand a thing about it. It's like klingon to me.  ;O)
> 
> Nevertheless, I'm curious. Where do you input that ?
> 
> FYI, I'm on Windows.
 
Sorry, my excuses. That's the way you would do if you were using a Unix
alike system.

Cheers,

mh

> 
> Alan
> 
> On Wed, Jun 11, 2008 at 9:54 PM, Michael Hallgren <m.hallgren@free.fr>
> wrote:
>         Le mercredi 11 juin 2008 à 20:28 +0200, Alan Stone a écrit :
>         > I downloaded Taco's TeXCalc script at
>         > http://tex.aanhet.net/utils/texcalc
>         > and installed the required perlTk thingie.
>         >
>         > Newbie question...
>         >
>         > How do you run this "silly script" (*) ?
>         >
>         > Using ActivePerl and sciTE.
>         
>         
>         mh@home:~/Bureau$ ./texcalc &
>         [1] 16901
>         mh@home:~/Bureau$
>         
>         unless you prefer to add it to your PATH.
>         
>         Cheers,
>         
>         mh
>         
>         >
>         > Thanks,
>         > Alan
>         >
>         > (*) No, no it's not me who said it first... Taco wrote it
>         > himself ! ;O)
>         
>         
>         >
>         ___________________________________________________________________________________
>         > If your question is of interest to others as well, please
>         add an entry to the Wiki!
>         >
>         > maillist : ntg-context@ntg.nl /
>         http://www.ntg.nl/mailman/listinfo/ntg-context
>         > webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
>         > archive  : https://foundry.supelec.fr/projects/contextrev/
>         > wiki     : http://contextgarden.net
>         >
>         ___________________________________________________________________________________
>         
>         ___________________________________________________________________________________
>         If your question is of interest to others as well, please add
>         an entry to the Wiki!
>         
>         maillist : ntg-context@ntg.nl /
>         http://www.ntg.nl/mailman/listinfo/ntg-context
>         webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
>         archive  : https://foundry.supelec.fr/projects/contextrev/
>         wiki     : http://contextgarden.net
>         ___________________________________________________________________________________
>         
> 
> ___________________________________________________________________________________
> If your question is of interest to others as well, please add an entry to the Wiki!
> 
> maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
> webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
> archive  : https://foundry.supelec.fr/projects/contextrev/
> wiki     : http://contextgarden.net
> ___________________________________________________________________________________

___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 22+ messages in thread

* Re: TeXCalc
  2008-06-11 19:54 ` TeXCalc Michael Hallgren
@ 2008-06-12  7:27   ` Alan Stone
  2008-06-12  7:54     ` TeXCalc Michael Hallgren
  0 siblings, 1 reply; 22+ messages in thread
From: Alan Stone @ 2008-06-12  7:27 UTC (permalink / raw)
  To: mailing list for ConTeXt users


[-- Attachment #1.1: Type: text/plain, Size: 2011 bytes --]

Thanks for your replies. Hans' suggestion worked.

As for...

>mh@home:~/Bureau$ ./texcalc &
>[1] 16901
>mh@home:~/Bureau$

I don't understand a thing about it. It's like klingon to me.  ;O)

Nevertheless, I'm curious. Where do you input that ?

FYI, I'm on Windows.

Alan

On Wed, Jun 11, 2008 at 9:54 PM, Michael Hallgren <m.hallgren@free.fr>
wrote:

> Le mercredi 11 juin 2008 à 20:28 +0200, Alan Stone a écrit :
> > I downloaded Taco's TeXCalc script at
> > http://tex.aanhet.net/utils/texcalc
> > and installed the required perlTk thingie.
> >
> > Newbie question...
> >
> > How do you run this "silly script" (*) ?
> >
> > Using ActivePerl and sciTE.
>
> mh@home:~/Bureau$ ./texcalc &
> [1] 16901
> mh@home:~/Bureau$
>
> unless you prefer to add it to your PATH.
>
> Cheers,
>
> mh
>
> >
> > Thanks,
> > Alan
> >
> > (*) No, no it's not me who said it first... Taco wrote it
> > himself ! ;O)
> >
> ___________________________________________________________________________________
> > If your question is of interest to others as well, please add an entry to
> the Wiki!
> >
> > maillist : ntg-context@ntg.nl /
> http://www.ntg.nl/mailman/listinfo/ntg-context
> > webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
> > archive  : https://foundry.supelec.fr/projects/contextrev/
> > wiki     : http://contextgarden.net
> >
> ___________________________________________________________________________________
>
>
> ___________________________________________________________________________________
> If your question is of interest to others as well, please add an entry to
> the Wiki!
>
> maillist : ntg-context@ntg.nl /
> http://www.ntg.nl/mailman/listinfo/ntg-context
> webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
> archive  : https://foundry.supelec.fr/projects/contextrev/
> wiki     : http://contextgarden.net
>
> ___________________________________________________________________________________
>

[-- Attachment #1.2: Type: text/html, Size: 3417 bytes --]

[-- Attachment #2: Type: text/plain, Size: 487 bytes --]

___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 22+ messages in thread

* Re: TeXCalc
  2008-06-11 18:28 TeXCalc Alan Stone
  2008-06-11 18:48 ` TeXCalc Hans Hagen
@ 2008-06-11 19:54 ` Michael Hallgren
  2008-06-12  7:27   ` TeXCalc Alan Stone
  1 sibling, 1 reply; 22+ messages in thread
From: Michael Hallgren @ 2008-06-11 19:54 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Le mercredi 11 juin 2008 à 20:28 +0200, Alan Stone a écrit :
> I downloaded Taco's TeXCalc script at
> http://tex.aanhet.net/utils/texcalc
> and installed the required perlTk thingie.
> 
> Newbie question...
> 
> How do you run this "silly script" (*) ?
> 
> Using ActivePerl and sciTE. 

mh@home:~/Bureau$ ./texcalc &
[1] 16901
mh@home:~/Bureau$ 

unless you prefer to add it to your PATH.

Cheers,

mh

>  
> Thanks,
> Alan
> 
> (*) No, no it's not me who said it first... Taco wrote it
> himself ! ;O)
> ___________________________________________________________________________________
> If your question is of interest to others as well, please add an entry to the Wiki!
> 
> maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
> webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
> archive  : https://foundry.supelec.fr/projects/contextrev/
> wiki     : http://contextgarden.net
> ___________________________________________________________________________________

___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 22+ messages in thread

* Re: TeXCalc
  2008-06-11 18:28 TeXCalc Alan Stone
@ 2008-06-11 18:48 ` Hans Hagen
  2008-06-11 19:54 ` TeXCalc Michael Hallgren
  1 sibling, 0 replies; 22+ messages in thread
From: Hans Hagen @ 2008-06-11 18:48 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Alan Stone wrote:
> I downloaded Taco's TeXCalc script at http://tex.aanhet.net/utils/texcalc
> and installed the required perlTk thingie.
> 
> Newbie question...
> 
> How do you run this "silly script" (*) ?
> 
> Using ActivePerl and sciTE.

maybe just

perl texcalc.pl

if i remember right it's a perltk script; it dates from the time (1999 
or so) that taco and i were exploring perltk .. in the same group or 
apps there is texwork (an tex oriented editor writen in perltk that i 
wrote plus some goodies - it still runs ok i just saw) and texshow that 
was later rewritten by taco to handle the xml variant if the syntax 
definitions

Hans


-----------------------------------------------------------------
                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
      tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
                                              | www.pragma-pod.nl
-----------------------------------------------------------------
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 22+ messages in thread

* TeXCalc
@ 2008-06-11 18:28 Alan Stone
  2008-06-11 18:48 ` TeXCalc Hans Hagen
  2008-06-11 19:54 ` TeXCalc Michael Hallgren
  0 siblings, 2 replies; 22+ messages in thread
From: Alan Stone @ 2008-06-11 18:28 UTC (permalink / raw)
  To: ntg-context


[-- Attachment #1.1: Type: text/plain, Size: 295 bytes --]

I downloaded Taco's TeXCalc script at http://tex.aanhet.net/utils/texcalc
and installed the required perlTk thingie.

Newbie question...

How do you run this "silly script" (*) ?

Using ActivePerl and sciTE.

Thanks,
Alan

(*) No, no it's not me who said it first... Taco wrote it himself ! ;O)

[-- Attachment #1.2: Type: text/html, Size: 404 bytes --]

[-- Attachment #2: Type: text/plain, Size: 487 bytes --]

___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 22+ messages in thread

* Re: TeXCalc
       [not found] <BBEBLFPKHFAPEFFKBALGCECBCJAA.hensh@math.msu.edu>
@ 2001-02-11 17:36 ` Frans Goddijn
  0 siblings, 0 replies; 22+ messages in thread
From: Frans Goddijn @ 2001-02-11 17:36 UTC (permalink / raw)
  Cc: NTG-ConTeXt mailing list

Thanks Richard for your advice! I've installed the pk material and now I get
Taco's calculator on screen, a fancy and pretty thing. On startup it flashes
some fast disappearing remarks about missing stacks or something but
otherwise it works beautifully,

Thanks!

Frans

----- Original Message -----
From: Richard Hensh <hensh@math.msu.edu>
To: Frans Goddijn <frans@iaf.nl>
Sent: Sunday, February 11, 2001 5:36 PM
Subject: RE: TeXCalc


^ permalink raw reply	[flat|nested] 22+ messages in thread

end of thread, other threads:[~2008-06-12 12:53 UTC | newest]

Thread overview: 22+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <Hans Hagen's message of "Thu, 08 Feb 2001 11:12:09 +0100">
2001-02-07 14:11 ` TeXshow Giuseppe Bilotta
2001-02-08  8:01   ` TeXshow Taco Hoekwater
2001-02-08 10:12     ` TeXshow Hans Hagen
2001-02-08 13:05       ` TeXshow Giuseppe Bilotta
2001-02-08 14:29       ` TeXshow Ed L Cashin
2001-02-08 15:24         ` TeXshow Hans Hagen
2001-02-08 10:05   ` TeXshow Hans Hagen
2001-02-08 12:45     ` TeXshow Giuseppe Bilotta
2001-02-09  8:37       ` TeXshow / status context Hans Hagen
2001-02-11  1:39         ` TeXCalc Taco Hoekwater
2001-02-11  9:48           ` TeXCalc Frans Goddijn
2001-02-11 12:41             ` TeXCalc Taco Hoekwater
2001-02-11 12:58               ` TeXCalc Frans Goddijn
     [not found] <BBEBLFPKHFAPEFFKBALGCECBCJAA.hensh@math.msu.edu>
2001-02-11 17:36 ` TeXCalc Frans Goddijn
2008-06-11 18:28 TeXCalc Alan Stone
2008-06-11 18:48 ` TeXCalc Hans Hagen
2008-06-11 19:54 ` TeXCalc Michael Hallgren
2008-06-12  7:27   ` TeXCalc Alan Stone
2008-06-12  7:54     ` TeXCalc Michael Hallgren
2008-06-12 10:24       ` TeXCalc Alan Stone
2008-06-12 10:42         ` TeXCalc Mojca Miklavec
2008-06-12 12:53           ` TeXCalc Alan Stone

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).