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

2005-06-02 Thread Gerben Wierda
I don't know but it looks like a lot of palatino stuff is in teTeX and 
thus in gwTeX. Maybe it is just a matter of a map that has to be 
enabled?


G

On Jun 2, 2005, at 23:01, Matthias Weber wrote:



After doing some gardening at the really useful ConTeXtGarden, I found 
that


\starttext
\usetypescript [adobekb][\defaultencoding]
\setupbodyfont[pos]
\usetypescript[palatino][\defaultencoding]
\setupbodyfont[palatino,12pt]

Hello world!
\stoptext

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!)

Matthias

___
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


[NTG-context] I think there is a little mistake in "ConTeXt an excursion"

2005-06-02 Thread Xiao Jianfeng

On page 22 of my "ConTeXt an excursion" (version May 27, 1999), it says:

%--
\placefigure
[here,force]
[fig:canal]
{The Hasselt Canals.}
\startcombination[2*1]
{\externalfigure[Photo]} {a bitmap picture}
{\externalfigure[Graphic]} {a vector graphic}
\stopcombinatie
%--

but this can not be complied -_-
after a few tries, I think it shoud be like this:

%--
\placefigure
[here,force]
[fig:canal]
{The Hasselt Canals.}
{
\startcombination[2*1]
{\externalfigure[Photo]} {a bitmap picture}
{\externalfigure[Graphic]} {a vector graphic}
\stopcombination
}
%--
Note that there are { and } missing and a spell mistake.

I do not intend to blame the author at all, and in fact, ConTeXt is 
really a good work!


I just hope this can be of some help to some newbies like me, since i 
spent two hours to find out the soultion to combine two figures -_-


xiaojf

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


[NTG-context] changing natural table frame width

2005-06-02 Thread Stuart Jansen
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]

-- 
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] Fleurons

2005-06-02 Thread Stuart Jansen
On Fri, 2005-06-03 at 00:25 +0200, Hartmut Henkel wrote:
> On Thu, 2 Jun 2005, John R. Culleton wrote:
> 
> > (K.I.S.S. = "Keep it simple silly.)
> 
> wasn't the 2nd S. "stupid"?

I always thought it was "Stuart". ;-)

-- 
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] Fleurons

2005-06-02 Thread Hartmut Henkel
On Thu, 2 Jun 2005, John R. Culleton wrote:

> (K.I.S.S. = "Keep it simple silly.)

wasn't the 2nd S. "stupid"?

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


[NTG-context] update

2005-06-02 Thread Hans Hagen

Hi,

Well, after some bad hacking Adam, Patrick and me think that we got engine 
support working on all platforms. Interesting is that the problems for platforms 
-tetex and gwtex- were in different parts of the code, so there must be subtle 
differences in path settings (different kpse branches in texexec). The solutions 
had to do with chomping on the one hand and complex paths on th eother hand.


Patrick, I hope that i didn't mess up the garden server in the process -)

Uploaded.

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] update

2005-06-02 Thread Thomas A. Schmitz

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 5.4.1 - ConTeXt / PRAGMA ADE 1997-2005

   texexec : TeXExec 5.4.1 - ConTeXt / PRAGMA ADE 1997-2005
   texutil : TeXUtil 9.0.0 - ConTeXt / PRAGMA ADE 1992-2004
sh: line 1: cont-en: command not found
   tex : unknown
   context : ver: 2005.06.02
   cont-en : unknown
sh: line 1: cont-de: command not found
   cont-de : unknown
sh: line 1: cont-nl: command not found
   cont-nl : unknown

total run time : 2 seconds

Processing files seems to be running normally. Nevertheless,  
something still smells rotten in the state of ConText. I'll check on  
my linux partition later.


Best

Thomas


On Jun 2, 2005, at 10:49 PM, Hans Hagen wrote:


Hi,

Well, after some bad hacking Adam, Patrick and me think that we got  
engine support working on all platforms. Interesting is that the  
problems for platforms -tetex and gwtex- were in different parts of  
the code, so there must be subtle differences in path settings  
(different kpse branches in texexec). The solutions had to do with  
chomping on the one hand and complex paths on th eother hand.


