[NTG-context] newest version on teTeX-3.0

2005-06-03 Thread Peter Münster
Hello,
does somebody already have some experience with the installation of the
newest ConTeXt version (2005.06.03) on teTeX-3.0 ?
With a minimal test-file (\starttext hello \stoptext) I have still two
little problems:

"texexec test" runs ok, but "dvips test" gives the following messages:

This is dvips(k) 5.95a Copyright 2005 Radical Eye Software (www.radicaleye.com)
' TeX output 2005.06.03:2232' -> test.ps
dvips: expected number in \printpaperwidth ,\printpaperheight, returning 10
dvips: expected units in \printpaperwidth ,\printpaperheight, assuming inches.
dvips: expected number in \printpaperwidth ,\printpaperheight, returning 10
dvips: expected units in \printpaperwidth ,\printpaperheight, assuming inches.
kpathsea: Running mktexpk --mfmode ljfzzz --bdpi 1200 --mag 1+0/1200 --dpi 1200 
ec-lmr12
mktexpk: don't know how to create bitmap font for ec-lmr12.
kpathsea: Appending font creation commands to missfont.log.
dvips: Font ec-lmr12 not found, characters will be left blank.
. [1] 

The problem with the \printpaperwidth etc is not so serious, since I can
overwrite the \dosetuppaper macro:
\definespecial\dosetuppaper#1#2#3{%
  \special{papersize=\the\printpaperwidth,\the\printpaperheight}}

But for the ec-lmr12 problem, I would appreciate some help. I've already
tried some commands like "updmap-sys --enable Map ec-public-lm.map" but
without success.

This is what I've done for the installation (as root):

unzipping the cont-xxx.zip files in /opt/teTeX/texmf-dist
then "mktexlsr"
then "texexec --make --all"
and at the end another "mktexlsr"

TIA for any help!
Cheers, Peter

-- 
http://pmrb.free.fr/contact/
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


[NTG-context] \startitemize[beforehead=xxx]

2005-06-03 Thread Peter Münster
Hello,

does somebody know how to get some space between two \head entries in the
ConTeXt-way?

I tried the following, but without success:

\starttext
begin
\startitemize[packed][beforehead=\blank,headstyle=bold]
\head head\par
line
\head head\par
line
\head head\par
line
\stopitemize
end
\stoptext

Only with the following hack, I get the desired result:

\starttext
begin
\startitemize[packed][headstyle=bold]
\let\headO\head
\def\head{\blank\headO}
\head head\par
line
\head head\par
line
\head head\par
line
\stopitemize
end
\stoptext

Cheers, Peter

-- 
http://pmrb.free.fr/contact/
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] dvipdfmx support

2005-06-03 Thread Idris Samawi Hamid

On Fri, 03 Jun 2005 19:24:11 +0200, Hans Hagen <[EMAIL PROTECTED]> wrote:

For those using dvipdfmx (e.g. with aleph) ther eis a new windows 
version at:
 
http://www.metz.supelec.fr/~popineau/downloads/bin-dvipdfm-2005-05-07-win32-static.zip


I patched spec-dpx, texexec and ctxtools to make working with it more 
comfortable


This is wonderful news and I thank Hans for all his hard work!
(Will be testing soon)

Best
Idris

--
Professor Idris Samawi Hamid
Department of Philosophy
Colorado State University
Fort Collins, CO 80523
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] \stopbuffer in macro

2005-06-03 Thread Peter Münster
On Thu, 2 Jun 2005, Taco Hoekwater wrote:

