Re: [NTG-context] Aligned numbered math formulas

2003-08-14 Thread Holger Schöner
Hello,

On Thu, 14 Aug 2003, Tobias Burnus wrote:
> Holger Schöner schrieb:
> > 1) Some of the formulas should be numbered, some not; and at the same time
> > I would like to align several of them.
[...]
> I use
> \eqalignno{
>   left & right & \formulanumber \cr
>   left & right & \formulanumber \cr
> }

Thanks, Tobias! This works for me, if I place a "\placeformula" before
formulas enclosed by "$$". Funny, though, that I get an error if I instead
enclose the formula with "\startformula ... \endformula":

--
! You can't use `\halign' in math mode.
\eqalignno [EMAIL PROTECTED] \tabskip \centering \halign
  to \displaywidth {\hfil
$\...
l.42   }
--

Thanks a lot,

-- 
Holger F. Schoener  TU Berlin; Dept. IV: EE and Computer Science
[EMAIL PROTECTED]   http://www.cs.tu-berlin.de/~hfsch/
Rooms FR2525Tel: +49-30-314-73115, Fax: -73121
Office FR 2-1   Franklinstr. 28/29, D-10587 Berlin, Germany


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


[NTG-context] Re: Problem running ConTeXt (cont-en.efmt not found..)

2003-08-14 Thread Patrick Gundlach
Jules Colding <[EMAIL PROTECTED]> writes:

Hi Jules,

> "texexec --make en de dl" command, but that one fails with:
>
> # CUT # 
>  TeXExec 3.2 - ConTeXt / PRAGMA ADE 1997-2003
>  
> fmtutil: no info for format `cont-en'.
> fmtutil: no info for format `cont-de'.
> fmtutil: no info for format `cont-nl'.

There are probably two possible ways (I only use the fist alternative)

1) run 
texexec --make --alone en de dl metafun

and copy the resulting efmt and mem files to the appropiate places.
(texmf/web2c/)

(btw. what is dl?)

2) edit the "fmtutil" helper file (fmtutil --edit) and uncomment the
   cont-en ... lines and run texexec --make ... again.


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


[NTG-context] Stumped on Field

2003-08-14 Thread darnold
All,

In s-mag-01.tex, I am completely baffled by:

\startusableMPgraphic{text}
 StartPage ;
  for i=Header,Text,Footer:
   for j=LeftEdge,LeftMargin,Text,RightMargin,RightEdge:
draw Field[i][j] withpen pencircle scaled 0.5pt;
   endfor;
  endfor;
 StopPage;
 setbounds currentpicture to Field[Text][Text] ;
\stopusableMPgraphic

I can find no references of Field anywhere, not in s-mag-01, nor in any
files in my texmf tree, nor in documentation, ...

Huh?

Anyone have a clue?


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


Re: [NTG-context] Aligned numbered math formulas

2003-08-14 Thread Holger Schöner
Hi,

On Thu, 14 Aug 2003, Tobias Burnus wrote:
> On Thu, 14 Aug 2003, Holger Schöner wrote:
> > Thanks, Tobias! This works for me, if I place a "\placeformula" before
> > formulas enclosed by "$$". Funny, though, that I get an error if I instead
> > enclose the formula with "\startformula ... \endformula":
> Here it works with \startformula \stopformula [stop not end].

All right, I used \stopformula ... And I just found out the reason, it
seems: I used

\setupformulae[align=right]

Then, if I use $$ instead of \startformula, I get centered formulas anyway.
If I remove the \setupformulae, then I can also use \startformula ...

So in the moment I have resolved to using centered formulae.

Best regards,

-- 
Holger F. Schoener  TU Berlin; Dept. IV: EE and Computer Science
[EMAIL PROTECTED]   http://www.cs.tu-berlin.de/~hfsch/
Rooms FR2525Tel: +49-30-314-73115, Fax: -73121
Office FR 2-1   Franklinstr. 28/29, D-10587 Berlin, Germany


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


Re: [NTG-context] Trouble with updated Context

2003-08-14 Thread Hans Hagen
At 18:14 07/08/2003 -0700, [EMAIL PROTECTED] wrote:
All,

I am having trouble getting the latest edition of Context to allow me to
work through the Metafun manual.
i wonder if you have the right metafun

texexec --make --alone

will generate you an english and dutch interface as well as metafun and 
mptopdf formats

Hans
-
  Hans Hagen | PRAGMA ADE | [EMAIL PROTECTED]
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
 tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com
-
   information: http://www.pragma-ade.com/roadmap.pdf
documentation: http://www.pragma-ade.com/showcase.pdf
-
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Funny error

2003-08-14 Thread darnold
Hans,

No luck, even after reinstalling first with:

http://www.pragma-ade.com/context/cont-tmf.zip

and then with:

http://www.pragma-ade.com/context/beta/cont-tmf.zip

Before unzipping the installations, I deleted c:\texmf\metapost\context
and c:\texmf\tex\context\base. Then I unzipped the distribution, refreshed
the filename database, and built the formats with:

texexec --make --alone

After which I had to move metafun.mem to c:\localtexmf\miktex\config\mem
and refresh the filename database again.

I still got the same error.

One point may be a problem? The first time I tried to update my context, I
got an error message that the pool size was to small, so I enlarged to the
following in miktex.ini.

;; Maximum number of characters in strings, including all
;; error messages and help texts, and the names of all fonts and
;; control sequences; must exceed string_vacancies by the total
;; length of TeX's own strings, which is currently about 23000.
pool_size=100

I didn't rebuild any latex or other formats. I went straight to texexec
--make --alone.

Could that be the problem?



> At 11:49 05/08/2003 -0700, [EMAIL PROTECTED] wrote:
>>All,
>>
>>This from the Metafun manual:
>>
>>\setupoutput[pdf]
>
> this runs ok here both in
>
>texexec testfile
>
>texexec testfile --automp
>
> maybe you have an old metafun format? (watch out, metafun code moved
> down  to /metapost/context/base)
>
> Hans
> -
>Hans Hagen | PRAGMA ADE |
> [EMAIL PROTECTED]
>Ridderstraat 27 | 8061 GH Hasselt | The
> Netherlands
>   tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 |
> www.pragma-ade.com
> -
> information:
> http://www.pragma-ade.com/roadmap.pdf
>  documentation:
> http://www.pragma-ade.com/showcase.pdf
> -
>
> ___
> 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] texfont and type-tmf.dat

2003-08-14 Thread darnold
I am out of my depth here, because you are using linux. But here goes a shot.

I think there is a file, texmf.cnf, where you can set stuff, one thing
being the order in which tex searches paths. I think you want to set it to
the current directory, then a local tex directory (like texmf-local), then
the normal tex tree. I believe you'll find this mentioned both in the
manual for Fonts in Context and the Texfont manual.

It's best to make personal adaptions in the tree texmf-local, as these
changes won't get overwritten when you install new releases of tex.

Make sure your directories are writable? Could that be the problem you are
experiencing in your description?

Also, instead of

texfont --en=8r --ve=urw --co=courier --so=auto

try being more specific, say with

texfont --en=8r --ve=urw --co=courier --fontroot=/tex/texmf-local --so=
(put the absolute path to your source files here) --makepath --install

I am just guessing at things here. I probably won't be of much help
because I have a windows installation.

Good luck.

> Gerben,
> Apologies for posting any confusion.
>
> 1. The only package fink in use is the tetex placeholder system-tetex I
> did previously have fink tetex but now only have i-Installer tetex
> almost latest.
>
> 2. The texroot report no longer occurs presumably I have cleaned up my
> installation further. The command now aborts simply with the subpath
> message.
>
> texfont --en=8r --ve=urw --co=courier --fontroot=/tex/texmf-local --so=auto

>
>  TeXFont 1.5 - ConTeXt / PRAGMA ADE 2000-2001 (STILL BETA)
>
> processing aborted : unknown subpath ../fonts/afm/urw/courier
>
> --help : show some more info
>
> Locate gives the following list suggesting that texfont is not looking
> at /usr/local/teTeX/share/texmf.tetex for fonts
>
> locate /fonts/afm/urw/courier
> /usr/local/teTeX/share/texmf.tetex/fonts/afm/urw/courier
> /usr/local/teTeX/share/texmf.tetex/fonts/afm/urw/courier/ucrb8a.afm
> /usr/local/teTeX/share/texmf.tetex/fonts/afm/urw/courier/ucrbo8a.afm
> /usr/local/teTeX/share/texmf.tetex/fonts/afm/urw/courier/ucrr8a.afm
> /usr/local/teTeX/share/texmf.tetex/fonts/afm/urw/courier/ucrro8a.afm
>
> Texfont help suggest that I should use the following command but the
> same unknown subpath is returned.
> texfont --en=8r --ve=urw --fontroot=/usr/local/teTeX/share/texmf.tetex
> --co=courier --so=auto
>
> In the file
> /usr/local/teTeX/share/texmf.tetex/context/config/texexec.ini
> There is a line which seems very odd and PC like
> set  TeXFontsPath   to  l:/tex/texmf;l:/tex/texmf-local;
>
> I have commented out this line and set TeXFontsPath to other more likely
> values like texmf, texmf.tetex all do not effect the unknown subpath.
>
> I'm now beyond the end of my knowledge.
> --
> Nigel
>
>
> ___
> 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] building formats under MikTeX

2003-08-14 Thread darnold
Check your path to see if the bin directory of Miktex in on your path.


>Hans Hagen wrote:
>
>> At 23:47 05/08/2003 +0900, you wrote:
>>
>>> Hello All:
>>>
>>> When I run texexec --make to (re)build my formats (under MikTeX),
>>> texexec reports that it can't read TEX.POOL and MP.POOL .  Then a
>>> window's dialog box reports that pdfetex has crapped out.   Any any
>>> ideas?
>>>
>>> Thanks and best wishes,
>>
>>
>>
>> do you have the pool files?
>>
>> kpsewhich mp.pool
>
> Yes, I have the files, but kpsewhich can't find them unless it's
> actually run from the directory containing the files!  I've updated the
> databases but that doesn't help either.  Also, when I process a tex
> file, pdfetex can't find/open pdftex.cfg .
>
>
> ___
> 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] Latin Modern Fonts with context? It works

2003-08-14 Thread Helmut Schwertner
Dear Hans,

thank you very much. It works perfekt.

Best wishes,

Helmut

> At 22:54 10/08/2003 +0200, you wrote:
>>Hello,
>>
>>what is to do if I want to use the Latin Modern Fonts with context? Today
>>I
>>have installed the LM package (0.86 of 04.08.2003) of the Latin Modern
>>family of fonts in the PostScript Type 1 format under Miktex and it works
>>with latex wonderful (and this fonts are wonderful too).

> you need the attached
> \usetypescript [all] [latin-modern] [texnansi]
> \setupbodyfont[reset] \setupbodyfont[cmr]
> \starttext
> \showfont[Serif]
> \stoptext
> this should work with the latest lm fonts tds zip
> next year, when we may assume lm to be present everywhere i will replace
> the plr/csr/aer definitions with lm ones
> Hans


Helmut Schwertner
Schülperbaum 4
24103 Kiel

phone: 0431 58 78 502
eMail: [EMAIL PROTECTED]

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


Re: [NTG-context] merging pdf

2003-08-14 Thread Hans Hagen
At 14:15 08/08/2003 +0200, scarso luigi wrote:
Good news,
it seem to work after updating to 1.11
( This is pdfTeXk, Version 3.141592-1.11a (Web2C 7.5.2))
I get
  797,077 test.pdf
1,078,539 test1.pdf
and your test was
  805,366 test.pdf
1,053,739 test1.pdf
(Does it depend from pdftex version ?)

Previous merging is also good: I have now  1,767,252 bytes
(it was ~10Mbytes)
i used 1.10a for that test (1.11 is in my test suite) and there are indeed 
differences between pdftex versions: the latest greatest has a couple of 
optimizations, even more accuracy, a few more features etc. Also, the xpdf 
lib plays a role in producing code.

(version 1+ avoids redundant copies of objects when including multiple 
pages from a file)

Hans
-
  Hans Hagen | PRAGMA ADE | [EMAIL PROTECTED]
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
 tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com
-
   information: http://www.pragma-ade.com/roadmap.pdf
documentation: http://www.pragma-ade.com/showcase.pdf
-
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


[NTG-context] Presentations

2003-08-14 Thread Eduardo Cassiraga
Hi:

I am not able to run presentation styles correctly yet. I am not sure what 
make which "kpsewhich texmf.cnf".

Anyway I send you a zip file with the result of my compilation for you can 
reproduce the problem.

Could you help me, please?

Thanks.

Eduardo F. Cassiraga
Departamento de Ingeniería Hidráulica y Medio Ambiente
Universidad Politécnica de Valencia
C/. Camino de Vera, s/n
46022 Valencia - SPAIN
Tel: +34 963 879 613
Fax: +34 963 877 618
E-mail: [EMAIL PROTECTED]


test.zip
Description: Zip archive


Re: [NTG-context] Re: zoom in presentations

2003-08-14 Thread Piotr Kopszak
Dnia Wed, Aug 06, 2003 at 12:28:17PM +0200, Pan(i) Patrick Gundlach był(a) łaskaw(a) 
napisać:
> [EMAIL PROTECTED] (Piotr Kopszak) writes:
> 
> Hello Piotr,
> 
> > Is it possible to access  Acrobat's zoom function from ConTeXt? What I
> > need is  a button, maybe  somewhere close to navigation  buttons which
> > would give the possibility of zooming without going out of full-screen
> > mode. 
> 
> Don't know, but why don't you press the "z" key to switch to
> "zooming-mode"?

Yes, that's a  solution, but not everyone using Acrobat knows that
or would like to read my explanation. 

Piotr

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


Re: [NTG-context] letter manual

2003-08-14 Thread Hans Hagen
At 15:21 11/08/2003 +0200, you wrote:
Hello,

Today I  realized the last  thing I use  LaTeX for is  writing letters
(mainly because of  old stylesheets I once produced).  I would like to
switch to ConTeXt obviously. Do  I remember right that a letter manual
was mentioned  here some time  ago? What happened  to it? If  it's not
available  could you  mention  any ConTeXt  comands  aimed at  writing
letters specifically?


i need to print the styles out in order to see how far i got -)

hans

-
  Hans Hagen | PRAGMA ADE | [EMAIL PROTECTED]
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
 tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com
-
   information: http://www.pragma-ade.com/roadmap.pdf
documentation: http://www.pragma-ade.com/showcase.pdf
-
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


[NTG-context] merging pdf (repost)

2003-08-14 Thread scarso luigi
Hello, I use this code to merge file1.pdf, file2.pdf, file3.pdf  in
file4.pdf

% format=english
\definepapersize[A3large][width=320mm,height=450mm,offset=0pt]
\setuppapersize[A3,landscape][A3large,landscape]
\setuplayout
[backspace=0pt,marking=on,
 height=middle,width=middle,location=middle,
 topspace=0pt,
 header=0pt,
 footer=0pt]
\starttext';

\insertpages[file1.pdf][width=0pt]
\insertpages[file2.pdf][width=0pt]
\insertpages[file3.pdf][width=0pt]
\stoptext

where 
file1 is481 031 bytes
file2 is  1 277 167 bytes and
file3 is 43 574 bytes. I expected ~2 Mbytes for file4.pdf but 
file4 is 10 601 693 bytes, ie ~five times the size expected.
Why ?

Thanks in advance
luigi

PS.
I have a context distribution that is 1 year old, but i can't actually
upgrade it (well, if I must do it, I will do !)

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


[NTG-context] Where's the pound (£) sign gone?

2003-08-14 Thread Mark Ainsworth
Well after much playing with font settings I am still confused. Can anyone
out there help.

If I use:

\setupoutput[pdftex]
\usetypescript[berry][ec]
\usetypescript[modern][ec]
\setupbodyfont[modern,10pt]

\starttext
Where has the pound $\pound$ sign gone
\stoptext

Then the output doesn't contain any sign. If I then use:

\setupoutput[pdftex]
\usetypescript[berry]
\usetypescript[modern]
\setupbodyfont[modern,10pt]

\starttext
Where has the pound $\pound$ sign gone
\stoptext

I end up with a dollar ($) sign.

So how can I get the good old British pound sign. (No I don't want to
convert to Euros!)

On another track, is there any way of getting pdftex to use the pfb concrete
fonts, rather than the bitmap versions without a major hack of my map files?
Has someone written a simple little routine to do the patching
automatically. They print out ok, but the on-screen versions are really
naff.

Thanks

Mark.


begin 600 Mark Ainsworth.vcf
M0D5'24XZ5D-!4D0-"E9%4E-)3TXZ,BXQ#0I..D%I;G-W;W)T:#M-87)K#0I&
M3CI-87)K($%I;G-W;W)T:`T*3U)'.E-U;F1A;F-E($UU;'1I<')O8V5S2!-86YA9V5R#0I.3U1%
M.T5.0T]$24Y'/5%53U1%1"U04DE.5$%"3$4Z/3!$/3!!#0I414P[5T]22SM6
[EMAIL PROTECTED](#'1O;B!2;V%D.T=R86YT:&%M.TQI;F-S.TY'
M,[EMAIL PROTECTED]'#0I,04)%3#M(3TU%.T5.0T]$24Y'/5%53U1%1"U04DE.5$%"3$4Z
M,30S($AA'1O;B!2;V%D/3!$/3!!1W)A;G1H86TL($QI;F-S($Y',S$@
M-T%'#0I54DP[5T]22SIH='1P.B\O=W=W+G-U;F1A;F-E+F-O;2]E9&=E+V9I
M;&5S+W1E86TO<')O9E]M82YH=&T-"D5-04E,.U!2148[24Y415).150Z36%R
M:T%`http://www.ntg.nl/mailman/listinfo/ntg-context


[NTG-context] \setuplayout[makeup]...\setuplayout[reset]

2003-08-14 Thread darnold
All,

In s-mag-01.tex, inbetween \startsetups[titlepage]...\stopsetups, you find
a pair

\setuplayout[makeup]...\setuplayout[reset]

Also, in the same area, there is a

\flushlayer[makeup]

command whose purpose I do not understand. Could someone explain the
purpose of these commands?



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


Re: [NTG-context] Re: Problem running ConTeXt (cont-en.efmt notfound..)

2003-08-14 Thread Jules Colding
On Thu, 2003-08-07 at 12:02, Patrick Gundlach wrote:
> Jules Colding <[EMAIL PROTECTED]> writes:
> 
> Hello again,
> 
> >> > 1) run 
> >> > texexec --make --alone en de dl metafun
> >> > 
> >> > and copy the resulting efmt and mem files to the appropiate places.
> >> > (texmf/web2c/)
> >> > 
> >
> > I did just that, but running texexec on test.tex gives:
> 
> > Sorry, I can't find the format `cont-en.efmt'; will try `context.efmt'.
> > I can't find the format file `context.efmt'!
> 
> Well, if TeX can't find something it is looking for, run mktexlsr or
> texhash in order to update its database.

Thanks a lot! That worked :-)