Patrick, I hope that i didn't mess up the garden server in the  
process -)


Uploaded.

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



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


Re: [NTG-context] \definetyping[C][option=commands] and the tabulator

2005-06-02 Thread Hans Hagen

Peter Münster wrote:

On Tue, 31 May 2005, Hans Hagen wrote:



\definetyping[C][option=commands,tab=8]

(just a few lines patch); i'll send you the files.



Thanks again for your efforts!

Just one last problem with vertical spacing in a frame:

\starttext
\framed[align=lohi]{%
\starttyping
test
\stoptyping
}
\stoptext


you need to

- nil the before/after keys
- make sure that framed constructs a vbox (by setting align)
- get rid of the auto strut

\definetyping[whatever][before=,after=]

\framed[strut=no,align=normal]
{\startwhatever
...
\stopwhatever}

normally one will use \startframedtext ... \stopframedtext in such cases (or the 
textbackground mechanism if you need to spanpages or columns)


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] \stopbuffer in macro

2005-06-02 Thread Hans Hagen

I once made the option

  \usememorybuffers

but i'm not sure if it does the same



Taco Hoekwater wrote:


This should help:

  \def\startLST[#1]%
{\def\stopLST{End of #1}%
 \dostartbuffer[LST][startLST][stopLST]}

This is almost the same as:

   \definebuffer[LST]
   \def\stopLST{End of LST}

Except that it is a little bit more low-level and thereby allows
an argument to \startLST. Using a local definition if \stopLST
is another trick, to lift the argument to the end of the buffer.

A less sophisticated  but clearer approach is:

   \def\startLST[#1]%
{\def\LSTArgs{#1}%
 \dostartbuffer[LST][startLST][stopLST]}

   \def\stopLST{End of \LSTArgs}

Full example:

  \def\startLST[#1]%
{\def\stopLST{End of #1}%
 \dostartbuffer[LST][startLST][stopLST]}

  \starttext
  \startLST[whatever]
  bla bla
  \stopLST
  alb alb
  \stoptext

You'll have to fill in the commands etc. yourself of course.

Greetings, Taco

Peter Münster wrote:


On Tue, 31 May 2005, Hans Hagen wrote:



\definebuffer[crap]

\setupbuffer[crap][before=\blank\bgroup here we start,after=and here 
we end\egroup\blank]




[...]

Hello Hans and Taco,
thank you for your hints, but I think, I did not explain my question well
enough...
I fact, all I need is to know, how I could write some verbatim text 
between

2 commands (\startXXX...\stopXXX) into a file, but with my own macros.
Here an example in detail:

\newcount\LSTnum
\newwrite\LSTfile
\def\LSTfileprefix{\jobname-LST\LSTnum}

\def\startLST[#1]#2\stopLST{%
  \immediate\openout\LSTfile=\LSTfileprefix.tmp
  \immediate\write\LSTfile{#2}%  Here I seek a solution for verbatim 
text!

  \immediate\closeout\LSTfile
  \immediate\write18{createListing.sh \LSTfileprefix #1}% #1 is for 
\lstset

  \externalfigure[\LSTfileprefix]
  \advance\LSTnum by 1
}

and then, the user types only:

\startLST[language=C]
main()
{
return 0;
}
\stopLST

It's already possible to do this with some further macros (\finishLST 
after

\stopLST for example), but I prefer only one \start/\stop pair.

Greetings, Peter



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






--

-
  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


[NTG-context] PSNFSS in new ConTeXt?

2005-06-02 Thread Matthias Weber


After doing some gardening at the really useful ConTeXtGarden, I found 
that


\starttext
\usetypescript [adobekb][\defaultencoding]
\setupbodyfont[pos]
\usetypescript[palatino][\defaultencoding]
\setupbodyfont[palatino,12pt]

Hello world!
\stoptext

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!)

Matthias

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


Re: [NTG-context] gwTeX+ConTeXT+new Latin Modern

2005-06-02 Thread Matthias Weber

Thanks, Gerben.
So this means that the new LMs are now in your i-Package, this is good 
news.

The bad news on my part is that using other fonts like

\starttext

\usetypescript[palatino][\defaultencoding]
\setupbodyfont[palatino,12pt]

Hello, World?

\stoptext

doesn't work anymore (it produces ugly bitmap fonts) and I have no clue
what's wrong with this time.

Matthias


On Jun 2, 2005, at 3:17 PM, Gerben Wierda wrote:

I know not of a LM release newer than what is in my TeX i-Package: LM 
0.98.3 but maybe I am not up to date with my knowledge?


G

On Jun 2, 2005, at 18:30, Matthias Weber wrote:


Hello,

I am trying to install the new ConTeXt version using Gerben't 
iinstaller on the Mac.
From what I see, I have to use the TeXLive 2005 (beta) distribution, 
and I have to
install the new Latin Modern fonts manually. The latter is causing me 
headaches,

I downloaded the fonts from
https://www.pragma-pod.com/context/current/cont-lmt.zip
but I don't know what to do with them, i.e. where to put them and
what spells to invoke to make them work.

Thanks,

Matthias

___
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


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


[NTG-context] Re: [NTG-pdftex] kerning

2005-06-02 Thread Hans Hagen

Taco Hoekwater wrote:


De document, and sources, are available at:

  http://tex.aanhet.net/temp/fontreader.pdf
  http://tex.aanhet.net/temp/fontreader.zip

Beware, the PDF is pretty large (7.7Mb). MetaPost, Perl and Context
sources are quite small (12kb), but very much a hack.


brilliant, you made my day

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] gwTeX+ConTeXT+new Latin Modern

2005-06-02 Thread Gerben Wierda
I know not of a LM release newer than what is in my TeX i-Package: LM 
0.98.3 but maybe I am not up to date with my knowledge?


G

On Jun 2, 2005, at 18:30, Matthias Weber wrote:


Hello,

I am trying to install the new ConTeXt version using Gerben't 
iinstaller on the Mac.
From what I see, I have to use the TeXLive 2005 (beta) distribution, 
and I have to
install the new Latin Modern fonts manually. The latter is causing me 
headaches,

I downloaded the fonts from
https://www.pragma-pod.com/context/current/cont-lmt.zip
but I don't know what to do with them, i.e. where to put them and
what spells to invoke to make them work.

Thanks,

Matthias

___
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] \stopbuffer in macro

2005-06-02 Thread Taco Hoekwater


This should help:

  \def\startLST[#1]%
{\def\stopLST{End of #1}%
 \dostartbuffer[LST][startLST][stopLST]}

This is almost the same as:

   \definebuffer[LST]
   \def\stopLST{End of LST}

Except that it is a little bit more low-level and thereby allows
an argument to \startLST. Using a local definition if \stopLST
is another trick, to lift the argument to the end of the buffer.

A less sophisticated  but clearer approach is:

   \def\startLST[#1]%
{\def\LSTArgs{#1}%
 \dostartbuffer[LST][startLST][stopLST]}

   \def\stopLST{End of \LSTArgs}

Full example:

  \def\startLST[#1]%
{\def\stopLST{End of #1}%
 \dostartbuffer[LST][startLST][stopLST]}

  \starttext
  \startLST[whatever]
  bla bla
  \stopLST
  alb alb
  \stoptext

You'll have to fill in the commands etc. yourself of course.

Greetings, Taco

Peter Münster wrote:

On Tue, 31 May 2005, Hans Hagen wrote:



\definebuffer[crap]

\setupbuffer[crap][before=\blank\bgroup here we start,after=and here we 
end\egroup\blank]



[...]

Hello Hans and Taco,
thank you for your hints, but I think, I did not explain my question well
enough...
I fact, all I need is to know, how I could write some verbatim text between
2 commands (\startXXX...\stopXXX) into a file, but with my own macros.
Here an example in detail:

\newcount\LSTnum
\newwrite\LSTfile
\def\LSTfileprefix{\jobname-LST\LSTnum}

\def\startLST[#1]#2\stopLST{%
  \immediate\openout\LSTfile=\LSTfileprefix.tmp
  \immediate\write\LSTfile{#2}%  Here I seek a solution for verbatim text!
  \immediate\closeout\LSTfile
  \immediate\write18{createListing.sh \LSTfileprefix #1}% #1 is for \lstset
  \externalfigure[\LSTfileprefix]
  \advance\LSTnum by 1
}

and then, the user types only:

\startLST[language=C]
main()
{
return 0;
}
\stopLST

It's already possible to do this with some further macros (\finishLST after
\stopLST for example), but I prefer only one \start/\stop pair.

Greetings, Peter



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


[NTG-context] multi-paged table with "continued"

2005-06-02 Thread Paul Tremblay
I need to create a multipage table that has the head on the top of
each page. For the first page, the head should read "Table Appendix
B.1: Stores in Country".

For subsequent pages, I need to add the word continued: "Table Appendix
B.1 (continued): Stores in Country"

I notice that when I create tables with the standard Table module, it
makes captions such as

table1a title
table1b title

Instead of 1a and 1b, I need the word "continued." 

Is there a way to do this with Table, or should I use TABLE and try to
set up something with  \bTABLEnext?

Thanks

Paul

-- 


*Paul Tremblay *
[EMAIL PROTECTED]*

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


Re: [NTG-context] long module-filenames

2005-06-02 Thread Peter Münster
On Wed, 1 Jun 2005, Vit Zyka wrote:

> Peter Münster wrote:
> > Hello,
> > 
> > I would like to use module names with more than 8 characters. Is this
> > possible, and if yes how?
> 
> AFAIK it was enabled in the beginning of this year.

Indeed, it seems to be enabled since version 2005.05.25.
So I'm going to update and try the newest version.
Thanks, Peter

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


[NTG-context] gwTeX+ConTeXT+new Latin Modern

2005-06-02 Thread Matthias Weber

Hello,

I am trying to install the new ConTeXt version using Gerben't 
iinstaller on the Mac.
From what I see, I have to use the TeXLive 2005 (beta) distribution, 
and I have to
install the new Latin Modern fonts manually. The latter is causing me 
headaches,

I downloaded the fonts from
https://www.pragma-pod.com/context/current/cont-lmt.zip
but I don't know what to do with them, i.e. where to put them and
what spells to invoke to make them work.

Thanks,

Matthias

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


Re: [NTG-context] \stopbuffer in macro

2005-06-02 Thread Peter Münster
On Tue, 31 May 2005, Hans Hagen wrote:

> \definebuffer[crap]
> 
> \setupbuffer[crap][before=\blank\bgroup here we start,after=and here we 
> end\egroup\blank]

[...]

Hello Hans and Taco,
thank you for your hints, but I think, I did not explain my question well
enough...
I fact, all I need is to know, how I could write some verbatim text between
2 commands (\startXXX...\stopXXX) into a file, but with my own macros.
Here an example in detail:

\newcount\LSTnum
\newwrite\LSTfile
\def\LSTfileprefix{\jobname-LST\LSTnum}

\def\startLST[#1]#2\stopLST{%
  \immediate\openout\LSTfile=\LSTfileprefix.tmp
  \immediate\write\LSTfile{#2}%  Here I seek a solution for verbatim text!
  \immediate\closeout\LSTfile
  \immediate\write18{createListing.sh \LSTfileprefix #1}% #1 is for \lstset
  \externalfigure[\LSTfileprefix]
  \advance\LSTnum by 1
}

and then, the user types only:

\startLST[language=C]
main()
{
return 0;
}
\stopLST

It's already possible to do this with some further macros (\finishLST after
\stopLST for example), but I prefer only one \start/\stop pair.

Greetings, 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] \definetyping[C][option=commands] and the tabulator

2005-06-02 Thread Peter Münster
On Tue, 31 May 2005, Hans Hagen wrote:

> \definetyping[C][option=commands,tab=8]
> 
> (just a few lines patch); i'll send you the files.

Thanks again for your efforts!

Just one last problem with vertical spacing in a frame:

\starttext
\framed[align=lohi]{%
\starttyping
test
\stoptyping
}
\stoptext

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] Re: [NTG-pdftex] kerning

2005-06-02 Thread Taco Hoekwater



Hans Hagen wrote:

Taco Hoekwater wrote:


PS. I can create a series of slides that show internals of the
font reading process for the ntg meeting, if you are interested.



sounds like a good idea to me


For those of you who are interested in this sort of thing, I've posted
an 884-page PDF document that illustrates TeX's loading of a few font
metric files:

  nullfont (internal)
  cmr10
  cmsy10
  cmex10

De document, and sources, are available at:

  http://tex.aanhet.net/temp/fontreader.pdf
  http://tex.aanhet.net/temp/fontreader.zip

Beware, the PDF is pretty large (7.7Mb). MetaPost, Perl and Context
sources are quite small (12kb), but very much a hack.

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


Re: [NTG-context] buffers and mathml

2005-06-02 Thread Taco Hoekwater

I tried defining a command

[...]

but that is plain wrong...


You are quite close. This works:

  \edef\Wea { .. }

(note the \edef)

and then:

  \expandafter
  \startbuffer
  \Wea
  \stopbuffer

The added \expandafter expands \Wea before \startbuffer comes into
play. I am puzzled as to why you want this weird input syntax.


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


[NTG-context] buffers and mathml

2005-06-02 Thread jimarin
Hi all,

I hope not to be posing a silly question.

I am trying something like:

usemodule[mathml]
\starttext

\def\open
{<}

\def\close
{>}

\startbuffer
\open math display="block"\close
\open apply\close \open sin/\close \open apply\close \open plus/\close
\open cn\close 2 \open /cn\close \open ci\close a \open /ci\close
\open /apply\close \open /apply\close
\open /math\close
\stopbuffer

\processXMLbuffer

\stoptext

But this does not pass to \processXMLbuffer the result of substituting
commands \open and \close...

how could this be achieved...?

I know that I could have used myself the < and >'s instead of the ugly open
and close but that is not my requirement.

I tried defining a command

\def\Wea
{
\open math display="block"\close
\open apply\close \open sin/\close \open apply\close \open plus/\close
\open cn\close 2 \open /cn\close \open ci\close a \open /ci\close
\open /apply\close \open /apply\close
\open /math\close
}

and then...

\startbuffer
\Wea
\stopbuffer

but that is plain wrong...



thanks

jima
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.788 / Virus Database: 533 - Release Date: 2004/11/01

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


Re: [NTG-context] Fleurons

2005-06-02 Thread John R. Culleton
On Wednesday 01 June 2005 11:53 pm, Hans Hagen wrote:
> Staszek Wawrykiewicz wrote:
> > Why? Anybody is free to make tfm files, as afm files are
> > always available for _that_ set of urw fonts.
>
> the problem is that there is a bunch of context users out there
> who think (are being told, whatever) that they should use the
> provided ones instead of generating them by texfont or afm2tfm
> (so they want to use the presumably present ones and not
> generate them by texfont, which is ok for me; but unfortunately
> they are not always there; and then they try the ps ones, which
> are only there for ec and not for texnansi and then ... and
> then ...)
>
> well, i give up on fonts ... maybe some day i just put metric
> files in the context zip (ec texnansi qx), why should i care
> about those few extra bytes
>

I use only the 8r encoding because I write/typeset in (American)
English and I need special characters like the copyright symbol.
the registered symbol, the trademark (tm) symbol and so on. Some
of these are not available in other encodings, or at least I
cannot find them. I understand that Europeans prefer other
encodings with good reason but 8r needs to remain in the scheme
of things IMO. 

I not only use plain tex, pdftex, Context etc. in my own work I
advertise these Open Source solutions as effective alternatives
to e.g., InDesign. To sell the system to new users requires a
K.I.S.S. approach. 

Is there a problem in Context with making the URW fonts the
default and then just aliasing the Adobe names to the URW versions?
The more we can hide these details the better. 

Font handling is the great Achilles heel of all flavors of TeX,
as we all know. Since Context is (relatively) new if we can
jigger things around so that the K.I.S.S. principle is adhered
to then selling the concept to new users will be easier. Too
many people in the printing world have horrid memories of LaTeX
from their college days or other earlier experience.

(K.I.S.S. = "Keep it simple silly.) 

> thanks for your patience

And thanks for Context!

-- 

John Culleton




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


Re: [NTG-context] Fleurons

2005-06-02 Thread Staszek Wawrykiewicz
On Thu, 2 Jun 2005, Hans Hagen wrote:

> Staszek Wawrykiewicz wrote:
> >   AFM and PFM files are supplied here for the sake of
> >   completeness only.  They are normally not required for use
> >   with TeX.

> this is not true, you need the afm's when you use them to make graphics
> in other progs that will then be used by tex; also, you need them in
> order to generate metrics for encodings other than teh shipped ones

Hans, I cited readme by Walter and tried to explain: there's no ready
tfm metrics for _those_ urw. Existing ones were generated for older, not 
so nice urw fonts.

> > In fact, nobody knows how the *old* mess with tfm, vf etc. fits
> > to more *new* urw pfb which are of better quality then the older ones. 
> > Anyway both distributions cannot be mixed. Not to say about packaging, etc.
> > So I introduced "urw35vf" (#3416) which contains all (historical) stuff
> > for those using urw fonts directly (.vf, .tfm, .fd, .sty files).
> > Everybody has freedom using them from TL. Thomas removed such stuff
> > from teTeX as simply garbage.
> 
> he's free to do that but it sounds strange and dangerous to me

Why? Anybody is free to make tfm files, as afm files are always 
available for _that_ set of urw fonts.
 
-- 
Staszek Wawrykiewicz
[EMAIL PROTECTED]

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


Re: [NTG-context] Re: [NTG-pdftex] unwanted font replacement during inclussion

2005-06-02 Thread Vit Zyka

Hartmut Henkel wrote:

On Wed, 1 Jun 2005, Vit Zyka ">" wrote:



I noticed the next strange behaviour. Let us create very simple file test.tex:
--
\font\bf=cmbx12
Normal text. \bf Bold text.
\end
--
Now include this file by plain pdftex:
--
\pdfximage{test.pdf}
\pdfrefximage\pdflastximage
\end
--
Everything is correct. No let us try to insert the file by context:
--
\starttext
%\font\bf=cmbx12
%Normal text. \bf Bold text.
\pdfximage{test.pdf}
\pdfrefximage\pdflastximage
\stoptext
--



< I noticed the result is smashed by plain pdftex.  And that is correct.
< And that is typeset with totaly different font is correct.  I
< uncomment two lines, so the attached file by plain pdftex.  I though
< that is the next strange behaviour: problem? I noticed the next
< strange behaviour; included file.  I uncomment two lines, so the
< included file, Now I though that is typeset with totaly different font
< is correct.  I though that is the file, by plain pdftex related then
< context: related then context related then context.  I noticed the
< result is the next strange behaviour.



H, now I feel it is more pdftex-related then context-related
question.



i can't reproduce it here with your files, it looks ok, but the
mechanism is that the font comparison is made by the name in the 2nd
column of the map file, and only if this matches the fontname in the
embedded file, the font file given the end of the map line is taken. E.
g. one can force a probably similar problem by (devious)

\pdfmapline{cmbx12 CMBX12 

I see. Thank you, Hartmut, for explanating font inclusion mechanism. I 
will cope the problem.


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


Re: [NTG-context] Fwd: Context question

2005-06-02 Thread Vit Zyka

Taco Hoekwater wrote:

Vit Zyka wrote:


Adam Lindsay wrote:


Has anyone got a solution/approach/example at hand?

 Begin Forwarded Message 
Subject: Re: (Stupid) Context question
Date Sent: Wednesday, June 1, 2005 20:57
From: Musa Furber <[EMAIL PROTECTED]>
To: Adam Lindsay <[EMAIL PROTECTED]>

Something I cannot do with LaTeX that I would like to be able to do 
is have the text on the first page be single column and starting with 
the second page have the text be double column - even if the page 
transition is in the middle of a paragraph.


Is this possible to do with ConTeXt?



I think so, see manual columns.pdf



But it is not possible to switch completely automatically, even
without a  mid-paragraph pagebreak, I'm afraid.


I believe that columset mechanism (based on pouring \parshape from 
paragraph to paragraph and output routine support) can do it. Even in 
the manual is an example. But I share your doubts in case of some 
complex pages (floats, margins, marks). But plain text should be OK.


I am curious about the practical experience.
vit
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


[NTG-context] Re: [NTG-pdftex] unwanted font replacement during inclussion

2005-06-02 Thread Taco Hoekwater



Hartmut Henkel wrote:

Then the CMBX12 font coming with the embedded test.pdf would match
CMBX12 and this would be replaced by cmtt10.pfb. So it seems that
something must be wrong with the map file.


There is a (fairly serious) bug in two of the context-supplied Latin
Modern .map files:

  context-base.map:148:cmbx5 CMBX12http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] textools ne woption

2005-06-02 Thread Taco Hoekwater



Hans Hagen wrote:

Hi,

Tonight I had to generate linux binaries (due to serious bug in the 
pdftex 1.21 that runs on the server; btw, generating 64 bits version 
fails somehow) and afterwards i had to merge the new files into my trees


so .. i extendedtextools

  textools --merge oldroot newroot(trial run, add --force to really 
do it)


like in

  textools --merge /tmp/tetex  /data/tex/texmf-linux  --force

only newer files will be merged and some checking is done


Nice, thanks!

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


Re: [NTG-context] Fleurons

2005-06-02 Thread Staszek Wawrykiewicz
On Tue, 31 May 2005, Karl Berry wrote:

> this differes per year; i keep changing these names and always lag
> behind one tex live version
>  
> TL has always distributed both pzdr.tfm and uzdr.tfm.  I don't have an
> easy way to check the situation in teTeX.

teTeX has only pzdr.tfm. See below for reasons.
 
> one of the previous tex lives someone moved the urw's to some 35vf
> folder, after that things went bad (got lost and such); i discussed
> this with Staszek and he reverted it;
> 
> Starting in TL 2003, uzdr.tfm was indeed put under urw35vf instead of
> just urw.  I do not know/remember why, or who did it (though we could
> check the logs), or what "got lost" as a result.  It is also still the
> case in the current sources, so I also don't know what you mean by
> Staszek "reverted it".  Staszek, what did you do?

I can explain it once again. In 2003 all that urw mess was hopefully
cleaned on CTAN and then on TL. Discussion started on 6 june and on 
24 july that's me, who cleaned it for TL. The *base* 35 urw fonts (only
afm and pfm/pfb) were prepared *after* all that urw tfm, vf etc. support
files were made.

>From README.base35
  TeX systems can use these fonts as drop-in replacements for
  Adobe's PostScript Base fonts, which are not free.  No
  particular TeX metrics, virtual fonts or macro files are
  provided for URW's base fonts.  They are to be used with the
  same support files as Adobe's originals, i.e., with the
  files of the PSNFSS collection.

  AFM and PFM files are supplied here for the sake of
  completeness only.  They are normally not required for use
  with TeX.

In fact, nobody knows how the *old* mess with tfm, vf etc. fits
to more *new* urw pfb which are of better quality then the older ones. 
Anyway both distributions cannot be mixed. Not to say about packaging, etc.
So I introduced "urw35vf" (#3416) which contains all (historical) stuff
for those using urw fonts directly (.vf, .tfm, .fd, .sty files).
Everybody has freedom using them from TL. Thomas removed such stuff
from teTeX as simply garbage.

> Meanwhile, the afm and pfb are under just urw/.  It seems odd, though I
> can imagine how it could happen.

??? Everything is OK: fonts/afm/urw/ and fonts/type1/urw/

> Clearly the URW fonts are not 100% identical to the Adobe fonts, but in
> practice we have to accept the URW Type 1's under the p* names, because
> the p* names are what most documents have historically used.  We can't
> suddenly make those documents unusable, that would be disastrous.
 
> For that matter, the Adobe fonts themselves have changed over the
> years.  Nothing is perfect.

Right.
 
> but context (users) expect the whole set of urw (afm & pfb) to be
> present because they generate other encodings and such;
> 
> uzdr.afm and uzdr.pfb are both in the current TL sources, and always
> have been.  I know of no reason or suggestion to delete them.

They are as well present in teTeX. 

>   i think that we need to get rid of the urw mappings in the aliases file
> 
> I agree.  I have now deleted the aliases file altogether from the TL
> sources.  We'll see how that flies.  I don't know if that will change
> anything wrt gwTeX, though.

Ahh, I see! aliases could cause problems. Thanks for deleting that file.

Best,

-- 
Staszek Wawrykiewicz
[EMAIL PROTECTED]

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


Re: [XeTeX] Re: [NTG-context] ConTeXt-XeTeX question

2005-06-02 Thread Jonathan Kew

On 1 Jun 2005, at 2:15 pm, Adam Lindsay wrote:


[I'm copying to the XeTeX list--this may not be ConTeXt-specific. -atl]
Dalyoung said this at Wed, 1 Jun 2005 22:03:37 +0900:


1) Recently, I upgraded ConTeXt new version and got a problem in
compilation. However,  after upgrading texexec and creating format
files, it is working fine with some warning messages as following:

WARNING: Type1 font data returned by OFAStreamPSDownload isn't in
the correct format required by the Adobe Type 1 Font Format
specification.
WARNING: Type1 font data returned by OFAStreamPSDownload isn't in
the correct format required by the Adobe Type 1 Font Format
specification.
WARNING: Type1 font data returned by OFAStreamPSDownload isn't in
the correct format required by the Adobe Type 1 Font Format
specification.


I noticed this too on my recent re-install. I presume it's an issue 
with
legacy type1 .pfb files being wrapped in a Mac format. However, I am 
not

100% certain this issue is independent of XeTeX on Tiger: I didn't
really test the previous ConTeXt with XeTeX on 10.4.


It's a XeTeX+Tiger issue, not related to the specific format being used 
but to the way we're supporting .pfb fonts (which the OS doesn't really 
support). Something changed between Panther and Tiger that made this 
start happening, although the output still seems to be OK (in 
particular, the .pfb fonts that the warnings relate to still seem to 
render fine).


I have reported this to Apple and am trying to determine whether it is 
in fact a problem with what XeTeX is doing (in which case I need some 
more information on just what is wrong), or an Apple problem. Maybe I 
can get some answers at WWDC next week, if I can corner the right 
people.





I don't know the causes of these warnings. I am using personal
script file for Korean, but there was no warning before in the same
condition.


The first thing to figure out is if XeLaTeX users encounter this as 
well

on Tiger when using legacy fonts.


Yes, they will, but if they're running from an environment like TeXShop 
rather than Terminal, they may not have noticed the messages, as 
they'll appear only in the system log, which most people don't usually 
look at.


JK

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


Re: [NTG-context] Fwd: Context question

2005-06-02 Thread Taco Hoekwater

Vit Zyka wrote:

Adam Lindsay wrote:


Has anyone got a solution/approach/example at hand?

 Begin Forwarded Message 
Subject: Re: (Stupid) Context question
Date Sent: Wednesday, June 1, 2005 20:57
From: Musa Furber <[EMAIL PROTECTED]>
To: Adam Lindsay <[EMAIL PROTECTED]>

Something I cannot do with LaTeX that I would like to be able to do is 
have the text on the first page be single column and starting with the 
second page have the text be double column - even if the page 
transition is in the middle of a paragraph.


Is this possible to do with ConTeXt?


I think so, see manual columns.pdf


But it is not possible to switch completely automatically, even
without a  mid-paragraph pagebreak, I'm afraid.

If your text is essentially a novella, then you can probably write a
special case macro, but that would be true of LaTeX as well. I don't
think the columnsets have support for automatic (and mid-paragraph)
switching (i could be wrong).

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