[NTG-context] ConTeXt updater i-Package blocked

2006-01-09 Thread Gerben Wierda
I blocked the ConTeXt-updater i-Package until the problems discussed  
on the ConTeXt list are solved. Normally I would not do that because  
unstable stuff is mostly done via beta releases, but this release  
does not have a beta and if I read the list I understand there are  
font problems. So I have blocked it to prevent an accidental update  
by users.


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


Re: [NTG-context] Context 2006.01.09 released

2006-01-09 Thread VnPenguin
On 1/9/06, Hans Hagen <[EMAIL PROTECTED]> wrote:
> >
> >Just update to this release, and ... ConTeXt stops work with my files :(
> >
> >
> ah ... sorry ... i hate this font name mess
>
> in type-akb.tex search for:
>
> \starttypescript [adobekb,berry] [t5]
>
> and comment this typescript (see attached file)
>
> if that works ok, i'll make a new zip
>
> Now this is a persistent problem
>
> - some distributions only ship with the u* font files
> - others with the p* font files
> - it even changes now and then
> - and it was suggested that nowadays p* would work everywhere
> - which it doesn't
> - because vietnamese does not have p* files
> - so we need to use u* ones
> - till someone tells me to use p* ones
> - which, of course, then will not be available everywhere
> - and so on
>
> so, now it looks like we end up with a mixture of p* for non vietnamese
> and u* for vietnamese
>
> (an option is to use the cont-fnt zip file and forget about
> adobekb/berry naming but i didn't test it with vietnamese [yet])
>
> Hans
>

I updated the file, rebuild data (texexec --make --all . like wiki page)
But that does not help, there are now another errors:

...
(/work/apps/teTeX/share/texmf-local/tex/context/base/type-map.tex)
(/work/apps/teTeX/share/texmf-local/tex/context/base/type-spe.tex)
(/work/apps/teTeX/share/texmf-local/tex/context/base/type-akb.tex))kpathsea:
Running mktextfm t5-uplr8a
/work/apps/teTeX/share/texmf/web2c/mktexnam: Could not map typeface
abbreviation 5- for t5-uplr8a.
/work/apps/teTeX/share/texmf/web2c/mktexnam: Need to update
/work/apps/teTeX/share/texmf-dist/fonts/map/fontname/special.map?
mktextfm: Running mf-nowin -progname=mf \mode:=ljfive; mag:=1;
nonstopmode; input t5-uplr8a
This is METAFONT, Version 2.71828 (Web2C 7.5.4)

kpathsea: Running mktexmf t5-uplr8a
! I can't find file `t5-uplr8a'.
<*> ...jfive; mag:=1; nonstopmode; input t5-uplr8a

Please type another input file name
! Emergency stop.
<*> ...jfive; mag:=1; nonstopmode; input t5-uplr8a

Transcript written on mfput.log.
grep: t5-uplr8a.log: No such file or directory
mktextfm: `mf-nowin -progname=mf \mode:=ljfive; mag:=1; nonstopmode;
input t5-uplr8a' failed to make t5-uplr8a.tfm.
kpathsea: Appending font creation commands to missfont.log.

! Font \*palatino12ptrmtf*:=t5-uplr8a at 12.0pt not loadable: Metric (TFM) file
 not found.

   \relax
\xxdododefinefont ...tspec {#4}\newfontidentifier
  \let \localrelativefontsiz...

\fontstrategy ...me \fontclass #2#3#4#5\endcsname
  \tryingfontfalse \fi
 ...yle \fontalternative \fontsize
  \fi \iftryingfont \fontstr...

\synchronizefont ...strategy \the \fontstrategies
  \relax \fi \iftryingfont \...
 \getvalue [EMAIL PROTECTED]@ \fontstyle }
   \edef \fontstyle {\fontstyle }\if...
...
l.176   \setupbodyfont[palatino,12pt]


FYI,

Cheers,
--
http://vnoss.org
Vietnamese Open Source Software Community
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Right-to-left typesetting in Farsi for Context.

2006-01-09 Thread Hans Hagen

John R. Culleton wrote:


First I ask the question: is Context the right tool for rtl
typesetting of e.g, Farsi? 


Second I would like a reference to the pertinent Context manual
or module for such typesetting. 


Finally I would like to know if there is a typescript extant for
Farsi (Persian) wich I believe uses the Arabic alphabet with some
modifications. 
 

well, idris is using context for professional publications so rlt is 
possible ...


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


Re: [NTG-context] framed texts for boxing stuff

2006-01-09 Thread Hans Hagen

Maurice Diamantini (dom) wrote:

Not sure what exactly is "vboxes" (something you can put in hbox? yes  
it is) but LaTeX

raisebox, parbox, minipage can be put inside a text line.
minipage can manage its ones footnote, but this is not the question  
here.
As the "LaTeX++" concurrent package designer, you should read some  
page of the

LaTeX reference documentation "A document Preparation System"
It is little book  (272 pages with the index !) and cover the core of  
the

package.


hm, i prefer to start from user demands and personal needs; we used 
latex for a very short time and i don't remember mini pages -)




Page 103 to 110 are related to boxes, and is what is missing in context.

I'm not sure that ConTeXt \framed command is able to reproduce
the parbox behavior (position a framed box relatively to its internal  
top

or bottom line and the outside baseline)


i think we can safely assume that all these things are available somehow 
(supp-box.tex implements a lot of box types)


normally \framed can do what's needed, so in your case, if you can make 
clear what you want to achieve i'm sure that someone on this list can 
provide the answer





in most cases you can use framed (make sure that you set 'align' to  
something in order

to enter vmode)

framedtext is a bit more clever and handles some spacing issues



With your help, and some old reference doc and the wiki
(http://wiki.contextgarden.net/Vertically_Centered_Boxes)
I tested the following "one line text" which works.

(My version of TeXExec 5.2.4 doesn't seem to support \startframed and
\stopframed so I use \framed instead).


\starttext

  % align:no left right middle normal high low lohi justified
  % location: low depth hanging
  a word and --%
\framed[width=.2\textwidth,  align=flushright, location=depth]{
some stuff
}%
--%
\framed[height=3em,width=11em, align={flushleft,lohi},  
location=hanging]{

other stuff
}%
--%
  another word, same line

\stoptext

But more generaly, there is a frequent need about boxing stuff and it
seems that the \framed command is the way to go. But it's not always
easy to guess the various parameters to get an expected behavior.
So what is the current reference documentation about framed
  - Context the manual (page 206) ?
  - ConTeXt an excursion (page 45) ?


the manual as well as examples inside the core-ful.tex file

the most important properties of framed are

- offset (none,overlay, dimension)
- align (all kind of combinations)
- width/height (dimension or keyword)
- strut (yes|no)

just play a bit with it and you'll see the picture



Such a command is usefull inside some "hardcoded" slide.
And there could be a "\boxed" or "\cell" macro with default
"frame=off" parameters just to serve as special tabular cell.

I think there has to be two pairs of informations to position a
box (i.e. a "cell" text):
- how is the box is positioned relatively to its environment (the  
location=

  keyword I think),


no, location is limited to a few options; you can use macros like 
\offset[...]{} or other box positioning macros; layers are also an option



- how to position the stuff **inside** the box (align= keyword)

What is the need for these 2 parameters :

- inside the box : everywhere. that implies two reals numbers
  between 0.0 and 1.0 (perhaps wider?)


what are those numbers representing?


  with some keyword for predefined values (flushleft, middle,  flushright
  low, high, lohi and baseline,
  (vjustified, justified=hjustified serve another feature)

- outside the box : only verticaly ?
  one real number [0.0..1.0] plus low depth (=base?) hanging (=top)
  Here a parbox provide an option for aligning the external baseline
  on the "top" ou "bottom" internal line.
  How can I simply optain the "0.5 = vertical middle"

  Probably the positionning parameters for outside the box are more
  complicated : more than the internal reference point mention above is
  to which external reference point the inetrenal point should be
  aligned to ?
  Generaly the baseline of the parent is the choosen one, but  perhaps 
one
  like to use the "0.5ex hight" one as in minus sign in the "3-2,"  
string

  (but the TeX command \raise0.5ex could do that)


indeed, \raise and \lower and cousins can come in handy 


(what do you use those mini mages for?)

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


Re: [NTG-context] Context 2006.01.09 released

2006-01-09 Thread Hans Hagen

VnPenguin wrote:


On 1/9/06, Taco Hoekwater <[EMAIL PROTECTED]> wrote:
 


Hello all,

I am pleased to announce that the new ConTeXt release from Hans Hagen
can be downloaded as of now from the Pragma ADE website or one of its
mirrors.

  http://www.pragma-ade.com/context/current/cont-tmf.zip
  http://context.aanhet.net/context/current/cont-tmf.zip
  http://mirror.contextgarden.net/context/current/cont-tmf.zip

The current release has version 2006.01.09.

   



Just update to this release, and ... ConTeXt stops work with my files :(
 


ah ... sorry ... i hate this font name mess

in type-akb.tex search for:

\starttypescript [adobekb,berry] [t5]

and comment this typescript (see attached file)

if that works ok, i'll make a new zip

Now this is a persistent problem

- some distributions only ship with the u* font files
- others with the p* font files
- it even changes now and then
- and it was suggested that nowadays p* would work everywhere
- which it doesn't
- because vietnamese does not have p* files
- so we need to use u* ones
- till someone tells me to use p* ones
- which, of course, then will not be available everywhere
- and so on

so, now it looks like we end up with a mixture of p* for non vietnamese 
and u* for vietnamese


(an option is to use the cont-fnt zip file and forget about 
adobekb/berry naming but i didn't test it with vietnamese [yet])


Hans
%D \module
%D   [   file=type-akb,
%Dversion=2001.07.08,
%D  title=\CONTEXT\ Typescript Macros,
%D   subtitle=Adobe's Famous Gang of Fonts,
%D author=Patrick Gundlach,
%D   date=\currentdate,
%D  copyright={Patrick Gundlach / PRAGMA}]
%C
%C This module is part of the \CONTEXT\ macro||package and is
%C therefore copyrighted by \PRAGMA. See mreadme.pdf for
%C details.

%D Last Change: Tue Mar 18 16:01:03 2003

%D This module is written by Patrick Gundlach ([EMAIL PROTECTED])
%D and maps to the standard postscript fonts conforming the
%D psnfss system as used by \LaTeX.
%D
%D \starttyping
%D \setupencoding[default=texnansi]
%D \usetypescript[adobekb][\defaultencoding]
%D \stoptyping
%D
%D The following is not needed since the file is already
%D registered:
%D
%D \starttyping
%D \usetypescriptfile[akb]
%D \stoptyping

\starttypescriptcollection[adobe kb mappings]

\starttypescript [adobekb] [8r]

\loadmapfile[8r-base.map]

\definefontsynonym [8r-utmr8a] [ptmr8r]  [encoding=8r]
\definefontsynonym [8r-utmri8a][ptmri8r] [encoding=8r]
\definefontsynonym [8r-utmb8a] [ptmb8r]  [encoding=8r]
\definefontsynonym [8r-utmbi8a][ptmbi8r] [encoding=8r]

\definefontsynonym [8r-utmr8a-slanted-167] [ptmro8r] [encoding=8r]
\definefontsynonym [8r-utmb8a-slanted-167] [ptmbo8r] [encoding=8r]

\definefontsynonym [8r-uhvr8a] [phvr8r]  [encoding=8r]
\definefontsynonym [8r-uhvro8a][phvro8r] [encoding=8r]
\definefontsynonym [8r-uhvb8a] [phvb8r]  [encoding=8r]
\definefontsynonym [8r-uhvbo8a][phvbo8r] [encoding=8r]

\definefontsynonym [8r-ucrr8a] [pcrr8r]  [encoding=8r]
\definefontsynonym [8r-ucrb8a] [pcrb8r]  [encoding=8r]
\definefontsynonym [8r-ucrro8a][pcrro8r] [encoding=8r]
\definefontsynonym [8r-ucrbo8a][pcrbo8r] [encoding=8r]

\definefontsynonym [8r-uplr8a] [pplr8r]  [encoding=8r]
\definefontsynonym [8r-uplri8a][pplri8r] [encoding=8r]
\definefontsynonym [8r-uplb8a] [pplb8r]  [encoding=8r]
\definefontsynonym [8r-uplbi8a][pplbi8r] [encoding=8r]
\definefontsynonym [8r-uplr8a-slanted-167] [pplro8r] [encoding=8r]
\definefontsynonym [8r-uplb8a-slanted-167] [pplbo8r] [encoding=8r]
\definefontsynonym [8r-uplr8a-capitalized-800] [pplr8r]  [encoding=8r]

\definefontsynonym [8r-ubkl8a] [pbkl8r]  [encoding=8r]
\definefontsynonym [8r-ubkli8a][pbkli8r] [encoding=8r]
\definefontsynonym [8r-ubkd8a] [pbkd8r]  [encoding=8r]
\definefontsynonym [8r-ubkdi8a][pbkdi8r] [encoding=8r]
\definefontsynonym [8r-ubkl8a-slanted-167] [pbklo8r] [encoding=8r]
\definefontsynonym [8r-ubkd8a-slanted-167] [pbkdo8r] [encoding=8r]
\definefontsynonym [8r-ubkl8a-capitalized-800] [pbkl8r]  [encoding=8r]

\definefontsynonym [8r-uzcmi8a][pzcmi8r] [encoding=8r]

\definefontsynonym [8r-putr8a] [putr8r]  [encoding=8r]
\definefontsynonym [8r-putri8a][putri8r] [encoding=8r]
\definefontsynonym [8r-putb8a] [putr8r]  [encoding=8r]
\definefontsynonym [8r-putbi8a][putbi8r] [encoding=8r]
\definefontsynonym [8r-putr8a-slanted-167] [putro8r] [encoding=8r]
\definefontsynonym [8r-putb8a-slanted-167] [putbo8r] [encoding=8r]
\definefontsynonym [8r-putr8a-capitalized-800] [putr8r]  [encoding=8r]

\definefontsynonym [8r-bchr8a] [bchr8r]  [encoding=

[NTG-context] Right-to-left typesetting in Farsi for Context.

2006-01-09 Thread John R. Culleton
First I ask the question: is Context the right tool for rtl
typesetting of e.g, Farsi? 

Second I would like a reference to the pertinent Context manual
or module for such typesetting. 

Finally I would like to know if there is a typescript extant for
Farsi (Persian) wich I believe uses the Arabic alphabet with some
modifications. 
-- 
John Culleton
Books with answers to marketing and publishing questions:
http://wexfordpress.com/tex/shortlist.pdf

Book coaches, consultants and packagers:
http://wexfordpress.com/tex/packagers.pdf


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


Re: [NTG-context] framed texts for boxing stuff

2006-01-09 Thread Maurice Diamantini (dom)

Le 9 janv. 06 à 11:52, Hans Hagen a écrit :

If it is impossible, is there any equivalent to de minipage or   
\parbox LaTeX

equivalent?


i dunno what those are, vboxes?


Not sure what exactly is "vboxes" (something you can put in hbox? yes  
it is) but LaTeX

raisebox, parbox, minipage can be put inside a text line.
minipage can manage its ones footnote, but this is not the question  
here.
As the "LaTeX++" concurrent package designer, you should read some  
page of the

LaTeX reference documentation "A document Preparation System"
It is little book  (272 pages with the index !) and cover the core of  
the

package.

Page 103 to 110 are related to boxes, and is what is missing in context.

I'm not sure that ConTeXt \framed command is able to reproduce
the parbox behavior (position a framed box relatively to its internal  
top

or bottom line and the outside baseline)


in most cases you can use framed (make sure that you set 'align' to  
something in order

to enter vmode)

framedtext is a bit more clever and handles some spacing issues


With your help, and some old reference doc and the wiki
(http://wiki.contextgarden.net/Vertically_Centered_Boxes)
I tested the following "one line text" which works.

(My version of TeXExec 5.2.4 doesn't seem to support \startframed and
\stopframed so I use \framed instead).


\starttext

  % align:no left right middle normal high low lohi justified
  % location: low depth hanging
  a word and --%
\framed[width=.2\textwidth,  align=flushright, location=depth]{
some stuff
}%
--%
\framed[height=3em,width=11em, align={flushleft,lohi},  
location=hanging]{

other stuff
}%
--%
  another word, same line

\stoptext

But more generaly, there is a frequent need about boxing stuff and it
seems that the \framed command is the way to go. But it's not always
easy to guess the various parameters to get an expected behavior.
So what is the current reference documentation about framed
  - Context the manual (page 206) ?
  - ConTeXt an excursion (page 45) ?

Such a command is usefull inside some "hardcoded" slide.
And there could be a "\boxed" or "\cell" macro with default
"frame=off" parameters just to serve as special tabular cell.

I think there has to be two pairs of informations to position a
box (i.e. a "cell" text):
- how is the box is positioned relatively to its environment (the  
location=

  keyword I think),
- how to position the stuff **inside** the box (align= keyword)

What is the need for these 2 parameters :

- inside the box : everywhere. that implies two reals numbers
  between 0.0 and 1.0 (perhaps wider?)
  with some keyword for predefined values (flushleft, middle,  
flushright

  low, high, lohi and baseline,
  (vjustified, justified=hjustified serve another feature)

- outside the box : only verticaly ?
  one real number [0.0..1.0] plus low depth (=base?) hanging (=top)
  Here a parbox provide an option for aligning the external baseline
  on the "top" ou "bottom" internal line.
  How can I simply optain the "0.5 = vertical middle"

  Probably the positionning parameters for outside the box are more
  complicated : more than the internal reference point mention above is
  to which external reference point the inetrenal point should be
  aligned to ?
  Generaly the baseline of the parent is the choosen one, but  
perhaps one
  like to use the "0.5ex hight" one as in minus sign in the "3-2,"  
string

  (but the TeX command \raise0.5ex could do that)

-- Maurice


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


Re: [NTG-context] Context 2006.01.09 released

2006-01-09 Thread VnPenguin
On 1/9/06, Taco Hoekwater <[EMAIL PROTECTED]> wrote:
> Hello all,
>
> I am pleased to announce that the new ConTeXt release from Hans Hagen
> can be downloaded as of now from the Pragma ADE website or one of its
> mirrors.
>
>http://www.pragma-ade.com/context/current/cont-tmf.zip
>http://context.aanhet.net/context/current/cont-tmf.zip
>http://mirror.contextgarden.net/context/current/cont-tmf.zip
>
> The current release has version 2006.01.09.
>

Just update to this release, and ... ConTeXt stops work with my files :(

Example:
\language[vn]
\mainlanguage[vn]
\setuppapersize[A4]
\enableregime[utf]
\setupencoding[default=t5]

\usetypescript[berry][t5]
\usetypescript[palatino][t5]
\setupbodyfont[palatino,12pt]
\starttext
. UTF8 text here ...
\stoptext

Error:
(/work/apps/teTeX/share/texmf-local/tex/context/base/type-akb.tex))kpathsea:
Running mktex  tfm pplr8v
mktextfm: Running mf-nowin -progname=mf \mode:=ljfive; mag:=1;
nonstopmode; input pplr8v
This is METAFONT, Version 2.71828 (Web2C 7.5.4)

kpathsea: Running mktexmf pplr8v
! I can't find file `pplr8v'.
<*> ...:=ljfive; mag:=1; nonstopmode; input pplr8v

Please type another input file name
! Emergency stop.
<*> ...:=ljfive; mag:=1; nonstopmode; input pplr8v

Transcript written on mfput.log.
grep: pplr8v.log: No such file or directory
mktextfm: `mf-nowin -progname=mf \mode:=ljfive; mag:=1; nonstopmode;
input pplr8v' failed   to make pplr8v.tfm.
kpathsea: Appending font creation commands to missfont.log.

! Font \*palatino12ptrmtf*:=pplr8v at 12.0pt not loadable: Metric (TFM) file no
t found.

   \relax
\xxdododefinefont ...tspec {#4}\newfontidentifier
  \let \localrelativefontsiz...

\fontstrategy ...me \fontclass #2#3#4#5\endcsname
  \tryingfontfalse \fi
 ...yle \fontalternative \fontsize
  \fi \iftryingfont \fontstr...

\synchronizefont ...strategy \the \fontstrategies
  \relax \fi \iftryingfont \...
 \getvalue [EMAIL PROTECTED]@ \fontstyle }
   \edef \fontstyle {\fontstyle }\if...
...
l.9 \setupbodyfont[palatino,12pt]



Again I see this error related to ... Palatino fonts :(
I search:

$ find /usr/local/teTeX/share -name "*pplr8v*"

Gives me nothing :(
How to fix it please.

TIA

--
http://vnoss.org
Vietnamese Open Source Software Community
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


[NTG-context] i-Installer / minimal TeX installation for ConTeXt?

2006-01-09 Thread David Wooten

Greetings all,

By and by I've found that I am only using ConTeXt for my typesetting  
needs. I am curious as to whether someone can advise me how best to  
install a suitable yet minimal TeX installation:  without LaTeX, etc.  
I am currently using Gerben's very helpful i-Installer.


Perhaps it would vary too much between users to say definitively?

In any case,
Thanks very much
David 
___

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


Re: [NTG-context] Context 2006.01.09 released

2006-01-09 Thread Jilani Khaldi



I am pleased to announce that the new ConTeXt release from Hans Hagen
can be downloaded as of now from the Pragma ADE website or one of its
mirrors.


Is there a particular procedure (read sinple) to update MikteX (for 
Windows) without breaking the already installed distribution? Or to wait 
for a while until a MikTeX Update is ready?

Thanks!

jk

--
Jilani KHALDI
http://jkhaldi.oltrelinux.com

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


Re: [NTG-context] Spacing problem (mixing Chinese with Latin characters)

2006-01-09 Thread Hans Hagen

Tobias Burnus wrote:


Hello,

if I type "[]" the output is "[]". (Example 
attached.)
I addition I observed that ";" will have a line break like 
";" which looks quite ugly.
(The ";" and "[]" are half-width Characters, i.e. the normal Latin 
characters and not those which are as wide as a Chinese character.


Question: In the transliterization of Chinese the characters
\definecharacter acaron   {\buildtextaccent\textcaron a} % U+01CE
\definecharacter icaron   {\buildtextaccent\textcaron 
\dotlessi} % Unicode U+01D0

\definecharacter ocaron   {\buildtextaccent\textcaron o} % U+01D2
\definecharacter ucaron   {\buildtextaccent\textcaron u} % U+01D4


ok, i added those to enco-def (those then also need to go into the lm 
complient fonts)


appear which are in the unicode block "Latin Extended B". Should/Could 
they be added?

http://www.unicode.org/charts/PDF/U0180.pdf


sure, just patch the right unic-*.tex vector and send me the file

Hans

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


Re: [NTG-context] Spacing problem (mixing Chinese with Latin characters)

2006-01-09 Thread Hans Hagen

Tobias Burnus wrote:


Hello,

if I type "[]" the output is "[]". (Example 
attached.)


no example  here

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


[NTG-context] Spacing problem (mixing Chinese with Latin characters)

2006-01-09 Thread Tobias Burnus

Hello,

if I type "[]" the output is "[]". (Example 
attached.)
I addition I observed that ";" will have a line break like 
";" which looks quite ugly.
(The ";" and "[]" are half-width Characters, i.e. the normal Latin 
characters and not those which are as wide as a Chinese character.


Question: In the transliterization of Chinese the characters
\definecharacter acaron   {\buildtextaccent\textcaron a} % U+01CE
\definecharacter icaron   {\buildtextaccent\textcaron 
\dotlessi} % Unicode U+01D0

\definecharacter ocaron   {\buildtextaccent\textcaron o} % U+01D2
\definecharacter ucaron   {\buildtextaccent\textcaron u} % U+01D4
appear which are in the unicode block "Latin Extended B". Should/Could 
they be added?

http://www.unicode.org/charts/PDF/U0180.pdf

Tobias


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


Re: [NTG-context] How to break laws in physics?

2006-01-09 Thread Hans Hagen

Mojca Miklavec wrote:


\definetypeface [iwona] [mm] [math] [iwona] [default]
\setupbodyfont[iwona]

${\partial\rho\over\partial t}+\vec{\nabla}\vec{\jmath}=0$

(If I fail on the exam, I'll try to explain to professor that I found
a few mistakes in the Maxwell equations and lost the whole time trying
to fix them before I was able to learn further :)
 

ok, so  it's may fault that you failed that examn ... if so ... at 
eurotex/bachotex i'll buy you a beer





I've found three "kind-of-bugs" in font itself (\jmath and \imath were
missing, \partial is mirrored, vectors placed strangely - the latter
may not be connected with the font itself).
 


can you communicate this with J&J ...


So I tried to redefine \jmath to use dotlessj from italic version of
font and found another "bug" in ConTeXt. dotlessj is commented out in
enco-ec.tex. Well, I understand that it may not be present in every
font, but it's worse: it's already defined in the default encoding, so
\dotlessj results in double quotes, which is worse than no char at
all. enco-ec has some other faults present, I tried to fix a few of
them ([t|s]cedilla should be [t|s]commaaccent, \Eth and \eth were
commented out, while they are OK, one glyph is present twice, I
redefined it to map to the first slot, since usually the second one is
empty, upper/lower casing may still need some revision).

Is there any chance that any numerical definitions of characters
disappear from enco-def slowly? If anyone is using any other encoding
than the standard one, the characters map to something completely
weird then.
 

actually all chars in enco-def that use funny numbers should be present 
in a (math) font vector; better a wrong something that nothing (we need 
a fallback)


the alternative is to have a def which is mostly mapping to nothing and 
then make the tex encoding on top of that (quite an effort and it may 
temporary introduce bugs)



Some fixes for enco-def:

% DELETE THIS ONE: IT'S WORSE THAN NOTHING
\definecharacter eth  {\dstroke} % wrong but better that nothing
% and replace by:
\definecharacter eth  {\unknownchar}
 


ok, gone are the dstrokes (only you use them -)


\definecharacter scommaaccent {\buildtextbottomcomma s}
\definecharacter Scommaaccent {\buildtextbottomcomma S}
\definecharacter tcommaaccent {\buildtextbottomcomma t}
\definecharacter Tcommaaccent {\buildtextbottomcomma T}

\definecharacter Ohorndotbelow   {\buildtextbottomdot\Ohorn}
\definecharacter ohorndotbelow   {\buildtextbottomdot\ohorn}
\definecharacter Uhorndotbelow   {\buildtextbottomdot\Uhorn}
\definecharacter uhorndotbelow   {\buildtextbottomdot\uhorn}
 


added


enco-ini:

Any chances to add something like:
\definecharacter bottomcomma {,} % comma, lowered a bit
\def\buildtextbottomcomma{\bottomaccent{.25ex}{0}{5}{\textbottomcomma}}

I have no idea what \textbottomcomma should be, but probably just a
comma, lowered a bit. The current definition with ' is a bit strange.
 


hm, so you suppose that i have an idea ...

\definetypeface[xxx][rm][serif][modern][default][encoding=qx]

{\xxx \scommaaccent}

\definecharacter textbottomcomma  {\hbox{\lower.35ex\hbox{\tx,}}}

\definecharacter scommaaccent {\buildtextbottomcomma s}

\def\buildtextbottomcomma{\bottomaccent{.15ex}{0}{5}{\tx,}}

\scommaaccent \textbottomcomma

\stoptext

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


Re: [NTG-context] How to break laws in physics?

2006-01-09 Thread Hans Hagen

Mojca Miklavec wrote:


But apparently it was something else, see math-eul.tex and please fix this:
\definemathcharacter [D]   [nothing] [mr] ["44]
 

this was reported recently and fixed; you were probably busy studying at 
that time -)


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


[NTG-context] Context 2006.01.09 released

2006-01-09 Thread Taco Hoekwater

Hello all,

I am pleased to announce that the new ConTeXt release from Hans Hagen
can be downloaded as of now from the Pragma ADE website or one of its
mirrors.

  http://www.pragma-ade.com/context/current/cont-tmf.zip
  http://context.aanhet.net/context/current/cont-tmf.zip
  http://mirror.contextgarden.net/context/current/cont-tmf.zip

The current release has version 2006.01.09.

A very short list of changes is given below. As usual, there is an
html page with more detailed release notes available on the Wiki, see:

  http://wiki.contextgarden.net/Release_Notes

New features since 2005.12.19:

* A completely new context interface: cont-fr (french)
* A support module for GNUplot graphics
* French and Dpanish punctuation discretionaries (like |?|)
* Mptopdf now supports multiple arguments on the command line.
* Typeface definitions can now be inherited from other typescripts

Bug fixes since 2005.12.19:

* The predefined postscript font families should work out-of-the-box now.
* newtexexec has reverted back to the old names for the PDF processing 
switches

* Chinese labels and encoding fixes
* A number of minor bugfixes


Happy TeXing,

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


Re: [NTG-context] columnsets and footnotes (minimal example)

2006-01-09 Thread Steffen Wolfrum
But what can I do in order to have the main text in two columns  
(columnset)
and the smaller footnotes in three columns (as it would be perfect  
for bigger document sizes)?



Steffen



Am 09.01.2006 um 12:29 schrieb Hans Hagen:


Taco Hoekwater wrote:




Steffen Wolfrum wrote:


... and here is an example that shows the problem:



Oops, that doesn't look right at all.


you need to set widths

\setupfootnotes[n=1,width=\hsize]

Hans
___
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] How to break laws in physics?

2006-01-09 Thread Mojca Miklavec
Hello,

I thought it was because it was too late for learning that Maxwell
equations failed to work:

\definetypeface [maxwell] [mm] [math] [euler] [default]
\setupbodyfont[maxwell]

\starttext
$$\vec{\nabla}\vec{D}=\rho$$
\stoptext


But apparently it was something else, see math-eul.tex and please fix this:
\definemathcharacter [D]   [nothing] [mr] ["44]


OK, Euler didn't work, so I tried to use Iwona.

\definetypeface [iwona] [mm] [math] [iwona] [default]
\setupbodyfont[iwona]

${\partial\rho\over\partial t}+\vec{\nabla}\vec{\jmath}=0$

(If I fail on the exam, I'll try to explain to professor that I found
a few mistakes in the Maxwell equations and lost the whole time trying
to fix them before I was able to learn further :)



I've found three "kind-of-bugs" in font itself (\jmath and \imath were
missing, \partial is mirrored, vectors placed strangely - the latter
may not be connected with the font itself).

So I tried to redefine \jmath to use dotlessj from italic version of
font and found another "bug" in ConTeXt. dotlessj is commented out in
enco-ec.tex. Well, I understand that it may not be present in every
font, but it's worse: it's already defined in the default encoding, so
\dotlessj results in double quotes, which is worse than no char at
all. enco-ec has some other faults present, I tried to fix a few of
them ([t|s]cedilla should be [t|s]commaaccent, \Eth and \eth were
commented out, while they are OK, one glyph is present twice, I
redefined it to map to the first slot, since usually the second one is
empty, upper/lower casing may still need some revision).

Is there any chance that any numerical definitions of characters
disappear from enco-def slowly? If anyone is using any other encoding
than the standard one, the characters map to something completely
weird then.

Some fixes for enco-def:

% DELETE THIS ONE: IT'S WORSE THAN NOTHING
\definecharacter eth  {\dstroke} % wrong but better that nothing
% and replace by:
\definecharacter eth  {\unknownchar}

\definecharacter scommaaccent {\buildtextbottomcomma s}
\definecharacter Scommaaccent {\buildtextbottomcomma S}
\definecharacter tcommaaccent {\buildtextbottomcomma t}
\definecharacter Tcommaaccent {\buildtextbottomcomma T}

\definecharacter Ohorndotbelow   {\buildtextbottomdot\Ohorn}
\definecharacter ohorndotbelow   {\buildtextbottomdot\ohorn}
\definecharacter Uhorndotbelow   {\buildtextbottomdot\Uhorn}
\definecharacter uhorndotbelow   {\buildtextbottomdot\uhorn}

enco-ini:

Any chances to add something like:
\definecharacter bottomcomma {,} % comma, lowered a bit
\def\buildtextbottomcomma{\bottomaccent{.25ex}{0}{5}{\textbottomcomma}}

I have no idea what \textbottomcomma should be, but probably just a
comma, lowered a bit. The current definition with ' is a bit strange.

Mojca


enco-ec.tex
Description: TeX document
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Generating smallest possible format file

2006-01-09 Thread Willi Egger

Beste Taco,

thanks indeed for all this information. I believe, that herewith I can 
gain one or the other second!


Willi

Taco Hoekwater wrote:



Hi Willi,


Willi Egger wrote:


Hello gurus!

I want to use context as a backend-typesetting engine in a 
server-ennvironment. In order to minimize compilation time I want to 
make the format files as small as
possible. E.g. I would like to remove all pattern files which are 
unnecessary for the purpose of the application.



That is as simple as commenting (some of) the \installlanguage
calls in the cont-XX.tex file you want to use (and don't use
the --all switch of texexec!).

Removing some of the other files can be a bit harder and require
editing core include files:

 * font encodings are loaded in enco-ini.tex
   \useencoding[ans,il2,ec,tbo,pdf,uc,pol,qx,t5,cyr]

 * regimes are loaded in regi-ini:
   \useregime[def,uni,lat,win,il1,mac]

 * unicode tables are loaded in unic-ini:
   \useunicodevector[0,1,2,3,4,5,30,32,33,34,39]

It would be easier if these could be moved to the cont-XX.tex
(or perhaps context.tex) file in a future release.


Also, you can gain some speed by

* dropping the memory array settings in texmf.cnf to as low as you
  can get away with, based on your typical input files;
* and by pruning your texmf tree(s) of as many  files as possible
  (every file and directory in the tree slows down kpathsea
  initialization just a little bit, and it can add up to a
  noticeable delay).
* disabling kpathsea disk searches


Cheers, 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] columnsets and footnotes (minimal example)

2006-01-09 Thread Steffen Wolfrum

Am 09.01.2006 um 11:06 schrieb Taco Hoekwater:



Steffen Wolfrum wrote:

... and here is an example that shows the problem:


Oops, that doesn't look right at all.

Do you really need column sets, or is "normal" columns
mode ok as well?


1)

Yes, column sets would be better.




  \startcolumns[n=2]
  \dorecurse{10}{\input tufte\footnote{\input ward \relax}}
  \stopcolumns

Looks about right.

Cheers, Taco


2)

When I try ...

\setupfootnotes[n=3]
\starttext
  \startcolumns[n=2]
  \dorecurse{10}{\input tufte\footnote{\input ward \relax}}
  \stopcolumns
\stoptext

at the bottom of page 1 there is a lot of white space before the  
footnote text of footnote 1-4 (the footnotemarkers 1 to 4 come up the  
next page).
So in this example it doesn't seem to be possible to keep footnote  
markers and text at the same page:


Wouldn't it be better in this case to fill page 1 also with the  
footnote text of the following footnotes?

In this way the pages would look much better.

Is there a way (penalty?) to express how *urgent* footnote markers  
and text need to be forced to the same page?

Or - in other words - to loosen the connection?

Thanks,
Steffen

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


Re: [NTG-context] columnsets and footnotes (minimal example)

2006-01-09 Thread Hans Hagen

Taco Hoekwater wrote:




Steffen Wolfrum wrote:


... and here is an example that shows the problem:



Oops, that doesn't look right at all.


you need to set widths

\setupfootnotes[n=1,width=\hsize]

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


Re: [NTG-context] Generating smallest possible format file

2006-01-09 Thread Taco Hoekwater


Hi Willi,


Willi Egger wrote:

Hello gurus!

I want to use context as a backend-typesetting engine in a 
server-ennvironment. In order to minimize compilation time I want to 
make the format files as small as
possible. E.g. I would like to remove all pattern files which are 
unnecessary for the purpose of the application.


That is as simple as commenting (some of) the \installlanguage
calls in the cont-XX.tex file you want to use (and don't use
the --all switch of texexec!).

Removing some of the other files can be a bit harder and require
editing core include files:

 * font encodings are loaded in enco-ini.tex
   \useencoding[ans,il2,ec,tbo,pdf,uc,pol,qx,t5,cyr]

 * regimes are loaded in regi-ini:
   \useregime[def,uni,lat,win,il1,mac]

 * unicode tables are loaded in unic-ini:
   \useunicodevector[0,1,2,3,4,5,30,32,33,34,39]

It would be easier if these could be moved to the cont-XX.tex
(or perhaps context.tex) file in a future release.


Also, you can gain some speed by

* dropping the memory array settings in texmf.cnf to as low as you
  can get away with, based on your typical input files;
* and by pruning your texmf tree(s) of as many  files as possible
  (every file and directory in the tree slows down kpathsea
  initialization just a little bit, and it can add up to a
  noticeable delay).
* disabling kpathsea disk searches


Cheers, Taco


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


Re: [NTG-context] some small questions

2006-01-09 Thread Mojca Miklavec
On 1/8/06, Peter Münster wrote:
> On Sun, 8 Jan 2006, Peter Münster wrote:
>
> > \usemodule[symb-eur]
> > \def\SomeEuros{\blank[small] normal \texteuro, {\sl slanted \texteuro},
> >   {\bf bold \texteuro}, {\bs bold slanted \texteuro}
> >   {\tt tt \texteuro}, {\bf\tt bold tt \texteuro}}
> > \starttext
> > \ss here some sans euros: \SomeEuros \blank[big]
> > \rm and here I want the same (sans, but they are serif): \SomeEuros
> > \stoptext
>
> Of course, I can do
> \let\texteuroO\texteuro
> \def\texteuro{{\ss\texteuroO}}
> the question is just: what is the ConTeXt-way to do it.

I don't have the fonts that are used by symb-eur, so I can't test your
file, but my guess is that:
- if you only want the official euro symbol, don't even load the
package (but euro may not fit well with the font you're using)
- if you would like to keep slanted/bold version of the font and if
symb-eur satisfies your needs except that you want the sans version,
one possibility is to rewrite the package:

A long version is to change:

\definefontsynonym [EuroSerif][eurose]
\definefontsynonym [EuroSerifBold][euroseb]
\definefontsynonym [EuroSerifItalic]  [eurosei]
\definefontsynonym [EuroSerifSlanted] [eurosei]
\definefontsynonym [EuroSerifBoldItalic]  [eurosebi]
\definefontsynonym [EuroSerifBoldSlanted] [eurosebi]

into:

\definefontsynonym [EuroSerif][EuroSans]
\definefontsynonym [EuroSerifBold][EuroSansBold]
\definefontsynonym [EuroSerifItalic]  [EuroSansItalic]
\definefontsynonym [EuroSerifSlanted] [EuroSansSlanted]
\definefontsynonym [EuroSerifBoldItalic]  [EuroSansBoldItalic]
\definefontsynonym [EuroSerifBoldSlanted] [EuroSansBoldSlanted]

An alternative to the command you provided (but with the same
functionality and approximately just as long as yours):

% \startencoding[default] % don't know if this is needed or not
  \definecharacter texteuro {{\ss\symbol[euro]}}
% \stopencoding

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


Re: [NTG-context] framed texts and other "minipage"

2006-01-09 Thread Hans Hagen

Maurice Diamantini (dom) wrote:



Le 7 janv. 06 � 13:50, Hans Hagen a �crit :


No, that will not work.
After much probing I found the culprit.
The framedtext takes the full linewidth and apparently does not   
reduces it to the given size.

Therefore enclosing in a vbox seems necessary:
   \vbox{\hsize=framesize\startframedtext{width=framesize ...

Question for Hans Hagen: is it an option letting framedtext set  
the  hsize when a specific width is given?



\hbox to \hsize \bgroup
   \startframedtext[none][width=.5\textwidth]
   \input tufte
   \stopframedtext
   \startframedtext[none][width=.5\textwidth]
   \input zapf
   \stopframedtext
\egroup



Why is it not possible to simply use the \framed command (with some  
magic option to

put text into it) to do the obove thing?
   \startframed[width=.5\textwidth, ]
   \input tufte
   \stopframed
   \startframed[width=.5\textwidth, ]
   \input zapf
   \stopframed



in most cases you can use framed (make sure that you set 'align' to 
something in order to enter vmode)


framedtext is a bit more clever and handles some spacing issues



If it is impossible, is there any equivalent to de minipage or  
\parbox LaTeX

equivalent?


i dunno what those are, vboxes?

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


Re: [NTG-context] columnsets and footnotes (minimal example)

2006-01-09 Thread Taco Hoekwater



Steffen Wolfrum wrote:

... and here is an example that shows the problem:


Oops, that doesn't look right at all.

Do you really need column sets, or is "normal" columns
mode ok as well?

  \startcolumns[n=2]
  \dorecurse{10}{\input tufte\footnote{\input ward \relax}}
  \stopcolumns

Looks about right.

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


[NTG-context] columnsets and footnotes (minimal example)

2006-01-09 Thread Steffen Wolfrum

... and here is an example that shows the problem:


\definecolumnset[example][n=2]
\setupfootnotes[n=3]

\starttext
\startcolumnset[example]
\dorecurse{10}{\input tufte\footnote{\input ward \relax}}
\stopcolumnset
\stoptext


>Hi,
>
>is there a way to have both:
>
>a main text set in \definecolumnset[example][n=2]
>and footnotes on bottom of page with \setupfootnotes[n=3]?
>
>Thank you,

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