-- 
  jules

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


Re: [NTG-context] How can I use the lmodern fonts with context?

2003-08-14 Thread Hans Hagen
At 22:54 10/08/2003 +0200, you wrote:
Hello,

what is to do if I want to use the Latin Modern Fonts with context? Today I
have installed the LM package (0.86 of 04.08.2003) of the Latin Modern
family of fonts in the PostScript Type 1 format under Miktex and it works
with latex wonderful (and this fonts are wonderful too).


you need the attached

\usetypescript [all] [latin-modern] [texnansi]

\setupbodyfont[reset] \setupbodyfont[cmr]

\starttext

\showfont[Serif]

\stoptext

this should work with the latest lm fonts tds zip

next year, when we may assume lm to be present everywhere i will replace 
the plr/csr/aer definitions with lm ones

Hans
%D \module
%D   [   file=type-enc,
%Dversion=2001.04.12,
%D  title=\CONTEXT\ Typescript Macros,
%D   subtitle=Encoding scripts,
%D author=Hans Hagen,
%D   date=\currentdate,
%D  copyright={PRAGMA / Hans Hagen \& Ton Otten}]
%C
%C This module is part of the \CONTEXT\ macro||package and is
%C therefore copyrighted by \PRAGMA. See mreadme.pdf for
%C details.

% texfont --ven=public --col=antt --enc=ec --sou=auto
% texfont --ven=public --col=antp --enc=ec --sou=auto
% texfont --ven=urw--col=palatino --enc=ec --sou=auto
% texfont --ven-lucas  --col=sun  --enc=ec --sou=.

% Free fonts.


% Computer & Latin Modern Roman (DEK/AMS/BJ)

% \usetypescript [all] [latin-modern] [texnansi]
% 
% \setupbodyfont[reset] \setupbodyfont[cmr]
% 
% \starttext \showfont[Serif] \stoptext

\starttypescript [all] [latin-modern] [texnansi,qx] 

  \loadmapfile[\typescriptthree-lm.map]

  % Regular 

  \definefontsynonym [cmr5] [\typescriptthree-lmr5] [encoding=\typescriptthree]
  \definefontsynonym [cmr6] [\typescriptthree-lmr6] [encoding=\typescriptthree]
  \definefontsynonym [cmr7] [\typescriptthree-lmr7] [encoding=\typescriptthree]
  \definefontsynonym [cmr8] [\typescriptthree-lmr8] [encoding=\typescriptthree]
  \definefontsynonym [cmr9] [\typescriptthree-lmr9] [encoding=\typescriptthree]
  \definefontsynonym [cmr10][\typescriptthree-lmr10][encoding=\typescriptthree]
  \definefontsynonym [cmr12][\typescriptthree-lmr12][encoding=\typescriptthree]
  \definefontsynonym [cmr17][\typescriptthree-lmr17][encoding=\typescriptthree]
  
  \definefontsynonym [cmbx5][\typescriptthree-lmbx5][encoding=\typescriptthree]
  \definefontsynonym [cmbx6][\typescriptthree-lmbx6][encoding=\typescriptthree]
  \definefontsynonym [cmbx7][\typescriptthree-lmbx7][encoding=\typescriptthree]
  \definefontsynonym [cmbx8][\typescriptthree-lmbx8][encoding=\typescriptthree]
  \definefontsynonym [cmbx9][\typescriptthree-lmbx9][encoding=\typescriptthree]
  \definefontsynonym [cmbx10]   [\typescriptthree-lmbx10]   [encoding=\typescriptthree]
  \definefontsynonym [cmbx12]   [\typescriptthree-lmbx12]   [encoding=\typescriptthree]

  \definefontsynonym [cmsl10]   [\typescriptthree-lmro10]   [encoding=\typescriptthree]
  \definefontsynonym [cmsl12]   [\typescriptthree-lmro12]   [encoding=\typescriptthree]
  \definefontsynonym [cmsl8][\typescriptthree-lmro8][encoding=\typescriptthree]
  \definefontsynonym [cmsl9][\typescriptthree-lmro9][encoding=\typescriptthree]
  
  \definefontsynonym [cmti7][\typescriptthree-lmri7][encoding=\typescriptthree]
  \definefontsynonym [cmti8][\typescriptthree-lmri8][encoding=\typescriptthree]
  \definefontsynonym [cmti9][\typescriptthree-lmri9][encoding=\typescriptthree]
  \definefontsynonym [cmti10]   [\typescriptthree-lmri10]   [encoding=\typescriptthree]
  \definefontsynonym [cmti12]   [\typescriptthree-lmri12]   [encoding=\typescriptthree]
  
  \definefontsynonym [cmb10][\typescriptthree-lmb10][encoding=\typescriptthree]
  \definefontsynonym [cmbsl10]  [\typescriptthree-lmbo10]   [encoding=\typescriptthree]
  \definefontsynonym [cmbxsl10] [\typescriptthree-lmbxo10]  [encoding=\typescriptthree]
  \definefontsynonym [cmbxti10] [\typescriptthree-lmbxi10]  [encoding=\typescriptthree]

  \definefontsynonym [cmcsc10]  [\typescriptthree-lmcsc10]  [encoding=\typescriptthree]
  \definefontsynonym [cmcscsl10][\typescriptthree-lmcsco10] [encoding=\typescriptthree]

  % Mono 

  \definefontsynonym [cmtt8][\typescriptthree-lmtt8][encoding=\typescriptthree]
  \definefontsynonym [cmtt9][\typescriptthree-lmtt9][encoding=\typescriptthree]
  \definefontsynonym [cmtt10]   [\typescriptthree-lmtt10]   [encoding=\typescriptthree]
  \definefontsynonym [cmtt12]   [\typescriptthree-lmtt12]   [encoding=\typescriptthree]

  \definefontsynonym [cmitt10]  [\typescriptthree-lmtti10]  [encoding=\typescriptthree]
  \definefontsynonym [cmsltt10] [\typescriptthree-lmtto10]  [encoding=\typescriptthree]

  \definefontsynonym [cmvtt10]  [\typescriptthree-lmvtt10]  [encoding=\typescriptthree]
  \definefontsynonym [cmvtti10] [\typescriptthree-lmvtto]   [encoding=\typescriptthree]

  \definefontsynonym [cmcsc10]  

Re: [NTG-context] Re: Problem running ConTeXt (cont-en.efmt not found..)

2003-08-14 Thread darnold
Jules,

On some systems, when you run texexec --make --alone, the format files are
put automatically in the correct place. On others, they're not. For
example, if you are on:

c:\temp

