[NTG-context] Re: Installation problem

2004-06-21 Thread Patrick Gundlach
Hello Hans,

>>Using an old texexec works fine for me. I didn't look into this yet.
>>  
> hm, maybe some bug due to changed as a result of the new tds and
> binaries; i'll upload my local latest -) 

No change.

texexec is /opt/context/2004.6.21/bin/texexec

test$ texexec test

 TeXExec 4.3 - ConTeXt / PRAGMA ADE 1997-2004

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

warning: Could not open char translation file `cp8bit.tcx'.
This is pdfeTeX, Version 3.141592-1.11a-2.1 (Web2C 7.5.2)
kpathsea: Running mktexfmt cont-en.efmt
This is pdfeTeXk, Version 3.141592-1.11a-2.1 (Web2C 7.5.2)
 \write18 enabled.
 %&-line parsing enabled.
 (/opt/texlive/8/texmf/web2c/cp8bit.tcx)
**
! End of file on the terminal... why?
running `pdfetex -ini   -jobname=cont-en -progname=context *cont-en.ini' ...
This is pdfeTeXk, Version 3.141592-1.11a-2.1 (Web2C 7.5.2) (INITEX)
 \write18 enabled.
 %&-line parsing enabled.
 (/opt/texlive/8/texmf/web2c/cp8bit.tcx)
