[NTG-context] precompiling inline mp to pdf?

2004-11-02 Thread Christopher Creutzig
Salvete,
 for my latest project (almost done, so I don't need the answer for 
this one, but possibly in the future) I have compilation times which 
were dominated by Metapost until I switched to using --nomp most of the 
time and --automp --runs=2 whenever I changed something that results in 
changes to the Metapost stuff.  (I needed the --automp anyway, since to 
work around size limits in MetaPost I had to split the background into 
separate images, yet they had to influence one another via global 
variables -- increasing the memory limit to 80 MB made Metapost 
predictably freeze at unpredictable places in the run.)

 Now, my compile times are dominated by the mp to pdf conversion. 
Since pdf inclusion is fast (as expected), I'd like to use mptopdf once 
on each generated file and have ConTeXt include that.  Should I redefine 
\insertMPfile to first look for the pdf or is there a more clever way? 
(Note that I do want the automatic inclusion, since I'm passing the 
dimensions of external figures etc. to metapost and use the result in a 
background layer and/or as frame backgrounds.)

regards,
Christopher Creutzig
PS: I didn't have time to analyze this when I came across it, but it 
seems that "texexec --automp file" consistently performs one TeX run too 
little.  In any case, the last thing it does is a metapost run, which 
doesn't seem sensible to me.

___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Failing on Mac OS X

2004-11-02 Thread Hans Hagen
Shivkumar Chandrasekaran wrote:
Hi,
I updated my tetex installation from G. Wierda's i-Installer (to the 
latest version) and ever since my context files refuse to compile. The 
earliest error indication I get is:

ConTeXt  ver: 2004.10.07  fmt: 2004.11.1  int: english  mes: english
systems: pdfTeX version 111 -> please update
systems: eTeX version 201 -> too old (bugs)
But I do seem to have the latest pdfTeX and eTeX versions:
gimli:~ shiv$ pdftex -v
pdfTeX (Web2C 7.5.2) 3.141592-1.11a
kpathsea version 3.5.2
gimli:~ shiv$ etex -v
e-TeX (Web2C 7.5.2) 3.141592-2.1
kpathsea version 3.5.2
etex has now version 2.2 (with several bugs remove, like the >255 
register problem) and pdftex has passed the 1.20 now

(what do you mean with refuse to compile?)
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
-
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


[NTG-context] textools --fixtexmftrees : parse error !

2004-11-02 Thread Steffen Wolfrum
Hi,

being a dumb Mac-user I ran into problems using "textools --fixtexmftrees":

[powerbook:scripts/context/ruby] himmelblau% ruby 
/usr/local/teTeX/share/texmf.local/scripts/context/ruby/textools.rb --fixtexmftrees 
~/Library/texmf
-:1: parse error
/usr/local/teTeX/share/texmf.local/scripts/context/ruby/textools.rb --fixtexmftrees 
~/Library/texmf
  ^

I also tried:

[powerbook:scripts/context/ruby] himmelblau% ruby
textools --fixtexmftrees ~/Library/texmf --force
-:1: parse error
textools --fixtexmftrees ~/Library/texmf --force
  ^

I have know idea what that means...

What is wrong with the command I used?

Steffen
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Wrap a url

2004-11-02 Thread Willi Egger
there is \hyphenatedurl{http://www}
May be this is what you are looking for.
Willi
David Arnold wrote:
All,
I have:
\setupurl
  [style=bold]
\useURL[craig][http://online.redwoods.cc.ca.us/instruct/darnold/CalcProj/Fal
l98/CraigA/project3.htm]
\from[craig]
But it runs off my slide before wrapping. I'd like to break this up so it
is on two lines and centered. Any suggestions?
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] precompiling inline mp to pdf?

2004-11-02 Thread Willi Egger
Hi Christopher,
In my case I prepared all the metapost code and had Context to prepare 
each figure as a \startTEXpage ... \stopTEXpage. Later I included the 
figures by referring to the different pages of that pdf-file.

\placefigure[margin][fig:sample]{none}{\externalfigure[mpfigure-pdf][page=27]}
Another aproach is to compile each figure in its own pdf-file. Hereafter 
I prepared a figure-database which in turn can be referenced whithin Context




   
   Willi
   Restauratie
   Restauratie-cursus 
   Figure database pictures from hand outs, own 
developments in METAPOST, Scans, WPG-WMF-EPS converted
   


   example.pdf
   per_exemplum
   Scan and edited by WE
4kB


In your source you will add \usefigurebase[base-figure-lib]
Hereafter you are able to call the pictures with
\placefigure[margin][ref]{caption}{\externalfigure[per_exemplum][width=0.45\makeupwidth,frame=off]}
I do hope this helps.
Willi
Christopher Creutzig wrote:
Salvete,
 for my latest project (almost done, so I don't need the answer for this 
one, but possibly in the future) I have compilation times which were 
dominated by Metapost until I switched to using --nomp most of the time 
and --automp --runs=2 whenever I changed something that results in 
changes to the Metapost stuff.  (I needed the --automp anyway, since to 
work around size limits in MetaPost I had to split the background into 
separate images, yet they had to influence one another via global 
variables -- increasing the memory limit to 80 MB made Metapost 
predictably freeze at unpredictable places in the run.)

 Now, my compile times are dominated by the mp to pdf conversion. Since 
pdf inclusion is fast (as expected), I'd like to use mptopdf once on 
each generated file and have ConTeXt include that.  Should I redefine 
\insertMPfile to first look for the pdf or is there a more clever way? 
(Note that I do want the automatic inclusion, since I'm passing the 
dimensions of external figures etc. to metapost and use the result in a 
background layer and/or as frame backgrounds.)

regards,
Christopher Creutzig
PS: I didn't have time to analyze this when I came across it, but it 
seems that "texexec --automp file" consistently performs one TeX run too 
little.  In any case, the last thing it does is a metapost run, which 
doesn't seem sensible to me.

___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] textools --fixtexmftrees : parse error !

2004-11-02 Thread Hans Hagen
Steffen Wolfrum wrote:
/usr/local/teTeX/share/texmf.local/scripts/context/ruby/textools.rb --fixtexmftrees 
~/Library/texmf
-:1: parse error
/usr/local/teTeX/share/texmf.local/scripts/context/ruby/textools.rb --fixtexmftrees 
~/Library/texmf
  ^
what happens if you replace ~ with /home/yourname/
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
-
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] font install script

2004-11-02 Thread Hans Hagen
Patrick Gundlach wrote:
Hi out there,
has anybody got a (unix) script for installing the base fonts with
texfont? I need the metrices so you can use these fonts without the
adobekb typescript (no, I don't want to switch, its for garden)
Patrick
you can (on the context garden server) wget one of the minimal trees;
i do have a script, but it's a windows batch file -)
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
-
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] \presentationstep