And you run texexec --make --alone, then the format files might wind up in
c:\temp and you have to manually move them to the correct place (In
Miktex, on my system, that's to c:\localtexmf\miktex\fmt and
c:\localtexmf\miktex\mem. Then you have to refresh the filename database.

Hope this helps.

> On Thu, 2003-08-07 at 10:07, Jules Colding wrote:
>> -Forwarded Message-
>>
>> > From: Patrick Gundlach <[EMAIL PROTECTED]>
>> > To: [EMAIL PROTECTED]
>> > Subject: [NTG-context] Re: Problem running ConTeXt (cont-en.efmt not
>> found..) Date: 06 Aug 2003 21:49:05 +0200
>> >
>> > Jules Colding <[EMAIL PROTECTED]> writes:
>> >
>> > Hi Jules,
>> >
>> > > "texexec --make en de dl" command, but that one fails with:
>> > >
>> > > # CUT #
>> > >  TeXExec 3.2 - ConTeXt / PRAGMA ADE 1997-2003
>> > >
>> > > fmtutil: no info for format `cont-en'.
>> > > fmtutil: no info for format `cont-de'.
>> > > fmtutil: no info for format `cont-nl'.
>> >
>> > There are probably two possible ways (I only use the fist
>> alternative)
>> >
>> > 1) run
>> > texexec --make --alone en de dl metafun
>> >
>> > and copy the resulting efmt and mem files to the appropiate places.
>> (texmf/web2c/)
>> >
>
> I did just that, but running texexec on test.tex gives:
>
>  CUT 
> [EMAIL PROTECTED] context]$ texexec test.tex
>
>  TeXExec 3.2 - ConTeXt / PRAGMA ADE 1997-2003
>
> executable : pdfetex
> format : cont-en
>  inputfile : test
> output : dvips
>  interface : en
>   current mode : none
>TeX run : 1
>
> This is pdfeTeX, Version 3.14159-14h-released-20010417-2.1 (Web2C
> 7.3.3.1)
> Sorry, I can't find the format `cont-en.efmt'; will try `context.efmt'.
> I can't find the format file `context.efmt'!
>
>return code : 256
>   run time : 1 seconds
>
> total run time : 1 seconds
> [EMAIL PROTECTED] context]$
>  CUT 
>
> So, what is wrong with my setup?
>
>
> Thanks,
>   jules
>
>> (btw. what is dl?)
>
> dl is just a typo..
>
> --
> Jules Colding <[EMAIL PROTECTED]>
> York Refrigeration
>
> ___
> 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] Instructions for m-pstric

2003-08-14 Thread John Culleton
Since I was mentioned in the code for this module I make bold to ask 
this question =)
Exactly how is this module employed to enable PStricks statements to 
be used in a Context job?

Alternatively, in MPFun, how might one surround the text on a page by 
a border running symmetrically around the edge, a certain distance in 
from the page edges?  I know how I would do it in PSTricks but not in 
Metapost/Metafun. A recent memoir by Norman Mailer has a broad gray 
border with a thin black border just inside it on the title page. Very 
spiffy. 

-- 
John Culleton
Able Typesetters and Indexers
http://wexfordpress.com
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


Re[2]: [NTG-context] Re: Math in context

2003-08-14 Thread Giuseppe Bilotta
Monday, August 4, 2003 Hans Hagen wrote:

HH> At 19:07 31/07/2003 +0200, you wrote:

>>Attached to this email you'll find two ConTeXt module, amsl and
>>nath; there is no documentation yet, but the nath module is the

HH> i'll look into it later in mode detail; a quick browse showed me a funny
HH> "\frenchspacing"

Oops, I forgot to comment the first one.

-- 
Giuseppe "Oblomov" Bilotta

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


Re: [NTG-context] Instructions for m-pstric

2003-08-14 Thread Hans Hagen
At 16:58 08/08/2003 -0400, you wrote:
Since I was mentioned in the code for this module I make bold to ask
this question =)
Exactly how is this module employed to enable PStricks statements to
be used in a Context job?
see m-pstric.tex

Alternatively, in MPFun, how might one surround the text on a page by
a border running symmetrically around the edge, a certain distance in
from the page edges?  I know how I would do it in PSTricks but not in
Metapost/Metafun. A recent memoir by Norman Mailer has a broad gray
border with a thin black border just inside it on the title page. Very
spiffy.
\startuniqueMPgraphic{textborder}
  draw OverlayBox enlarged 3pt ;
\stopuniqueMPgraphic
\defineoverlay[textborder][\uniqueMPgraphic{textborder}]

\setupbackgrounds[text][background=textborder]

etc etc
-
  Hans Hagen | PRAGMA ADE | [EMAIL PROTECTED]
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
 tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com
-
   information: http://www.pragma-ade.com/roadmap.pdf
documentation: http://www.pragma-ade.com/showcase.pdf
-
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] MetaPost backgrounds

2003-08-14 Thread Mikael Persson
On Sun, 10 Aug 2003 20:50:58 +0200
Jens-Uwe Morawski <[EMAIL PROTECTED]> wrote:

> On Sun, 10 Aug 2003 09:30:48 +0200
> Mikael Persson <[EMAIL PROTECTED]> wrote:
> 
> > I had some problems with backgrounds in a table. I wanted just a
> > horizontal line, but in different heights. The problem is that the >
> > line will always be in the middle of the cell if I don't add more >
> > > graphics.
> > See the example file below.
> 
> the graphics are always centered in the cell. therefore you have to >
> set the bounding box  of the graphic to the cell size
> 
> > % This works, but is not nice.
> > 
> > \startuniqueMPgraphic{splittop}
> > draw (0,0)--(OverlayWidth,OverlayHeight) withcolor white;%should not
> > be necessary
> > draw (0,0.725*OverlayHeight)--(OverlayWidth,0.725*OverlayHeight);
> > \stopuniqueMPgraphic
> 
> the following should give what you want (untested)
> 
> \startuniqueMPgraphic{splittop}
> draw (0,0.725*OverlayHeight)--(OverlayWidth,0.725*OverlayHeight);
> setbounds currentpicture to (unitsquare xyscaled > >
> (OverlayWidth,OverlayHeight)) ;\stopuniqueMPgraphic
> 
> in order to save some typing you could define a macro
> 
> \startMPinclusions
> def FitToOverlay =
>setbounds currentpicture to (unitsquare xyscaled > >
>(OverlayWidth,OverlayHeight)) ;
> enddef;
> \stopMPinclusions
> 
> \startuniqueMPgraphic{splittop}
> draw (0,0.725*OverlayHeight)--(OverlayWidth,0.725*OverlayHeight);
> FitToOverlay ;
> \stopuniqueMPgraphic
> 
> Jens


Jens,

Thanks a lot! I did not know that the graphics are centered in the cell.
Now this mystery (to me) is not a mystery no more :)

Regards, Micke P

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


Re: [NTG-context] Aligned numbered math formulas

2003-08-14 Thread Tobias Burnus
Hi all,

On Thu, 14 Aug 2003, David Arnold wrote:
> May I ask how I can reference each of these equations separately in the
> text? That is, how can I give a different label to each equation in the
> alignment, then reference each one independent of the other?

\placeformula[david]
\startformula\eqalignno{
 left & right &  \formulanumber[david:a]{a} \cr
 left & right &  \formulanumber[david:b]{b} \cr
}\stopformula

Well, \in[david] should give "1.1" while \in[david:a] should give "1.1a".

Tobias

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


Re: [NTG-context] building formats under MikTeX

2003-08-14 Thread Hans Hagen
At 23:47 05/08/2003 +0900, you wrote:
Hello All:

When I run texexec --make to (re)build my formats (under MikTeX), texexec 
reports that it can't read TEX.POOL and MP.POOL .  Then a window's dialog 
box reports that pdfetex has crapped out.   Any any ideas?

Thanks and best wishes,


do you have the pool files?

kpsewhich mp.pool

-
  Hans Hagen | PRAGMA ADE | [EMAIL PROTECTED]
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
 tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com
-
   information: http://www.pragma-ade.com/roadmap.pdf
documentation: http://www.pragma-ade.com/showcase.pdf
-
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


[NTG-context] Funny error

2003-08-14 Thread darnold
All,

This from the Metafun manual:

\setupoutput[pdf]

\runMPgraphicstrue

\setupcolors[state=start]

\startuseMPgraphic{FunnyFrame}
 picture p; numeric w, h, o;
 p:=textext.rt(\MPstring{FunnyFrame});
 w:=OverlayWidth; h:=OverlayHeight; o:=BodyFontSize;
 p:=p shifted (2o,h-ypart center p); draw p;
 drawoptions (withpen pencircle scaled 1pt withcolor .625red);
 draw (2o,h)--(0,h)--(0,0)--(w,0)--(w,h)--(xpart urcorner p, h) ;
 draw boundingbox p;
 setbounds currentpicture to unitsquare xyscaled (w,h);
\stopuseMPgraphic

\defineoverlay[FunnyFrame][\useMPgraphic{FunnyFrame}]

\defineframedtext[FunnyText][frame=off,background=FunnyFrame]

\def\StartFrame{\startFunnyText}
\def\StopFrame{\stopFunnyText}