> This should help:
> 
>\def\startLST[#1]%
>  {\def\stopLST{End of #1}%
>   \dostartbuffer[LST][startLST][stopLST]}

Thank you very very much!!
This can be the base for some really nice modules, that I'm going to write.
Of course, I'll put them on the wiki!
Greeting, Peter

-- 
http://pmrb.free.fr/contact/
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


[NTG-context] dvipdfmx support

2005-06-03 Thread Hans Hagen

Hi,

For those using dvipdfmx (e.g. with aleph) ther eis a new windows version at:

http://www.metz.supelec.fr/~popineau/downloads/bin-dvipdfm-2005-05-07-win32-static.zip

I patched spec-dpx, texexec and ctxtools to make working with it more 
comfortable

- texexec understands the --dpx switch and will run dvipdfmx automatically (it 
also sets some env variables that are needed to isolate dvipdfmx and pdftex; 
awaiting a better solution in tds/kpse)


(newtexexec also understand this and a bit more)

- context will pass map file names to dvipdfmx in the same way as it does with 
pdftex (use \loadmapfile to load additional ones)


- ctxtools can be used to convert pdftex map files into dvipdfmx ones (i may 
switch to some common format coded in xml that can be converted to either map 
format although before it comes to that pdftex/dvipdfmx/dvips may understand a 
common simple text format, work is in progress on that); another option is to 
use \loadmapline and make typescripts (and thereby get rid of mapfiles but i 
need to discuss that with mr. Adam Typescript Lindsay first -)


usage:

  ctxtools --dpx e:/tex/texmf-local  (--force to make it really happen)

i uploaded yet another zip

(i hope that this compensates Idris' experience with fonts in recent 
distribuitions -)


Hans

-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
 tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
 | www.pragma-pod.nl
-

___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] changing natural table frame width

2005-06-03 Thread Hans Hagen

Stuart Jansen wrote:

On Thu, 2005-06-02 at 18:27 -0600, Stuart Jansen wrote:


I'm trying to figure out how to increase the increase the size of the
horizontal line after a row using natural tables. Is there any way to do
the equivalent of:

\HL % Table header
\VL Column A \VL Column B\VL\SR
\HL[4]



I can almost get what I want using
\setupTABLE[row] [first][frame=off,bottomframe=on,rulethickness=1pt]

Hans, have you considered adding frame options
{top,bottom,left,right}rulethickness=dimension
similar to the current 
{top,bottom,left,right}frame=on/off ? How hard would it be?


doable but it would slow down context necause it would be implemented in 
core-rule.tex which is used all over the place


as with offsets, these things are on to do lists; for the moment, usign metapost 
is an option (since you can plug in backgrounds in table cells)


Hans

-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
 tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
 | www.pragma-pod.nl
-

___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] changing natural table frame width

2005-06-03 Thread Stuart Jansen
On Thu, 2005-06-02 at 18:27 -0600, Stuart Jansen wrote:
> I'm trying to figure out how to increase the increase the size of the
> horizontal line after a row using natural tables. Is there any way to do
> the equivalent of:
> 
> \HL % Table header
> \VL Column A \VL Column B\VL\SR
> \HL[4]

I can almost get what I want using
\setupTABLE[row] [first][frame=off,bottomframe=on,rulethickness=1pt]

Hans, have you considered adding frame options
{top,bottom,left,right}rulethickness=dimension
similar to the current 
{top,bottom,left,right}frame=on/off ? How hard would it be?

-- 
Stuart Jansen <[EMAIL PROTECTED]>
Guru Labs, L.C.


signature.asc
Description: This is a digitally signed message part
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] PSNFSS in new ConTeXt?

2005-06-03 Thread Ville Voipio

\usetypescript [adobekb][\defaultencoding]
\setupbodyfont[pos]


which used to work before doesn't work neither on my Mac nor at live @ 
contextgarden.net.

How does one access these fonts?

(And sorry for blaming gwTeX for this!)


It is really not Gerben's fault! At some point the pos-typescript has 
been deprecated (at least according to the comments in 
tex/context/base/type-pre.tex).


However, the typescript file is now enclosed in

\starttypescriptcollection[previous]
  ...
\stoptypescriptcollection

These might give you some hint about how to proceed.

---

The more modern way of solving this problem is to forget about the old 
pos collection and leverage the user value by embracing the novel 
typescript paradigm. (Oops, sorry, my marketing-bs-generator seems to be 
breaking in.)


The modern way to get to use the free URW fonts is to run 
context/data/type-tmf.dat (or, rather, run texfont and give type-tmf.dat 
as a batch file). This will enable using a lot of nice fonts in the URW 
collection.


However, there are two gotchas:

1. With gwTeX, running the command

  texfont --encoding=ec --batch type-tmf.dat

at least previously resulted in some errors about unknown files. They 
may be fixed with an ugly hack: replace all occurences of TEXMFMAIN by 
TEXMFTE in type-tmf.dat.



2. After the fonts are installed, you have the fonts. Nice. But no 
typescripts. Not so nice. I have made some typescripts for 
Palatino/Helvetica/Courier and SchoolBook/Helvetica/Courier 
combinations. There might be something already done in the ConTeXt 
distribution, but I have not found anything that useful. (I can Wiki 
them if someone finds it useful.)



Good luck!

- Ville
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Chinese in ConTeXt

2005-06-03 Thread 常大鹏
Xiao Jianfeng,您好!