2004-11-02 Thread Hans Hagen
Henning Hraban Ramm wrote:
Am 02.11.2004 um 07:04 schrieb David Munger:
Could someone tell me if I'm doing something bad here, please?
File test.tex
---
\usemodule[pre-original]
\starttext
\Subject{Test}
step 1
\presentationstep
step 2
\stoptext
---
texexec --mode=step --output=pdf test.tex
This gives me a white page instead of the text I get without
`--mode=step'.

You doesn't define a "step" mode, so there's no output.
Completely logical. What's the matter?
You can use "--mode=something" switch only for environments like
\startmode[something]
\stopmode[something]
\startnotmode[something]
\stopnotmode[something]
See the wiki:
http://contextgarden.net/Modes
But probably you're looking for:
http://contextgarden.net/Presentation_effects
another option is to use s-pre-60
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
-
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Re: Getting linuxtex.zip working

2004-11-02 Thread Uwe Koloska
Henning Hraban Ramm wrote:
Am 01.11.2004 um 15:39 schrieb Hans Hagen:
Strangely it doesn't (at least on MacOS X). I know shell scripts and I 
had to adapt it to MacOS X a bit; the variables are defined in the 
script, but don't get exported!
are you sure, you are using bash _and_ you have used the command 
'.'?  This command evaluates the given script in the context of the 
running shell.  If you only run the script, it gets its own subshell 
and the variables are set (and exported) in this subshell but not in 
the calling shell!

Uwe
--
voiceINTERconnect www.voiceinterconnect.de
... smart speech applications from germany
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Losing frames in table

2004-11-02 Thread Willi Egger
Hi,
When testing your code, indeed there are no partial frames as setup by 
\setupTABLE. What I detected is, that you can only switch on the outer 
lines of the table

\setupTABLE[column][first][leftframe=on]%was:\setupTABLE[column][first][rightframe=on]
\setupTABLE[row][last][bottomframe=on]%was:\setupTABLE[row][first][bottomframe=on]
This is porbably something Hans should look at. I can't imagine that 
this is a feature :-)

Willi
David Arnold wrote:
All,
How come I don't get frames (rightframe=on, bottomframe=on) in my table
with this?
\setupTABLE[background=screen,screen=0.8,color=darkred,frame=off]
\setupTABLE[column][first][rightframe=on]
\setupTABLE[row][first][bottomframe=on]
\placetable[none]{}{%
\bTABLE[align={middle,lohi},width=3em]
\bTR \bTD $x$ \eTD \bTD $y$ \eTD \eTR
\bTR \bTD $x_1$ \eTD \bTD $y_1$ \eTD \eTR
\bTR \bTD $x_2$ \eTD \bTD $y_2$ \eTD \eTR
\bTR \bTD $\vdots$ \eTD \bTD $\vdots$ \eTD \eTR
\bTR \bTD $x_n$ \eTD \bTD $y_n$ \eTD \eTR
\eTABLE}
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context
% Table test: frames
% David Arnold
% 1-11-2004

\setupoutput[pdftex]
\setupcolors[state=start]

\starttext

\setupTABLE[background=screen,screen=0.8,color=darkred,frame=off]
\setupTABLE[column][first][leftframe=on]%was:\setupTABLE[column][first][rightframe=on]
\setupTABLE[row][last][bottomframe=on]%was:\setupTABLE[row][first][bottomframe=on]

\placetable[none]{}{%
\bTABLE[align={middle,lohi},width=3em]
\bTR \bTD $x$ \eTD \bTD $y$ \eTD \eTR
\bTR \bTD $x_1$ \eTD \bTD $y_1$ \eTD \eTR
\bTR \bTD $x_2$ \eTD \bTD $y_2$ \eTD \eTR
\bTR \bTD $\vdots$ \eTD \bTD $\vdots$ \eTD \eTR
\bTR \bTD $x_n$ \eTD \bTD $y_n$ \eTD \eTR
\eTABLE}
\stoptext
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


[NTG-context] Local environment

2004-11-02 Thread Fabrice Popineau

Suddendly I get this error message :

systems: end file sda at line 3
! Use of \localenvironment doesn't match its definition.
l.6 \localenvironment s
   da-env-slides
?

I upgraded a couple of weeks ago to the latest ConTeXt version and this
error message is new. Is there some workaround?

Thanks in advance,
-- 
Fabrice

___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


[NTG-context] Font definitions.

2004-11-02 Thread Dirar BOUGATEF
Hi all,
Am trying to define a synonym of my font at 24pt where am not sure at which 
size my font is installed -should be 12pt- (The ttf includes all the 
following sizes 12, 18, 24,36, 48, 60, .. but as i've done the install from 
the pfb + afm that comes with it, i don't really know what size i have now).

Anyway i have tryed the following which turns to an error:
\usetypescriptfile[Karat.tex]
\usetypescript[karat]
\definefont[TitleFont][karat at 24pt]
\starttext
\TitleFont Hello
\stoptext
I have tryed to change the 24 to 12 and it does not work too.
This is the error message:
fonts  : [karat] [] []
(c:/TeXLive/texmf/tex/context/base/type-syn.tex)
(c:/TeXLive/texmf/tex/context/base/type-enc.tex)
(c:/TeXLive/texmf/tex/context/base/type-siz.tex)
(c:/TeXLive/texmf/tex/context/base/type-map.tex)
(c:/TeXLive/texmf/tex/context/base/type-spe.tex)
(c:/TeXLive/texmf/tex/context/base/type-exa.tex)
(c:/TeXLive/texmf/tex/context/base/type-akb.tex)
(c:/TeXLive/texmf/tex/context/user/Karat.tex
fonts  : [karat] [ss] [sans] [karat] / texnansi
fonts  : [map] [texnansi] []
(c:/TeXLive/texmf/tex/context/base/type-syn.tex)
(c:/TeXLive/texmf/tex/context/base/type-enc.tex)
(c:/TeXLive/texmf/tex/context/base/type-siz.tex)
(c:/TeXLive/texmf/tex/context/base/type-map.tex)
(c:/TeXLive/texmf/tex/context/base/type-spe.tex)
(c:/TeXLive/texmf/tex/context/base/type-exa.tex)
(c:/TeXLive/texmf/tex/context/base/type-akb.tex)
(c:/TeXLive/texmf/tex/context/user/Karat.tex)
(c:/TeXLive/texmf/tex/context/base/type-buy.tex)
fonts  : [sans,map] [karat] [name,default,texnansi,special]
(c:/TeXLive/texmf/tex/context/base/type-syn.tex)
(c:/TeXLive/texmf/tex/context/base/type-enc.tex)
(c:/TeXLive/texmf/tex/context/base/type-siz.tex)
(c:/TeXLive/texmf/tex/context/base/type-map.tex)
(c:/TeXLive/texmf/tex/context/base/type-spe.tex)
(c:/TeXLive/texmf/tex/context/base/type-exa.tex)
(c:/TeXLive/texmf/tex/context/base/type-akb.tex)
(c:/TeXLive/texmf/tex/context/user/Karat.tex
fonts  : [sans] [fallback] []
(c:/TeXLive/texmf/tex/context/base/type-syn.tex)
(c:/TeXLive/texmf/tex/context/base/type-enc.tex)
(c:/TeXLive/texmf/tex/context/base/type-siz.tex)
(c:/TeXLive/texmf/tex/context/base/type-map.tex)
(c:/TeXLive/texmf/tex/context/base/type-spe.tex)
(c:/TeXLive/texmf/tex/context/base/type-exa.tex)
(c:/TeXLive/texmf/tex/context/base/type-akb.tex)
(c:/TeXLive/texmf/tex/context/user/Karat.tex)
(c:/TeXLive/texmf/tex/context/base/type-buy.tex))
(c:/TeXLive/texmf/tex/context/base/type-buy.tex)
fonts  : [sans] [default] [size]
(c:/TeXLive/texmf/tex/context/base/type-syn.tex)
(c:/TeXLive/texmf/tex/context/base/type-enc.tex)
(c:/TeXLive/texmf/tex/context/base/type-siz.tex)
(c:/TeXLive/texmf/tex/context/base/type-map.tex)
(c:/TeXLive/texmf/tex/context/base/type-spe.tex)
(c:/TeXLive/texmf/tex/context/base/type-exa.tex)
(c:/TeXLive/texmf/tex/context/base/type-akb.tex)
(c:/TeXLive/texmf/tex/context/user/Karat.tex)
(c:/TeXLive/texmf/tex/context/base/type-buy.tex)) (./Typescript2.tuo
systems: possible problem with 8 bit output
) (./Typescript2.tuo) (./Typescript2.tuo) (./Typescript2.tuo)
(./Typescript2.tuo) (./Typescript2.tuo) (./Typescript2.tuo) 
(./Typescript2.tuo)
(./Typescript2.tuo) (./Typescript2.tuo) (./Typescript2.tuo) 
(./Typescript2.tuo)
(./Typescript2.tuo)
fonts  : using map file: texnansi-base.map
fonts  : using map file: texnansi-rubicon-karatmedium.map
fonts  : using map file: ec-public-lm.map
fonts  : using map file: original-base.map
systems: begin file Typescript2 at line 7
kpathsea: Running mktextfm karat
mktextfm: Could not map typeface abbreviation ar for karat.
mktextfm: Need to update c:/TeXLive/texmf/fontname/special.map?
mktextfm: Running mf "\mode:=ljfour; mag:=1; nonstopmode; input karat"
This is METAFONT, Version 2.71828 (Web2c 7.5.2)
(c:/TeXLive/texmf/web2c/cp8bit.tcx)

kpathsea: Running mktexmf karat
mktexmf: empty or non-existent rootfile!
! I can't find file `karat'.
<*> ...e:=ljfour; mag:=1; nonstopmode; input karat
Please type another input file name
! Emergency stop.
<*> ...e:=ljfour; mag:=1; nonstopmode; input karat
Transcript written on mfput.log.
mktextfm: warning: can't open log file karat.log.
mktextfm: `mf "\mode:=ljfour; mag:=1; nonstopmode; input karat"' failed.
kpathsea: Appending font creation commands to missfont.log.
! Font \**TitleFont**=karat at 24.0pt not loadable: Metric (TFM) file not 
found
.

  \relax
\dododefinefont ...ontspec {#2}\rawfontidentifier
 \let 
\localrelativefontsiz...
l.8 \TitleFont
  Hello

Any idea ?
Thanks.
Dirar.
_
Express yourself instantly with MSN Messenger! Download today it's FREE! 
http://messenger.msn.com/

___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


[NTG-context] Re: textools --fixtexmftrees : parse error !

2004-11-02 Thread Steffen Wolfrum
Steffen Wolfrum wrote:

> /usr/local/teTeX/share/texmf.local/scripts/context/ruby/textools.rb --fixtexmftrees 
> ~/Library/texmf
> -:1: parse error
> /usr/local/teTeX/share/texmf.local/scripts/context/ruby/textools.rb --fixtexmftrees 
> ~/Library/texmf
>   ^

what happens if you replace ~ with /home/yourname/

Hans



Same bad results:

[powerbook:~] steffen% sudo ruby
/usr/local/teTeX/share/texmf.local/scripts/context/ruby/textools.rb --fixtexmftrees 
/home/steffen/Library/texmf
-:1: parse error
/usr/local/teTeX/share/texmf.local/scripts/context/ruby/textools.rb --fixtexmftrees 
/home/steffen/Library/texmf
  ^
and

[powerbook:~] steffen% sudo ruby
Password:
/usr/local/teTeX/share/texmf.local/scripts/context/ruby/textools.rb --fixtexmftrees 
/Users/steffen/Library/texmf
-:1: parse error
/usr/local/teTeX/share/texmf.local/scripts/context/ruby/textools.rb --fixtexmftrees 
/Users/steffen/Library/texmf
  ^


But I thought, the fact that the latest context update doesn't find files in my old 
tetex set anymore, is related to the map files, no?
So shouldn't it be /usr/local/teTeX/share/texmf.local instead of 
/Users/steffen/Library/texmf ?

Nevertheless it again provides the same error:

[powerbook:~] steffen% sudo ruby
/usr/local/teTeX/share/texmf.local/scripts/context/ruby/textools.rb  --fixtexmftrees 
/usr/local/teTeX/share/texmf.local
-:1: parse error
/usr/local/teTeX/share/texmf.local/scripts/context/ruby/textools.rb  --fixtexmftrees 
/usr/local/teTeX/share/texmf.local
  ^

So it seems as if I something fundamental is wrong/missing?


Steffen
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Re: textools --fixtexmftrees : parse error !

2004-11-02 Thread Hans Hagen
Steffen Wolfrum wrote:
Steffen Wolfrum wrote:

/usr/local/teTeX/share/texmf.local/scripts/context/ruby/textools.rb --fixtexmftrees 
~/Library/texmf
-:1: parse error
/usr/local/teTeX/share/texmf.local/scripts/context/ruby/textools.rb --fixtexmftrees 
~/Library/texmf
 ^

what happens if you replace ~ with /home/yourname/
Hans

Same bad results:
[powerbook:~] steffen% sudo ruby
/usr/local/teTeX/share/texmf.local/scripts/context/ruby/textools.rb --fixtexmftrees 
/home/steffen/Library/texmf
-:1: parse error
/usr/local/teTeX/share/texmf.local/scripts/context/ruby/textools.rb --fixtexmftrees 
/home/steffen/Library/texmf
what version of ruby do you run, 1.8.1+?
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
-
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Local environment

2004-11-02 Thread Hans Hagen
Fabrice Popineau wrote:
Suddendly I get this error message :
systems: end file sda at line 3
! Use of \localenvironment doesn't match its definition.
l.6 \localenvironment s
   da-env-slides
?
I upgraded a couple of weeks ago to the latest ConTeXt version and this
error message is new. Is there some workaround?

oeps, some interface translation problem
\unprotect
\setvalue{\v!localenvironment}#1 {\doexecutefileonce{#1}}
\protect
i'll fix it (in core-job)
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
-
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Font definitions.

2004-11-02 Thread Hans Hagen
Dirar BOUGATEF wrote:
Hi all,
Am trying to define a synonym of my font at 24pt where am not sure at 
which size my font is installed -should be 12pt- (The ttf includes all 
the following sizes 12, 18, 24,36, 48, 60, .. but as i've done the 
install from the pfb + afm that comes with it, i don't really know what 
size i have now).

Anyway i have tryed the following which turns to an error:
\usetypescriptfile[Karat.tex]
\usetypescript[karat]
\definefont[TitleFont][karat at 24pt]
\definefont[TitleFont][Serif at 24pt]
\definefont[TitleFont][KaratRegular at 24pt]
it all depensa on what you have defined in the typescript; you can uss 
any font synonym as long as it resolves to something known (say 
texnansi-karat)

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
-
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


[NTG-context] Re: textools --fixtexmftrees : parse error !

2004-11-02 Thread Steffen Wolfrum
Ah! ruby 1.6 ! (as part os OSX 10.2.6)

:o( 

... and where do I get an *easy* to install newer version of ruby for my Mac?


Steffen


Hans Hagen <[EMAIL PROTECTED]> wrote:

> Steffen Wolfrum wrote:
> 
> > Steffen Wolfrum wrote:
> > 
> > 
> >>/usr/local/teTeX/share/texmf.local/scripts/context/ruby/textools.rb 
> >>--fixtexmftrees ~/Library/texmf
> >>-:1: parse error
> >>/usr/local/teTeX/share/texmf.local/scripts/context/ruby/textools.rb 
> >>--fixtexmftrees ~/Library/texmf
> >>  ^
> > 
> > 
> > what happens if you replace ~ with /home/yourname/
> > 
> > Hans
> > 
> > 
> > 
> > Same bad results:
> > 
> > [powerbook:~] steffen% sudo ruby
> > /usr/local/teTeX/share/texmf.local/scripts/context/ruby/textools.rb 
> > --fixtexmftrees /home/steffen/Library/texmf
> > -:1: parse error
> > /usr/local/teTeX/share/texmf.local/scripts/context/ruby/textools.rb 
> > --fixtexmftrees /home/steffen/Library/texmf
> 
> what version of ruby do you run, 1.8.1+?
> 
> 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
> -
> 
> ___
> ntg-context mailing list
> [EMAIL PROTECTED]
> http://www.ntg.nl/mailman/listinfo/ntg-context
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Re: textools --fixtexmftrees : parse error !

2004-11-02 Thread Adam Lindsay
Hans Hagen said this at Tue, 2 Nov 2004 13:18:03 +0100:

>what version of ruby do you run, 1.8.1+?

:o good point.
My version on an up-to-date MacOSX 10.3 system is:
 ruby 1.6.8 (2002-12-24) [powerpc-darwin7.0]
-- 
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
 Adam T. Lindsay, Computing Dept. [EMAIL PROTECTED]
 Lancaster University, InfoLab21+44(0)1524/510.514
 Lancaster, LA1 4WA, UK Fax:+44(0)1524/510.492
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Re: textools --fixtexmftrees : parse error !

2004-11-02 Thread Hans Hagen
Adam Lindsay wrote:
Hans Hagen said this at Tue, 2 Nov 2004 13:18:03 +0100:

what version of ruby do you run, 1.8.1+?

:o good point.
My version on an up-to-date MacOSX 10.3 system is:
 ruby 1.6.8 (2002-12-24) [powerpc-darwin7.0]
hm, should be ok i think, but going 1.8 is not a bad idea
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
-
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Wrap a url

2004-11-02 Thread David Arnold
Willi et al,

How do you use \hyphenatedurl? I tried:

\setupurl
  [style=bold]

\useURL[craig][\hyphenatedurl{http://online.redwoods.cc.ca.us/instruct/darno
ld/CalcProj/Fall98/CraigA/project3.htm}]

\from[craig]

But this gave me:

ERROR: Improper alphabetic constant.

--- TeX said ---
 
   \hyphenatedurl 
\scanurl ...d #1\relax #1\else \ifnum \catcode `#1
  =8 \flushurl \splitbefore