\def\FrameTitle#1%
 {\setMPtext{FunnyFrame}{\hbox spread 1em {\hss\strut#1\hss}}}

\setMPtext{FunnyFrame}{}

\starttext

\FrameTitle{Zapf (1)}
\StartFrame
Coming back to the use of typefaces in electronic
publishing: many of the new typographers receive their
knowledge and information about the rules of typography from
books, from computer magazines or the instruction manuals
which they get with the purchase of a PC or software.
\StopFrame

\stoptext

Is producing this "funny" error:

>> unknown picture p
>> textext.rt
! Equation cannot be performed (unknown picture=numeric).

   (
l.211 p:=textext.rt(
"\hbox spread 1em {\hss \strut Zapf (1)\hss }");
?

Any ideas?


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


[NTG-context] typescripts for free ;-)

2003-08-14 Thread Henning Hraban Ramm
Hello!
I hope not to get into your spam filter with a "for free" message! ;-)
I thought after all that begging and getting help
I should do a bit for the community...
I made a lot of typescript for URW and Lino fonts.
If anyone is interested, I'll put them on my homepage
(not the fonts, only the typescripts).
BTW: I'll drop my "ConTeXt cookbook" project.
I've never enough time to care about it like it was needed.
Sorry and and big thanks to all who helped until now!
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] merging pdf

2003-08-14 Thread scarso luigi
Good news, 
it seem to work after updating to 1.11
( This is pdfTeXk, Version 3.141592-1.11a (Web2C 7.5.2))

I get
  797,077 test.pdf
1,078,539 test1.pdf
and your test was
  805,366 test.pdf
1,053,739 test1.pdf 

(Does it depend from pdftex version ?)

Previous merging is also good: I have now  1,767,252 bytes
(it was ~10Mbytes)

Many thanks Hans

luigi



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


[NTG-context] MetaPost backgrounds

2003-08-14 Thread Mikael Persson
Hi everybody!

I had some problems with backgrounds in a table. I wanted just a
horizontal line, but in different heights. The problem is that the line
will always be in the middle of the cell if I don't add more graphics.
See the example file below.

Regards, Micke P


\setupoutput[pdftex]
\enableregime[utf]
\setupbodyfont[7pt]

% This works, but is not nice.

\startuniqueMPgraphic{splittop}
draw (0,0)--(OverlayWidth,OverlayHeight) withcolor white;%should not be
necessary
draw (0,0.725*OverlayHeight)--(OverlayWidth,0.725*OverlayHeight);
\stopuniqueMPgraphic
\defineoverlay[splittop][\uniqueMPgraphic{splittop}]

\startuniqueMPgraphic{splitmid}
draw (0,0)--(OverlayWidth,OverlayHeight) withcolor white;%should not be
necessary
draw (0,0.5*OverlayHeight)--(OverlayWidth,0.5*OverlayHeight);
\stopuniqueMPgraphic
\defineoverlay[splitmid][\uniqueMPgraphic{splitmid}]

% This does not work, but I think it should

\startuniqueMPgraphic{topsplit}
draw (0,0.725*OverlayHeight)--(OverlayWidth,0.725*OverlayHeight);
\stopuniqueMPgraphic
\defineoverlay[topsplit][\uniqueMPgraphic{topsplit}]

\startuniqueMPgraphic{midsplit}
draw (0,0.5*OverlayHeight)--(OverlayWidth,0.5*OverlayHeight);
\stopuniqueMPgraphic
\defineoverlay[midsplit][\uniqueMPgraphic{midsplit}]

\starttext

% A working table
\setupTABLE[width=2cm,height=2cm]
\bTABLE[align={middle,lohi}]
\bTR\bTD[background=splittop] Some text\par And some more text that will
apear below the other text\eTD\bTD[background=splitmid] Some text
above\par Some text below \eTD\eTR
\eTABLE

% A non-working table
\setupTABLE[width=2cm,height=2cm]
\bTABLE[align={middle,lohi}]
\bTR\bTD[background=topsplit] Some text\par And some more text that will
apear below the other text\eTD\bTD[background=midsplit] Some text
above\par Some text below \eTD\eTR
\eTABLE

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


[NTG-context] Re: zoom in presentations

2003-08-14 Thread Patrick Gundlach
[EMAIL PROTECTED] (Piotr Kopszak) writes:

Hello Piotr,

> Is it possible to access  Acrobat's zoom function from ConTeXt? What I
> need is  a button, maybe  somewhere close to navigation  buttons which
> would give the possibility of zooming without going out of full-screen
> mode. 

Don't know, but why don't you press the "z" key to switch to
"zooming-mode"?


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


Re: [NTG-context] Funny error

2003-08-14 Thread Hans Hagen
At 11:49 05/08/2003 -0700, [EMAIL PROTECTED] wrote:
All,

This from the Metafun manual:

\setupoutput[pdf]
this runs ok here both in

  texexec testfile

  texexec testfile --automp

maybe you have an old metafun format? (watch out, metafun code moved down 
to /metapost/context/base)

Hans
-
  Hans Hagen | PRAGMA ADE | [EMAIL PROTECTED]
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
 tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com
-
   information: http://www.pragma-ade.com/roadmap.pdf
documentation: http://www.pragma-ade.com/showcase.pdf
-
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Re: Simple test

2003-08-14 Thread Giuseppe Bilotta
Friday, August 8, 2003 [EMAIL PROTECTED] wrote:

dnc> I am aware of the new placement of /metapost/context/base.

dnc> C:\texmf\metapost>dir
dnc>  Volume in drive C has no label.
dnc>  Volume Serial Number is F803-A135

dnc>  Directory of C:\texmf\metapost

dnc> 10/07/2002  11:27 PM  .
dnc> 10/07/2002  11:27 PM  ..
dnc> 08/05/2003  03:30 PM  context
dnc> 08/05/2003  09:47 PM  base
dnc>0 File(s)  0 bytes
dnc>4 Dir(s)   3,497,893,888 bytes free

dnc> C:\texmf\metapost\base>dir
dnc>  Volume in drive C has no label.
dnc>  Volume Serial Number is F803-A135

dnc>  Directory of C:\texmf\metapost\base

dnc> 08/05/2003  09:47 PM  .
dnc> 08/05/2003  09:47 PM  ..
dnc> 09/07/2000  02:01 PM 7,106 boxes.mp
dnc> 09/07/2000  02:01 PM 7,146 format.mp
dnc> 09/07/2000  02:01 PM27,660 graph.mp
dnc> 09/07/2000  02:01 PM 4,280 marith.mp
dnc> 09/07/2000  02:01 PM19,748 mfplain.mp
dnc> 03/23/1997  01:16 AM19 mpost.mp
dnc> 09/07/2000  02:01 PM16,018 plain.mp
dnc> 09/07/2000  02:01 PM 1,098 rboxes.mp
dnc> 09/07/2000  02:01 PM 1,466 sarith.mp
dnc> 09/07/2000  02:01 PM   794 string.mp
dnc> 09/07/2000  02:01 PM   331 TEX.mp
dnc> 09/07/2000  02:01 PM   424 texnum.mp
dnc> 01/24/1997  08:28 PM   230 troffnum.mp
dnc>   13 File(s) 86,320 bytes
dnc>2 Dir(s)   3,497,893,888 bytes free

Uh ... that's metapost/base, not metapost/context/base

Make sure you have nothing but the /base/ subfolder under
metapost/context

-- 
Giuseppe "Oblomov" Bilotta


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


Re: [NTG-context] MetaPost backgrounds

2003-08-14 Thread Jens-Uwe Morawski
On Sun, 10 Aug 2003 09:30:48 +0200
Mikael Persson <[EMAIL PROTECTED]> wrote:

> I had some problems with backgrounds in a table. I wanted just a
> horizontal line, but in different heights. The problem is that the line
> will always be in the middle of the cell if I don't add more graphics.
> See the example file below.

the graphics are always centered in the cell. therefore you have to set
the bounding box  of the graphic to the cell size

> % This works, but is not nice.
> 
> \startuniqueMPgraphic{splittop}
> draw (0,0)--(OverlayWidth,OverlayHeight) withcolor white;%should not be
> necessary
> draw (0,0.725*OverlayHeight)--(OverlayWidth,0.725*OverlayHeight);
> \stopuniqueMPgraphic

the following should give what you want (untested)

\startuniqueMPgraphic{splittop}
draw (0,0.725*OverlayHeight)--(OverlayWidth,0.725*OverlayHeight);
setbounds currentpicture to (unitsquare xyscaled (OverlayWidth,OverlayHeight)) ;
\stopuniqueMPgraphic

in order to save some typing you could define a macro

\startMPinclusions
def FitToOverlay =
   setbounds currentpicture to (unitsquare xyscaled (OverlayWidth,OverlayHeight)) ;
enddef;
\stopMPinclusions

\startuniqueMPgraphic{splittop}
draw (0,0.725*OverlayHeight)--(OverlayWidth,0.725*OverlayHeight);
FitToOverlay ;
\stopuniqueMPgraphic

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


Re: [NTG-context] Re: Simple test --Aha! Progress, Now...

2003-08-14 Thread darnold
Nigel et al,

OK> Nigel's suggestion compiled. Now, back to where this question
originated. This file:

\setupoutput[pdf]

\runMPgraphicstrue

\setupcolors[state=start]

\startuseMPgraphic{FunnyFrame}
 picture p; numeric w, h, o;
 p:=textext.rt(\MPstring{FunnyFrame});
 w:=OverlayWidth; h:=OverlayHeight; o:=BodyFontSize;
 p:=p shifted (2o,h-ypart center p); draw p;
 drawoptions (withpen pencircle scaled 1pt withcolor .625red);
 draw (2o,h)--(0,h)--(0,0)--(w,0)--(w,h)--(xpart urcorner p, h) ;
 draw boundingbox p;
 setbounds currentpicture to unitsquare xyscaled (w,h);
\stopuseMPgraphic

\defineoverlay[FunnyFrame][\useMPgraphic{FunnyFrame}]

\defineframedtext[FunnyText][frame=off,background=FunnyFrame]

\def\StartFrame{\startFunnyText}
\def\StopFrame{\stopFunnyText}

\def\FrameTitle#1%
 {\setMPtext{FunnyFrame}{\hbox spread 1em {\hss\strut#1\hss}}}

\setMPtext{FunnyFrame}{}

\starttext

\FrameTitle{Zapf (1)}
\StartFrame
Coming back to the use of typefaces in electronic
publishing: many of the new typographers receive their
knowledge and information about the rules of typography from
books, from computer magazines or the instruction manuals
which they get with the purchase of a PC or software.
\StopFrame

\stoptext

When saved as meta.tex and compiled with texexec --pdf meta, gives this
error:

(mpgraph.mp (C:\texmf\metapost\context\base\mp-tool.mp)
(C:\texmf\metapost\context\base\mp-spec.mp)
(C:\texmf\metapost\context\base\mp-grph.mp)
(C:\texmf\metapost\context\base\mp-page.mp)
(C:\texmf\metapost\context\base\mp-core.mp)
>> unknown picture p
>> textext.rt
! Equation cannot be performed (unknown picture=numeric).

   (
l.223 p:=textext.rt(
"\hbox spread 1em {\hss \strut Zapf (1)\hss }");

Nigel, does this file give same error on your system, or does it compile?

Thanks.
>
>>> you should use/load metafun -)
>>
>> But I have. Indeed, I completely updated Miktex, downloaded the latest
>> Context, refreshed filename database, then ran:
> You need
> input metafun ;
> Early in junk.mp
> --
> Nigel
>
> ___
> 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] some XML stuff (and bugs?)

2003-08-14 Thread Hans Hagen
At 15:41 11/08/2003 +0200, you wrote:
yes, this works:

> \starttext
>
> \defineXMLsave [buffer]
>
> \defineXMLsingular [buffer] {\XMLflush{buffer}}
>
> \startXMLdata
> test here test 
> \stopXMLdata
but try:

\startXMLdata
test
a+b test .
\stopXMLdata
yes, of course, this can be done including  into buffer (and use
 as you wrote). But this, e.g., denies including  into
some other pieces of math etc.
the problem is that math does lookahead trickery and for that purpose the 
mathml list is converted into something internal; this also means that 
 is simply ignored; think of it: what should expand and what not 
and when?

Hans
-
  Hans Hagen | PRAGMA ADE | [EMAIL PROTECTED]
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
 tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com
-
   information: http://www.pragma-ade.com/roadmap.pdf
documentation: http://www.pragma-ade.com/showcase.pdf
-
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] some XML stuff (and bugs?)

2003-08-14 Thread Hans Hagen
At 10:12 11/08/2003 +0200, you wrote:
Hi all,

I have some problems with XML and ConTeXt, some of them are probably not
implemented in ConTeXt yet.
1. XML contains
   I define\defineXMLargument [type] \type
   ConTeXt outputs 
   It is interesting that inside \bTD..\eTD it is typeset correctly ().
has to with the famous catcode problems, no reason to use the \type macro 
here:

\starttext

\defineXMLgrouped [type] \tt

\startXMLdata
test  test
\stopXMLdata
\stoptext

Hans
-
  Hans Hagen | PRAGMA ADE | [EMAIL PROTECTED]
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
 tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com
-
   information: http://www.pragma-ade.com/roadmap.pdf
documentation: http://www.pragma-ade.com/showcase.pdf
-
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


[NTG-context] Aligned numbered math formulas

2003-08-14 Thread Holger Schöner
Hello,

For a publication I need to typeset a lot of math formulas. To make them
as comprehensible as possible, I need a few specialties, and would
appreciate any suggestions you can provide:

1) Some of the formulas should be numbered, some not; and at the same time
I would like to align several of them.

For alignment I seem to be able to use \eqalign (or \startalign ...
\stopalign from the t-amsl.tex sent around here lately). But if I place a
\placeformula in front of this, the whole aligned block only gets one
number; I would need a number for every line (or even better: a possibility
to state, which lines should be numbered, and which not).

By looking into core-mat.tex I found the commands \formulanumber and
\subformulanumber which I can add after each line, if I want it to be
numbered. Unfortunately they only set numbers, if the whole aligned block
also is numbered (by using \placeformula), and they furthermore do not put
the number beside the right margin, as is done by \placeformula, but
directly where the \formulanumber appears.

How can I enable the numbers even when not using \placeformula (or when
using \placeformula[-]), and how can it put the numbers next to the right
margin?

2) What are the keywords "alternative" and "indentnext" in \setupformulae
meant for? Is there any documentation available concerning math formulae,
besides "ConTeXt, the manual"?

3) I'd like to be able to set more than one line below large math operators,
e.g. something like \sum_{m: \\ 1 \leq m \leq M}. Unfortunately this does
not work as expected (it seems to conflict with the \startalign block). Is
there another possibility?

4) Using the alignment features (\eqalign or \startalign, \stopalign) I
often have the problem, that the (quite space consuming) formulas all appear
on the next page, separated from its introductory text. I would like to have
either also the introductory text put onto the next page (but neither
\page[no] between text and formulas, nor \page[preference] before the
introductory text work), or alternatively, to be able to (automatically)
break the formulas inside the alignment block (whether alignment is kept
up or not between pages does not matter for me). Is there a solution for
either way?

I am using:
--
This is pdfeTeX, Version 3.14159-1.00a-pretest-2004-ojmw-2.1 (Web2C 7.3.7)
[...]
ConTeXt  ver: 2003.2.11  fmt: 2003.4.4  int: english  mes: english
--

-- 
Holger F. Schoener  TU Berlin; Dept. IV: EE and Computer Science
[EMAIL PROTECTED]   http://www.cs.tu-berlin.de/~hfsch/
Rooms FR2525Tel: +49-30-314-73115, Fax: -73121
Office FR 2-1   Franklinstr. 28/29, D-10587 Berlin, Germany





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


Re: [NTG-context] \setuplayout[makeup]...\setuplayout[reset]

2003-08-14 Thread Hans Hagen
At 10:54 09/08/2003 -0700, you wrote:
All,

In s-mag-01.tex, inbetween \startsetups[titlepage]...\stopsetups, you find
a pair
\setuplayout[makeup]...\setuplayout[reset]
one can define multiple layouts and switch between them; reset reverts to 
the standard layout settings (global one)

Also, in the same area, there is a

\flushlayer[makeup]

command whose purpose I do not understand. Could someone explain the
purpose of these commands?


it flushes any content collected in that layer

Hans
-
  Hans Hagen | PRAGMA ADE | [EMAIL PROTECTED]
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
 tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com
-
   information: http://www.pragma-ade.com/roadmap.pdf
documentation: http://www.pragma-ade.com/showcase.pdf
-
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Instructions for m-pstric

2003-08-14 Thread Hans Hagen
Hi Nigel,

how about:

\setupoutput[pdftex]
\setupcolors[state=start]
\startreusableMPgraphic{bg}
   StartPage ;
 z11 = ulcorner Page ;
 z12 = urcorner Page ;
 z13 = lrcorner Page ;
 z14 = llcorner Page ;
 z91 = (-1, 1.414) ;
 z92 = ( 1, 1.414) ;
 z93 = ( 1,-1.414) ;
 z94 = (-1,-1.414) ;
 z21 = z11 - 16z91 ;
 z22 = z12 - 16z92 ;
 z23 = z13 - 16z93 ;
 z24 = z14 - 16z94 ;
 z31 = z21 - 6z91 ;
 z32 = z22 - 6z92 ;
 z33 = z23 - 6z93 ;
 z34 = z24 - 6z94 ;
 fill z11--z12--z13--z14--z11--z21--z24--z23--z22--z21--cycle withcolor