你可以看看这个帖子。
  http://www.ctex.org/forums/index.php?showtopic=23547
另外,安装字体的工具可以用xGBKFonts,它可以为你安装字体并处理LaTeX,ConTeXt的配置文件
你可以看看它的作者李树钧的主页。http://www.hooklee.com/tex.html

=== 2005-05-29 16:49:52 您在来信中写道:===

>I started to use ConTeXt several weeks ago, and I like it very much  :-)
>
>I met some problems when I tried to use Chinese in ConTeXt. I have tried 
>to setup Chinese fonts according to the manual "Chinese in ConTeXt" 
>(mchinese.pdf) which seems a little out-of-date. In the manual, programs 
>  gbpfb/chpfb, and gbenc are used to perpare the Chinese fonts. But, I 
>chpfb is not shipped with trubolinux anymore . I have googled and 
>couldn't  find these programs on the internet.
>
>Do someone have some experience of how to setup Chinese in ConTeXt?
>
>Thanks in advance!
>
>Best wishes.
>
>Xiaojf
>___
>ntg-context mailing list
>ntg-context@ntg.nl
>http://www.ntg.nl/mailman/listinfo/ntg-context
>
>.

= = = = = = = = = = = = = = = = = = = =


致
礼!
 
   常大鹏
   [EMAIL PROTECTED]
2005-06-03 
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] update

2005-06-03 Thread Thomas A. Schmitz

Thanks Taco! No, I'm using pdfetex, not XeTeX. Here's the line:

% pdfetex --version
pdfeTeX 3.141592-1.21a-2.2 (Web2C 7.5.4)
kpathsea version 3.5.4
Copyright (C) 1997-2004 Peter Breitenlohner (eTeX)/Han The Thanh  
(pdfTeX).

Kpathsea is copyright (C) 1997-2004 Free Software Foundation, Inc.
There is NO warranty.  Redistribution of this software is
covered by the terms of both the pdfeTeX copyright and
the GNU General Public License.
For more information about these matters, see the files
named COPYING and the pdfeTeX source.
Primary author of pdfeTeX: Peter Breitenlohner (eTeX)/Han The Thanh  
(pdfTeX).

Kpathsea written by Karl Berry and others.

And as I wrote: the rest of ConTeXt seems to be working alright, my  
documents compile fine, so don't spend too much time on it. I still  
have to see for my linux installation, I haven't been able to upgrade  
ConTeXt under linux for quite a few releases now.


Best

Thomas

On Jun 3, 2005, at 8:20 AM, Taco Hoekwater wrote:


Thomas A. Schmitz wrote:


Hi Hans,
sorry to rain on your parade, but I'm not sure that the latest   
version is working as it should. I tried on OS X + gwtex. After   
unzipping in texmf.local and regenerating the formats, I get this   
output (even after rerunning mktexlsr):

% texexec --version



texexec --version can be broken independant of the rest of  
texexec. :-)


From your comments I believe that the actual format generation is
correct now, and it is just the version report that cannot keep up
with the changes. Not a big thing, but of course it should be fixed.

Since that is my code, I will can a patch for (Hans to apply).
Are you using XeTeX? If yes, can you (or someone else) send me XeTeX's
banner line(s)? I mean the line you get if you only start the
executable.  For instance, my pdfetex has:

  This is pdfeTeX, Version 3.141592-1.21b-2.2 (Web2C 7.5.4)
  **

This is needed for the tex discovery line:

   tex : unknown


Greetings, Taco
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context



___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] update

2005-06-03 Thread Taco Hoekwater

Thomas A. Schmitz wrote:

Hi Hans,

sorry to rain on your parade, but I'm not sure that the latest  version 
is working as it should. I tried on OS X + gwtex. After  unzipping in 
texmf.local and regenerating the formats, I get this  output (even after 
rerunning mktexlsr):


% texexec --version


texexec --version can be broken independant of the rest of texexec. :-)

From your comments I believe that the actual format generation is
correct now, and it is just the version report that cannot keep up
with the changes. Not a big thing, but of course it should be fixed.

Since that is my code, I will can a patch for (Hans to apply).
Are you using XeTeX? If yes, can you (or someone else) send me XeTeX's
banner line(s)? I mean the line you get if you only start the
executable.  For instance, my pdfetex has:

  This is pdfeTeX, Version 3.141592-1.21b-2.2 (Web2C 7.5.4)
  **

This is needed for the tex discovery line:

   tex : unknown


Greetings, Taco
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context