entering extended mode
(/opt/context/2004.6.21/texmf/tex/context/config/cont-en.ini{/opt/local/texmf/p
dftex/config/pdftex.cfg}

...

cp8bit is not found in the first line, but ok in the 7th. 

Do you have an idea what is going on?

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


[NTG-context] { in input file names

2004-06-21 Thread Nikolai Weibull
Hi.
Another one of my sort of weird questions.  I have a file with { in it's
file name and context doesn't seem to enjoy it much:

% mkdir {test}
% cd {test}
% mkdir output
% touch a.tex && ed a.tex
0
0a
\starttext
Hello
\stoptext
.
wq
27
% texexec --runpath=output a.tex

 TeXExec 4.3 - ConTeXt / PRAGMA ADE 1997-2004

  changing to path : output
executable : pdfetex
format : cont-en
   source path : /home/pcp/scratch/cont-test/{test}
dummy file : a.run
 inputfile : a
output : standard
 interface : en
  current mode : none
   TeX run : 1

This is pdfeTeX, Version 3.14159-1.10b-2.1 (Web2C 7.4.5)
 \write18 enabled.
 (/usr/share/texmf/web2c/natural.tcx)
entering extended mode
(./a.run{/usr/share/texmf/pdftex/config/pdftex.cfg}

ConTeXt  ver: 2004.6.16  fmt: 2004.6.18  int: english  mes: english

language   : language en is active

system : cont-new loaded
(/usr/share/texmf/tex/context/base/cont-new.tex
systems: beware: some patches loaded from cont-new.tex!
color  : palette rollover is available
system (E-TEX) : [line 578]
system (E-TEX) : [line 633]
)
system : cont-old loaded
(/usr/share/texmf/tex/context/base/cont-old.tex
loading: Context Old Macros
)
system : cont-fil loaded
(/usr/share/texmf/tex/context/base/cont-fil.tex
loading: Context File Synonyms
)
bodyfont   : 12pt rm is loaded
language   : patterns 2:2-en-2 3:2-uk-2 4:2-de-2 5:2-fr-2 6:2-es-2 7:2-it-2
 8:2-nl-2 loaded
specials   : tex,postscript,rokicki loaded
system : a.top loaded
(./a.top
! You can't use `macro parameter character #' in horizontal mode.
\p!doifinstringelse ...tringelse [EMAIL PROTECTED] [EMAIL PROTECTED] 1#1##
  2##3\war {\unless \if [EMAIL 
PROTECTED]

\rawdodoifinsetelse ...ingelse \@@@instring {,#1,}
  [EMAIL PROTECTED] 
\firstoftwoarguments ...

\addtocommalist #1#2->\rawdoifinsetelse {#1}#2
  \resetglobal {\dodoglobal \ede...

\next1 #1,->\docommando {#1}
\doprocesscommaitem
\doprocesscommalist ...item \gobbleoneargument #1,
  ]\relax \global \advance \...
l.3 \usepath[/home/pcp/scratch/cont-test/{test}]

?

Is this an impossibility in TeX?
nikolai

--
::: name: Nikolai Weibull:: aliases: pcp / lone-star / aka :::
::: born: Chicago, IL USA:: loc atm: Gothenburg, Sweden:::
::: page: www.pcppopper.org  :: fun atm: gf,lps,ruby,lisp,war3 :::
main(){printf(&linux["\021%six\012\0"],(linux)["have"]+"fun"-97);}
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] update

2004-06-21 Thread Willi Egger
Hi Hans,
Great! This evening I unpacked cont-tmf.zip and cont-exa.zip into my 
TeXlive tree. Then I run the textools.rb. Everything as far a I could 
test it worked! - Marvelous!

Thanks Hans.
Kind regards Willi
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] macro expansion in bookmarks

2004-06-21 Thread Hans Hagen
Peter Münster wrote:
On Mon, 21 Jun 2004, Hans Hagen wrote:
 

Peter Münster wrote:
   

But anyway, bookmarks are no more placed since latest beta... :(
 

a minimal example would help ... i never use bookmarks myself -) 
   

Just the same example as before, here without \definesynonyms:
\setupinteraction[state=start]
\setupinteractionscreen[option=bookmark]
\placebookmarks[section]
\starttext
\section{some text} % no bookmark
\stoptext
ConTeXt version is now 2004.6.16
 

ah, side effect of speed optimization -)
\def\doprocessbookmarks[#1]#2%
 {\let\dolijstelement#2\relax
  \scratchcounter\zerocount
  \def\docommando##1%
{\advance\scratchcounter \plusone
 \getlistlevel[##1]\listlevel{\the\scratchcounter}%
 \setxvalue{\@@bookcount\the\scratchcounter}{1}%
 \setxvalue{\@@booklevel##1}{\listlevel}}%
  \processcommalist[#1]\docommando
  \setxvalue{\@@bookcount0}{1}%
  \global\chardef\currentbookmarklevel\zerocount
  \global\chardef\previousbookmarklevel\zerocount
  \doutilities{listentries,#1,\@@bookmark}\jobname{#1}\relax\relax} 

   ^^^ listentries added 

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] Can \note repeat its footnote?

2004-06-21 Thread Hans Hagen
Stefan Wachter wrote:
Hi all!
The \note[xxx] command is used to reference a previously defined 
footnote. Is it possible that the previously defined footnote is 
repeated if a page break had occured between the \footnote[xxx]{bla 
bla bla} and the corresponding \note[xxx] command?
it's incredible what kin dof wishes users can come up with -)
\def\myfootnote[#1]#2% let's guess that #2 is without catcode problems  
 {\setxvalue{note:#1}{\footnote{#2}}\footnote[note:a:#1]{#2}}

\def\mynote[#1]%
 {\removeunwantedspaces
  \pagereference[note:b:#1]%
  \doifreferencefoundelse{note:a:#1}
{\edef\NotePageA{\number\currentrealreference}%
 \doifreferencefoundelse{note:b:#1}
   {\edef\NotePageB{\number\currentrealreference}%
\ifnum\NotePageA<\NotePageB\relax
  \getvalue{note:#1}%
\else
  \note[note:a:#1]%
\fi}
   {\note[note:a:#1]}}
{\note[note:a:#1]}}
\starttext
test \myfootnote[funny]{first occurence} test\mynote[funny]
test \myfootnote[again]{first occurence} \page test \mynote[again]
\stoptext
hardly tested 

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: Question...

2004-06-21 Thread Willi Egger
Hi Jose
use
\usetypescript[helvetica][\defaultencoding]
\setupbodyfont[helvetica,ss,12pt]
Success!
Willi
Hans Hagen wrote:
[forwarded to the context list]
[EMAIL PROTECTED] wrote:
how can I produce texts in Arial?
I have tried
\setupbodyfont[ber,phv,ss,11pt]
following a text on the internet...but it seems my ConTexT distro is not
having these fonts...or perhaps I was doing something wrong.
Thanks in advance !
Jose Ignacio

Deze e-mail is door E-mail VirusScanner van Planet Internet 
gecontroleerd op virussen.
Op http://www.planet.nl/evs staat een verwijzing naar de actuele lijst 
waar op wordt gecontroleerd.


 



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


Re: [NTG-context] Problem with \seeindex

2004-06-21 Thread Bernd Militzer
Thanks for help!!!
Bernd

Am Mo, 2004-06-21 um 18.20 schrieb Hans Hagen:
> Bernd Militzer wrote:
> 
> >Hi all,
> >
> >in a german text with a lot of czech words I get an error when using
> >  
> >
> Ah .. a bug!
> 
> The next also works for czech writing german -)
> 
> (put this in cont-new.tex winthout the\unprotected)
> 
> \unprotected \def\complexdozieregister[#1]#2#3%
>   {\begingroup
>  \thisisnextinternal\s!ind
>  \ifduplicate\getlastregisterentry{#2}\fi
>  \convertexpanded{\??id\currentregister}{#2}\asciiregisterentryA
>  \convertexpanded{\??id\currentregister}{#3}\asciiregisterentryB
>  \makesectionformat
>  \edef\schrijfwegnaarregister%
>{\writeutility%
>   {r s %
>{\currentregister} %
>{\nextinternalreference} %
>{#1} %
>{\asciiregisterentryA} %
>{\asciiregisterentryB} %
>{\sectionformat}}}%
>  \schrijfwegnaarregister
>\endgroup
>\registerinfo{> zie}{#2}%
>\GotoPar}
> 
> \starttext
> 
> \setuphead[chapter][expansion=yes]
> 
> \chapter{Bu\v{s}ina, Leopold}
> 
> \index{Bu\v{s}ina, Leopold} does not work!
> \index{Polda}
> \seeindex{Polda}{Bu\v{s}ina, Leopold} does not work!
> 
> \typefile{test.tuo}
> 
> \placeindex
> 
> \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: Question ConTeXt

2004-06-21 Thread Henning Hraban Ramm
Am 21.06.2004 um 16:04 schrieb Hans Hagen:
[forwarded to the context list]
[EMAIL PROTECTED] wrote:
I understand that using
\language[es] (or \mainlanguage[es])
would select correct hyphenation patterns for Spanish. Is this 
correct?
Yes.
and then...
can I enter text with proper Spanish accents in it, like in...
No.
Input encoding has nothing to do with hyphenation patterns.
In ConTeXt the input encoding is called "regime":
\enableregime[il1] % iso latin 1, try utf8 if your editor does support 
it

Grüßlis vom Hraban!
---
http://www.fiee.net/texnique/
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Problem with \seeindex

2004-06-21 Thread Hans Hagen
Bernd Militzer wrote:
Hi all,
in a german text with a lot of czech words I get an error when using
 

Ah .. a bug!
The next also works for czech writing german -)
(put this in cont-new.tex winthout the\unprotected)
\unprotected \def\complexdozieregister[#1]#2#3%
 {\begingroup
\thisisnextinternal\s!ind
\ifduplicate\getlastregisterentry{#2}\fi
\convertexpanded{\??id\currentregister}{#2}\asciiregisterentryA
\convertexpanded{\??id\currentregister}{#3}\asciiregisterentryB
\makesectionformat
\edef\schrijfwegnaarregister%
  {\writeutility%
 {r s %
  {\currentregister} %
  {\nextinternalreference} %
  {#1} %
  {\asciiregisterentryA} %
  {\asciiregisterentryB} %
  {\sectionformat}}}%
\schrijfwegnaarregister
  \endgroup
  \registerinfo{> zie}{#2}%
  \GotoPar}
\starttext
\setuphead[chapter][expansion=yes]
\chapter{Bu\v{s}ina, Leopold}
\index{Bu\v{s}ina, Leopold} does not work!
\index{Polda}
\seeindex{Polda}{Bu\v{s}ina, Leopold} does not work!
\typefile{test.tuo}
\placeindex
\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: itemize

2004-06-21 Thread Gary Pajer
Thomas A. Schmitz wrote:
Me stupid! Willi, this message made my day. I've been using ConTeXt 
for more than a year now, but I was never able to figure out what 
setupitemize [.1.] .1. number each meant. So it's the level of 
itemization. Thanks, that should make things easier. And many thanks 
to Patrick and to you for pointing out the left= option. ConTeXt and 
the number of options it gives never cease to amaze me!
since we're back on the topic of itemize, I'll repost a question that 
I've posted here before:

-
It seems to me that the 'before' and 'after' keywords used in the third
argument of \setupitemize are operative only if 'columns' are also
specified.  In the example below, the hairlines disappear if the 'columns'
keyword is eliminated.
Feature, bug, or misunderstanding?
BTW:   can the lengths of the two hairlines in this example be made to be
the same length?  What's causing the indentation of the first hairline?
Regards,
Gary

-
\setupitemize[2][a,packed,columns][before={\hairline},after={\hairline}]
\setupitemize[1][n]
\starttext
\startitemize
%
\item Level One
%
\startitemize
\item first
\item second
\item third
\stopitemize
%
\item Level two
%
\startitemize
\item here's one
\item here's another
\item finally this
\stopitemize
%
\stopitemize
%
\stoptext
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Re: filename

2004-06-21 Thread Hans Hagen
Patrick Gundlach wrote:
Hello Thomas,
 

I'm looking for a comand to insert the current filename and or path like 
inserting the current date with \currentdate. Any help?
   

Well, I don't think you can do this. You can only get the name of the
main TeX file by using \jobname, but thats all. (Hopefully I didn't
miss some secret.) Different approach: put some info in your file with
a macro like \define\thisfile{/path/to/test.tex}. Or you can put some RCS
information in your file for example.
 

of course you missed a few secret:
\inputfilename
\outputfilename
\jobfilesuffix
don't look at the code, some catcode mess is involved
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: filename

2004-06-21 Thread Patrick Gundlach
Hello Thomas,

> I'm looking for a comand to insert the current filename and or path like 
> inserting the current date with \currentdate. Any help?

Well, I don't think you can do this. You can only get the name of the
main TeX file by using \jobname, but thats all. (Hopefully I didn't
miss some secret.) Different approach: put some info in your file with
a macro like \define\thisfile{/path/to/test.tex}. Or you can put some RCS
information in your file for example.

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


Re: [NTG-context] Re: Installation problem

2004-06-21 Thread Matt Gushee
On Mon, Jun 21, 2004 at 04:57:00PM +0200, Patrick Gundlach wrote:
> 
> I just came across the same error. I don't know why I didn't notice
> before, but texexec seems to be 'broken'. Well, I don't know if it is
> really broken, but it just does not to the same thing it used to. It
> gives me same error as you get.
> 
> Using an old texexec works fine for me. I didn't look into this yet.

Ah-ha! Nice to know I'm not crazy after all.

On Mon, Jun 21, 2004 at 05:11:44PM +0200, Hans Hagen wrote:

> hm, maybe some bug due to changed as a result of the new tds and binaries; 
> i'll upload my local latest -) 

Thanks to Hans and all!

-- 
Matt Gushee When a nation follows the Way,
Englewood, Colorado, USAHorses bear manure through
[EMAIL PROTECTED]   its fields;
http://www.havenrock.com/   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] Problem with \seeindex

2004-06-21 Thread Bernd Militzer
Hi all,

in a german text with a lot of czech words I get an error when using
\seeindex

\seeindex{Polda}{Bu\v{s}ina, Leopold} does not work!

(./seeindex_test.tuo
! Missing number, treated as zero.
 
   \let 
\dobuildtextaccent ... \char \normalaccent #1\let 
  \char \normalchar #2}
 Bu\dobuildtextaccent \char 2
   0 sina, Leopold
\labeltexts #1#2->\leftlabeltext {#1}#2
   \rightlabeltext {#1}
\doregisterpagehowto ...d #1\c!paginacommando }{#2
  }\dostopattributes 
\limitatetext ...it \empty \normallimitatetext {#1
  }\leftlimit {#3}\else
\spe...
...
l.37 ... \char 20 sina, Leopold}{2::0:0:0:0:0:0:0}

What do I wrong?

Thanks for any help

Bernd
%#ConTeXt
%
%
\starttext
%
	\enableregime[il1]  	% Eingabe-Codierung
	\mainlanguage[de]   
	\setupencoding[default=texnansi]
%
Test with \type{\seeindex}\crlf
\type{\seeindex{Polda}{Bu\v{s}ina, Leopold}} 
\blank
Dr. Hodina kam \dots
\index{Hodina+Franz}
\seeindex{Dr. Hodina}{Hodina, Franz}
\blank
in Böhmen und Mähren \dots
\index[Boehmen]{Böhmen} 
\index[Maehren]{Mähren}
\blank
Erv\'{i}n P\v{r}ichystal, Bauernsohn \dots
\index[Prichystal]{P\v{r}ichystal+Erv\'{i}n}
\blank
Josef Zachar,Schmied\dots
\index{Zachar+Josef}\index{\it Schmied}
\seeindex{Onkel Zachar}{Zachar, Josef}
\blank
Leopold Bu\v{s}ina, Sohn eines Dachdeckers \dots 
\index[Busina]{Bu\v{s}ina+Leopold}
Polda -- sein Rufname
\seeindex{Polda}{Bu\v{s}ina, Leopold} % produziert Fehler!!!
\blank[2*big]
\placeindex
%
\stoptext
% ENDE
This is pdfeTeX, Version 3.14159-1.10b-2.1 (Web2C 7.4.5) (format=cont-en 2004.6.20)  
21 JUN 2004 17:35
entering extended mode
\write18 enabled.
**&cont-en seeindex_test.tex
(./seeindex_test.tex{/var/lib/texmf/pdftex/config/pdftex.cfg}

ConTeXt  ver: 2004.4.9  fmt: 2004.6.20  int: english  mes: english

language   : language en is active

system : cont-new loaded
(/usr/local/share/texmf/tex/context/base/cont-new.tex
systems: beware: some patches loaded from cont-new.tex!
color  : palette rollover is available
system (E-TEX) : [line 255] 
system (E-TEX) : [line 310] 
)
system : cont-old loaded
(/usr/local/share/texmf/tex/context/base/cont-old.tex
loading: Context Old Macros
)
system : cont-fil loaded
(/usr/local/share/texmf/tex/context/base/cont-fil.tex
loading: Context File Synonyms
)
system : cont-sys loaded
(/var/lib/texmf/tex/context/config/cont-sys.tex)
bodyfont   : 12pt rm is loaded
language   : patterns 2:2-cz-2 3:2-cz-2 4:2-en-2 5:2-uk-2 6:2-de-2 7:2-fr-2
 8:2-es-2 9:2-it-2 10:2-nl-2 loaded
specials   : tex,postscript,rokicki loaded
\openout2 = `seeindex_test.tui'.

system : seeindex_test.top loaded
(./seeindex_test.top)
\openout0 = `mpgraph.mp'.

\openout0 = `mpgraph.mp'.

 (./seeindex_test.tuo) (./seeindex_test.tuo)
(./seeindex_test.tuo) (./seeindex_test.tuo) (./seeindex_test.tuo)
(./seeindex_test.tuo) (./seeindex_test.tuo) (./seeindex_test.tuo)
(./seeindex_test.tuo) (./seeindex_test.tuo) (./seeindex_test.tuo)
(./seeindex_test.tuo) (./seeindex_test.tuo) (./seeindex_test.tuo)
fonts  : needs map file: ec-public-lm.map
fonts  : needs map file: original-base.map
systems: begin file seeindex_test at line 4
(./seeindex_test.tuo
! Missing number, treated as zero.
 
   \let 
\dobuildtextaccent ... \char \normalaccent #1\let 
  \char \normalchar #2}
 Bu\dobuildtextaccent \char 2
   0 sina, Leopold
\labeltexts #1#2->\leftlabeltext {#1}#2
   \rightlabeltext {#1}
\doregisterpagehowto ...d #1\c!paginacommando }{#2
  }\dostopattributes 
\limitatetext ...it \empty \normallimitatetext {#1
  }\leftlimit {#3}\else \spe...
...
l.37 ... \char 20 sina, Leopold}{2::0:0:0:0:0:0:0}
  
? 
)
columns: balanced in 17 step(s)
[1.1]
systems: end file seeindex_test at line 35
 ) 
Here is how much of TeX's memory you used:
 428 strings out of 66597
 6660 string characters out of 725107
 4412659 words of memory out of 5507791
 31628 multiletter control sequences out of 1+5
 10453 words of font info for 35 fonts, out of 50 for 1000
 62 hyphenation exceptions out of 1000
 44i,17n,49p,157b,627s stack positions out of 1500i,500n,5000p,20b,5000s
 0 PDF objects out of 30
 0 named destinations out of 131072
 0 words of extra memory for PDF output out of 65536

Output written on seeindex_test.dvi (1 page, 1500 bytes).


[NTG-context] filename

2004-06-21 Thread Thomas Lohmann
Hello everybody,

I'm looking for a comand to insert the current filename and or path like 
inserting the current date with \currentdate. Any help?

Thanks

Thomas Lohmann
-- 
Dr. Thomas Lohmann
Daimlerstr. 28
68526 Ladenburg
Tel.: 06203 924277
Fax: 01212 5 11720241
Mobil: 0174 6179456
Email: [EMAIL PROTECTED]
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Re: Installation problem

2004-06-21 Thread Hans Hagen
Patrick Gundlach wrote:
Hi Matt,
I just came across the same error. I don't know why I didn't notice
before, but texexec seems to be 'broken'. Well, I don't know if it is
really broken, but it just does not to the same thing it used to. It
gives me same error as you get.
Using an old texexec works fine for me. I didn't look into this yet.
 

hm, maybe some bug due to changed as a result of the new tds and binaries; i'll upload my local latest -) 

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] macro expansion in bookmarks

2004-06-21 Thread Peter Münster
On Mon, 21 Jun 2004, Hans Hagen wrote:

> Peter Münster wrote:
> 
> >But anyway, bookmarks are no more placed since latest beta... :(
> >  
> >
> a minimal example would help ... i never use bookmarks myself -) 

Just the same example as before, here without \definesynonyms:
\setupinteraction[state=start]
\setupinteractionscreen[option=bookmark]
\placebookmarks[section]
\starttext
\section{some text} % no bookmark
\stoptext

ConTeXt version is now 2004.6.16

Greetings, Peter

-- 
http://pmrb.free.fr/contact/
_
FilmSearch engine: http://f-s.sf.net/
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] \hyphenatedfile

2004-06-21 Thread Peter Münster
On Mon, 21 Jun 2004, Hans Hagen wrote:

> > I try to build a macro, that prints special characters as \type and
> > hyphenates as \hyphenatedfile.
> >
> you mean something like \typ{whatever} (i.e. \type without e)

Yes, but I don't see any difference between

\starttext
\hskip10cm \typ{lost space/file with;strange:charac?ters~/ < and > /end!}
\stoptext

and

\starttext
\hskip10cm \type{lost space/file with;strange:charac?ters~/ < and > /end!}
\stoptext

Peter

-- 
http://pmrb.free.fr/contact/
_
FilmSearch engine: http://f-s.sf.net/
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


[NTG-context] Re: Installation problem

2004-06-21 Thread Patrick Gundlach
Hi Matt,

I just came across the same error. I don't know why I didn't notice
before, but texexec seems to be 'broken'. Well, I don't know if it is
really broken, but it just does not to the same thing it used to. It
gives me same error as you get.

Using an old texexec works fine for me. I didn't look into this yet.

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


Re: [NTG-context] Numbering

2004-06-21 Thread Hans Hagen
[EMAIL PROTECTED] wrote:
Hi All!
I need to supress the numbering in floating figures. I have used:
\definefloat[figure][figures]
\setupfloat[figure][location=middle]
\setupcaption
[figure]
[location=bottom,
style=\bfx,
number=no]
But this doesn't work. What do  I need to change?
Thanks and regards,
 

hm, here it works: no "figure n" 

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] \hyphenatedfile

2004-06-21 Thread Hans Hagen
Peter Münster wrote:
<>Hello,
I try to build a macro, that prints special characters as \type and
hyphenates as \hyphenatedfile.
you mean something like \typ{whatever} (i.e. \type without e)
Hans
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


[NTG-context] Re: Question ConTeXt

2004-06-21 Thread Hans Hagen
[forwarded to the context list]
[EMAIL PROTECTED] wrote:
Another quick question about ConTeXt.
I understand that using
\language[es] (or \mainlanguage[es])
would select correct hyphenation patterns for Spanish. Is this correct?
and then...
can I enter text with proper Spanish accents in it, like in...
\starttext
¡No sé cómo explicarlo bien!
¿Entiendes español?
\stoptext
Or do I have to use \{'o} or something on those lines...(that would be
terrible I guess...)
Thanks in advance for being there !!
Jose Ignacio

Deze e-mail is door E-mail VirusScanner van Planet Internet gecontroleerd op virussen.
Op http://www.planet.nl/evs staat een verwijzing naar de actuele lijst waar op wordt 
gecontroleerd.


 


--
-
 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: Question...

2004-06-21 Thread Hans Hagen
[forwarded to the context list]
[EMAIL PROTECTED] wrote:
how can I produce texts in Arial?
I have tried
\setupbodyfont[ber,phv,ss,11pt]
following a text on the internet...but it seems my ConTexT distro is not
having these fonts...or perhaps I was doing something wrong.
Thanks in advance !
Jose Ignacio

Deze e-mail is door E-mail VirusScanner van Planet Internet gecontroleerd op virussen.
Op http://www.planet.nl/evs staat een verwijzing naar de actuele lijst waar op wordt 
gecontroleerd.

 


--
-
 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] macro expansion in bookmarks

2004-06-21 Thread Hans Hagen
Peter Münster wrote:
But anyway, bookmarks are no more placed since latest beta... :(
 

a minimal example would help ... i never use bookmarks myself -) 

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] [Fwd: [MacTeX] real-world projects using TeX/ConTeXt]

2004-06-21 Thread Hans Hagen
Maybe users on this list can contribute?
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
-
--- Begin Message ---
Hans:

Do you think your ConTeXt users would
have examples they would like to contribute?

Can we send this to your list as-is?
Ross isn't a member of your list so couldn't send it out
to the list directly.

/// wendy





Dear ConTeXt Users

We are looking for ConTeXt examples in the real world.
There is a link to the ConTeXt showcase here:
http://www.tug.org/twg/mactex/whatistex.html

Please see the attached  request from Ross.

Thanks.

-- Forwarded message --
Date: Mon, 21 Jun 2004 09:20:46 +1000
From: Ross Moore <[EMAIL PROTECTED]>
Reply-To: MacOS X and TeX. <[EMAIL PROTECTED]>
To: MacOS X and TeX. <[EMAIL PROTECTED]>
Cc: [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED]
Subject: [MacTeX] real-world projects using TeX

Hi everyone,

The MacTeX Working Group of TUG is compiling lists of links
to examples where TeX is integrated into a larger work-flow:

 http://www.tug.org/twg/mactex/realworld.html
http://www.tug.org/twg/mactex/morerealworld.html

This is *not* meant to include traditional general-purpose
front-end editor-like TeX applications, such as WinEDT, TeXShell,
TeXShop, VTeX, Textures, OzTeX, etc.  which are listed aready at
  http://www.tug.org/interest.html.

Also, it doesn't include the obvious traditional application of
technical journals (esp. mathematics), though things like:
   *  online encyclopaedia
   *  abstract submission system with TeX preview
could be appropriate.


Furthermore, single documents which are particularly well-designed
and really show-off the power of TeX, are not what we are looking
for here. But these *would* be suitable candidates for inclusion
on the  `show-case' page:

 http://www.tug.org/texshowcase/


Please reply to either myself or:  [EMAIL PROTECTED]
with suggestions ***including links***  for additions to any
of the above-mentioned lists.


Happy TeX-ing

Ross



Ross Moore [EMAIL PROTECTED]
Mathematics Department office: E7A-419
Macquarie University   tel: +61 +2 9850 8955
Sydney, Australia  fax: +61 +2 9850 8114



Deze e-mail is door E-mail VirusScanner van Planet Internet gecontroleerd op virussen.
Op http://www.planet.nl/evs staat een verwijzing naar de actuele lijst waar op wordt 
gecontroleerd.




--- End Message ---


Re: [NTG-context] Re: Installation problem

2004-06-21 Thread Matt Gushee
On Mon, Jun 21, 2004 at 11:29:17AM +0200, Patrick Gundlach wrote:
> Hello,
> 
> > Well, I've deleted all the old ConTeXt directories, reinstalled the new
> > version, copied the *.rme files to *.ini (or whatever they are supposed
> > to be ... I think), regenerated the 'en', 'nl', and 'metafun' formats,
> > and run texhash ... I'm still getting the same error.
> 
> did you update texexec and texutil?

They are symlinks, so yes, unzipping the new archive updated them.

> > BTW, this is a very new release of ConTeXt--June 16, according to the 
> > Pragma Web site. Has anyone used this version successfully?
> 
> The current beta is 2004.6.20 (see
> http://members.ping.de:8062/context/show/HomePage ;-)

Okay, tried that, no change.

I also tried creating /usr/bin/cont-en as a symlink to pdfetex and
pdftex (not at the same time, of course). The results were, well,
different:

First, with cont-en as a link to pdftex:

| [EMAIL PROTECTED]:/var/tmp$ texexec ut.tex 
| 
|  TeXExec 4.3 - ConTeXt / PRAGMA ADE 1997-2004
| 
| executable : pdfetex
| format : cont-en
|  inputfile : ut
| output : standard
|  interface : en
|   current mode : none
|TeX run : 1
| 
| This is pdfTeX, Version 3.14159-1.00a-pretest-2004-ojmw (Web2C 7.3.7)
| I can't find the format file `cont-en.fmt'!
| 
|return code : 256
|   run time : 1 seconds
| 
| total run time : 4 seconds

Can't find 'cont-en.fmt'? Well, that makes sense, doesn't it? Since, as
I understand it, ConTeXt normally uses pdfetex, which would need
cont-en.efmt. But it was worth a try.

So then I tried pdfetex:

| [EMAIL PROTECTED]:/var/tmp$ texexec ut.tex 
| 
|  TeXExec 4.3 - ConTeXt / PRAGMA ADE 1997-2004
| 
| executable : pdfetex
| format : cont-en
|  inputfile : ut
| output : standard
|  interface : en
|   current mode : none
|TeX run : 1
| 
| This is pdfeTeX, Version 3.14159-1.00a-pretest-2004-ojmw-2.1 (Web2C 7.3.7)
| This is pdfeTeX, Version 3.14159-1.00a-pretest-2004-ojmw-2.1 (Web2C 7.3.7)
| (/usr/share/texmf/web2c/natural.tcx)
| **
| ! End of file on the terminal... why?
| entering extended mode
| (./ut.tex
| Error: cont-en (file pdftex.cfg): cannot open config file
| 
|return code : 65280
|   run time : 3 seconds
| 
| total run time : 6 seconds

Hmm ... two questions here: what is the 'End of file on the terminal?'
Is that referring to natural.tcx (which comes from the ConTeXt
distribution)? And what about pdftex.cfg? Indeed, it doesn't exist. But
it doesn't exist on the machines where I have ConTeXt working, either.
So I don't know if either of the above results are meaningful.

Oh, by the way, the input file was this:

  \usetypescriptfile [type-utopia]
  \usetypescript [UtopiaFace]

  \showbodyfont [Utopia]

  \end

And yes, the typescript in question is available; both it and this test
file have worked for me on another machine.

-- 
Matt Gushee When a nation follows the Way,
Englewood, Colorado, USAHorses bear manure through
[EMAIL PROTECTED]   its fields;
http://www.havenrock.com/   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: Installation problem

2004-06-21 Thread Patrick Gundlach
Hello,

> Well, I've deleted all the old ConTeXt directories, reinstalled the new
> version, copied the *.rme files to *.ini (or whatever they are supposed
> to be ... I think), regenerated the 'en', 'nl', and 'metafun' formats,
> and run texhash ... I'm still getting the same error.

did you update texexec and texutil?


> BTW, this is a very new release of ConTeXt--June 16, according to the 
> Pragma Web site. Has anyone used this version successfully?

The current beta is 2004.6.20 (see
http://members.ping.de:8062/context/show/HomePage ;-)

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


Re: [NTG-context] Re: Installation problem

2004-06-21 Thread Matt Gushee
On Mon, Jun 21, 2004 at 10:46:40AM +0200, Thomas A. Schmitz wrote:
> cont-en.efmt is a format file that ConTeXt need to run. In order for 
> this file to be built, run
> 
> texexec --make en de nl

Yes, I knew about that, and had already created the en and nl formats
(since I don't work with German documents at all, I don't need de, do
I?).

Just as a side note, why would the shell think the format is supposed to
be a command? That makes me wonder if there is some incorrect quoting in
the Perl script.

On Mon, Jun 21, 2004 at 10:45:37AM +0200, Patrick Gundlach wrote:
> 
> > But what exactly is this 'cont-en'? 
> 
> probably a hard link to pdftex or pdfetex.

Could be, but it's never been necessary in the past. As I mentioned, I
have two working ConTeXt installations with no such command.

> >   teTeX 1.0.2
> > * Note that teTeX comes with an old and not-properly-configured
> >   version of ConTeXt. I unzipped the new package over that ...
> 
> oh, bad thing ;-)

Yes, I suppose so.

Well, I've deleted all the old ConTeXt directories, reinstalled the new
version, copied the *.rme files to *.ini (or whatever they are supposed
to be ... I think), regenerated the 'en', 'nl', and 'metafun' formats,
and run texhash ... I'm still getting the same error.

I also ran a diff comparing the texmf.cnf from the new installation with
one from one of my working installation. The files are identical in
everything related to ConTeXt.

So, thank you both for your quick replies, but it looks like there's
some other problem.

BTW, this is a very new release of ConTeXt--June 16, according to the 
Pragma Web site. Has anyone used this version successfully?

-- 
Matt Gushee When a nation follows the Way,
Englewood, Colorado, USAHorses bear manure through
[EMAIL PROTECTED]   its fields;
http://www.havenrock.com/   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


Re: [NTG-context] Installation problem

2004-06-21 Thread Hans Hagen
Thomas A. Schmitz wrote:
cont-en.efmt is a format file that ConTeXt need to run. In order for 
this file to be built, run

texexec --make en de nl
This will create English, Dutch, and German formats (see minstall.pdf, 
p. 6-8). Depending on where and how you installed, you'll need to run 
it as root.
add metafun and mptopdf; here i run:
  texexec --make --alone --all en de nl metafun mptopdf
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Installation problem

2004-06-21 Thread Thomas A. Schmitz
cont-en.efmt is a format file that ConTeXt need to run. In order for 
this file to be built, run

texexec --make en de nl
This will create English, Dutch, and German formats (see minstall.pdf, 
p. 6-8). Depending on where and how you installed, you'll need to run 
it as root.

All best
Thomas
On Jun 21, 2004, at 10:28 AM, Matt Gushee wrote:
Hello, all--
I have just installed the latest (stable release of) ConTeXt on a "new"
machine [details below], but texexec is not working properly. I keep
getting the following error:
  sh: cont-en: command not found
I have Googled for information on this problem, but the solution I 
found
doesn't make sense to me. In response to a previous inquiry on this
list, someone wrote:

but the absence of cont-en that is the
problem. Or if cont-en exists, it is not in your path or not
executable.
But what exactly is this 'cont-en'? I have two machines with working
ConTeXt systems, and neither of them has a command with exactly that
name. So I imagine the reference is to a file named
'cont-en.'. But there is more than one such file, and none 
of
them seems to be a type of file that would normally be made executable
(nor are they executable on the machines where I have ConTeXt working).
Any thoughts as to what's wrong?

Oh, yes, my system is:
  Debian GNU/Linux 3.0
  teTeX 1.0.2
* Note that teTeX comes with an old and not-properly-configured
  version of ConTeXt. I unzipped the new package over that ...
  could something left over from the old ConTeXt be causing the
  problem?
Thanks for any info.
--
Matt Gushee When a nation follows the Way,
Englewood, Colorado, USAHorses bear manure through
[EMAIL PROTECTED]   its fields;
http://www.havenrock.com/   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 mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


[NTG-context] Re: Installation problem

2004-06-21 Thread Patrick Gundlach
Hello Matt,


> But what exactly is this 'cont-en'? 

probably a hard link to pdftex or pdfetex.

>   Debian GNU/Linux 3.0
>   teTeX 1.0.2
> * Note that teTeX comes with an old and not-properly-configured
>   version of ConTeXt. I unzipped the new package over that ...

oh, bad thing ;-)

remove the ConTeXt stuff from there (not really necessary) and
install ConTeXt somewhere else. The directory structure has changed
so that you will get into some trouble sooner or later (kpathsea).
You need to make sure that kpathsea finds the new files before the
old ones.

See also http://levana.de/context/

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


Re: [NTG-context] Re: itemize

2004-06-21 Thread Thomas A. Schmitz
Me stupid! Willi, this message made my day. I've been using ConTeXt for 
more than a year now, but I was never able to figure out what 
setupitemize [.1.] .1. number each meant. So it's the level of 
itemization. Thanks, that should make things easier. And many thanks to 
Patrick and to you for pointing out the left= option. ConTeXt and the 
number of options it gives never cease to amaze me!

All best
Thomas
On Jun 19, 2004, at 7:14 PM, Willi Egger wrote:
Of course Patrick's answer works. Another aproach is to use the
\setupitemize command. This gives you more control over the spacing
between the symbol and the text.
\setupitemize
[1] %level of itemization
[broad,atnmargin]
[margin=no,
 distance=5em,
 stopper=,
 left=Idea ,
 right=:]
\startitemize[a]
\item Text Text Text Text Text Text Text Text Text Text Text Text
  Text Text Text Text Text Text Text Text Text Text Text Text
  Text Text Text Text Text Text Text Text Text Text
\item Text Text Text Text Text Text Text Text Text Text Text Text
  Text Text Text Text Text Text Text Text Text Text Text Text
  Text Text Text Text Text Text Text Text Text Text
\stopitemize
\stoptext
Kind regards
Willi
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


[NTG-context] Installation problem

2004-06-21 Thread Matt Gushee
Hello, all--

I have just installed the latest (stable release of) ConTeXt on a "new"
machine [details below], but texexec is not working properly. I keep 
getting the following error:

  sh: cont-en: command not found

I have Googled for information on this problem, but the solution I found
doesn't make sense to me. In response to a previous inquiry on this
list, someone wrote:

> but the absence of cont-en that is the
> problem. Or if cont-en exists, it is not in your path or not
> executable.

But what exactly is this 'cont-en'? I have two machines with working
ConTeXt systems, and neither of them has a command with exactly that
name. So I imagine the reference is to a file named
'cont-en.'. But there is more than one such file, and none of
them seems to be a type of file that would normally be made executable
(nor are they executable on the machines where I have ConTeXt working).
Any thoughts as to what's wrong?

Oh, yes, my system is:

  Debian GNU/Linux 3.0
  teTeX 1.0.2
* Note that teTeX comes with an old and not-properly-configured
  version of ConTeXt. I unzipped the new package over that ...
  could something left over from the old ConTeXt be causing the
  problem?

Thanks for any info.

-- 
Matt Gushee When a nation follows the Way,
Englewood, Colorado, USAHorses bear manure through
[EMAIL PROTECTED]   its fields;
http://www.havenrock.com/   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