yellow ;
 fill z21--z22--z32--z31--cycle withcolor .9white ;
 fill z22--z23--z33--z32--cycle withcolor .8white ;
 fill z23--z24--z34--z33--cycle withcolor .9white ;
 fill z24--z21--z31--z34--cycle withcolor .8white ;
   StopPage ;
\stopreusableMPgraphic
\startreusableMPgraphic{bg}
   StartPage ;
 fill Page enlarged 1mm withcolor yellow ; % bleed
 path p ; p := Page enlarged  -5mm ;
 path q ; q := Page enlarged -10mm ;
 fill q withcolor white ;
 drawoptions(withcolor red) ;
 fill reverse topboundaryq -- topboundaryp -- cycle ;
 fill reverse bottomboundary q -- bottomboundary p -- cycle ;
 drawoptions(withcolor green) ;
 fill reverse leftboundary   q -- leftboundary   p -- cycle ;
 fill reverse rightboundary  q -- rightboundary  p -- cycle ;
   StopPage ;
\stopreusableMPgraphic
\defineoverlay
[bg]
[\reuseMPgraphic{bg}]
\setupbackgrounds
[page]
[background={bg}]
\starttext
\dorecurse{3}{\input knuth}
\stoptext
Hans
-
  Hans Hagen | PRAGMA ADE | [EMAIL PROTECTED]
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
 tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com
-
   information: http://www.pragma-ade.com/roadmap.pdf
documentation: http://www.pragma-ade.com/showcase.pdf
-
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] texfont and type-tmf.dat

2003-08-14 Thread Hans Hagen
At 00:05 07/08/2003 +0200, Gerben Wierda wrote:

Yes, this could be. If texexec or any ConTeXt tool does not use texmf.cnf 
values but has hardcoded ideas about where to find stuff (texmf), then the 
rearranging of the texmf directories could have an influence. Hans can 
probably say if this is possibly the case. After all, the rearranging had 
no ill effects whatsoever on TeX or LaTeX, because where files are is 
governed by texmf.cnf and that was adapted as well to reflect the changed 
situation. If there is hardcoded stuff in texexec that is playing a role 
(I am guessing here), making it dynamic by calls to kpsewhich is a good 
solution.

For the rest, the content of texmf.tetex is created by Thomas Esser, not 
me. And there you will find not a complete set of URW but an Adobe set and 
thatis what the discussion is also about. hans is right in stating that.
context can happily work in the texmf tree and does depemnd on its own 
trees; with regards to texfont:

- it will install in either texmf-fonts or texmf-local, depending on what 
is present; the reason for having texmf-fonts is that we need a place for 
commercial fonts (and texmf-local is for my updates, local stuff etc)

- texfonts uses prefixed names (texnansi-* and alike) for several reasons: 
(1) when i buy a font, i wan tto copy the fonts to some temp path, call 
texfont, and have the job done; i don't want to mess around with 8 char 
names that may conflict is i do something wrong;

- another reason for texfonts naming sheme of 'third party fonts' is that 
when one starts slanting fonts (and alike) the kb naming sheme does not 
keep track of what slant is used, which in principle will lead to conflicts 
if one has multiple instances (wherever they may come from)

- for the same reason i keep separate map files for those third part 
collections

- with regards to the fonts on tex live the confusion comes from the mix of 
adobe names and urw type ones. So far whatever i made default, failed on 
someones system, which is why we have now type-akb for the mixed users

- also: context font mechanism is set up in a way that makes it possible to 
combine fonts with minimal calls (once understood -), supporting relative 
scaling and alike; i don't want user sto be dependent on one (few) persons 
to define / install / use fonts.

If that is the case, texfont is a problem because it hard codes locations 
where texmf.cnf is the source for locations and kpsewhich is the way to 
find out about them.
afaik it uses kpsewhich an-r env vars and one can set things on the command 
line as well; there is not so much hard coded in there -)

Hans
-
  Hans Hagen | PRAGMA ADE | [EMAIL PROTECTED]
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
 tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com
-
   information: http://www.pragma-ade.com/roadmap.pdf
documentation: http://www.pragma-ade.com/showcase.pdf
-
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


[NTG-context] \placefigure[left] again!

2003-08-14 Thread Duncan Hothersall
I'm having another problem with \placefigure[left] and this time I'm pretty
sure I can't solve it myself.

I'm using ConTeXt ver 2003.7.21 on a TeXlive base with pdfetex
3.14159-1.00b-pretest-20020211-2.1 (Web2C 7.3.7).

The following source overlaps the text on top of the graphic rather than
wrapping it around:

--ConTeXt start--
\setupoutput[pdftex]\setuppapersize[A4][A4]
\useexternalfigure[HWUnodic][hwu-bk-nodic][width=9mm]
\setupfloats[spacebefore=,spaceafter=]
\starttext
\placefigure[left]{none}{\externalfigure[HWUnodic]}
{\bf Do not use a dictionary. You do not need to know the meaning of every
word to do this task.}

\stoptext
--ConTeXt end--

If I remove the {\bf and the closing } then the graphic displays properly.
If I add a \par before the closing } it works properly too. However, since
I'm generating the ConTeXt code from XML, I can't do either of those
work-arounds.

Interestingly, it remains broken even if the \bf isn't there, just the open
and close braces. So presumably this is something to do with the expansion
of what comes after the \placefigure?

Is this a bug?

I have attached the graphic in case people are able to test this for
themselves.

Many thanks,

Duncan
[EMAIL PROTECTED]


hwu-bk-nodic.pdf
Description: Adobe PDF document


Re: [NTG-context] Aligned numbered math formulas

2003-08-14 Thread David Arnold
All,

I am following this thread and I can report the same result as Holger.

\setupformulae[align=right]

\starttext

\placeformula[david]
\startformula
\eqalignno{%
left & right &  \formulanumber \cr
left & right &  \formulanumber \cr
}
\stopformula

\stoptext

Gives this result.

! You can't use `\halign' in math mode.
\eqalignno [EMAIL PROTECTED] \tabskip \centering \halign
  to \displaywidth {\hfil
$\...
l.10 }


May I ask how I can reference each of these equations separately in the
text? That is, how can I give a different label to each equation in the
alignment, then reference each one independent of the other?

Thanks. 


At 04:20 PM 8/14/03 +0200, you wrote:
>Hi,
>
>On Thu, 14 Aug 2003, Tobias Burnus wrote:
>> On Thu, 14 Aug 2003, Holger Schöner wrote:
>> > Thanks, Tobias! This works for me, if I place a "\placeformula" before
>> > formulas enclosed by "$$". Funny, though, that I get an error if I
instead
>> > enclose the formula with "\startformula ... \endformula":
>> Here it works with \startformula \stopformula [stop not end].
>
>All right, I used \stopformula ... And I just found out the reason, it
>seems: I used
>
>   \setupformulae[align=right]
>
>Then, if I use $$ instead of \startformula, I get centered formulas anyway.
>If I remove the \setupformulae, then I can also use \startformula ...
>
>So in the moment I have resolved to using centered formulae.
>
>Best regards,
>
>-- 
>Holger F. Schoener TU Berlin; Dept. IV: EE and Computer Science
>[EMAIL PROTECTED]  http://www.cs.tu-berlin.de/~hfsch/
>Rooms FR2525   Tel: +49-30-314-73115, Fax: -73121
>Office FR 2-1  Franklinstr. 28/29, D-10587 Berlin, Germany
>
>
>___
>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] Problems with m-bibtex

2003-08-14 Thread Tobias Burnus
Hi,

I've two problems with m-bib:

a) I want to have the cites numbered by occurrence like this [1], [2],
   etc. I managed to get 1, 2, 3 etc. in the reference list but
   in the text I get [23], [5] etc. where this number is the number of
   occurrence in the .bib file. I used:
\setuppublications[alternative=apa]
\setuppublications[numbering=yes,refcommand=num] %,refcommand=number]

b) I'm using \cite[reference1, reference2] but I get only
   [23], i.e. one reference shown in the text. In the reference list they
   appear both.

Tobias

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


Re: [NTG-context] MetaPost backgrounds

2003-08-14 Thread Hans Hagen
At 09:30 10/08/2003 +0200, you wrote:
Hi everybody!

I had some problems with backgrounds in a table. I wanted just a
horizontal line, but in different heights. The problem is that the line
will always be in the middle of the cell if I don't add more graphics.
See the example file below.
well, it's just framed what is in charge there, so you can use

\setupTABLE[width=2cm,height=2cm]
\bTABLE[align={middle,lohi}]
\bTR\bTD Some text\hairline And some more
text that will
apear below the other text\eTD\bTD Some
text
above\hairline  Some text below \eTD\eTR
\eTABLE
now, since spacing for a multiliner is suboptimal, you may put this in 
cont-new.tex:

\def\vboxedhairline
  {\bgroup
   \dimen2=\ifboxhasoffset \localoffset \else \zeropoint \fi
   \dimen4=\dimen2
   \advance\dimen4 \ruledlinewidth
   \setbox0\vbox
 {\advance\hsize 2\dimen4
  \vskip\dimen2
  \hrule
\!!height\ruledlinewidth
\!!depth\zeropoint
\!!width\hsize
  \vskip\dimen2}%
   \endgraf\obeydepth\nointerlineskip
   \moveleft\dimen4\box0
   \endgraf\nointerlineskip\localbegstrut
   \egroup}

\startuniqueMPgraphic{splittop}
beware: unique graphics are reused, unless the mechanism is able to 
determine that something is different, see metafun

Hans
-
  Hans Hagen | PRAGMA ADE | [EMAIL PROTECTED]
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
 tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com
-
   information: http://www.pragma-ade.com/roadmap.pdf
documentation: http://www.pragma-ade.com/showcase.pdf
-
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] \placefigure[left] aligning with second line

2003-08-14 Thread Hans Hagen
At 12:11 12/08/2003 +0100, Duncan Hothersall wrote:

When I use \placefigure[left] the top of the figure is aligned with the
second line of the text. I would like it to be aligned with the first line.
If you look at the example on page 243/4 of the manual you can see it
happening there too:
\placefigure[left]{none}{\externalfigure[bkoe]}
Some text here...
As is seen in the manual, the cow is aligned with the second line of text,
rather than the first. Can anyone help me to move it up?
this is explained in details.pdf (keywords, key/val pairs)

Hans
-
  Hans Hagen | PRAGMA ADE | [EMAIL PROTECTED]
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
 tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com
-
   information: http://www.pragma-ade.com/roadmap.pdf
documentation: http://www.pragma-ade.com/showcase.pdf
-
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


[NTG-context] extra page when using alternative=doublesided and bodymatter (fwd)

2003-08-14 Thread Tobias Burnus
Hello all,

(2nd repost)

I have the following problem:
Using
  \setuppagenumbering[location={footer,right}]
  \startbodymatter
  \chapter{Hi}
  \stopbodymatter

I always get 3 pages, but I want to have two: The recto (first page) with
"Hi" and its verso (second page; backside of the first), I don't want to
have an extra recto (third page)!

Tobias

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


Re: [NTG-context] Aligned numbered math formulas

2003-08-14 Thread David Arnold
Tobias,

Very nice.

Is there a setup that will typeset the labels as (1.1) and (1.1a)?

At 08:49 PM 8/14/03 +0200, you wrote:
>Hi all,
>
>On Thu, 14 Aug 2003, David Arnold wrote:
>> May I ask how I can reference each of these equations separately in the
>> text? That is, how can I give a different label to each equation in the
>> alignment, then reference each one independent of the other?
>
>\placeformula[david]
>\startformula\eqalignno{
> left & right &  \formulanumber[david:a]{a} \cr
> left & right &  \formulanumber[david:b]{b} \cr
>}\stopformula
>
>Well, \in[david] should give "1.1" while \in[david:a] should give "1.1a".
>
>Tobias
>
>___
>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] pagemark code works no more with arranging 3SIDE

2003-08-14 Thread Henning Hraban Ramm
Am Montag, 11.08.03, um 14:34 Uhr (Europe/Zurich) schrieb Hans Hagen:

Can you make me a small test file?
Here you are:
--- snip ---
\starttext
\enableregime   [il1]
\definepapersize[filius][width=92mm, height=172mm]
\setuppapersize [filius][A4,landscape]
\setuparranging [3SIDE]
\setupbodyfont  [ss,7pt]
% alternative, but markings don't show:
%\setuppaper [nx=3,ny=1, dx=0mm,dy=0mm, 
topspace=19mm,backspace=10.5mm]
%\setuplayout[page] [topspace=19mm, backspace=10.5mm,
%			location=middle, marking=on]
%\setuparranging [XY]