...




At 10:34 AM 11/2/04 +0100, you wrote:
>there is \hyphenatedurl{http://www}
>
>May be this is what you are looking for.
>
>Willi
>
>David Arnold wrote:
>> All,
>> 
>> I have:
>> 
>> \setupurl
>>   [style=bold]
>> 
>>
\useURL[craig][http://online.redwoods.cc.ca.us/instruct/darnold/CalcProj/Fal
>> l98/CraigA/project3.htm]
>> 
>> \from[craig]
>> 
>> But it runs off my slide before wrapping. I'd like to break this up so it
>> is on two lines and centered. Any suggestions?
>> ___
>> ntg-context mailing list
>> [EMAIL PROTECTED]
>> http://www.ntg.nl/mailman/listinfo/ntg-context
>___
>ntg-context mailing list
>[EMAIL PROTECTED]
>http://www.ntg.nl/mailman/listinfo/ntg-context
>
>
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Font definitions.

2004-11-02 Thread Dirar BOUGATEF
Hi Hans,
This is what i have done but it simply does not work.
When i try the following with \setupbodyfont[karat], it works, but when i 
use \setupbodyfont[TitleFont], it does not work, despite of the 
\definefont[TitleFont][karat]. I kant see why !!

\usetypescriptfile[Karat.tex]
\usetypescript[karat]
\definefont[TitleFont][karat]
\setupbodyfont[TitleFont] % First way
%\setupbodyfont[karat]% Second way
\starttext
Hello
\stoptext
These are my typescripts(Karat.tex):
\usetypescriptfile[type-buy]
\loadmapfile[texnansi-rubicon-karatmedium.map]
\starttypescript [sans][karat][texnansi]
 \definefontsynonym [karat-sans][texnansi-KAMN][encoding=texnansi]
\stoptypescript
\starttypescript [sans][karat][name]
 \usetypescript[sans][fallback]
 \definefontsynonym [Sans][karat-sans]
\stoptypescript
\starttypescript [karat]
 \definetypeface [karat] [ss] [sans] [karat] [default] [encoding=texnansi]
\stoptypescript
_
Express yourself instantly with MSN Messenger! Download today it's FREE! 
http://messenger.msn.com/

___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Font definitions.

2004-11-02 Thread Matt Gushee
On Tue, Nov 02, 2004 at 11:29:35AM +, Dirar BOUGATEF wrote:
> 
> Am trying to define a synonym of my font at 24pt where am not sure at 
> which size my font is installed -should be 12pt- (The ttf includes all the 
> following sizes 12, 18, 24,36, 48, 60, .. but as i've done the install 
> from the pfb + afm that comes with it, i don't really know what size i 
> have now).

Both TrueType and Type1 fonts are scalable to any size you want. Some
applications (MS Word) will show you a limited selection of sizes, but
those are just the application designers' ideas of what sizes are
useful--they have nothing to do with the capabilities of the fonts
themselves. And regardless of what your Windows menus show, TeX uses its
own system for handling fonts. So don't worry about the size: if the
font is available at all, it is available in 24pt.

But how did you install the fonts, exactly? Did you use the texfont
utility? If so, your work is probably almost done, but texfont will have
generated some new map files that are probably not known to the system.
If you are trying to output PDF, then you probably just need to add
references to the new map files to the master pdfTeX config; with DVI,
it's a bit more complex, but again is basically a matter of editing one
or two map files.

> This is the error message:

It would be helpful if you also showed the exact command that resulted
in this error. Maybe the true TeX gurus can deduce from the output what
you were trying to do, but the rest of us need a bit more information to
have a chance of understanding the problem.

-- 
Matt Gushee When a nation follows the Way,
Haven Rock PressHorses bear manure through
Englewood, Colorado, USAits fields;   
[EMAIL PROTECTED] When a nation ignores the Way,
Horses bear soldiers through
its streets.

--Lao Tzu (Peter Merel, trans.)
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


[NTG-context] Re: Failing on Mac OS X

2004-11-02 Thread Shivkumar Chandrasekaran

On Nov 1, 2004, at 10:05 AM, "Patrick Gundlach" <[EMAIL PROTECTED]>

Please post the complete output of a simple texexec run. And perhaps
you might want to have a look at the macosxtex mailinglist.


Patrick
-- 
ConTeXt wiki: http://contextgarden.net


Below is the output when I compile a file with the following 3 lines:

\starttext
Hello world
\stoptext

I am using the latest TeX and ConTeXt from Gerben Wierda's i-Installer. I am looking into the MacOSX TeX mailing list archives for any hints too. Thanks for any help and the pointer.

--shiv--


#
#
## Typesetting contextBug
# this line is commented out
texexec --pdf contextBug


TeXExec 3.1 - ConTeXt / PRAGMA ADE 1997-2002

executable : pdfetex
format : cont-en
inputfile : contextBug
output : pdftex
interface : en
current mode : none
TeX run : 1

This is pdfeTeXk, Version 3.141592-1.11a-2.1 (Web2C 7.5.2)
%&-line parsing enabled.
(/usr/local/teTeX/share/texmf.tetex/web2c/cp8bit.tcx)
entering extended mode
(./contextBug.tex{/usr/local/teTeX/share/texmf.local/pdftex/config/pdftex.cfg}

ConTeXt  ver: 2004.10.07  fmt: 2004.10.25  int: english  mes: english

systems: pdfTeX version 111 -> please update

systems: eTeX version 201 -> too old (bugs)

language   : language en is active

system : cont-new loaded
(/usr/local/teTeX/share/texmf.local/tex/context/base/cont-new.tex
systems: beware: some patches loaded from cont-new.tex!
color  : palette rollover is available
system (E-TEX) : [line 966] 
system (E-TEX) : [line 1021] 
)
system : cont-old loaded
(/usr/local/teTeX/share/texmf.local/tex/context/base/cont-old.tex
loading: Context Old Macros
)
system : cont-fil loaded
(/usr/local/teTeX/share/texmf.local/tex/context/base/cont-fil.tex
loading: Context File Synonyms
)
bodyfont   : 12pt rm is loaded
language   : patterns en->default:default->1->2:2 uk->default:default->2->2
:2 de->texnansi:texnansi->3->2:2 de->ec:ec->4->2:2 fr->texnansi:texnansi->5->2:
2 fr->ec:ec->6->2:2 es->default:default->7->2:2 it->texnansi:texnansi->8->2:2 i
t->ec:ec->9->2:2 nl->texnansi:texnansi->10->2:2 nl->ec:ec->11->2:2 loaded
specials   : tex,postscript,rokicki loaded
system : contextBug.top loaded
(./contextBug.top
specials   : loading definition file tpd
(/usr/local/teTeX/share/texmf.local/tex/context/base/spec-tpd.tex
specials   : loading definition file fdf
(/usr/local/teTeX/share/texmf.local/tex/context/base/spec-fdf.tex
 
system (E-TEX) : [line 2256] \ifcsname 
 )
specials   : fdf loaded
 )
specials   : fdf,tpd loaded
! Undefined control sequence.
 \c!gebied 
={/Users/shiv/}
\xprocesscommaitem #1,#2->\if ,#1
,[EMAIL PROTECTED] \xprocesscommaitem \else \if [EMAIL PROTECTED]

\xdogetparameters #1]->\xprocesscommaitem #1,]
,[EMAIL PROTECTED]@ 
\dosetupsystem [#1]->\getparameters [\??sv ][#1]
\setuprandomize [\@@svrandom...
l.3 \setupsystem[\c!gebied={/Users/shiv/}]
  
? 
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Font definitions.

2004-11-02 Thread Hans Hagen
Dirar BOUGATEF wrote:
Hi Hans,
This is what i have done but it simply does not work.
When i try the following with \setupbodyfont[karat], it works, but when 
i use \setupbodyfont[TitleFont], it does not work, despite of the 
\definefont[TitleFont][karat]. I kant see why !!

\usetypescriptfile[Karat.tex]
\usetypescript[karat]
add: \setupbodyfont[karat,ss]
\definefont[TitleFont][karat]
becomes: \definefont[TitleFont][Sans at 24pt] % or karat-sans at 24pt or 
texnansi-KAMN at 24pt

\starttext
add: \TitleFont
Hello
\stoptext
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
-
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Re: Failing on Mac OS X

2004-11-02 Thread Matthias Weber
I had the same problem. Here is my (possibly incorrect) interpretation, and how to fix it:

You have updated to the most recent context without updating texexec (and pssoibly related packages). To do so,
uninstall your entire TeX tree (grin) by either doing this in i-Installerm or by removing the i-Packages directory
from your home directory. Otherwise, i-Installer will always default to your older installation setup.
You might also want to erase /usr/local/teTeX.

Then start again i-installer (get the most recent), and set it up to expert mode, which lets you select the
most recent TeX installation. Follow the instructions at http://www.uoregon.edu/~koch/texshop/texshop.html
to select the packages, and don't forget to install ConTeXt.

I suggest keeping an old installation on another boot partition or backup drive, I can't guarantee
that certain things will not look different.

Matthias 


On Nov 2, 2004, at 11:01 AM, Shivkumar Chandrasekaran wrote:

On Nov 1, 2004, at 10:05 AM, "Patrick Gundlach" <[EMAIL PROTECTED]>

Please post the complete output of a simple texexec run. And perhaps
you might want to have a look at the macosxtex mailinglist.


Patrick
-- 
ConTeXt wiki: http://contextgarden.net


Below is the output when I compile a file with the following 3 lines:

\starttext
Hello world
\stoptext

I am using the latest TeX and ConTeXt from Gerben Wierda's i-Installer. I am looking into the MacOSX TeX mailing list archives for any hints too. Thanks for any help and the pointer.

--shiv--


#
#
## Typesetting contextBug
# this line is commented out
texexec --pdf contextBug


TeXExec 3.1 - ConTeXt / PRAGMA ADE 1997-2002

executable : pdfetex
format : cont-en
inputfile : contextBug
output : pdftex
interface : en
current mode : none
TeX run : 1

This is pdfeTeXk, Version 3.141592-1.11a-2.1 (Web2C 7.5.2)
%&-line parsing enabled.
(/usr/local/teTeX/share/texmf.tetex/web2c/cp8bit.tcx)
entering extended mode
(./contextBug.tex{/usr/local/teTeX/share/texmf.local/pdftex/config/pdftex.cfg}

ConTeXt  ver: 2004.10.07  fmt: 2004.10.25  int: english  mes: english

systems: pdfTeX version 111 -> please update

systems: eTeX version 201 -> too old (bugs)

language   : language en is active

system : cont-new loaded
(/usr/local/teTeX/share/texmf.local/tex/context/base/cont-new.tex
systems: beware: some patches loaded from cont-new.tex!
color  : palette rollover is available
system (E-TEX) : [line 966] 
system (E-TEX) : [line 1021] 
)
system : cont-old loaded
(/usr/local/teTeX/share/texmf.local/tex/context/base/cont-old.tex
loading: Context Old Macros
)
system : cont-fil loaded
(/usr/local/teTeX/share/texmf.local/tex/context/base/cont-fil.tex
loading: Context File Synonyms
)
bodyfont   : 12pt rm is loaded
language   : patterns en->default:default->1->2:2 uk->default:default->2->2
:2 de->texnansi:texnansi->3->2:2 de->ec:ec->4->2:2 fr->texnansi:texnansi->5->2:
2 fr->ec:ec->6->2:2 es->default:default->7->2:2 it->texnansi:texnansi->8->2:2 i
t->ec:ec->9->2:2 nl->texnansi:texnansi->10->2:2 nl->ec:ec->11->2:2 loaded
specials   : tex,postscript,rokicki loaded
system : contextBug.top loaded
(./contextBug.top
specials   : loading definition file tpd
(/usr/local/teTeX/share/texmf.local/tex/context/base/spec-tpd.tex
specials   : loading definition file fdf
(/usr/local/teTeX/share/texmf.local/tex/context/base/spec-fdf.tex
 
system (E-TEX) : [line 2256] \ifcsname 
 )
specials   : fdf loaded
 )
specials   : fdf,tpd loaded
! Undefined control sequence.
 \c!gebied 
={/Users/shiv/}
\xprocesscommaitem #1,#2->\if ,#1
,[EMAIL PROTECTED] \xprocesscommaitem \else \if [EMAIL PROTECTED]

\xdogetparameters #1]->\xprocesscommaitem #1,]
,[EMAIL PROTECTED]@ 
\dosetupsystem [#1]->\getparameters [\??sv ][#1]
\setuprandomize [\@@svrandom...
l.3 \setupsystem[\c!gebied={/Users/shiv/}]
  
? 
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Wrap a url

2004-11-02 Thread Hans Hagen
David Arnold wrote:
Willi et al,
How do you use \hyphenatedurl? I tried:
ok, let's end the suffering here ...
\starttext
\showframe
\setupurl
  [style=bold]
\useURL[craig][http://online.redwoods.cc.ca.us/instruct/darnold/CalcProj/Fall98/CraigA/project3.htm]
\useURL[giarc][nice 
place][http://online.redwoods.cc.ca.us/instruct/darnold/CalcProj/Fall98/CraigA/project3.htm]

\setuptolerance[verytolerant,stretch]
\from[craig] \par
\from[giarc] \par
\stoptext
-
  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
-
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Re: Failing on Mac OS X

2004-11-02 Thread Hans Hagen
Shivkumar Chandrasekaran wrote:
TeXExec 3.1 - ConTeXt / PRAGMA ADE 1997-2002
pretty old, that one; do you have some old texexec someplace?
(maybe you use an old tree and new tree mixed (the changed scripts path 
problem) or don't use a stub to call texexec but have a copy of texexec 
being the stub)


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
-
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Losing frames in table

2004-11-02 Thread Hans Hagen
Willi Egger wrote:
Hi,
When testing your code, indeed there are no partial frames as setup by 
\setupTABLE. What I detected is, that you can only switch on the outer 
lines of the table

\setupTABLE[column][first][leftframe=on]%was:\setupTABLE[column][first][rightframe=on] 

\setupTABLE[row][last][bottomframe=on]%was:\setupTABLE[row][first][bottomframe=on] 

This is porbably something Hans should look at. I can't imagine that 
this is a feature :-)
it's a side effect of table cells overlapping the linewidth
\setupTABLE[background=screen,screen=0.8,color=darkred,frame=off]
\setupTABLE[column][2][leftframe=on]
\setupTABLE[row]   [2][topframe=on]
shows that. An alternative is:
\setupTABLE[frame=off]
\setupTABLE[column][1][rightframe=on]
\setupTABLE[row]   [1][bottomframe=on]
\setupfloat[table][background=screen,screen=0.8,color=darkred]
\placetable
  {}
  {\bTABLE[align={middle,lohi},width=3em]
   \bTR \bTD $x$  \eTD \bTD $y$ \eTD \eTR
   \bTR \bTD $x_1$\eTD \bTD $y_1$ \eTD \eTR
   \bTR \bTD $x_2$\eTD \bTD $y_2$ \eTD \eTR
   \bTR \bTD $\vdots$ \eTD \bTD $\vdots$ \eTD \eTR
   \bTR \bTD $x_n$\eTD \bTD $y_n$ \eTD \eTR
   \eTABLE}
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
-
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Re: missing =

2004-11-02 Thread Hans Hagen
Patrick Gundlach wrote:

From: David Arnold <[EMAIL PROTECTED]>
Subject: Where did the equal sign go?
To: [EMAIL PROTECTED]
Date: Sat, 30 Oct 2004 09:25:19 -0700

Please use the following method to make the error more clear for us:
* delete everything unecessary
* post the resulting code
* (there is no step three)
So it comes down to something like:
\setupbodyfont[lbr,14pt]
\starttext
\startformula
-1=+1
\stopformula
\stoptext
which typesets -1 1
removing the \setupbodyfont is the key to the = and + sign. Perhaps
this is enough for others to track down the error. Sorry I don't know
further.
here i get
  -1 = +1
maybe you run a special version of tex that has a math correctness test 
in it

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
-
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] three questions on footnotes

2004-11-02 Thread Hans Hagen
Steffen Wolfrum wrote:
-> 1. headcommand
How do I use this new command for moving my footnotemarker?
I found only "location=top" showing a result and that was quite stupid ...
\setupfootnotedefinition[location=command,headcommand=\llap]
as the name suggests, it uses the definition/descriotion environment, so 
you can use the same configuration options as there; the mentioned 
location=command gives you the possibility to hook in your own commands

\def\MyMove#1{\inframed{#1}}
headcommand=\MyMove
-> 2. footnotes (short: behind, long: below)?
Is there a predefined command for placing short footnotes
at the bottom of each page but horizontally continuos?
Is saw this way of typesetting footnotes in a book I've read.
It looks likes this:
body text body text body
text body  text body bo-
dy  text body  text body.
--
1 short   2 short 3 short
4 short
5 but hey: the long note
starts in a new line!
I have never seen footnotes like this before. But it reads very pleasant:
This way you don't have lot of empty white space (because of short notes),
and it still is very clear (for the long footnote starts on a new line).
Is it possible to typeset this in ConTeXt?
not currently; one complication is that footnotes are collected and so 
the first one is already on a line of it's own when the seconds enters 
the game; technically it's possible to implement something that does 
that by lying to tex about dimensions and such; however, this will not 
be that robust because tex has to be able to break between note 1 and 2 
if needed

-> 3. Footnotes in margin? 

Hans once posted the code listed below. But the result on longer footnotes were 
halfempty (body text) pages.
Is there a bug fix, a work around?
hm, i need to add an option for that, will do
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
-
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Wrap a url

2004-11-02 Thread David Arnold
Hans et al,

Thanks. This worked.

I am seeing here and there that the syntax for \useURL is:

\useURL[][][][]

The first [] is to hold a symbolic name such as "craig" that can be
referred to latter, as in \from{craig}\par.

The second [] is what actually gets typeset?

What is the third [] for?

What is the fourth [] for?

Finally, could you wax philosophic a bit on the meaning and purpose of
\setuptolerance[verytolerant,stretch]? I certainly see that it works, but I
am not sure why.

Thanks.

At 05:24 PM 11/2/04 +0100, you wrote:
>David Arnold wrote:
>
>> Willi et al,
>> 
>> How do you use \hyphenatedurl? I tried:
>
>ok, let's end the suffering here ...
>
>\starttext
>
>\showframe
>
>\setupurl
>   [style=bold]
>
>\useURL[craig][http://online.redwoods.cc.ca.us/instruct/darnold/CalcProj/Fa
ll98/CraigA/project3.htm]
>\useURL[giarc][nice 
>place][http://online.redwoods.cc.ca.us/instruct/darnold/CalcProj/Fall98/Cra
igA/project3.htm]
>
>\setuptolerance[verytolerant,stretch]
>
>\from[craig] \par
>
>\from[giarc] \par
>
>\stoptext
>
>
>-
>   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
>-
>
>___
>ntg-context mailing list
>[EMAIL PROTECTED]
>http://www.ntg.nl/mailman/listinfo/ntg-context
>
>
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Re: missing =

2004-11-02 Thread David Arnold
Hans, Patrick, et al,

This was my fault. I don't have Lucida fonts set up properly on my system
for Context (and I don't want to go there yet), so I just switched over to
Computer Modern and all is fine.

At 06:04 PM 11/2/04 +0100, you wrote:
>Patrick Gundlach wrote:
>
>> 
>>>From: David Arnold <[EMAIL PROTECTED]>
>>>Subject: Where did the equal sign go?
>>>To: [EMAIL PROTECTED]
>>>Date: Sat, 30 Oct 2004 09:25:19 -0700
>> 
>> 
>> Please use the following method to make the error more clear for us:
>> 
>> * delete everything unecessary
>> * post the resulting code
>> * (there is no step three)
>> 
>> So it comes down to something like:
>> 
>> \setupbodyfont[lbr,14pt]
>> \starttext
>> \startformula
>> -1=+1
>> \stopformula
>> \stoptext
>> 
>> which typesets -1 1
>> 
>> removing the \setupbodyfont is the key to the = and + sign. Perhaps
>> this is enough for others to track down the error. Sorry I don't know
>> further.
>
>here i get
>
>   -1 = +1
>
>maybe you run a special version of tex that has a math correctness test 
>in it
>
>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
>-
>
>___
>ntg-context mailing list
>[EMAIL PROTECTED]
>http://www.ntg.nl/mailman/listinfo/ntg-context
>
>
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Wrap a url

2004-11-02 Thread Hans Hagen
David Arnold wrote:

What is the fourth [] for?
the stuff that may come after a #, as in
  http://www.pragma-ade.mars/someplace/to/go#someday=2006.09.04
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
-
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Re: missing =

2004-11-02 Thread Adam Lindsay
Hans Hagen said this at Tue, 2 Nov 2004 18:04:35 +0100:

>> \setupbodyfont[lbr,14pt]
>> \starttext
>> \startformula
>> -1=+1
>> \stopformula
>> \stoptext
>> 
>> which typesets -1 1
>> 
>> removing the \setupbodyfont is the key to the = and + sign. Perhaps
>> this is enough for others to track down the error. Sorry I don't know
>> further.
>
>here i get
>
>   -1 = +1
>
>maybe you run a special version of tex that has a math correctness test 
>in it

:p [it wouldn't surprise me if DEK were *capable* of doing such a thing...]
Actually, it reminds me quite a bit of one of the problems I had in some
math experiments yesterday. For me, the key was in the equivalent lines
to this:
\starttypescript [math,boldmath] [lucida] [special]
  \usemathcollection[lbr]
\stoptypescript

(Something in the past year changed so that a [special] typescript is
needed for a correct \usemathcollection.)

So, in response to David, just to make sure: you *do* have the (non-free)
Lucida fonts installed correctly? The typeset output is definitely
Lucida, albeit incorrect?

If so, then what about:
\usetypescript [lucida] [\defaultencoding]
\setupbodyfont [lucida,14pt]
\starttext etc.

(Apologies if this is off the mark. I don't have the TeXish lbr fonts, so
can't directly verify)
-- 
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
 Adam T. Lindsay, Computing Dept. [EMAIL PROTECTED]
 Lancaster University, InfoLab21+44(0)1524/510.514
 Lancaster, LA1 4WA, UK Fax:+44(0)1524/510.492
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


[NTG-context] Re: Failing on Mac OS X

2004-11-02 Thread Shivkumar Chandrasekaran
Thanks to all who replied, including Matthias Weber, Hans Hagen and 
Patrick Gundlach. The problem was fixed as soon as I used Expert mode 
in G. Wierda's TeX i-installer to install the 2004 branch (rather than 
the default 2003 package). I then used the ConTeXt updater i-installer 
and everything seems to be fine again.

--shiv--
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Font definitions.

2004-11-02 Thread Dirar BOUGATEF
Thanks Hans. I see my error now. I was using a typescript name where a 
fontsynonym name was needed.

I still have a question about \small and \big. i tried the 
\showbodyfontenvironment to see the sizes then tried this:

{\big Hello world}Hello world{\small Hello world}
I get the first and the second Hello world at the same size, where the fonts 
table shows that i should have \big at 14.3pt when my current size is at 12.

Is there any interest to define a new font environment in this case ?
This my example:
\usetypescriptfile[Karat.tex]
\usetypescript[karat]
\setupbodyfont[karat,ss,12pt]
\starttext
\showbodyfontenvironment
{\big Hello world}Hello world{\small Hello world}
\stoptext
Many thanks.
Dirar.
_
FREE pop-up blocking with the new MSN Toolbar - get it now! 
http://toolbar.msn.com/

___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Local environment

2004-11-02 Thread Fabrice Popineau
HH> \unprotect \setvalue{\v!localenvironment}#1 {\doexecutefileonce{#1}}
HH> \protect

HH> i'll fix it (in core-job)

Thanks. In fact, there is a spurious space in core-job.tex.

Fabrice

___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Local environment

2004-11-02 Thread h h extern
Fabrice Popineau wrote:
HH> \unprotect \setvalue{\v!localenvironment}#1 {\doexecutefileonce{#1}}
HH> \protect
HH> i'll fix it (in core-job)
Thanks. In fact, there is a spurious space in core-job.tex.
You mean the one befro the #1? indeed, a leftover from:
\def\localenvironment #1 {...}
where that space is not seen,
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
-
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] \presentationstep

2004-11-02 Thread David Munger
Nothing seems to work here. I'm afraid the problem is indeed that
Acrobat Reader under Linux is not really JavaScript aware...

Would it be possible to implement the steps commands such that steps
span over multiple slides instead of being managed by JavaScript?

David


Le mardi 02 novembre 2004 Ã 10:58 +0100, Hans Hagen a Ãcrit :
> Henning Hraban Ramm wrote:
> 
> > Am 02.11.2004 um 07:04 schrieb David Munger:
> > 
> >> Could someone tell me if I'm doing something bad here, please?
> >>
> >> File test.tex
> >> ---
> >> \usemodule[pre-original]
> >> \starttext
> >> \Subject{Test}
> >> step 1
> >> \presentationstep
> >> step 2
> >> \stoptext
> >> ---
> >> texexec --mode=step --output=pdf test.tex
> >>
> >> This gives me a white page instead of the text I get without
> >> `--mode=step'.
> > 
> > 
> > You doesn't define a "step" mode, so there's no output.
> > Completely logical. What's the matter?
> > 
> > You can use "--mode=something" switch only for environments like
> > \startmode[something]
> > \stopmode[something]
> > 
> > \startnotmode[something]
> > \stopnotmode[something]
> > 
> > See the wiki:
> > http://contextgarden.net/Modes
> > 
> > But probably you're looking for:
> > http://contextgarden.net/Presentation_effects
> 
> another option is to use s-pre-60
> 
> 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
> -
> 
> ___
> ntg-context mailing list
> [EMAIL PROTECTED]
> http://www.ntg.nl/mailman/listinfo/ntg-context

___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] \presentationstep

2004-11-02 Thread h h extern
David Munger wrote:
Nothing seems to work here. I'm afraid the problem is indeed that
Acrobat Reader under Linux is not really JavaScript aware...
Would it be possible to implement the steps commands such that steps
span over multiple slides instead of being managed by JavaScript?
try
texexec --pdf --mode=demo s-pre-61
and see if that one suit syour needs (the stepper can be used with other sytles 
as well, once \usemodule[pre-60] is done; acrobat 6 needed)

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
-
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


[NTG-context] Re: footnote postings

2004-11-02 Thread Steffen Wolfrum
Hans Hagen <[EMAIL PROTECTED]> wrote:

> \definenote[mynote][way=bypage,location=text,width=\marginwidth,rule=,before=,factor=0]
> 
> \setuplayout[backspace=5cm,margin=3cm,margindistance=.5cm,width=middle]
> 
> \setuptexttexts
>[margin]
>[\vbox to \textheight{\placenotes[mynote]\vfill}]
>[]
> 
> \starttext
> \dorecurse{10}{test \mynote{one one one one one one} \input zapf 
> \mynote{one one one one one one} }
> \stoptext
> 
> 
> you need to remake the format !
> 
> watch the factor option
> 
> works only with reasonable footnote usage
> 
> remind me to implement cloning of notes
> 
> Hans


OK, did that (texexec --make --all --alone).
But there is a problem with an

! Undefined control sequence.
\checkpagechange ...lio \fi \doparagraphreference

(see below, please)

Steffen


 TeXExec 5.0 - ConTeXt / PRAGMA ADE 1997-2004

executable : pdfetex
format : cont-en
 inputfile : anleitung
output : pdftex
 interface : en
  current mode : none
   TeX run : 1

This is pdfeTeXk, Version 3.141592-1.11a-2.1 (Web2c 7.5.2)
 %&-line parsing enabled.
 (c:/TeXLive/texmf-local/web2c/natural.tcx)
entering extended mode
(./anleitung.tex{c:/TeXLive/texmf-var/pdftex/config/pdftex.cfg}

ConTeXt  ver: 2004.10.07  fmt: 2004.11.3  int: english  mes: english

systems: eTeX version 201 -> too old (bugs)

language   : language en is active

system : cont-new loaded
(c:/TeXLive/texmf-local/tex/context/base/cont-new.tex
systems: beware: some patches loaded from cont-new.tex!
color  : palette rollover is available
system (E-TEX) : [line 966]
system (E-TEX) : [line 1021]
)
system : cont-old loaded
(c:/TeXLive/texmf-local/tex/context/base/cont-old.tex
loading: Context Old Macros
)
system : cont-fil loaded
(c:/TeXLive/texmf-local/tex/context/base/cont-fil.tex
loading: Context File Synonyms
)
system : cont-sys loaded
(c:/TeXLive/texmf-local/tex/context/user/cont-sys.tex)
bodyfont   : 12pt rm is loaded
language   : patterns nl->texnansi:texnansi->1->2:2 nl->ec:ec->2->2:2 en->d
efault:default->3->2:2 de->texnansi:texnansi->4->2:2 de->ec:ec->5->2:2 da->defa
ult:default->6->2:2 sv->default:default->7->2:2 af->default:default->8->2:2 no-
>texnansi:texnansi->9->2:2 no->ec:ec->10->2:2 deo->texnansi:texnansi->11->2:2 d
eo->ec:ec->12->2:2 uk->default:default->13->2:2 us->default:default->[3]->2:2 f
r->texnansi:texnansi->14->2:2 fr->ec:ec->15->2:2 es->default:default->16->2:2 c
a->default:default->17->2:2 it->texnansi:texnansi->18->2:2 it->ec:ec->19->2:2 l
a->default:default->20->2:2 pt->default:default->21->2:2 ro->default:default->2
2->2:2 pl->pl0:pl0->23->2:2 pl->ec:ec->24->2:2 cz->il2:il2->25->2:2 cz->ec:ec->
26->2:2 sk->il2:il2->27->2:2 sk->ec:ec->28->2:2 hr->il2:il2->29->2:2 hr->ec:ec-
>30->2:2 sl->il2:il2->31->2:2 sl->ec:ec->32->2:2 tr->default:default->33->2:2 f
i->default:default->35->2:2 hu->ec:ec->36->2:2 loaded
specials   : tex,postscript,rokicki loaded
system : anleitung.top loaded
(./anleitung.top
specials   : loading definition file tpd
(c:/TeXLive/texmf-local/tex/context/base/spec-tpd.tex
specials   : loading definition file fdf
(c:/TeXLive/texmf-local/tex/context/base/spec-fdf.tex 

system (E-TEX) : [line 2256] \ifcsname
 )
specials   : fdf loaded
 )
specials   : fdf,tpd loaded
)
fonts  : needs map file: ec-public-lm.map
fonts  : needs map file: original-base.map
systems: begin file anleitung at line 10
! Undefined control sequence.
\checkpagechange ...lio \fi \doparagraphreference

 \checkpagechange {\currentnote }
   \ifpagechanged \resetcounter {\@@...

\firstoftwoarguments #1#2->#1

\incrementnumber ...{#1}}\fi } {\checknummer {#1}}
  \doifelse \@@nrstate \v!st...
 ...\fi \incrementnumber [\currentnote ]
  \maakhetnummer [\currentno...

\secondoftwoarguments #1#2->#2

...
l.12 \mynote{one one one one one one} }

?
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] \presentationstep

2004-11-02 Thread David Munger
> try
> 
> texexec --pdf --mode=demo s-pre-61

This is actually what I tried.

> and see if that one suit syour needs (the stepper can be used with other sytles 
> as well, once \usemodule[pre-60] is done; acrobat 6 needed)

I think the latest Acrobat Reader version for Linux is 5.0.9. I guess
this means I should forget about steps. Thanks anyway.

David

___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] \presentationstep in standard pdf format

2004-11-02 Thread Maurice Diamantini
Le 2 nov. 04, à 23:22, David Munger a écrit :
Nothing seems to work here. I'm afraid the problem is indeed that
Acrobat Reader under Linux is not really JavaScript aware...
Would it be possible to implement the steps commands such that steps
span over multiple slides instead of being managed by JavaScript?
David
I aggree with David that having the ConTeXt presentation feature
without needed javascript would realy be great.
Pdf is a standard, but not javascript.
It's realy nice to come to a seminar only with a pdf file without 
worrying about which pdf reader tool exists on the host computer.

- Even with acroread 6.02 on osx there is some problem with some button
  (I don't remember which problem, but I just remember it's not 
reliable);
- Also Preview, the fastest pdf reader on osx (provide by Apple, then
  the it is standard pdf reader on osx) don't support javascript;
- linux doesn't have pdf+javascript reader.

So I think that ConTeXt should provide a mean (option in textexec)
to make pdf-only version of presentation.
Finaly there could be three output levels for pdf presentation :
1 - presentation step using javascript (with allow blinking, merging,
zooming or other nice flashing features ;-)
2 - presentation step without javascript (one pdf page by step)
=> Good format for presentation by foreign pdf reader
3 - pdf file one pdf page for each final step by page
=> Good format for printing 2up or 4up slides
This third output would also allow to print a "slide + comment"
version of the presentation for the speacker.
The option of texexec could be something like
--pdfonly
instead of --pdf, or simply
--use-javascript=false
Maurice,
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context