\setuplayout[location=middle,
alternative=singlesided,
grid=no, marking=on,
leftmargin=10mm, leftmargindistance=0mm,
topspace=2mm, header=4mm, footer=0mm,
width=77mm, height=166mm]
\def\RegisterPageMark#1#2% #1=Class #2=Text
{\iftrialtypesetting \else
\doglobal\increment\MNamCounter%
\textreference[#1:t:\MNamCounter]{#2}%
\doifreferencefoundelse{#1:t:\MNamCounter}
{\doifundefined{#1:f:\currentrealreference}%
{\setxvalue{#1:f:\currentrealreference}%
{\noexpand\in[#1:t:\MNamCounter]}}
\setxvalue{#1:l:\currentrealreference}%
{\noexpand\in[#1:t:\MNamCounter]}}%
{}%
\fi}
\def\GetFirstOnPage#1{\getvalue{#1:f:\realfolio}} % #1=Class
\def\GetLastOnPage#1{\getvalue{#1:l:\realfolio}} % #1=Class
\setuppagenumbering	[state=start, location={header,inleft}]

\setupheadertexts	[][\GetFirstOnPage{MNam}--\GetLastOnPage{MNam}]

\def\Name#1{\bf #1\RegisterPageMark{MNam}{\FirstNCharacters{4}{#1}}}

\startalignment [right]
\setuptabulate  [distance=none,indenting=none,inner={}]
\starttabulate[|w(30mm)k0|w(30mm)k0|w(18mm)k0|]
\HL
% \input adrlst.tex % script-generated table entries from database like:
\NC\Name{Alter, Hugo}\NC [EMAIL PROTECTED]
\NC Hugostraße 77 \NC D-66127 Saarbrücken \NC +49 +6898-12345\NC\NR
\HL
\NC\Name{Zoller, Stefan}\NC [EMAIL PROTECTED]
\NC Zollstraße 1\NC CH-8274 Tägerwilen\NC +41 +71-12345\NC\NR
\HL
\stoptabulate
\stopalignment
\stoptext
--- snap ---
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] \placefigure[left] aligning with second line

2003-08-14 Thread Bill McClain
On Tue, 12 Aug 2003 12:11:47 +0100
"Duncan Hothersall" <[EMAIL PROTECTED]> wrote:

> As is seen in the manual, the cow is aligned with the second line of
> text, rather than the first. Can anyone help me to move it up?

Try adjusting spacing with \setupfloats. I've used this in the past:

\setupfloats[spacebefore=0pt, spaceafter=0pt, sidespacebefore=0pt,
sidespaceafter=0pt, margin=4pt]

-Bill
-- 
Sattre PressThe King in Yellow
http://sattre-press.com/ by Robert W. Chambers
[EMAIL PROTECTED] http://kiy.sattre-press.com/ 
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Re: Simple test

2003-08-14 Thread darnold
Hans,

I have this one figured out. Nigel sent me the same suggestion. It's still
the FunnyFace that is not going, as I wrote in my followup to Nigel and
the Context list.

That's the one that is preventing progress through that particular example
in the metafun manual.

Most everything else is working in the metafun manual thus far.

> At 09:19 08/08/2003 -0700, [EMAIL PROTECTED] wrote:
>
>>C:\temp>mpost junk
>>(junk.mp (C:\texmf\metapost\context\base\mp-tool.mp)
>
> this is just calling metapost with mp-tool
>
> you may try "input metafun" instead
>
>> >> unknown picture p
>> >> textext.rt
>>! Equation cannot be performed (unknown picture=numeric).
>>
>>(
>>l.7 p:=textext.rt(
>>   "Hello, world!");
>>?
>
>texexec --mptex junk.mp
>
> or
>
>mpost -mem=metafun junk.mp
>
> or
>
> \starttext
>
> \startMPpage
>
> some code
>
> \stopMPpage
>
> \stoptext
>
> Hans
> -
>Hans Hagen | PRAGMA ADE |
> [EMAIL PROTECTED]
>Ridderstraat 27 | 8061 GH Hasselt | The
> Netherlands
>   tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 |
> www.pragma-ade.com
> -
> information:
> http://www.pragma-ade.com/roadmap.pdf
>  documentation:
> http://www.pragma-ade.com/showcase.pdf
> -
>
> ___
> 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] Aligned numbered math formulas

2003-08-14 Thread Tobias Burnus
Hi,

On Thu, 14 Aug 2003, David Arnold wrote:
> Is there a setup that will typeset the labels as (1.1) and (1.1a)?
Not that I'm aware of, but I use \informula[foo] with

\def\informula#1{(\in[#1])}


Tobias

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


[NTG-context] Amazing!

2003-08-14 Thread darnold
All,

By inserting this line in s-mag-01.tex:

\usetypescript[adobekb][\defaultencoding]

Then using the Miktex package manager to install the pxfonts and txfonts,
I can now compile this:

\usemodule[mag-01]

\starttext

\input knuth

\stoptext

This is without any use of texfont.pl. Indeed, I've cleaned out my
/localtexmf/fonts directories of all former experiments using texfont.

Absolutely amazing.

I've still a long way to go with fonts, but I am much improved.


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


[NTG-context] Re: Problem running ConTeXt (cont-en.efmt not found..)

2003-08-14 Thread Patrick Gundlach
Jules Colding <[EMAIL PROTECTED]> writes:

Hello again,

>> > 1) run 
>> > texexec --make --alone en de dl metafun
>> > 
>> > and copy the resulting efmt and mem files to the appropiate places.
>> > (texmf/web2c/)
>> > 
>
> I did just that, but running texexec on test.tex gives:

> Sorry, I can't find the format `cont-en.efmt'; will try `context.efmt'.
> I can't find the format file `context.efmt'!

Well, if TeX can't find something it is looking for, run mktexlsr or
texhash in order to update its database.

Verify with kpsewhich:

[EMAIL PROTECTED]:~$ kpsewhich cont-en.efmt

(in a terminal)


the output should be something like:

/opt/context/2003.7.21/texmf/web2c/cont-en.efmt



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


Re: [NTG-context] typescripttwo

2003-08-14 Thread Hans Hagen
At 18:24 08/08/2003 -0700, you wrote:
All,

In this line:

\definetypeface [palatino] [rm] [serif] [palatino][default]
[encoding=\typescripttwo]
What does \typescripttwo do?
if you say \usetypescript[palatino][texnansi] then \typescripttwo == texnansi

Hans

-
  Hans Hagen | PRAGMA ADE | [EMAIL PROTECTED]
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
 tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com
-
   information: http://www.pragma-ade.com/roadmap.pdf
documentation: http://www.pragma-ade.com/showcase.pdf
-
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Referencing another document

2003-08-14 Thread Nigel King

>> Another question on the same subject. One of my referenced documents is not
>> pdf but actually an Excel Spreadsheet. Is there any way that can be opened
>> automatically in Excel?
> 
> (1) \goto{spread your sheets}[program(whatever.xls)]
> 
> (2) embed it as attachment (see mail archive)

Works like a dream

Thanks
-- 
Nigel

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


Re[2]: [NTG-context] Re: Math in context

2003-08-14 Thread Giuseppe Bilotta
Sunday, August 3, 2003 Emil Hedevang Lohse wrote:


EHL> There seems to be a little bug; compare

EHL>   \[\frac A{1-\frac BC}\]

EHL> with 

EHL>   \[\frac A{(1-\frac BC)}\]

EHL> In the latter the fraction in the denominator is placed so high that
EHL> the "B" alsmost touches the fraction rule.

Thank you for the report. It doesn't happen in the LaTeX
version, so it seems to be ConTeXt/Nath specific. I'll look
into it.

-- 
Giuseppe "Oblomov" Bilotta

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


Re: [NTG-context] MetaPost backgrounds

2003-08-14 Thread David Arnold
Micke,

What is your definition of "works?" At this end, the code compiled fine and
did just what you asked, at least as far as I can see. I formatted your
code a bit and entered a "big blank" between tables and compiled this:

\runMPgraphicstrue

\setupoutput[pdftex]
\enableregime[utf]
\setupbodyfont[7pt]

% This works, but is not nice.

\startuniqueMPgraphic{splittop}
 draw (0,0)--(OverlayWidth,OverlayHeight) withcolor white;%should not be
necessary
 draw (0,0.725*OverlayHeight)--(OverlayWidth,0.725*OverlayHeight);
\stopuniqueMPgraphic

\defineoverlay[splittop][\uniqueMPgraphic{splittop}]

\startuniqueMPgraphic{splitmid}
 draw (0,0)--(OverlayWidth,OverlayHeight) withcolor white;%should not be
necessary
 draw (0,0.5*OverlayHeight)--(OverlayWidth,0.5*OverlayHeight);
\stopuniqueMPgraphic

\defineoverlay[splitmid][\uniqueMPgraphic{splitmid}]

% This does not work, but I think it should

\startuniqueMPgraphic{topsplit}
 draw (0,0.725*OverlayHeight)--(OverlayWidth,0.725*OverlayHeight);
\stopuniqueMPgraphic

\defineoverlay[topsplit][\uniqueMPgraphic{topsplit}]

\startuniqueMPgraphic{midsplit}
 draw (0,0.5*OverlayHeight)--(OverlayWidth,0.5*OverlayHeight);
\stopuniqueMPgraphic

\defineoverlay[midsplit][\uniqueMPgraphic{midsplit}]

\starttext

% A working table
\setupTABLE[width=2cm,height=2cm]
\bTABLE[align={middle,lohi}]
\bTR\bTD[background=splittop] Some text\par And some more text that will
apear below the other text\eTD\bTD[background=splitmid] Some text
above\par Some text below \eTD\eTR
\eTABLE

\blank[big]

% A non-working table
\setupTABLE[width=2cm,height=2cm]
\bTABLE[align={middle,lohi}]
\bTR\bTD[background=topsplit] Some text\par And some more text that will
apear below the other text\eTD\bTD[background=midsplit] Some text
above\par Some text below \eTD\eTR
\eTABLE

\stoptext

Result is attached. However, this is a problem that would seem to be best
attacked by learning a bit more about tables. 

At 09:30 AM 8/10/03 +0200, you wrote:
>Hi everybody!
>
>I had some problems with backgrounds in a table. I wanted just a
>horizontal line, but in different heights. The problem is that the line
>will always be in the middle of the cell if I don't add more graphics.
>See the example file below.
>
>Regards, Micke P
>
>
>\setupoutput[pdftex]
>\enableregime[utf]
>\setupbodyfont[7pt]
>
>% This works, but is not nice.
>
>\startuniqueMPgraphic{splittop}
>draw (0,0)--(OverlayWidth,OverlayHeight) withcolor white;%should not be
>necessary
>draw (0,0.725*OverlayHeight)--(OverlayWidth,0.725*OverlayHeight);
>\stopuniqueMPgraphic
>\defineoverlay[splittop][\uniqueMPgraphic{splittop}]
>
>\startuniqueMPgraphic{splitmid}
>draw (0,0)--(OverlayWidth,OverlayHeight) withcolor white;%should not be
>necessary
>draw (0,0.5*OverlayHeight)--(OverlayWidth,0.5*OverlayHeight);
>\stopuniqueMPgraphic
>\defineoverlay[splitmid][\uniqueMPgraphic{splitmid}]
>
>% This does not work, but I think it should
>
>\startuniqueMPgraphic{topsplit}
>draw (0,0.725*OverlayHeight)--(OverlayWidth,0.725*OverlayHeight);
>\stopuniqueMPgraphic
>\defineoverlay[topsplit][\uniqueMPgraphic{topsplit}]
>
>\startuniqueMPgraphic{midsplit}
>draw (0,0.5*OverlayHeight)--(OverlayWidth,0.5*OverlayHeight);
>\stopuniqueMPgraphic
>\defineoverlay[midsplit][\uniqueMPgraphic{midsplit}]
>
>\starttext
>
>% A working table
>\setupTABLE[width=2cm,height=2cm]
>\bTABLE[align={middle,lohi}]
>\bTR\bTD[background=splittop] Some text\par And some more text that will
>apear below the other text\eTD\bTD[background=splitmid] Some text
>above\par Some text below \eTD\eTR
>\eTABLE
>
>% A non-working table
>\setupTABLE[width=2cm,height=2cm]
>\bTABLE[align={middle,lohi}]
>\bTR\bTD[background=topsplit] Some text\par And some more text that will
>apear below the other text\eTD\bTD[background=midsplit] Some text
>above\par Some text below \eTD\eTR
>\eTABLE
>
>\stoptext
>___
>ntg-context mailing list
>[EMAIL PROTECTED]
>http://www.ntg.nl/mailman/listinfo/ntg-context
>
>

junk.pdf
Description: Adobe PDF document


[NTG-context] merging pdf files

2003-08-14 Thread scarso luigi
Hello, I use this code to merge file1.pdf, file2.pdf, file3.pdf  in
file4.pdf

% format=english
\definepapersize[A3large][width=320mm,height=450mm,offset=0pt]
\setuppapersize[A3,landscape][A3large,landscape]
\setuplayout
[backspace=0pt,marking=on,
 height=middle,width=middle,location=middle,
 topspace=0pt,
 header=0pt,
 footer=0pt]
\starttext';

\insertpages[file1.pdf][width=0pt]
\insertpages[file2.pdf][width=0pt]
\insertpages[file3.pdf][width=0pt]
\stoptext

where 
file1 is481 031 bytes
file2 is  1 277 167 bytes and
file3 is 43 574 bytes. I expected ~2 Mbytes for file4.pdf but 
file4 is 10 601 693 bytes, ie ~five times the size expected.
Why ?

Thanks in advance
luigi

PS.
I have a context distribution that is 1 year old, but i can't actually
upgrade it (well, if I must do it, I will do !)


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


Re: [NTG-context] Presentations with Metapost

2003-08-14 Thread Hans Hagen
At 18:17 05/08/2003 +0200, you wrote:
Hi:

I am trying to generate presentations using the six styles describing in 
art-pres.pdf doc by Hans Hagen. I had not problems with the original style 
but yes with the others styles. I suspect that something about metapost 
configuration is failing.

In the section called Running METAPOST of the cited doc I can read 
something about two documents:

1) cont-sys.tex: I have not this file. I believe that I have that 
rename the cont-sys.rme file as cont-sys.tex, but in  which directory I 
must to copy cont-sys.tex file?
tex/context/user

2) textmf.cnf: I had not be able to find it. What can I do in 
order to enable \write18?
kpsewhich texmf.cnf

Hans
-
  Hans Hagen | PRAGMA ADE | [EMAIL PROTECTED]
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
 tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com
-
   information: http://www.pragma-ade.com/roadmap.pdf
documentation: http://www.pragma-ade.com/showcase.pdf
-
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


RE: [NTG-context] some XML stuff (and bugs?)

2003-08-14 Thread Martin Kolarík
yes, this works:

> \starttext
>
> \defineXMLsave [buffer]
>
> \defineXMLsingular [buffer] {\XMLflush{buffer}}
>
> \startXMLdata
> test here test 
> \stopXMLdata

but try:

\startXMLdata
test
a+b test .
\stopXMLdata

yes, of course, this can be done including  into buffer (and use
 as you wrote). But this, e.g., denies including  into
some other pieces of math etc.

Thank you,

Martin

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


Re: [NTG-context] Re: Simple test

2003-08-14 Thread darnold
Giuseppe,

Comments below.

> Friday, August 8, 2003 [EMAIL PROTECTED] wrote:
>
> dnc> I am aware of the new placement of /metapost/context/base.
>
> dnc> C:\texmf\metapost>dir
> dnc>  Volume in drive C has no label.
> dnc>  Volume Serial Number is F803-A135
>
> dnc>  Directory of C:\texmf\metapost
>
> dnc> 10/07/2002  11:27 PM  .
> dnc> 10/07/2002  11:27 PM  ..
> dnc> 08/05/2003  03:30 PM  context
> dnc> 08/05/2003  09:47 PM  base
> dnc>0 File(s)  0 bytes
> dnc>4 Dir(s)   3,497,893,888 bytes free
>
> dnc> C:\texmf\metapost\base>dir
> dnc>  Volume in drive C has no label.
> dnc>  Volume Serial Number is F803-A135
>
> dnc>  Directory of C:\texmf\metapost\base
>
> dnc> 08/05/2003  09:47 PM  .
> dnc> 08/05/2003  09:47 PM  ..
> dnc> 09/07/2000  02:01 PM 7,106 boxes.mp
> dnc> 09/07/2000  02:01 PM 7,146 format.mp
> dnc> 09/07/2000  02:01 PM27,660 graph.mp
> dnc> 09/07/2000  02:01 PM 4,280 marith.mp
> dnc> 09/07/2000  02:01 PM19,748 mfplain.mp
> dnc> 03/23/1997  01:16 AM19 mpost.mp
> dnc> 09/07/2000  02:01 PM16,018 plain.mp
> dnc> 09/07/2000  02:01 PM 1,098 rboxes.mp
> dnc> 09/07/2000  02:01 PM 1,466 sarith.mp
> dnc> 09/07/2000  02:01 PM   794 string.mp
> dnc> 09/07/2000  02:01 PM   331 TEX.mp
> dnc> 09/07/2000  02:01 PM   424 texnum.mp
> dnc> 01/24/1997  08:28 PM   230 troffnum.mp
> dnc>   13 File(s) 86,320 bytes
> dnc>2 Dir(s)   3,497,893,888 bytes free
>
> Uh ... that's metapost/base, not metapost/context/base
>
> Make sure you have nothing but the /base/ subfolder under
> metapost/context

That is the case:

C:\texmf\metapost\context>dir
 Volume in drive C has no label.
 Volume Serial Number is F803-A135

 Directory of C:\texmf\metapost\context

08/05/2003  03:30 PM  .
08/05/2003  03:30 PM  ..
08/05/2003  10:12 PM  base
   0 File(s)  0 bytes
   3 Dir(s)   3,444,121,600 bytes free



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


Re: [NTG-context] pagemark code works no more with arranging 3SIDE

2003-08-14 Thread Hans Hagen
At 22:19 08/08/2003 +0200, Henning Hraban Ramm wrote:
Hello esp. Hans!

I told you more than once about my address book. ;-)
You wrote this nice code for me,
that calculates the first and last name on the page:
---

\def\RegisterPageMark#1#2% #1=Class #2=Text
{\iftrialtypesetting \else
\doglobal\increment\MNamCounter%
\textreference[#1:t:\MNamCounter]{#2}%
\doifreferencefoundelse{#1:t:\MNamCounter}
{\doifundefined{#1:f:\currentrealreference}%
{\setxvalue{#1:f:\currentrealreference}%
{\noexpand\in[#1:t:\MNamCounter]}}
\setxvalue{#1:l:\currentrealreference}%
{\noexpand\in[#1:t:\MNamCounter]}}%
{}%
\fi}
\def\GetFirstOnPage#1{\getvalue{#1:f:\realfolio}} % #1=Class
\def\GetLastOnPage#1{\getvalue{#1:l:\realfolio}} % #1=Class
\setupheadertexts   [][\GetFirstOnPage{MNam}--\GetLastOnPage{MNam}]

\def\Name#1{\bf #1\RegisterPageMark{MNam}{\FirstNCharacters{4}{#1}}}

---

It doesn't work with the arranging "3SIDE" or even "XY" with three pages 
on A4 landscape.
The headers show only the dash.
I can't tell how arranging is involved in this counter stuff.

Is there a simple solution?
Can you make me a small test file?

Hans
-
  Hans Hagen | PRAGMA ADE | [EMAIL PROTECTED]
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
 tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com
-
   information: http://www.pragma-ade.com/roadmap.pdf
documentation: http://www.pragma-ade.com/showcase.pdf
-
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Aligned numbered math formulas

2003-08-14 Thread Tobias Burnus
Hallo Holger, hi all

Holger Schöner schrieb:
> 1) Some of the formulas should be numbered, some not; and at the same time
> I would like to align several of them.
> For alignment I seem to be able to use \eqalign (or \startalign ...
> \stopalign from the t-amsl.tex sent around here lately). But if I place a
> \placeformula in front of this, the whole aligned block only gets one
> number; I would need a number for every line (or even better: a possibility
> to state, which lines should be numbered, and which not).

I use
\eqalignno{
  left & right & \formulanumber \cr
  left & right & \formulanumber \cr
}

or

\eqalignno{
  left & right & \formulanumber{a}\cr
  left & right & \subformulanumber{b} \cr
}

If I have a longer formula which should only get one number, I use

\eqalignno{
  left & right1 &  \cr
   & right2 & \formulanumber{} \cr
}


With warm regards also from Berlin,

Tobias

-- 
This above all: To thine own self be true / And it must follow as
the night the day / Thou canst not then be false to any man.
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


[NTG-context] \placefigure[left] aligning with second line

2003-08-14 Thread Duncan Hothersall
Hello all.

Apologies for this question which I'm sure has an answer in the manual but I
have been trying to understand the figures chapter for a while now and can't
get my head around it. (Also looked in the mail archives on
http://ml-archives.mini.pw.edu.pl/ntg-context.html but the search facility
is still returning weird results.)

When I use \placefigure[left] the top of the figure is aligned with the
second line of the text. I would like it to be aligned with the first line.
If you look at the example on page 243/4 of the manual you can see it
happening there too:

\placefigure[left]{none}{\externalfigure[bkoe]}
Some text here...

As is seen in the manual, the cow is aligned with the second line of text,
rather than the first. Can anyone help me to move it up?

Thank you.

Duncan
[EMAIL PROTECTED]

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


Re: [NTG-context] Aligned numbered math formulas

2003-08-14 Thread Tobias Burnus
Hello,

On Thu, 14 Aug 2003, Holger Schöner wrote:
> Thanks, Tobias! This works for me, if I place a "\placeformula" before
> formulas enclosed by "$$". Funny, though, that I get an error if I instead
> enclose the formula with "\startformula ... \endformula":

Here it works with \startformula \stopformula [stop not end].

Tobias

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


Re: [NTG-context] a line under the header

2003-08-14 Thread Henning Hraban Ramm

I would like to put a line (not [underbared]) under the header  and 
above
the footer. The line shouldn't be to thin (not so thin as \hairline) 
and it
would be nice, if I could have a coloured line (grey, red, whatever). A
small example, so something like this (best view with non proportional
font):
In ConTeXt it's useful if you can think around some edges:
Such a line is a frame with only one frame line.
This "frame" forms the background of your header.
Ergo:
\setupbackgrounds   [header][text][frame=off, bottomframe=on]
\setupbackgrounds   [footer][text][frame=off, topframe=on]
Grüßlis vom Hraban!
--
http://www.fiee.net/texnique/
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


[NTG-context] a line under the header

2003-08-14 Thread Helmut Schwertner
Hello,

I would like to put a line (not [underbared]) under the header  and above
the footer. The line shouldn't be to thin (not so thin as \hairline) and it
would be nice, if I could have a coloured line (grey, red, whatever). A
small example, so something like this (best view with non proportional
font):


header  pagenumber
---

text text text text text text text text
text   text text text text text text

text text  text text text text text



-
footer  footer


Thanks for any help,

best wishes,

Helmut

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


Re[2]: [NTG-context] Aligned numbered math formulas

2003-08-14 Thread Giuseppe Bilotta
Thursday, August 14, 2003 Tobias Burnus wrote:

TB> Hi,

TB> On Thu, 14 Aug 2003, David Arnold wrote:
>> Is there a setup that will typeset the labels as (1.1) and (1.1a)?
TB> Not that I'm aware of, but I use \informula[foo] with

TB> \def\informula#1{(\in[#1])}

Look up definereferenceformat, it's intended to do that more
cleanly :)

-- 
Giuseppe "Oblomov" Bilotta

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


RE: [NTG-context] \underbar not allowing line-breaking

2003-08-14 Thread Duncan Hothersall
Hans wrote:

> % output=pdftex
>
> \starttext
>
> \definetextbackground
>[underbared]
>[alternative=1,location=text,
> background=,frame=]
>
> \def\underbared
>{\groupedcommand
>   {\starttextbackground[underbared]}
>   {\stoptextbackground}}
>
>
> \underbared{\input tufte\relax}
>
> \stoptext
>
> typical an example for a MyWay document -)

Thanks! I've been looking through core-pos to try to understand how I can
change the look of this. I can set the colour of the line with framecolor,
but I can't seem to adjust the offset. The default appears to be overlay,
but this looks ugly as an underline, as it obscures the baseline of the
text. I have tried offset=, frameoffset= and backgroundoffset=, but no
change occurs.

Then I also tried getting rid of the alternative=1 (what does this do?) and
putting frame=off,bottomframe=on, but this produced no output at all.

Is there a way to do it?

Also, when a line break occurs the underlining stretches out to the right
further than the end of the line - is there any way to stop this happening?

Thanks

Duncan
[EMAIL PROTECTED]

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


RE: [NTG-context] some XML stuff (and bugs?)

2003-08-14 Thread Martin Kolarík


> -Original Message-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> Behalf Of Hans Hagen
> Sent: Monday, August 11, 2003 4:53 PM
> To: [EMAIL PROTECTED]
> Subject: RE: [NTG-context] some XML stuff (and bugs?)
>
>
> At 15:41 11/08/2003 +0200, you wrote:
> >yes, this works:
> >
> > > \starttext
> > >
> > > \defineXMLsave [buffer]
> > >
> > > \defineXMLsingular [buffer] {\XMLflush{buffer}}
> > >
> > > \startXMLdata
> > > test here test 
> think of it: what should expand and what not and when?

exactly said, in this case I need unwrap  and process it in
\XMLremapdata[mml]... I tried it but I did not suceed as \XMLflush executes
content and, of course, there nothing is left for \XMLremapdata to remap.

So, I fairly know what and how to expand, but I did not achieve this in
ConTeXt. It worths for thinking :-).

Currently, I have this solved -- I process my buffers first using  XSLT (as
I cannot decompose <... etc. in verbatim buffers into <... and then
process the buffer using processXMLbuffer) to generate
\startbuffer..\stopbuffer containing <>, and I assure that all buffers will
contain  and  to avoid problems with expanding for
\XMLremapdata.

Thank you and please dismiss the topic if you want,

Martin

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


RE: [NTG-context] some XML stuff (and bugs?)

2003-08-14 Thread Hans Hagen
At 17:27 11/08/2003 +0200, you wrote:

Currently, I have this solved -- I process my buffers first using  XSLT (as
I cannot decompose <... etc. in verbatim buffers into <... and then
process the buffer using processXMLbuffer) to generate
\startbuffer..\stopbuffer containing <>, and I assure that all buffers will
contain  and  to avoid problems with expanding for
\XMLremapdata.
i must have a script somewhere that prepares verbatim (simply because i 
want to have more structure and so); maybe it makes sense to cook up a sort 
of standard for buffers so that we can preprocess in an uniform way (some 
regexp substitution is normally much faster that xslt or full blown parsing).

something:

  

  

although formally this equals an empty buffer, so maybe:

  

makes more sense

does this sound ok?

Hans

-
  Hans Hagen | PRAGMA ADE | [EMAIL PROTECTED]
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
 tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com
-
   information: http://www.pragma-ade.com/roadmap.pdf
documentation: http://www.pragma-ade.com/showcase.pdf
-
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


[NTG-context] No reference when 2UP-arranging pages

2003-08-14 Thread Laurent Chéno
(* please excuse my poor english *)

When I typeset this file :

% --- OK
\setuppapersize[A5][A4,landscape]
\setuppagenumbering[alternative=doublesided]
\starttext
This is a test.
My \in{figure}{}[fig:test] stands \at{page}{}[fig:test].

\placefigure[page][fig:test]{A nice fig}{\framed{This is a figure.}}

\stoptext
\end
%
I get the right result: "My figure 1 stands page 2."

But when I typeset this one :

%  WRONG
\setuppapersize[A5][A4,landscape]
\setuparranging[2UP]
\setuppagenumbering[alternative=doublesided]
\starttext
This is a test.
My \in{figure}{}[fig:test] stands \at{page}{}[fig:test].

\placefigure[page][fig:test]{A nice fig}{\framed{This is a figure.}}

\stoptext
\end
%---
I get : "My figure ?? stands page ??." even after many compilation with 
texexec (or with texexec --final)

Who can help me ?

Thanks in advance, best regards,

Laurent Chéno

PS : I'm using TeXExec 3.1, pdfeTeX 3.14159-1.10b-2.1 (Web2C 7.4.5)
ConTeXt ver: 2003.1.31 fmt: 2003.7.23
--
Laurent Chéno, Paris - France

fax : 01 53 01 28 36
http://pauillac.inria.fr/~cheno/
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] \placefigure[left] again!

2003-08-14 Thread Bill McClain
On Tue, 12 Aug 2003 15:31:44 +0100
"Duncan Hothersall" <[EMAIL PROTECTED]> wrote:

> Interestingly, it remains broken even if the \bf isn't there, just the
> open and close braces. So presumably this is something to do with the
> expansion of what comes after the \placefigure?

I ran into this also and wrote:

>I've found that it has to do with the content of my text. Any paragraph
>beginning with a block does not flow properly. The best workaround I
>have found is to insert a \strut at the beginning of the text where it
>starts with a block.

To which Hans replied:

> right, this is a known weakness: if you start a par with a \command,
> you may end up with yes/no indentation or some everypar interference
> (can for instance be due to the fact that the command can start a
> group and aftergroup things can be messed up), your \strut solution is
> ok (\indent\ noindent or \dontleavehmode is also ok), since they start
> the paragraph

So begin your text with:

\strut {\bf }

or one of the other commands. \strut is a zero-width character.

-Bill
-- 
Sattre PressThe King in Yellow
http://sattre-press.com/ by Robert W. Chambers
[EMAIL PROTECTED] http://kiy.sattre-press.com/ 
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


RE: [NTG-context] some XML stuff (and bugs?)

2003-08-14 Thread Martin Kolarík
>
>
> makes more sense
>
> does this sound ok?

yes, the  construct appeared during our mail conversation
:-). I myself use ... to store data and  for processing or typing of stored data.

Thank you, Martin

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


RE: [NTG-context] some XML stuff (and bugs?)

2003-08-14 Thread Martin Kolarík
ok, I use \tt and \color,

thank you,

Martin

> -Original Message-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> Behalf Of Hans Hagen
> Sent: Monday, August 11, 2003 2:38 PM
> To: [EMAIL PROTECTED]
> Subject: Re: [NTG-context] some XML stuff (and bugs?)
>
>
> At 10:12 11/08/2003 +0200, you wrote:
> >Hi all,
> >
> >I have some problems with XML and ConTeXt, some of them are probably not
> >implemented in ConTeXt yet.
> >
> >1. XML contains
> >I define\defineXMLargument [type] \type
> >ConTeXt outputs 
> >
> >It is interesting that inside \bTD..\eTD it is typeset
> correctly ().
>
> has to with the famous catcode problems, no reason to use the \type macro
> here:
>
> \starttext
>
> \defineXMLgrouped [type] \tt
>
> \startXMLdata
> test  test
> \stopXMLdata
>
> \stoptext
>
>
> Hans
> -
>Hans Hagen | PRAGMA ADE | [EMAIL PROTECTED]
>Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
>   tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com
> -
> information: http://www.pragma-ade.com/roadmap.pdf
>  documentation: http://www.pragma-ade.com/showcase.pdf
> -
>
> ___
> 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] How can I use the lmodern fonts with context?

2003-08-14 Thread Helmut Schwertner
Hello,

what is to do if I want to use the Latin Modern Fonts with context? Today I
have installed the LM package (0.86 of 04.08.2003) of the Latin Modern
family of fonts in the PostScript Type 1 format under Miktex and it works
with latex wonderful (and this fonts are wonderful too).

Thanks,

Helmut



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


[NTG-context] some XML stuff (and bugs?)

2003-08-14 Thread Martin Kolařík
Hi all,

I have some problems with XML and ConTeXt, some of them are probably not
implemented in ConTeXt yet.

1. XML contains
   I define\defineXMLargument [type] \type
   ConTeXt outputs 

   It is interesting that inside \bTD..\eTD it is typeset correctly ().

2. Is there a way to get some piece of processed XML code into buffer
(preserving blanks)? The first-approach solution of course does not work:
\defineXMLenvironment [buffer] \startbuffer \stopbuffer never finds
\stopbuffer. I suceed if \stopbuffer occured in XML code, but this is not
the proper way :-).

I also suceed when I defined \defineXMLenvironment [buffer] {\dostartbuffer
[bname] [StartBuffer][/bufferdef>]} \relax and in the XML I wrote
\...

So, how to implement somehow \defineXMLverbatim [buffer] ... which finds
(and stops) reading on ?

3. if XML entity is placed before \par (e.g. in verbatim XML source, where
an empty line occurs) ConTeXt fails with reading entity #2 parameter
(Runaway? error). Maybe \long for \def\remapXMLentity should be used?

4. if I use  it does not work --  implementation
using \XMLremapdata[mml] does not find any MML tag. Anyhow, I did not suceed
with pre expansion of  -- probably, if I am able to expand (get
content of)  (it contains MML tags) it would work.

5. some expansion stuffs, I expect it is a behaviour :-) but it would be
pretty if it is possible.
I did not suceed with using \getbuffer (aka all \process...buffer) in
expanded environment. Simple use of \message{\getbuffer[somebuffer]} fails.
If such expansion is possbile probably 4. would be solved too.

Have a nice day and thank you,

Martin


Martin Kolarik
Moravske Pristroje, a.s., Masarykova 1148, Zlin 76302
tel. +420 603 498 498, fax +420 577 107 171
web: http://www.mii.cz

e-mail: [EMAIL PROTECTED]
e-mail: [EMAIL PROTECTED]
tel. +420 603 535 593

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


Re: [NTG-context] Re: Simple test

2003-08-14 Thread Hans Hagen
At 09:19 08/08/2003 -0700, [EMAIL PROTECTED] wrote:

C:\temp>mpost junk
(junk.mp (C:\texmf\metapost\context\base\mp-tool.mp)
this is just calling metapost with mp-tool

you may try "input metafun" instead

>> unknown picture p
>> textext.rt
! Equation cannot be performed (unknown picture=numeric).

   (
l.7 p:=textext.rt(
  "Hello, world!");
?
  texexec --mptex junk.mp

or

  mpost -mem=metafun junk.mp

or

\starttext

\startMPpage

some code

\stopMPpage

\stoptext

Hans
-
  Hans Hagen | PRAGMA ADE | [EMAIL PROTECTED]
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
 tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com
-
   information: http://www.pragma-ade.com/roadmap.pdf
documentation: http://www.pragma-ade.com/showcase.pdf
-
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] merging pdf

2003-08-14 Thread scarso luigi

> 
> >The results are:
> >  799537 ago  7 17:55 file1.pdf
> >1515097 ago  7 17:56 merge.pdf
> 
> here i get:
> 
>805,366 test.pdf
> 1,053,739 test1.pdf
> 
> so .. what version of pdftex are you running
> 
This is pdfTeX, Version 3.14159-14h-released-20010417 (Web2C 7.3.3.1)

luigi


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


Re: [NTG-context] Newbie question on \completecontent

2003-08-14 Thread Hans Hagen
At 14:27 06/08/2003 +0200, you wrote:
Suppose I create this document:

\starttext
\completecontent
\chapter{One}
\input tufte
\chapter{Two}
\input douglas
\stoptext
I get a document with a content list and two chaqpters. Now I want to do 
the same in a project. I take the example from the manual and do this:

%%
%% This is the file book.tex
%%
\startproduct book
\project teoade
\startfrontmatter
 \completecontent
\stopfrontmatter
\startbodymatter
 \component chapters/chapter1
 \component chapters/chapter2
\stopbodymatter
\startbackmatter
 \completeindex
\stopbackmatter
\stopproduct
I get the chapters allright, but the list of contents and the index are 
empty. Why?
because they are produced on a per section basis depending on where you 
call for them (for instance, in a chapter you can say \placelist[section] 
and get a locat toc)

\completecontent[way=bytext]

gives you a document one

Hans
-
  Hans Hagen | PRAGMA ADE | [EMAIL PROTECTED]
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
 tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com
-
   information: http://www.pragma-ade.com/roadmap.pdf
documentation: http://www.pragma-ade.com/showcase.pdf
-
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


[NTG-context] new version

2003-08-14 Thread Hans Hagen
Hi,

Since it's tex live freezing time, I uploaded a new version. There ar enot 
that many changes (i moved a few things from cont-new/cont-loc to the core 
modules [cont-loc is my personal optimized code / new thingies file]).

I also added type-akb (patricks adobekb) file to the distribution since we 
need it to get those free fonts working in tetex and derived systems (tex 
live is normally a bit more complete with regards to metrics). Be careful 
in using this typescipts: the metrics may not match the fonts and i dislike 
the idea of ps metric names and urw fots; Personally i always use the urw 
metrics and fonts and *always* embed them. I'll post a zip with additional 
font metrics later.

To texexec, i added some cleverness to run xml files and i will add some 
morelater. Also, from now on (in order to avoid too many mails of users who 
forget to run mktexlsr) i now run mktexlsr before generating formats. [i 
hope that i got the miktex alternative well, i'll install miktex in a 
virtual machine later].

Hans
-
  Hans Hagen | PRAGMA ADE | [EMAIL PROTECTED]
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
 tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com
-
   information: http://www.pragma-ade.com/roadmap.pdf
documentation: http://www.pragma-ade.com/showcase.pdf
-
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Problem with math item in table of contents

2003-08-14 Thread Hans Hagen
At 15:41 01/08/2003 +0200, you wrote:
Hi,

I would like to use this:

\completecontent
\chapter{$a|b$}
\bye
the problem is that the bar "|" causes problems in the table of contents.
Any ideas how I can still have it in the table?
either patch supp-lan:

  \def\fakecompoundhyphen
{\def\|{\mathortext\vert\dofakecompoundhyphen}}
  \def\dofakecompoundhyphen
{\def##1|%
   {\doifelsenothing{##1}{\compoundhyphen}{##1}%
\kern\compoundbreakpoint\allowbreak}}
or use $a\vert b$ instead

interesting how long it takes for such a bug to show up

Hans
-
  Hans Hagen | PRAGMA ADE | [EMAIL PROTECTED]
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
 tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com
-
   information: http://www.pragma-ade.com/roadmap.pdf
documentation: http://www.pragma-ade.com/showcase.pdf
-
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


[NTG-context] building formats under MikTeX

2003-08-14 Thread Matthew Huggett
Hello All:

When I run texexec --make to (re)build my formats (under MikTeX), 
texexec reports that it can't read TEX.POOL and MP.POOL .  Then a 
window's dialog box reports that pdfetex has crapped out.   Any any ideas?

Thanks and best wishes,

Matt

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